]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
More Emacs 24.3 documentation updates.
[gnu-emacs] / lisp / ChangeLog
1 2012-10-27 Chong Yidong <cyd@gnu.org>
2
3 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4
5 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6
7 * minibuffer.el (completion-category-overrides): New completion
8 category `bookmark' (bug#11131).
9
10 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11
12 * emacs-lisp/advice.el (ad-assemble-advised-definition):
13 Silence bogus compiler warnings for ad-do-it.
14
15 * bookmark.el (bookmark-completing-read): Set the completion category
16 to `bookmark' (bug#11131).
17
18 2012-10-26 Bastien <bzg@altern.org>
19 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * face-remap.el: Use lexical-binding.
22 (text-scale-adjust): Improve docstring. Use itself for the temporary
23 overlay-map bindings, so as to repeat the "Use..." message each time.
24
25 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * emacs-lisp/macroexp.el (macroexp--expand-all):
28 Obey byte-compile-warning-enabled-p (bug#12486).
29
30 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
31 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
32
33 2012-10-26 Martin Rudalics <rudalics@gmx.at>
34
35 * mouse.el (mouse-drag-line): Move last form into preceding when
36 clause (Bug#12731).
37
38 * help.el (resize-temp-buffer-window): Fix doc-string.
39
40 2012-10-25 David Engster <deng@randomsample.de>
41
42 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
43 Remove. This feature is already integrated in imenu.
44
45 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
46 always loaded. Require `speedbar' unconditionally.
47
48 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
51
52 * minibuffer.el (minibuffer-force-complete): Fix thinko.
53
54 * net/ldap.el (ldap-search-internal): The official ldif format starts
55 with a "version: 1" header (bug#12724).
56
57 * emacs-lisp/package.el (package-installed-p): Warn if not ready
58 (bug#12721).
59
60 2012-10-25 Glenn Morris <rgm@gnu.org>
61
62 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
63
64 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * minibuffer.el (minibuffer-force-complete): Use one more marker
67 for the temporary-overlay-map command (bug#12619).
68
69 2012-10-24 Chong Yidong <cyd@gnu.org>
70
71 * time.el (display-time-world-mode): Derive from special-mode.
72 (display-time-world): Use display-buffer (Bug#12708).
73 (display-time-world-mode-map): Variable deleted.
74 (display-time-world-display): Wrap the final delete-char inside
75 inhibit-read-only.
76
77 2012-10-24 Chong Yidong <cyd@gnu.org>
78
79 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
80 Doc fix.
81
82 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
83
84 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * minibuffer.el (completion--all-sorted-completions-location): New var.
87 (completion--cache-all-sorted-completions)
88 (completion--flush-all-sorted-completions): Use it.
89 (completion-in-region, completion-in-region--postch)
90 (completion-at-point, completion-help-at-point): Use markers in
91 completion-in-region--data (bug#12619).
92
93 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
94
95 * progmodes/compile.el (compilation-start): Try to handle common
96 quoting of `cd' argument (bug#12640).
97
98 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
99 (bug#12671).
100
101 2012-10-23 Glenn Morris <rgm@gnu.org>
102
103 * progmodes/gud.el (gud-menu-map):
104 Check gdb-active-process is bound. (Bug#12358)
105
106 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * repeat.el (repeat): Set real-this-command (bug#12232).
109
110 * htmlfontify.el (hfy-post-html-hook):
111 * filesets.el (filesets-cache-fill-content-hook):
112 * arc-mode.el (archive-extract-hook):
113 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
114 * net/rcirc.el (rcirc-sentinel-functions)
115 (rcirc-receive-message-functions, rcirc-activity-functions)
116 (rcirc-print-functions):
117 * net/dbus.el (dbus-event-error-functions):
118 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
119 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
120 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
121 * term/sun.el (sun-raw-prefix-hooks):
122 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
123
124 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
125
126 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
127 Set `tramp-chunksize' to 1. This improves the performance.
128 (tramp-smb-wait-for-output): Add timeout to
129 `tramp-accept-process-output' calls.
130
131 2012-10-23 Chong Yidong <cyd@gnu.org>
132
133 * faces.el (font-list-limit): Define as an obsolete variable.
134
135 * startup.el (command-line):
136 * cus-start.el: Don't refer to font-list-limit.
137
138 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
139
140 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * subr.el (internal-temp-output-buffer-show): Rename from
143 temp-output-buffer-show, since previously compiled files expect this name.
144
145 2012-10-23 Glenn Morris <rgm@gnu.org>
146
147 * image.el (image-type-from-file-name): If multiple types match,
148 return the first one that is supported. (Bug#9045)
149
150 2012-10-22 Glenn Morris <rgm@gnu.org>
151
152 * image.el (imagemagick-enabled-types): Doc fix.
153
154 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
155
156 * progmodes/which-func.el (which-func-current): The hash-table may have
157 an explicit nil (bug#12338).
158
159 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * electric.el (electric-pair-delete-selection-self-insert-function):
162 Rename to electric-pair-will-use-region, return a boolean.
163 (electric-pair-mode): Adjust accordingly. Don't require delsel.
164
165 * delsel.el (delete-selection-helper): Use a function instead of a hook.
166 (delete-selection-pre-hook): Use use-region-p.
167 (delete-selection-self-insert-function): Remove.
168 (self-insert-command): Obey self-insert-uses-region-functions.
169 (self-insert-iso): Revert to previous setting, since we don't actually
170 know what that command does.
171 (delete-selection-self-insert-hooks): Remove.
172
173 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
174
175 * delsel.el (delete-selection-helper): New function, extracted from
176 delete-selection-pre-hook.
177 (delete-selection-pre-hook): Use it.
178 (delete-selection-self-insert-function): New function.
179 (delete-selection-self-insert-hooks): New hook.
180 (self-insert-command, self-insert-iso): Use it.
181 * electric.el (electric-pair-syntax): New function, extracted from
182 electric-pair-post-self-insert-function.
183 (electric-pair-post-self-insert-function): Use it.
184 (electric-pair-delete-selection-self-insert-function): New function.
185 (electric-pair-mode): Require delsel and setup
186 delete-selection-self-insert-hooks (bug#11520).
187
188 2012-10-20 Chong Yidong <cyd@gnu.org>
189
190 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
191 no changes to show (Bug#12586).
192
193 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
194 list explicitly (Bug#12571).
195
196 2012-10-20 Arne Jørgensen <arne@arnested.dk>
197
198 * progmodes/flymake.el (flymake-create-temp-inplace):
199 Use file-truename.
200
201 2012-10-20 Eli Zaretskii <eliz@gnu.org>
202
203 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
204
205 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
206
207 * calc/calc-units.el (math-extract-units): Properly extract powers
208 of units.
209
210 2012-10-20 Daniel Colascione <dancol@dancol.org>
211
212 * frame.el (make-frame): Set x-display-name as we used to in order
213 to unbreak creating an X11 frame from an Emacs daemon started
214 without a display.
215
216 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * minibuffer.el (minibuffer-force-complete): Make the next completion use
219 the same completion-field (bug@12221).
220
221 2012-10-19 Martin Rudalics <rudalics@gmx.at>
222
223 * emacs-lisp/debug.el (debug): Record height of debugger window
224 also when debugger will be back (Bug#8789).
225
226 2012-10-18 Chong Yidong <cyd@gnu.org>
227
228 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
229 Convert to defcustom.
230 (gdb-get-source-file): Don't bind pop-up-windows.
231
232 * progmodes/gud.el (gud-display-line): Don't specially re-use
233 other frames for the gdb-mi case (Bug#12648).
234
235 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * emacs-lisp/advice.el: Clean up commentary a bit.
238 (ad-do-advised-functions, ad-with-originals): Use `declare'.
239 (byte-code-function-p): Never redefine.
240
241 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
242
243 2012-10-18 Glenn Morris <rgm@gnu.org>
244
245 * dired.el (dired-sort-toggle): Some ls implementations only allow
246 a single option string. (Bug#12666)
247
248 * minibuffer.el (completion-cycle-threshold): Doc fix.
249
250 2012-10-17 Kenichi Handa <handa@gnu.org>
251
252 * international/mule.el (set-keyboard-coding-system):
253 Recover input meta mode when the new coding system doesn not use 8-bit.
254 Supply TERMINAL arg to set-input-meta-mode.
255
256 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
257
258 * wdired.el (wdired-old-marks): New variable.
259 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
260 (wdired-do-renames): Move point with renamed file and don't lose
261 mark status (Bug#11795).
262
263 2012-10-16 Juri Linkov <juri@jurta.org>
264
265 * replace.el (query-replace-help): Mention multi-buffer replacement
266 keys in the Help message. (Bug#12655)
267
268 2012-10-15 Chong Yidong <cyd@gnu.org>
269
270 * emacs-lisp/byte-run.el (defsubst): Doc fix.
271
272 2012-10-14 Eli Zaretskii <eliz@gnu.org>
273
274 * window.el (display-buffer): Doc fix.
275
276 * progmodes/compile.el (compilation-error-regexp-alist-alist):
277 Adjust the msft regexp to the output of Studio 2010, and move msft
278 before edg-1. See the discussion on emacs-devel,
279 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
280 for the details.
281
282 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
285 (oset): Move uses of object-class-fast macro after its definition.
286
287 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
288
289 2012-10-13 Chong Yidong <cyd@gnu.org>
290
291 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
292 enabled, re-enable it (Bug#11963).
293
294 2012-10-13 Martin Rudalics <rudalics@gmx.at>
295
296 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
297 non-nil, restore window configuration (Bug#12623).
298
299 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * help-fns.el (describe-variable, describe-function-1):
302 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
303
304 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
305
306 2012-10-12 Glenn Morris <rgm@gnu.org>
307
308 * mail/rmailsum.el (rmail-header-summary):
309 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
310
311 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
312
313 * progmodes/python.el (python-mode-map):
314 Replace subtitute-key-definition with proper command remapping.
315 (python-nav--up-list): Fix behavior for blocks on the same level.
316
317 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
318
319 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
320
321 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
322 changes to the format of load-history.
323
324 * international/mule-cmds.el (read-char-by-name): Move let-binding of
325 completion-ignore-case in case that var is buffer-local (bug#12615).
326
327 2012-10-11 Kenichi Handa <handa@gnu.org>
328
329 * international/eucjp-ms.el: Re-generated.
330
331 2012-10-10 Kenichi Handa <handa@gnu.org>
332
333 * select.el (xselect--encode-string): If a coding is specified for
334 selection, and that is compatible with COMPOUND_TEXT, use it.
335
336 2012-10-10 Martin Rudalics <rudalics@gmx.at>
337
338 * window.el (switch-to-buffer-preserve-window-point): New option.
339 (switch-to-buffer):
340 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
341
342 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
343
344 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
345 Don't document nil as a useful value (bug#12583).
346
347 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
348
349 * net/tramp.el (tramp-debug-message):
350 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
351 (with-tramp-progress-reporter): Rename from
352 `tramp-with-progress-reporter'.
353 (with-tramp-file-property, with-tramp-connection-property):
354 Move from tramp-cache.el, rename from `with-file-property' and
355 `with-connection-property', respectively.
356
357 * net/tramp-cache.el: Remove `with-file-property' and
358 `with-connection-property'.
359
360 * net/tramp.el:
361 * net/tramp-gvfs.el:
362 * net/tramp-sh.el:
363 * net/tramp-smb.el: Adapt callees.
364
365 * net/trampver.el: Update release number.
366
367 2012-10-09 Glenn Morris <rgm@gnu.org>
368
369 * w32-fns.el (set-message-beep):
370 * term/w32-win.el (set-message-beep): Update declarations.
371
372 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
375 (mode-line-widen, mode-line-input-method-map)
376 (mode-line-coding-system-map, mode-line-remote)
377 (mode-line-unbury-buffer, mode-line-bury-buffer)
378 (mode-line-next-buffer, mode-line-previous-buffer):
379 Replace save-selected-window+select-window => with-selected-window.
380
381 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
382 * progmodes/cc-vars.el (bq-process): Remove, unused.
383
384 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
385
386 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
387
388 Implemented `backward-up-list'-like navigation.
389 * progmodes/python.el (python-nav-up-list)
390 (python-nav-backward-up-list): New functions.
391 (python-mode-map): Define substitute key for backward-up-list to
392 python-nav-backward-up-list.
393
394 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
395
396 * progmodes/python.el (python-fill-paragraph): Rename from
397 python-fill-paragraph-function. Fixed fill-paragraph for
398 decorators (Bug#12605).
399
400 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
401
402 * progmodes/python.el (python-shell-output-filter): Handle extra
403 carriage return in OSX (Bug#12409).
404
405 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
406
407 Fix shell handling of unbalanced quotes and parens in output.
408 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
409 (python-syntax-propertize-function): Use it.
410 (python-shell-output-syntax-table): New var.
411 (inferior-python-mode): Prevent unbalanced parens/quotes from
412 previous output mess with current input context.
413
414 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
415
416 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
417 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
418
419 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
420
421 * ffap.el (ffap-replace-file-component): Support Tramp file name
422 syntax, not only ange-ftp's one.
423
424 2012-10-08 Glenn Morris <rgm@gnu.org>
425
426 * cus-start.el (message-log-max): Set :version.
427
428 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
429
430 2012-10-08 Martin Rudalics <rudalics@gmx.at>
431
432 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
433 the minibuffer window (Bug#10851).
434
435 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
436
437 Enhancements on forward-sexp movement.
438 * progmodes/python.el (python-nav-beginning-of-statement)
439 (python-nav-end-of-statement): Return point-marker.
440 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
441 (python-info-current-symbol)
442 (python-info-statement-starts-block-p): Rename from
443 python-info-beginning-of-block-p.
444 (python-info-statement-ends-block-p): Rename from
445 python-info-end-of-block-p.
446 (python-info-beginning-of-statement-p)
447 (python-info-end-of-statement-p)
448 (python-info-beginning-of-block-p, python-info-end-of-block-p):
449 New functions.
450
451 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
454 frame-selected-windows.
455
456 2012-10-08 Daniel Colascione <dancol@dancol.org>
457
458 * battery.el (battery-status-function): Check for
459 w32-battery-status itself, not system-time windows-nt.
460
461 * frame.el: Require cl-lib.
462 (display-format-alist): New variable mapping frame types to
463 functions that initialize them.
464 (window-system-for-display): New function: interprets
465 display-format-alist.
466 (make-frame-on-display): Remove existing display-selection logic
467 and just forward to make-frame, which will now DTRT.
468 (make-frame): Restructure to use window-system-for-display to
469 figure out how to create a frame on a given display.
470 (display-mouse-p): Look for frame-type w32, not a particular
471 system-type.
472
473 * loadup.el: Load w32 lisp code when we have the w32 feature.
474
475 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
476 system-type windows-nt.
477
478 * server.el (server-create-window-system-frame): Look for window
479 type.
480 (server-proces-filter): Only force a window system when windows-nt
481 _and_ w32. Explain why.
482
483 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
484 of window systems we configure for the mode.
485
486 * startup.el (command-line): Mark window system is initialized
487 after we've done it.
488
489 * common-win.el (x-select-text): Look for w32, not windows-nt.
490
491 * ns-win.el: Require cl-lib. Add ourselves to
492 display-format-alist.
493 (ns-initialize-window-system): Assert we're not initialized twice.
494
495 * w32-win.el: Enable lexical binding; require cl-lib; add
496 ourselves to display-format-alist.
497 (w32-handle-dropped-file): Convert incoming dropped files from
498 Windows paths to Cygwin ones before passing them on to the rest of
499 Emacs.
500 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
501 (w32-initialize-window-system): Assert we're not initialized twice.
502
503 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
504 (x-initialize-window-system): Assert we're not initialized twice.
505
506 * w32-common-fns.el: New File.
507 (w32-version, w32-using-nt, w32-get-clipboard-data)
508 (w32-set-clipboard-data, x-set-selection, x-get-selection)
509 (w32-charset-info-alist, x-last-selected, text)
510 (x-get-selection-value, x-selection-value): Move here.
511
512 * w32-fns.el: Require w32-common-fns.
513 (w32-version, w32-using-nt, w32-get-clipboard-data)
514 (w32-set-clipboard-data, x-set-selection, x-get-selection)
515 (w32-charset-info-alist, x-last-selected, text)
516 (x-get-selection-value, x-selection-value): Move to
517 w32-common-fns.
518
519 * w32-vars.el:
520 (w32-allow-system-shell, w32-system-shells): Define only in
521 non-cygwin case.
522
523 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
526 (read-passwd): Remove a few more potential sources of leaks.
527
528 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
529
530 * progmodes/python.el (inferior-python-mode)
531 (python-shell-make-comint): Fix initialization of local
532 variables copied from parent buffer.
533
534 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
535
536 * term/ns-win.el (ns-read-file-name): Update declaration to match
537 nsfns.m.
538 (ns-respond-to-change-font): Change fontsize separatly so we are sure
539 it is set when font is acted upon.
540
541 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
542
543 Enhancements to indentation.
544 * progmodes/python.el (python-indent-context): Give priority to
545 inside-string context. Make comments indentation markers.
546 (python-indent-region): Do not mess with strings, unless it's the
547 enclosing set of quotes.
548
549 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
550
551 * window.el (internal--before-save-selected-window)
552 (internal--after-save-selected-window): New functions extracted from
553 save-selected-window. Make sure we return the `alist' we construct.
554 (save-selected-window): Use them.
555
556 * textmodes/tex-mode.el (tex-recenter-output-buffer):
557 Use with-selected-window.
558
559 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
560 forms that define macros (bug#12593).
561
562 2012-10-07 Kenichi Handa <handa@gnu.org>
563
564 * international/mule-conf.el (compound-text-with-extensions):
565 Add :mime-charset property as x-ctext.
566
567 2012-10-07 Stefan Merten <smerten@oekonux.de>
568
569 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
570 (rst-indent-literal-normal, rst-indent-literal-minimized)
571 (rst-indent-comment): Correct :version tag.
572 (rst-official-cvs-rev): Correct version string.
573
574 2012-10-07 Glenn Morris <rgm@gnu.org>
575
576 * mail/rmailmm.el (rmail-mime-process-multipart):
577 Do not confuse a multipart message with an epilogue
578 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
579
580 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
581
582 Fix shell output retrieval and comint-prompt-regexp init.
583 * progmodes/python.el (inferior-python-mode):
584 (python-shell-make-comint): Fix initialization of
585 comint-prompt-regexp from copied file local variables.
586 (python-shell-fetched-lines): Remove var.
587 (python-shell-output-filter-in-progress): Rename from
588 python-shell-fetch-lines-in-progress.
589 (python-shell-output-filter-buffer): Rename from
590 python-shell-fetch-lines-string.
591 (python-shell-fetch-lines-filter): Delete function.
592 (python-shell-output-filter): New function.
593 (python-shell-send-string-no-output): Use them.
594
595 2012-10-07 Glenn Morris <rgm@gnu.org>
596
597 * hi-lock.el (hi-lock-process-phrase):
598 Try to make it less fragile. (Bug#7161)
599
600 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
601
602 2012-10-06 Glenn Morris <rgm@gnu.org>
603
604 * ehelp.el (electric-help-mode): Use help-mode rather than
605 non-existent mode `help'.
606 (electric-help-map): Use button-buffer-map. (Bug#10917)
607
608 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
609 (reftex-create-bibtex-footer): Fix custom types.
610
611 * progmodes/sh-script.el (sh-indent-after-continuation):
612 Add explicit :group.
613
614 * textmodes/rst.el (rst-preferred-decorations)
615 (rst-shift-basic-offset): Clarify obsolescence versions.
616
617 * profiler.el (profiler): Add missing group :version tag.
618 * avoid.el (mouse-avoidance-banish-position):
619 * proced.el (proced-renice-command):
620 * calc/calc.el (calc-ensure-consistent-units):
621 * calendar/icalendar.el (icalendar-import-format-uid):
622 * net/tramp.el (tramp-save-ad-hoc-proxies):
623 * progmodes/bug-reference.el (bug-reference-bug-regexp):
624 * progmodes/flymake.el (flymake-error-bitmap)
625 (flymake-warning-bitmap, flymake-fringe-indicator-position):
626 * progmodes/sh-script.el (sh-indent-after-continuation):
627 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
628 (verilog-before-save-font-hook, verilog-after-save-font-hook):
629 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
630 (vhdl-array-index-record-field-in-sensitivity-list)
631 (vhdl-indent-comment-like-next-code-line):
632 * textmodes/reftex-vars.el (reftex-ref-style-alist)
633 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
634 (reftex-cite-key-separator, reftex-create-bibtex-header)
635 (reftex-create-bibtex-footer):
636 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
637 (rst-indent-literal-normal, rst-indent-literal-minimized)
638 (rst-indent-comment): Add missing custom :version tags.
639
640 * calendar/timeclock.el (timeclock-modeline-display):
641 Add missing obsolete alias for renamed user option.
642
643 * strokes.el (strokes-modeline-string):
644 * emulation/crisp.el (crisp-mode-modeline-string):
645 * eshell/esh-mode.el (eshell-status-in-modeline):
646 Aliases to defcustoms must come before the defcustom.
647
648 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
649 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
650 (cal-tex-cursor-week-monday): Doc fixes.
651 (cal-tex-cursor-week2-summary): Doc fix.
652 Rename from cal-tex-cursor-week-at-a-glance.
653
654 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
655 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
656
657 * calendar/calendar.el (calendar-mode-map):
658 Add cal-tex-cursor-week2-summary.
659
660 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
661
662 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
663
664 * subr.el (read-passwd-map): New var.
665 (read-passwd): Use `read-string' again.
666 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
667
668 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
669
670 * register.el (append-to-register, prepend-to-register):
671 Deactivate mark, as does `copy-to-register' (bug#12389).
672
673 2012-10-06 Chong Yidong <cyd@gnu.org>
674
675 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
676
677 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
678
679 * international/characters.el: Fix simple mistake ((car chars) ->
680 elt), delete duplicated code.
681
682 2012-10-06 Glenn Morris <rgm@gnu.org>
683
684 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
685
686 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
687
688 * color.el (color-hsl-to-rgb): Fix incorrect results for
689 small and large hue values. (Bug#12559)
690
691 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
692
693 Enhancements to docstring formatting when filling paragraphs.
694 * progmodes/python.el (python-fill-docstring-style): Rename from
695 python-fill-string-style. Added new style.
696 (python-fill-string): Use new style. Better checks for
697 docstrings.
698
699 2012-10-05 Glenn Morris <rgm@gnu.org>
700
701 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
702
703 * color.el (color-name-to-rgb, color-rgb-to-hex)
704 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
705 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
706 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
707 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
708
709 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
710
711 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
712
713 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
714 to get the correct size across symlinks.
715
716 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
717
718 2012-10-04 Juri Linkov <juri@jurta.org>
719
720 * replace.el (query-replace-interactive): Declare obsolete.
721 (query-replace-read-from): Add the last incremental search string
722 to the list of default values accessible via M-n.
723 (map-query-replace-regexp): Use `read-regexp'.
724 (query-replace, query-replace-regexp, query-replace-regexp-eval)
725 (map-query-replace-regexp, replace-string, replace-regexp):
726 Fix docstrings to replace mentions of `query-replace-interactive'
727 with alternatives. (Bug#12526)
728
729 2012-10-04 Juri Linkov <juri@jurta.org>
730
731 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
732 (dired-pop-to-buffer): Declare obsolete.
733 (dired-mark-pop-up): Doc fix.
734
735 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
736
737 Allow user to set docstring style for fill-paragraph.
738 * progmodes/python.el
739 (python-fill-comment-function, python-fill-string-function)
740 (python-fill-decorator-function, python-fill-paren-function):
741 Remove :safe for defcustoms.
742 (python-fill-string-style): New defcustom
743 (python-fill-paragraph-function): Enhance context detection.
744 (python-fill-string): Honor python-fill-string-style settings.
745
746 2012-10-04 Martin Rudalics <rudalics@gmx.at>
747
748 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
749 after setting its buffer (Bug#10805).
750
751 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
752
753 Fix cornercase for string syntax.
754 * progmodes/python.el (python-syntax-propertize-function):
755 Simplify and enhance the regexp for unescaped quotes. Now it also
756 matches quotes in weird situations like the single quote in
757 "something\"'".
758 (python-syntax-stringify): Simplify num-quotes detecting code.
759
760 2012-10-03 Glenn Morris <rgm@gnu.org>
761
762 * help-macro.el (three-step-help):
763 Revert 2012-09-29 change. (Bug#12567)
764
765 2012-10-03 Martin Rudalics <rudalics@gmx.at>
766
767 * menu-bar.el (kill-this-buffer): Don't do anything when
768 `menu-frame' is not alive or visible (Bug#8184).
769
770 * emacs-lisp/debug.el (debug): When quitting the debugger window
771 restore current buffer (Bug#12502).
772
773 2012-10-02 Chong Yidong <cyd@gnu.org>
774
775 * progmodes/hideif.el (hif-lookup, hif-defined):
776 Handle semantic-c-takeover-hideif.
777
778 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
779
780 Change sampling interval units from ms to ns.
781 * profiler.el (profiler-sampling-interval): Change units
782 from ms to ns, multiplying the default by 1000000 so that
783 it remains 1 ms.
784 (profiler-report-cpu-line-format): Give enough room for
785 the maximum counters on 64-bit hosts.
786 (profiler-report-render-calltree-1): Call them "CPU samples",
787 not "Time (ms)", since they are not milliseconds now (and
788 never really were).
789
790 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
791
792 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
793 Fix querying BBDB for entries without a last name (Bug#11580).
794
795 2012-10-02 Chong Yidong <cyd@gnu.org>
796
797 * emacs-lisp/eieio.el: Restore Version header.
798
799 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
800
801 * vc/diff-mode.el (diff--auto-refine-data): New var.
802 (diff-hunk): Use it to delay refinement.
803 (diff-mode): Remove overlays when we turn off font-lock.
804
805 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
806 (table-initialize-table-fixed-width-mode)
807 (table-set-table-fixed-width-mode): Remove functions.
808 (table-command-list): Move initialization into declaration.
809 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
810 (table-with-cache-buffer): Use `declare'.
811 (table-span-cell): Simplify via CSE.
812 (table-fixed-width-mode): Use define-minor-mode.
813 (table-call-interactively, table-funcall, table-apply): Remove.
814 (table-function): New function, to replace them.
815
816 * bookmark.el (bookmark-search-pattern): Remove var.
817 (bookmark-read-search-input): Remove function.
818 (bookmark-bmenu-search): Reimplement using a minibuffer.
819
820 * faces.el (modeline): Remove obsolete face name.
821
822 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
823 and give a non-nil default value.
824 (add-change-log-entry): Simplify accordingly.
825
826 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
827
828 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
829 (vc-git-log-edit-toggle-amend): New function.
830 (vc-git-log-edit-toggle-signoff): New function.
831 (vc-git-log-edit-mode): New major mode.
832 (vc-git-log-edit-mode-map): Keymap for it.
833 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
834
835 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
836 header names.
837 (log-edit-toggle-header): New function.
838 (log-edit-extract-headers): Accept function values in HEADERS alist.
839
840 2012-10-01 David Engster <deng@randomsample.de>
841
842 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
843 from symbol property and change message to be more consistent with
844 Emacs proper.
845 (eieio-describe-generic): Add filename for each implementation.
846 Fix indices for generic and normal methods.
847 (eieio-method-def, eieio-class-def): New buttons.
848 (eieio-help-find-method-definition)
849 (eieio-help-find-class-definition): New functions.
850 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
851 class, constructor and method definitions.
852
853 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
854 information in symbol property.
855 (scoped-class): Remove.
856 (eieio-slot-name-index, call-next-method): Check if it is bound.
857
858 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
859
860 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
861 (eieio-custom-mode): New major mode.
862 (eieio-customize-object): Use it.
863
864 2012-10-01 Eric Ludlam <zappo@gnu.org>
865
866 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
867 specifying the expected class, and whether subclassing is allowed.
868 (eieio-persistent-convert-list-to-object):
869 (eieio-persistent-validate/fix-slot-value)
870 (eieio-persistent-slot-type-is-class-p): New functions.
871 (eieio-named::slot-missing): Doc fix.
872
873 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
874 Stop using unused publd variable.
875
876 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
877 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
878 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
879 (eieio-speedbar-handle-click): Do not specify a class for the
880 method. Fixes method invocation order problems with EDE.
881
882 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
885 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
886
887 2012-10-01 Karl Fogel <kfogel@red-bean.com>
888
889 * bookmark.el (bookmark-version-control): Give tags in the
890 :type choices (Bug#12309), and improve doc string.
891 (bookmark-write-file): Bind `print-circle' to `t' to allow
892 circular custom bookmark types. (Bug#12503)
893
894 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
895
896 Revert the FOLLOW-SYMLINKS change for file-attributes.
897 * files.el (remote-file-name-inhibit-cache, after-find-file):
898 * time.el (display-time-file-nonempty-p): Undo last change.
899
900 * profiler.el (profiler-sampling-interval): Change default back to 1.
901 See Stefan Monnier in
902 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
903
904 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
905
906 Shell output catching a la gud-gdb.
907 * progmodes/python.el (python-shell-fetch-lines-in-progress)
908 (python-shell-fetch-lines-string, python-shell-fetched-lines):
909 New Vars.
910 (python-shell-fetch-lines-filter): New function.
911 (python-shell-send-string-no-output): Use them.
912
913 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
914
915 * profiler.el (profiler-sampling-interval): Rename from
916 profiler-sample-interval.
917 (profiler-sampling-interval): Default to 10.
918 (profiler-find-profile): New command (was profiler-find-log).
919 (profiler-find-profile-other-window): New command.
920 (profiler-find-profile-other-frame): New command.
921 (profiler-profile): Introduce API-level data structure.
922
923 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
924
925 file-attributes has a new optional arg FOLLOW-SYMLINKS.
926 * files.el (remote-file-name-inhibit-cache):
927 * time.el (display-time-file-nonempty-p): Use it.
928 * files.el (after-find-file): Don't chase links before calling
929 file-exists-p, as file-exists-p already does the right thing.
930
931 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
932
933 Merge from standalone RefTeX repository.
934
935 The following ChangeLog entries are shortened versions of the
936 original ones with file paths adapted. A not so strongly edited
937 version of the original ChangeLog can be found in the commit log.
938
939 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
940 (reftex-arg-cite): Use `reftex-cite-key-separator'.
941 Correctly handle new value type returned by `reftex-citation'.
942
943 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
944 that entries with whitespace at various places are found.
945 Doc fix. Include entries that are cross-referenced from cited entries.
946 Include @String definitions in the resulting bib file. Add header
947 and footer defined in `reftex-create-bibtex-header' and
948 `reftex-create-bibtex-footer'.
949 (reftex-do-citation): Make it possible again to insert
950 non-existent entries. Save match data when asking for optional
951 arguments. Return all keys, not just the first one.
952 (reftex-all-used-citation-keys): Fix regexp to correctly extract
953 all citations in the same line.
954 (reftex-parse-bibtex-entry): Accept additional optional argument
955 `raw' and keep quotes or braces if it is non-nil. Match fields
956 containing hyphens besides word constituents.
957 (reftex-get-string-refs): New function.
958 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
959 and ask if it should be reread in case it did.
960 (reftex-pop-to-bibtex-entry)
961 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
962 entries with spaces or tabs in front of arguments.
963 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
964 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
965 Match entries containing numbers and symbol constituents.
966 (reftex-do-citation, reftex-figure-out-cite-format):
967 Use `reftex-cite-key-separator'.
968
969 * textmodes/reftex-dcr.el: Move provide statement to end of file.
970 (reftex-mouse-view-crossref): Explain why point is set.
971
972 * textmodes/reftex-global.el: Whitespace changes.
973
974 * textmodes/reftex-index.el: Move provide statement to end of
975 file.
976 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
977 (reftex-index-visit-phrases-buffer): Set marker when visiting
978 buffer. This allows for returning from the phrases file to the
979 file one was just editing instead of the file where the last
980 phrases was added from.
981 (reftex-index-phrases-syntax-table): New variable. Give ?\"
982 punctuation syntax as it usually is not used as string quote in
983 TeX-related modes and may occur unmatched. The change also
984 prevents fontification of quoted content.
985 (reftex-index-phrases-mode): Use it.
986
987 * textmodes/reftex-parse.el (reftex-parse-from-file):
988 Move backward one char if a `\' was matched after a section macro.
989 (reftex-parse-from-file): Use beginning of match instead of end as
990 bound.
991
992 * textmodes/reftex-ref.el: Adapt creation of
993 `reftex-<package>-<macro>' functions to new structure of
994 `reftex-ref-style-alist'.
995 (reftex-reference): Use `reftex-ref-style-list' function.
996 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
997 reference macro if `reftex-ref-macro-prompt' is non-nil.
998 (reftex-reference): Pass refstyle to `reftex-format-special'.
999 Determine reference macro by looking at
1000 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1001 Use only one special format function.
1002 (reftex-varioref-vref, reftex-fancyref-fref)
1003 (reftex-fancyref-Fref): Remove definitions. The functions are now
1004 generated from `reftex-ref-style-alist'.
1005 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1006 Remove.
1007 (reftex-format-special): New function.
1008
1009 * textmodes/reftex-sel.el
1010 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1011 of `reftex-ref-style-alist'. Remove code for testing macro type.
1012 (reftex-select-toggle-varioref)
1013 (reftex-select-toggle-fancyref): Remove.
1014 (reftex-select-cycle-ref-style-internal)
1015 (reftex-select-cycle-ref-style-forward)
1016 (reftex-select-cycle-ref-style-backward): New functions.
1017 (reftex-select-label-map): Use `v' and `V' for general cycling
1018 through reference styles. Add `p' for switching between number
1019 and page reference types.
1020
1021 * textmodes/reftex-toc.el (reftex-re-enlarge):
1022 Call `enlarge-window' only if there is something to do because in Emacs
1023 the horizontal version throws an error even if the parameter is 0.
1024
1025 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1026 (reftex-plug-into-AUCTeX): Doc fix.
1027 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1028 string. Adapt to new name.
1029 (reftex-ref-style-alist): Change structure so that it is not
1030 possible to use multiple different package names within a style.
1031 Remove the symbols for symbols for macro type distinction.
1032 Add characters for macro selection.
1033 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1034 (reftex-create-bibtex-footer): New variables.
1035 (reftex-format-ref-function): Mention third argument of special
1036 format function.
1037 (reftex-ref-style-alist, reftex-ref-style-default-list):
1038 New variables.
1039 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1040 to new implementation. Mark as obsolete. Add compatibility code
1041 for honoring the variable values in case they are set.
1042 (reftex-cite-format-builtin, reftex-bibliography-commands):
1043 Add support for ConTeXt.
1044 (reftex-format-ref-function, reftex-format-cite-function):
1045 Fix custom type.
1046 (reftex-cite-key-separator): New variable.
1047
1048 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1049 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1050 `reftex-syntax-table' because parens have to retain their paren
1051 syntax in order for parsing of BibTeX entries like @book(...) to
1052 work.
1053 (reftex-in-comment): Do not error out if `comment-start-skip' is
1054 not set. Deal correctly with escaped comment characters.
1055 (reftex-tie-multifile-symbols): Add doc string.
1056 Initialize `reftex-ref-style-list'.
1057 (reftex-untie-multifile-symbols): Add doc string.
1058 (reftex-add-index-macros): Doc fix.
1059 (reftex-ref-style-activate, reftex-ref-style-toggle)
1060 (reftex-ref-style-list): New functions.
1061 (reftex-mode-menu): Use them. Adapt to new structure of
1062 `reftex-ref-style-alist'.
1063 (reftex-select-with-char): Kill the RefTeX Select buffer when
1064 done.
1065 (reftex-remove-if): New function.
1066 (reftex-erase-all-selection-and-index-buffers)
1067 (reftex-mode-menu): Reference styles are now computed from
1068 `reftex-ref-style-alist'. Fix typo.
1069 (reftex-report-bug): New function.
1070 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1071 algorithms with O(n log n). Introduce optional argument SORT (not
1072 yet used).
1073
1074 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1075
1076 Enhancements for triple-quote string syntax.
1077 * progmodes/python.el (python-syntax-propertize-function):
1078 Match both quote cases in one regexp.
1079 (python-syntax-stringify): Handle matches properly.
1080
1081 2012-09-30 Juri Linkov <juri@jurta.org>
1082
1083 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1084 to nil around the call to `insert' to prevent
1085 directory time modification by lock_file. (Bug#2295)
1086 * tar-mode.el (tar-summarize-buffer): Idem.
1087
1088 2012-09-30 Juri Linkov <juri@jurta.org>
1089
1090 * facemenu.el (list-colors-sort): Add option "Luminance".
1091 (list-colors-sort-key): Implement it.
1092
1093 * vc/diff-mode.el (diff-refine-removed):
1094 * vc/ediff-init.el (ediff-fine-diff-A):
1095 * vc/smerge-mode.el (smerge-refined-removed):
1096 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1097
1098 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1099
1100 * term/ns-win.el (x-file-dialog): New function.
1101
1102 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1103
1104 * ido.el (ido-max-directory-size): Default to nil; the current
1105 default is small for POSIX systems, and impractical on Windows 7
1106 now that lstat returns directory sizes for NTFS.
1107
1108 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1109
1110 In buffer display functions handle window-height/window-width
1111 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1112 * window.el (window--display-buffer): New argument ALIST.
1113 Obey window-height and window-width alist entries.
1114 (window--try-to-split-window): New argument ALIST.
1115 Bind window-combination-limit to t when the window's size shall be
1116 changed and window-combination-limit equals `window-size'.
1117 (display-buffer-in-atom-window)
1118 (display-buffer-in-major-side-window)
1119 (display-buffer-in-side-window, display-buffer-same-window)
1120 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1121 (display-buffer-pop-up-window, display-buffer-below-selected)
1122 (display-buffer-at-bottom, display-buffer-in-previous-window)
1123 (display-buffer-use-some-window): Adjust all callers of
1124 window--display-buffer and window--try-to-split-window.
1125 (fit-frame-to-buffer): New option.
1126 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1127 is non-nil.
1128 (display-buffer-in-major-side-window): Evaluate window-height /
1129 window-width alist entries.
1130
1131 * help.el (temp-buffer-resize-frames)
1132 (temp-buffer-resize-regexps): Remove options.
1133 (temp-buffer-resize-mode): Adjust doc-string.
1134 (resize-temp-buffer-window): Don't consult
1135 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1136 temp-buffer-resize-frames.
1137
1138 * dired.el (dired-mark-pop-up):
1139 Call display-buffer-below-selected with a fit-window-to-buffer alist
1140 entry.
1141
1142 2012-09-30 Chong Yidong <cyd@gnu.org>
1143
1144 * server.el (server-host): Document the security implications.
1145 (server-auth-key): Doc fix.
1146
1147 * startup.el (initial-buffer-choice): Doc fix.
1148
1149 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1150
1151 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1152 restriction change.
1153
1154 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1155
1156 * help-fns.el (help-fns--obsolete): Fix last change.
1157
1158 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1161 (minor-mode-map-alist): Remove redundant code.
1162
1163 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1164 visited in a buffer.
1165 (cvs-insert-visited-file): New function.
1166 (find-file-hook): Use it.
1167
1168 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1169
1170 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1171 chose face.
1172 (log-edit-empty-buffer-p): Don't require a space after a header.
1173
1174 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1175
1176 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1177
1178 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1179 a proper minor-mode.
1180
1181 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1182
1183 2012-09-29 Glenn Morris <rgm@gnu.org>
1184
1185 * winner.el (winner-mode): Remove variable (let define-minor-mode
1186 handle it).
1187 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1188 Doc fixes.
1189 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1190 (winner-mode): Use define-minor-mode.
1191
1192 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1193 the full definition in loaddefs, rather than duplicating it.
1194
1195 * help-macro.el (three-step-help): No need to autoload defcustom.
1196
1197 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1198 (inferior-lisp-program, inferior-lisp-load-command)
1199 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1200 No need to autoload defcustoms.
1201
1202 * hippie-exp.el (hippie-expand-try-functions-list)
1203 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1204 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1205 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1206 (hippie-expand-only-buffers): No need to autoload defcustoms.
1207 * progmodes/vhdl-mode.el (vhdl-line-expand):
1208 Explicitly load hippie-exp, so it does not get autoloaded
1209 while hippie-expand-try-functions-list is let-bound.
1210
1211 2012-09-28 Glenn Morris <rgm@gnu.org>
1212
1213 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1214
1215 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1216 Only "cl.el" counts as cl these days.
1217
1218 2012-09-28 Juri Linkov <juri@jurta.org>
1219
1220 Display archive errors in the echo area instead of inserting
1221 to the file buffer.
1222
1223 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1224 to STDERR-TEST that can be a regexp matching a successful output.
1225 Create a temporary file and redirect stderr to it. Search for
1226 STDERR-TEST in the stderr output and display it in the echo area
1227 if no match is found.
1228 (archive-extract-by-file): New function like
1229 `archive-extract-by-stdout' but extracting archives to files
1230 and looking for successful matches in stdout. Function body is
1231 mostly copied from `archive-rar-extract'.
1232 (archive-rar-extract): Use `archive-extract-by-file'.
1233 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1234
1235 2012-09-28 Leo Liu <sdl.web@gmail.com>
1236
1237 * pcomplete.el (pcomplete-show-completions):
1238 Use minibuffer-message to make pcomplete usable in minibuffer.
1239
1240 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1241
1242 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * type-break.el: Use lexical-binding.
1245 (type-break-mode): Use define-minor-mode.
1246
1247 * emacs-lisp/pcase.el (pcase--mark-used): New.
1248 (pcase--u1): Use it (bug#12512).
1249
1250 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1251 in load-history with the right file name.
1252
1253 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1254
1255 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1256 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1257 (doc-view-get-bounding-box): Make bounding box slicing work for
1258 ODF and DVI documents.
1259
1260 2012-09-28 Glenn Morris <rgm@gnu.org>
1261
1262 * type-break.el (type-break-mode, type-break-interval)
1263 (type-break-good-rest-interval, type-break-keystroke-threshold):
1264 No need to autoload.
1265 (type-break-good-rest-interval, type-break-keystroke-threshold):
1266 Add :set-after.
1267
1268 2012-09-28 Chong Yidong <cyd@gnu.org>
1269
1270 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1271 Add :version tag.
1272
1273 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1276
1277 2012-09-27 Glenn Morris <rgm@gnu.org>
1278
1279 * faces.el (x-display-name): Declare (for without-x builds).
1280
1281 * linum.el (linum-format): Don't autoload it. Improve :type.
1282
1283 * progmodes/tcl.el: Don't require outline when compiling.
1284 (outline-regexp, outline-level): Declare.
1285 * textmodes/sgml-mode.el: Don't require outline when compiling.
1286 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1287
1288 * term.el (term-ansi-reset):
1289 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1290
1291 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1292 files for RCS and SCCS. (Bug#9781)
1293
1294 2012-09-27 Chong Yidong <cyd@gnu.org>
1295
1296 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1297 change; value should be t.
1298
1299 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1300
1301 * image-mode.el: Use lexical-binding.
1302 (image-mode-winprops): Use t to stand for the window of
1303 a buffer that's not displayed.
1304 * doc-view.el (doc-view-new-window-function): Handle the new
1305 t in winprops.
1306 (doc-view-enlarge): Make it a real nop if the size is not changed.
1307 (doc-view-display): Handle the case where the buffer is not (yet?)
1308 displayed in any window.
1309 (doc-view-saved-settings): New var.
1310 (doc-view-mode): Use it.
1311 (doc-view-fallback-mode): Set it.
1312
1313 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1314 Set lexical-binding.
1315 (minibuffer-eldef-shorten-default): New var.
1316 (minibuffer-default-in-prompt-regexps): Use it for new default.
1317 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1318
1319 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1320
1321 * international/uni-bidi.el:
1322 * international/uni-category.el:
1323 * international/uni-name.el:
1324 * international/uni-numeric.el: Regenerate.
1325
1326 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1327 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * profiler.el: New file.
1330
1331 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1332
1333 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1334 (testcover-reinstrument): Simplify with CSE.
1335
1336 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1337
1338 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1339
1340 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1341
1342 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1343 (verilog-auto-input, verilog-auto-insert-lisp)
1344 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1345 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1346 (verilog-auto-unused, verilog-auto-wire)
1347 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1348 newline. Reported by Andrew Jones.
1349 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1350 Reported by Brad Dobbie.
1351 (verilog-batch-delete-trailing-whitespace):
1352 Create verilog-batch-delete-trailing-whitespace.
1353 Reported by Brad Dobbie.
1354 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1355 parameters from another module. Reported by Dan Katz.
1356 (verilog-auto, verilog-auto-assign-modport)
1357 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1358 AUTOINOUTMODPORT for UVM interface module shell generation.
1359 Reported by Brad Dobbie.
1360 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1361 standard behavior.
1362 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1363 Reported by Matt Martin.
1364
1365 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1366
1367 * window.el (window--resize-child-windows): When resizing child
1368 windows proportionally, process them in reverse order to
1369 preserve the "when splitting a window the new one gets the odd
1370 line" behavior.
1371 (window--resize-root-window-vertically): When resizing the
1372 minibuffer window try to affect only windows at the bottom of the
1373 frame. (Bug#12419)
1374
1375 2012-09-25 Chong Yidong <cyd@gnu.org>
1376
1377 * subr.el (declare): Doc fix.
1378
1379 * help-fns.el (help-fns--obsolete): Handle macros properly.
1380
1381 2012-09-25 Chong Yidong <cyd@gnu.org>
1382
1383 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1384 this function obsolete.
1385
1386 * calendar/cal-x.el (calendar-two-frame-setup)
1387 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1388 * calendar/calendar.el (american-calendar, european-calendar)
1389 (calendar-for-loop):
1390 * comint.el (comint-dynamic-simple-complete)
1391 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1392 * desktop.el (desktop-load-default):
1393 * dired-x.el (dired-omit-here-always)
1394 (dired-hack-local-variables, dired-default-directory):
1395 * emacs-lisp/derived.el (derived-mode-class):
1396 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1397 * emacs-lock.el (toggle-emacs-lock):
1398 * epa.el (epa-display-verify-result):
1399 * epg.el (epg-sign-keys, epg-start-sign-keys)
1400 (epg-passphrase-callback-function):
1401 * eshell/esh-util.el (eshell-for):
1402 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1403 (eshell-add-to-window-buffer-names):
1404 * files.el (locate-file-completion):
1405 * imenu.el (imenu-example--create-c-index)
1406 (imenu-example--create-lisp-index)
1407 (imenu-example--lisp-extract-index-name)
1408 (imenu-example--name-and-position):
1409 * international/mule-cmds.el (princ-list):
1410 * international/mule-diag.el (decode-codepage-char):
1411 * international/mule-util.el (detect-coding-with-priority):
1412 * iswitchb.el (iswitchb-read-buffer):
1413 * mail/mailalias.el (mail-complete):
1414 * mail/sendmail.el (mail-sent-via):
1415 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1416 (mouse-major-mode-menu):
1417 * password-cache.el (password-read-and-add):
1418 * pcomplete.el (pcomplete-parse-comint-arguments):
1419 * progmodes/sh-script.el (sh-maybe-here-document):
1420 * replace.el (query-replace-regexp-eval):
1421 * savehist.el (savehist-load):
1422 * simple.el (choose-completion-delete-max-match):
1423 * term.el (term-dynamic-simple-complete):
1424 * vc/ediff-init.el (ediff-check-version):
1425 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1426 * vc/vc.el (vc-diff-switches-list):
1427 * view.el (view-return-to-alist-update): Likewise.
1428
1429 * subr.el (eval-next-after-load, makehash, insert-string)
1430 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1431 mark obsolete.
1432 (mode-line-inverse-video): Variable deleted.
1433
1434 * international/mule-util.el (string-to-sequence): Remove.
1435
1436 * calendar/calendar.el (calendar-version):
1437 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1438 (icalendar-convert-diary-to-ical):
1439 * cus-edit.el (custom-mode):
1440 * ansi-color.el (ansi-color-unfontify-region):
1441 * international/latin1-disp.el (latin1-char-displayable-p):
1442 * progmodes/cwarn.el (turn-on-cwarn-mode):
1443 * progmodes/which-func.el (which-func-update-1):
1444 Use define-obsolete-function-alias.
1445
1446 * net/newst-backend.el (newsticker-cache-filename):
1447 * net/newst-treeview.el (newsticker-groups-filename):
1448 Fix incorrect obsolescence declaration.
1449
1450 * allout.el (allout-passphrase-hint-string): Likewise.
1451 (allout-init): Use a declare form to mark obsolete.
1452
1453 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1454 this applies to functions.
1455
1456 * iswitchb.el (iswitchb-read-buffer): Move code of
1457 iswitchb-define-mode-map here, and delete that obsolete function.
1458
1459 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1460 font-lock-reference-face.
1461
1462 2012-09-25 Glenn Morris <rgm@gnu.org>
1463
1464 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1465 Doc fixes.
1466
1467 * eshell/em-term.el (eshell-term-name):
1468 Default to term-term-name. (Bug#12485)
1469
1470 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1471
1472 * progmodes/python.el (python-shell-send-buffer): Better handling
1473 of "if __name__ == '__main__':" conditionals when sending the buffer.
1474
1475 2012-09-24 Glenn Morris <rgm@gnu.org>
1476
1477 * eshell/esh-cmd.el (eshell-find-alias-function):
1478 Tighten up file-name regexp. (Bug#12499)
1479
1480 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1481
1482 Enhancements for triple-quote string syntax.
1483 * progmodes/python.el (python-quote-syntax): Remove.
1484 (python-syntax-propertize-function): New value.
1485 (python-syntax-count-quotes, python-syntax-stringify):
1486 New functions.
1487
1488 2012-09-24 Chong Yidong <cyd@gnu.org>
1489
1490 * mail/supercite.el (sc-version): Remove obsolete function.
1491 (sc-describe): Don't mark as obsolete, since it is bound.
1492 (sc-submit-bug-report): Remove.
1493
1494 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1495 (cvs-commit-buffer-require-final-newline): Remove.
1496 (log-edit-require-final-newline)
1497 (log-edit-changelog-full-paragraphs): Default to t.
1498
1499 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1500 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1501 * vc/vc.el (vc-checkout-carefully): Likewise.
1502
1503 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1504 (emerge-version): Remove.
1505
1506 * progmodes/compile.el (compile-internal): Remove.
1507 (compilation-parse-errors-function): Fix typo.
1508
1509 * international/mule.el (set-char-table-default): Remove.
1510 (set-coding-priority, make-coding-system, generic-char-p)
1511 (charset-list, charset-bytes, charset-id): Use declare to mark
1512 functions as obsolete.
1513
1514 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1515 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1516 * vc/vc-hooks.el (vc-default-registered): Don't use
1517 vc-master-templates.
1518
1519 * font-lock.el (font-lock-reference-face):
1520 Use define-obsolete-variable-alias.
1521
1522 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1523 * calendar/calendar.el (calendar-font-lock-keywords):
1524 * calendar/diary-lib.el (diary-font-lock-keywords)
1525 (diary-fancy-font-lock-keywords):
1526 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1527 * textmodes/reftex-index.el (reftex-insert-index):
1528 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1529 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1530 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1531 * progmodes/prolog.el (prolog-font-lock-keywords):
1532 * progmodes/idlwave.el (idlwave-idl-keywords):
1533 * progmodes/ada-mode.el (ada-font-lock-keywords):
1534 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1535
1536 2012-09-24 Glenn Morris <rgm@gnu.org>
1537
1538 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1539
1540 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1541
1542 * progmodes/python.el (python-indent-line): More consistent cursor
1543 movement behavior.
1544
1545 2012-09-23 Stefan Merten <smerten@oekonux.de>
1546
1547 * textmodes/rst.el: Fix compiler warning.
1548
1549 2012-09-23 Roland Winkler <winkler@gnu.org>
1550
1551 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1552 Transcribe also LaTeX hyphenation.
1553 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1554 bibtex-reformat-previous-options.
1555
1556 2012-09-23 Roland Winkler <winkler@gnu.org>
1557
1558 * proced.el (proced-renice-command): New variable.
1559 (proced-marked-processes): New function.
1560 (proced-with-processes-buffer): New macro.
1561 (proced-send-signal): Use them.
1562 (proced-renice): New command bound to r.
1563
1564 2012-09-23 Roland Winkler <winkler@gnu.org>
1565
1566 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1567 ibuffer-saved-filter-groups has one element, shortcut the call of
1568 completing-read. (Bug#12331)
1569
1570 2012-09-23 Chong Yidong <cyd@gnu.org>
1571
1572 * bindings.el (mode-line-toggle-read-only):
1573 * bs.el (bs-toggle-readonly):
1574 * buff-menu.el (Buffer-menu-toggle-read-only):
1575 * dired.el (dired-toggle-read-only):
1576 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1577
1578 2012-09-23 Chong Yidong <cyd@gnu.org>
1579
1580 * image.el (image-type-available-p): Adapt to init-image-library
1581 argument changes.
1582
1583 2012-09-22 Juri Linkov <juri@jurta.org>
1584
1585 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1586 `dired-toggle-read-only'. (Bug#12462)
1587
1588 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1589
1590 * subr.el (temp-output-buffer-show): New function.
1591 (with-output-to-temp-buffer): Call temp-output-buffer-show
1592 instead of internal-temp-output-buffer-show.
1593
1594 2012-09-22 Chong Yidong <cyd@gnu.org>
1595
1596 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1597 (Bug#12462).
1598
1599 * repeat.el (repeat): Doc fix (Bug#12348).
1600
1601 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1602 (Bug#10909).
1603
1604 * simple.el (shell-command-on-region): Doc fix.
1605 (read-only-mode): Doc fix.
1606
1607 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1608
1609 * emacs-lisp/timer.el (run-with-idle-timer)
1610 (timer-activate-when-idle): Warn against reinvoking an idle timer
1611 from within its own timer action. (Bug#12447)
1612
1613 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1614
1615 * cus-start.el (window-combination-limit): Add new optional
1616 values.
1617 * window.el (temp-buffer-window-show)
1618 (window--try-to-split-window): Handle new values of
1619 window-combination-limit (Bug#1806).
1620 (split-window): Test window-combination-limit for t instead of
1621 non-nil.
1622 (display-buffer-at-bottom): New buffer display action function.
1623 * help.el (temp-buffer-resize-regexps): New option.
1624 (temp-buffer-resize-mode): Rewrite doc-string.
1625 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1626 Don't resize reused window. Suggested by Glenn Morris.
1627
1628 2012-09-22 Stefan Merten <smerten@oekonux.de>
1629
1630 * textmodes/rst.el: Revamp section title faces.
1631 (rst-official-version)
1632 (rst-package-emacs-version-alist): Sync with official version
1633 V1.4.0.
1634 (rst-faces-defaults, rst-set-level-default)
1635 (rst-level-face-max, rst-level-face-base-color)
1636 (rst-level-face-base-light, rst-level-face-format-light)
1637 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1638 (rst-adornment-faces-alist): Match new setup.
1639 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1640 (rst-level-5, rst-level-6): New faces.
1641
1642 2012-09-22 Chong Yidong <cyd@gnu.org>
1643
1644 * simple.el (undo): Handle indirect buffers (Bug#8207).
1645
1646 2012-09-21 Leo Liu <sdl.web@gmail.com>
1647
1648 IDO: Disable match re-ordering for buffer switching.
1649 * ido.el (ido-buffer-disable-smart-matches): New variable.
1650 (ido-set-matches-1): Use it. (Bug#2042)
1651
1652 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1653
1654 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1655 Fix 2011-05-17 change. (Bug#12418)
1656
1657 2012-09-21 Leo Liu <sdl.web@gmail.com>
1658
1659 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1660
1661 2012-09-21 Glenn Morris <rgm@gnu.org>
1662
1663 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1664 Be more robust about locating simple.el.
1665
1666 2012-09-21 Glenn Morris <rgm@gnu.org>
1667
1668 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1669
1670 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1671
1672 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1673
1674 2012-09-20 Juri Linkov <juri@jurta.org>
1675
1676 * replace.el (query-replace-read-from): Use `read-regexp' instead
1677 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1678 (occur-read-primary-args): Use `read-regexp' instead of
1679 `read-string'.
1680 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1681 `read-from-minibuffer'.
1682 * isearch.el (isearch-occur): Use `read-regexp' instead of
1683 `read-string'.
1684 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1685 `read-from-minibuffer'.
1686 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1687 of `read-string'. (Bug#7567)
1688
1689 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1690 and allow accepting a list of strings prepended to a list of
1691 standard default values. Doc fix. (Bug#12321)
1692
1693 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1694
1695 * replace.el (read-regexp): Don't add ": " when PROMPT already
1696 ends with a colon and space. (Bug#12321)
1697
1698 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1699
1700 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1701 error.
1702
1703 2012-09-20 Stefan Merten <smerten@oekonux.de>
1704
1705 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1706 Fixes feature request bug#11711.
1707 (rst-mode): Create `imenu-create-index-function'.
1708 (rst-get-stripped-line): Delete after refactoring.
1709 (rst-section-tree, rst-section-tree-rec)
1710 (rst-section-tree-point): Refactor and document properly.
1711 (rst-imenu-find-adornments-for-position)
1712 (rst-imenu-convert-cell, rst-imenu-create-index):
1713 New function.
1714
1715 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1716
1717 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1718 (macroexp--expand-all): Use it.
1719 (macroexp--funcall-and-return): Remove by folding it into its sole
1720 caller (macroexp--warn-and-return).
1721 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1722 Use macroexp--obsolete-warning.
1723
1724 * calc/calc.el: Fix last change by removing the whole chunk, since it
1725 was only needed back when Calc was not bundled.
1726
1727 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1728
1729 * emacs-lisp/debug.el (debug): Restore assignment to
1730 debugger-old-buffer removed on 2012-09-08.
1731
1732 2012-09-20 Juri Linkov <juri@jurta.org>
1733
1734 * dired-aux.el (dired-diff): Remove (require 'diff) since
1735 `diff-latest-backup-file' is now autoloaded.
1736
1737 2012-09-20 Chong Yidong <cyd@gnu.org>
1738
1739 * vc/diff.el (diff-latest-backup-file): Autoload.
1740
1741 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1742
1743 * calc/calc.el: Remove redundant autoload shape check.
1744 (sel-mode): Don't defvar.
1745 (calc-get-stack-element): Add `sel-mode' arg instead.
1746 (calc-top, calc-top-list): Pass it this additional argument.
1747 * calc/calc-store.el (calc-store-map):
1748 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1749 (calc-map-equation, calc-outer-product, calc-inner-product):
1750 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1751
1752 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1753
1754 2012-09-19 Juri Linkov <juri@jurta.org>
1755
1756 * dired-aux.el (dired-diff): Add (require 'diff) because
1757 `diff-latest-backup-file' is not autoloaded.
1758 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1759 of `dired-get-filename' to t to not report error when there is
1760 no default file on the current line.
1761
1762 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1763
1764 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1765 macroexp--eval-if-compile.
1766 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1767 (macroexp--expand-all): Use them (bug#12371).
1768
1769 * doc-view.el (doc-view-guess-paper-size)
1770 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1771
1772 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1773
1774 New feature: set optimal slice from BoundingBox information.
1775 * doc-view.el (doc-view-mode-map): Add keybinding.
1776 (doc-view-menu): Add menu entry.
1777 (doc-view-set-slice): Adapt docstring.
1778 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1779 (doc-view-scale-bounding-box)
1780 (doc-view-set-slice-from-bounding-box): New functions.
1781 (doc-view-paper-sizes): New defvar.
1782
1783 2012-09-19 Glenn Morris <rgm@gnu.org>
1784
1785 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1786 (byte-compile-log-warning): Autoload. (Bug#12371)
1787
1788 * calendar/calendar.el (calendar-american-month-header)
1789 (calendar-european-month-header, calendar-iso-month-header)
1790 (calendar-month-header): New options.
1791 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1792 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1793
1794 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1795
1796 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1797
1798 2012-09-18 Juri Linkov <juri@jurta.org>
1799
1800 * dired-aux.el (dired-diff): Restore original functionality of
1801 getting the default value, but keep new feature of using the
1802 latest existing backup file (`diff-latest-backup-file').
1803
1804 2012-09-18 Juri Linkov <juri@jurta.org>
1805
1806 * dired.el (dired-mark): If the region is active in Transient Mark
1807 mode, mark all files in the active region. Doc fix.
1808 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1809 Doc fix. (Bug#10624)
1810
1811 2012-09-18 Juri Linkov <juri@jurta.org>
1812
1813 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1814 attributes for M-n are pulled from the file at point.
1815 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1816 Suggested by Drew Adams. (Bug#10624)
1817
1818 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1819
1820 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1821 whitespace after "end".
1822 (ruby-do-end-to-brace): Collapse block to one line if it fits
1823 within fill-column.
1824
1825 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1826
1827 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1828 value.
1829 (debug): Don't remove debugger window when debugger is expected
1830 to be back.
1831
1832 2012-09-18 Chong Yidong <cyd@gnu.org>
1833
1834 * custom.el (defface): Doc fix.
1835
1836 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1837
1838 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1839
1840 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1841 to initialize query-on-exit; then test that instead (bug#12288).
1842
1843 2012-09-17 Stefan Merten <smerten@oekonux.de>
1844
1845 * textmodes/rst.el: Add support for `testcover'.
1846 (rst-defcustom-testcover, rst-testcover-add-compose)
1847 (rst-testcover-add-1value): New functions.
1848 (rst-portable-mark-active-p): Replace by `use-region-p'.
1849 (rst-update-section, rst-classify-adornment)
1850 (rst-find-title-line): Mark `1value' forms.
1851 (rst-classify-adornment): Remove superfluous form.
1852 (rst-update-section, rst-get-adornments-around)
1853 (rst-adornment-complete-p, rst-get-next-adornment)
1854 (rst-adjust, rst-promote-region)
1855 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1856 (rst-find-pfx-in-region, rst-section-tree-rec)
1857 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1858 (rst-toc-node, rst-toc, rst-forward-section)
1859 (rst-iterate-leftmost-paragraphs)
1860 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1861 (rst-bullet-list-region)
1862 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1863 (rst-compile-find-conf, rst-compile)
1864 (rst-repeat-last-character): Fix style.
1865
1866 2012-09-17 Chong Yidong <cyd@gnu.org>
1867
1868 * comint.el (comint--complete-file-name-data): Don't add a space
1869 if the status is `sole'; that adds a gratuitous space in the
1870 completion-cycling case (Bug#12092).
1871
1872 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1873
1874 2012-09-17 Richard Stallman <rms@gnu.org>
1875
1876 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1877 only in the mime-shown mode, not in raw mode.
1878 (rmail-mime): Toggle off mime by displaying the message without
1879 mime processing. (Bug#12305)
1880
1881 * mail/rmail.el (rmail-retry-failure):
1882 Turn off mime processing first. (Bug#12037)
1883
1884 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1885
1886 2012-09-17 Chong Yidong <cyd@gnu.org>
1887
1888 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1889 (shell-dynamic-complete-functions): Convert to defcustom.
1890 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1891
1892 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1893 * comint.el (comint-prompt-read-only):
1894 * custom.el (defcustom):
1895 * hi-lock.el (hi-lock-mode):
1896 * ibuffer.el (ibuffer-formats):
1897 * ielm.el (ielm-prompt-read-only):
1898 * novice.el (disable-command):
1899 * saveplace.el (toggle-save-place):
1900 * speedbar.el (speedbar-supported-extension-expressions):
1901 * startup.el (auto-save-list-file-prefix, init-file-user)
1902 (after-init-hook, inhibit-startup-echo-area-message):
1903 * strokes.el (strokes-help):
1904 * time-stamp.el (time-stamp):
1905 * calendar/calendar.el (calendar, diary-file):
1906 * calendar/diary-lib.el (diary-mail-entries, diary)
1907 (diary-list-entries-hook):
1908 * calendar/holidays.el (holidays, calendar-holidays):
1909 * calendar/lunar.el (lunar-phases):
1910 * calendar/solar.el (sunrise-sunset):
1911 * emulation/edt.el (edt-load-keys):
1912 * emulation/viper.el (viper-mode):
1913 * eshell/em-alias.el (eshell-command-aliases-list):
1914 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1915 * international/ogonek.el (ogonek-information):
1916 * net/tramp-cmds.el (tramp-bug):
1917 * net/quickurl.el (quickurl-reread-hook-postfix):
1918 * play/decipher.el (decipher-font-lock-keywords):
1919 * progmodes/cc-styles.el (c-set-style):
1920 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1921 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1922 * progmodes/octave-mod.el (octave-mode):
1923 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1924 * progmodes/verilog-mode.el (verilog-read-defines):
1925 * textmodes/two-column.el (2C-mode): Likewise.
1926
1927 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1928
1929 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1930 that holds many addresses.
1931
1932 2012-09-16 Chong Yidong <cyd@gnu.org>
1933
1934 * align.el (align-areas): Call the indication function with
1935 positions instead of markers for arguments (Bug#12343).
1936
1937 * files.el (parse-colon-path): Use split-string (Bug#12351).
1938
1939 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1940 (display-buffer-function): Mark as obsolete.
1941
1942 * progmodes/compile.el (compilation-parse-errors): Accept list
1943 values similar to font-lock-keywords (Bug#12136).
1944 Suggested by Oleksandr Manzyuk.
1945 (compilation-error-regexp-alist): Doc fix.
1946
1947 2012-09-15 Glenn Morris <rgm@gnu.org>
1948
1949 * version.el (emacs-bzr-version-bzr): New function.
1950 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1951
1952 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1953 checkouts, check the parent dirstate matches the branch.
1954 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1955 empty string.
1956
1957 * version.el (emacs-bzr-version): Doc fix.
1958 (emacs-bzr-version-dirstate): New function.
1959 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1960 is local try and check that it matches the branch. If not, just
1961 use dirstate information. (Bug#12441)
1962
1963 2012-09-14 Juri Linkov <juri@jurta.org>
1964
1965 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1966 (Bug#12399)
1967
1968 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1969
1970 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1971
1972 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1973 Remove obsolete byte-compiler hack that tried to silence some warnings.
1974 (edebug-submit-bug-report): Remove.
1975 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1976 Remove aliases, use the un-prefixed name instead.
1977 (edebug-pop-to-buffer): Consider other frames.
1978 (edebug-original-read):: Make it more obvious that it's always defined.
1979 (edebug--make-form-data-entry, edebug--form-data-name)
1980 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1981 single-dashed name, and implement with cl-defstruct.
1982 (edebug-set-form-data-entry): Use the standard accessors.
1983 (edebug-make-top-form-data-entry): Use push.
1984 (edebug-no-match): Drop useless `funcall'.
1985 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1986 to functions.
1987 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1988 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1989 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1990 (easy-menu-define, with-custom-print): Remove redundant specs.
1991 (edebug-outside-overriding-local-map)
1992 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1993 (edebug--display): Bind unread-command-events directly to nil rather
1994 than binding it to unread-command-events and later setting it to nil.
1995 (edebug--display): Kill edebug-eval-buffer here...
1996 (edebug--recursive-edit): ...rather than here.
1997 Bind standard-output and standard-input.
1998 (edebug-eval): Check cl-macroexpand-all is fboundp.
1999 (edebug-temp-display-freq-count): Fix last change.
2000
2001 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2002 * subr.el (noreturn, 1value): Add `debug' spec.
2003 * emacs-lisp/advice.el: Require cl-lib.
2004 (ad-copy-tree): Remove, use copy-tree instead.
2005 (ad-dolist): Remove use dolist or cl-dolist instead.
2006 (ad-do-return): Remove, use cl-return instead.
2007 (defadvice): Add `debug' spec.
2008
2009 2012-09-13 Juri Linkov <juri@jurta.org>
2010
2011 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2012 (Bug#12399)
2013
2014 2012-09-13 Glenn Morris <rgm@gnu.org>
2015
2016 * calc/calc.el (math-compose-expr):
2017 * calc/calc-ext.el (math-compose-expr):
2018 * progmodes/cc-defs.el (cl-macroexpand-all):
2019 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2020 (cl-macroexpand-all): Update declarations.
2021
2022 * vc/vc.el: No need to require ediff.
2023 (ediff-load-version-control): Declare.
2024 (ediff-vc-internal): Fix declaration.
2025 (vc-version-ediff): Require ediff.
2026
2027 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2028
2029 Use a more backwards-compatible timer format (Bug#12430).
2030 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2031 being right after USECS, as that better supports old code that
2032 inadvisedly looked directly at the timer vector.
2033
2034 2012-09-13 Kenichi Handa <handa@gnu.org>
2035
2036 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2037 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2038 `coding-priority' property of these language environment.
2039
2040 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2041
2042 Fix glitches caused by addition of psec to timers (Bug#12430).
2043 * image.el (image-animate-timer):
2044 * time.el (display-time-world-timer):
2045 Use timer--function and timer--args rather than raw access to
2046 timer vector.
2047
2048 2012-09-13 Glenn Morris <rgm@gnu.org>
2049
2050 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2051 If not compiling a file, try using load-file-name.
2052
2053 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2056 Fix last change.
2057 (edebug-update-eval-list): Use `push'.
2058
2059 * emacs-lisp/edebug.el: Use lexical-binding.
2060 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2061 Mark unused args with underscore.
2062 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2063 (edebug-form-data): Use defvar-local.
2064 (edebug-make-before-and-after-form, edebug-make-after-form):
2065 Use backquote.
2066 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2067 Not dynamically scoped any more.
2068 (edebug--enter-trace): Add arguments `function' and `args'.
2069 Rename from edebug-enter-trace.
2070 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2071 (edebug--update-coverage): Add `after-index' and `value' args.
2072 Rename from edebug-update-coverage.
2073 (edebug-slow-after): Call it accordingly.
2074 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2075 edebug-recursive-edit.
2076 (edebug--display): Call it accordingly. Add args `value',
2077 `offset-index', and `arg-mode'. Rename from edebug-display.
2078 (edebug-debugger, edebug): Call it accordingly.
2079 (edebug-eval-display-list): Use dolist.
2080
2081 2012-09-12 Juri Linkov <juri@jurta.org>
2082
2083 * info.el (Info-search): Don't check for isearch-mode and
2084 isearch-regexp before let-binding search-spaces-regexp to
2085 Info-search-whitespace-regexp.
2086 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2087 search-whitespace-regexp if isearch-lax-whitespace or
2088 isearch-regexp-lax-whitespace is non-nil.
2089 (Info-mode): Don't set local variable search-whitespace-regexp.
2090 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2091
2092 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2095 (debugger-env-macro): Remove support for unread-command-char.
2096
2097 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2098 the temporary map re-appearing on emulation-mode-map-alists.
2099
2100 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2101 since 22.1.
2102
2103 * ehelp.el (with-electric-help): Accept functions in
2104 electric-help-form-to-execute.
2105 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2106 And replace unread-command-char -> unread-command-events.
2107
2108 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2109
2110 Sync with Tramp 2.2.6.
2111
2112 * net/tramp.el (tramp-accept-process-output): Don't use
2113 JUST-THIS-ONE in the XEmacs case.
2114
2115 * net/trampver.el: Update release number.
2116
2117 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2118
2119 * emacs-lisp/debug.el (debugger-previous-window-height):
2120 New variable.
2121 (debug): When debugger-jumping-flag is non-nil try to restore
2122 height of debugger window. (Bug#8789)
2123
2124 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2125
2126 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2127 overriding-local-map and pre/post-command-hook here.
2128 (edebug-recursive-edit): Do it here instead (bug#12345).
2129 (edebug-outside-unread-command-char): Remove all uses of
2130 unread-command-char.
2131
2132 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2133 inhibit-debugger is bound instead.
2134
2135 2012-09-11 Bastien Guerry <bzg@gnu.org>
2136
2137 * subr.el (set-temporary-overlay-map): Add a docstring.
2138 (Bug#12346)
2139
2140 2012-09-11 Bastien Guerry <bzg@gnu.org>
2141
2142 * minibuffer.el (completion-table-subvert): Fix docstring.
2143 (Bug#12347)
2144
2145 2012-09-11 Bastien Guerry <bzg@gnu.org>
2146
2147 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2148
2149 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2150
2151 * progmodes/sql.el: Version 3.1
2152 (sql-db2-escape-newlines): New variable.
2153 (sql-escape-newlines-filter): Use it.
2154
2155 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2156
2157 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2158
2159 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2160
2161 * vc/diff-mode.el (diff-mode-menu):
2162 Bind diff-remove-trailing-whitespace.
2163
2164 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2167 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2168 (emacs-lisp-byte-code-mode): New functions.
2169 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2170 (eval-defun-2): Remove bogus interactive spec.
2171 (lisp-indent-line): Remove redundant whole-exp code, now done in
2172 indent-according-to-mode.
2173 (save-match-data): Remove redundant indent data.
2174
2175 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2176 Use `declare'.
2177
2178 2012-09-09 Juri Linkov <juri@jurta.org>
2179
2180 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2181 (replace-lax-whitespace, query-replace-regexp)
2182 (query-replace-regexp-eval, replace-regexp): Doc fix.
2183 (perform-replace, replace-highlight): Let-bind
2184 isearch-lax-whitespace to replace-lax-whitespace and
2185 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2186
2187 * isearch.el (isearch-query-replace): Let-bind
2188 replace-lax-whitespace to isearch-lax-whitespace and
2189 replace-regexp-lax-whitespace to
2190 isearch-regexp-lax-whitespace. (Bug#10885)
2191
2192 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2195
2196 2012-09-09 Alan Mackenzie <acm@muc.de>
2197
2198 * progmodes/cc-engine.el (c-state-cache-init):
2199 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2200 (c-record-parse-state-state):
2201 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2202
2203 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2204
2205 * register.el (register-separator): Rename from
2206 separator-register. All uses changed. Doc fix.
2207 (register): Fix version.
2208
2209 2012-09-09 Chong Yidong <cyd@gnu.org>
2210
2211 * replace.el (query-replace-map): Bind four new symbols for
2212 requesting window scrolling.
2213
2214 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2215 query-replace-map (Bug#8948).
2216
2217 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2218
2219 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2220 since they are now in query-replace-map.
2221
2222 * window.el (scroll-other-window-down): Make the arg optional.
2223
2224 2012-09-09 Chong Yidong <cyd@gnu.org>
2225
2226 * files.el (hack-local-variables-confirm): Use quit-window to kill
2227 the *Local Variables* buffer.
2228
2229 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2230
2231 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2232 not just expect to be at its beginning. Adjust callees.
2233 Succeed when do-end block has no space before the pipe character.
2234 (ruby-brace-to-do-end): When the original block is one-liner,
2235 convert to multiline. Reindent the result.
2236
2237 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2238
2239 * register.el (register): New group.
2240 (separator-register): New user option.
2241 (increment-register): Route it to `append-to-register', if
2242 register contains text. Implication is that `C-x r +' can now be
2243 used for appending to a text register (bug#12217).
2244 (append-to-register, prepend-to-register): Add separator based on
2245 `separator-register'.
2246
2247 2012-09-08 Alan Mackenzie <acm@muc.de>
2248
2249 AWK Mode: make auto-newline work when there's "==" in the pattern.
2250 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2251 correctly.
2252 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2253 Test more rigorously for "=" token.
2254
2255 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2256
2257 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2258 Only fail when reached LIMIT.
2259
2260 2012-09-08 Chong Yidong <cyd@gnu.org>
2261
2262 * dired.el (dired-mode-map): Don't bind M-=.
2263
2264 * dired-aux.el (dired-diff): Use backup file as default.
2265
2266 2012-09-08 Drew Adams <drew.adams@oracle.com>
2267
2268 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2269
2270 2012-09-08 Chong Yidong <cyd@gnu.org>
2271
2272 * subr.el (syntax-after, syntax-class): Doc fix.
2273
2274 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2275
2276 * window.el (display-buffer-in-previous-window): New buffer
2277 display action function.
2278
2279 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2280 (debugger-previous-window): New variable.
2281 (debug): Rewrite using display-buffer-in-previous-window,
2282 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2283
2284 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2287
2288 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2289
2290 * progmodes/python.el (python-shell-send-string):
2291 When default-directory is remote, create temp file on remote
2292 filesystem.
2293 (python-shell-send-file): When file is remote, pass local view of
2294 file paths to remote Python interpreter. (Bug#12340)
2295
2296 2012-09-07 Chong Yidong <cyd@gnu.org>
2297
2298 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2299
2300 * files.el (after-find-file): Don't fail on a read-only buffer if
2301 require-final-newline is `visit' or `visit-save' (Bug#11156).
2302
2303 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2304
2305 * userlock.el (ask-user-about-supersession-threat):
2306 Use read-char-choice (Bug#12093).
2307
2308 2012-09-07 Chong Yidong <cyd@gnu.org>
2309
2310 * subr.el (buffer-narrowed-p): New function.
2311
2312 * ses.el (ses-widen):
2313 * simple.el (count-words--buffer-message):
2314 * net/browse-url.el (browse-url-of-buffer): Use it.
2315
2316 * simple.el (count-words-region): Don't signal an error if there
2317 is a non-nil prefix arg and the mark is not set.
2318
2319 * help.el (describe-key-briefly): Allow the message to be seen
2320 when invoked from the minibuffer (Bug#7014).
2321
2322 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2323
2324 * progmodes/ruby-mode.el (ruby-end-of-defun)
2325 (ruby-beginning-of-defun): Simplify, allow indentation before
2326 block beginning and end keywords.
2327 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2328 (ruby-end-of-defun): Expect that the point is at the beginning of
2329 the defun.
2330
2331 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2332
2333 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2334 (bug#12367).
2335 (cl--make-usage-args): Strip _ from argument names.
2336
2337 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2338
2339 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2340 obsolete alias speedbar-key-map.
2341 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2342 (vhdl-index-menu-init): Don't use obsolete variable
2343 font-lock-maximum-size.
2344
2345 2012-09-06 Chong Yidong <cyd@gnu.org>
2346
2347 * frame.el (window-system-version): Mark as obsolete.
2348
2349 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2350 of obsolete variable speedbar-key-map.
2351
2352 2012-09-06 Juri Linkov <juri@jurta.org>
2353
2354 * replace.el (replace-lax-whitespace): New defcustom.
2355 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2356 (replace-string, replace-regexp): Mention it in docstrings.
2357 (perform-replace, replace-highlight): Let-bind
2358 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2359 to the values of replace-lax-whitespace and regexp-flag.
2360 Don't let-bind search-whitespace-regexp. (Bug#10885)
2361
2362 * isearch.el (isearch-query-replace): Let-bind
2363 replace-lax-whitespace instead of let-binding
2364 replace-search-function and replace-re-search-function.
2365 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2366 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2367 (isearch-toggle-symbol): Set isearch-regexp to nil
2368 in isearch-word mode (like in isearch-toggle-word).
2369
2370 2012-09-06 Juri Linkov <juri@jurta.org>
2371
2372 * replace.el (replace-search-function)
2373 (replace-re-search-function): Set default values to nil.
2374 (perform-replace): Let-bind isearch-related variables based on
2375 replace-related values, call `isearch-search-fun' and let-bind
2376 the result to `search-function'. Remove code that sets
2377 `search-function' and `search-string' separately for
2378 `delimited-flag'.
2379 (replace-highlight): Add new argument `delimited-flag' and
2380 rename other arguments to the names used in `perform-replace'.
2381 Let-bind `isearch-word' to the argument `delimited-flag'.
2382 (Bug#10885, bug#10887)
2383
2384 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2385
2386 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2387 ruby-beginning-of-indent, simplify, allow all keywords to have
2388 indentation before them.
2389 (ruby-beginning-of-indent): Adjust for above. Search until the
2390 found point is not inside a string or comment.
2391 (ruby-font-lock-keywords): Allow symbols to start with "@"
2392 character, give them higher priority than variables.
2393 (ruby-syntax-propertize-function)
2394 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2395 matchers. Expression expansions are not comments when inside a
2396 string, and there comment syntax status is irrelevant.
2397 (ruby-match-expression-expansion): New function. Check that
2398 expression expansion is inside a string, and it's not escaped.
2399 (ruby-font-lock-keywords): Use it.
2400
2401 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2402
2403 * help.el (temp-buffer-max-height): New default value.
2404 (temp-buffer-resize-frames): New option.
2405 (resize-temp-buffer-window): Optionally resize frame.
2406
2407 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2408 (fit-frame-to-buffer): New function.
2409
2410 2012-09-05 Glenn Morris <rgm@gnu.org>
2411
2412 * emulation/cua-rect.el (cua--init-rectangles):
2413 * textmodes/picture.el (picture-mode-map):
2414 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2415 like forward-char and backward-char. (Bug#12317)
2416
2417 2012-09-05 Leo Liu <sdl.web@gmail.com>
2418
2419 * progmodes/flymake.el (flymake-warning-re): New variable.
2420 (flymake-parse-line): Use it.
2421
2422 2012-09-05 Glenn Morris <rgm@gnu.org>
2423
2424 * calendar/holidays.el (holiday-christian-holidays):
2425 Rename an entry. (Bug#12289)
2426
2427 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2430 (bug#12222).
2431
2432 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 * loadup.el: Load macroexp. Remove hack.
2435 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2436 (macroexp--expand-all): Use it to get better warnings.
2437 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2438 (internal-macroexpand-for-load): New functions.
2439 (macroexp--pending-eager-loads): New var.
2440 (emacs-startup-hook): New hack to replace one in loadup.el.
2441 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2442 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2443 (cl-psetf): Simplify.
2444 (cl-defstruct): Add indent rule.
2445
2446 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2447
2448 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2449 over `user-mail-address' for the SMTP MAIL FROM envelope.
2450 (smtpmail-via-smtp): Ditto.
2451
2452 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2453
2454 * progmodes/ruby-mode.el: Clean up keybindings.
2455 (ruby-mode-map): Don't bind ruby-electric-brace,
2456 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2457 backward-kill-word, reindent-then-newline-and-indent.
2458 (ruby-mark-defun): Remove.
2459 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2460 (ruby-mode): Set local beginning-of-defun-function and
2461 end-of-defun-function values.
2462
2463 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2464
2465 * window.el (temp-buffer-window-setup-hook)
2466 (temp-buffer-window-show-hook): New hooks.
2467 (temp-buffer-window-setup, temp-buffer-window-show)
2468 (with-temp-buffer-window): New functions.
2469 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2470 (special-display-popup-frame): Make sure the window used shows BUFFER.
2471
2472 * help.el (temp-buffer-resize-mode): Fix doc-string.
2473 (resize-temp-buffer-window): New optional argument WINDOW.
2474
2475 * files.el (recover-file, save-buffers-kill-emacs):
2476 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2477
2478 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2479
2480 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2481 remote definition of `default-directory', ensure we can connect.
2482
2483 2012-09-02 Juri Linkov <juri@jurta.org>
2484
2485 Toggle whitespace matching mode with M-s SPC.
2486 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2487
2488 * isearch.el (search-whitespace-regexp): Doc fix.
2489 Remove cons cell customization.
2490 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2491 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2492 New variables.
2493 (isearch-forward, isearch-forward-regexp): Doc fix.
2494 (isearch-toggle-lax-whitespace): New command.
2495 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2496 (re-search-forward-lax-whitespace)
2497 (re-search-backward-lax-whitespace): New functions.
2498 (isearch-whitespace-regexp): Remove function.
2499 (isearch-query-replace): Let-bind replace-search-function and
2500 replace-re-search-function.
2501 (isearch-occur): Let-bind search-spaces-regexp according to the
2502 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2503 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2504 condition for C-q SPC.
2505 (isearch-search-fun-default): Use new functions mentioned above.
2506 (isearch-search-forward, isearch-search-backward): Remove functions.
2507 (isearch-search): Don't let-bind search-spaces-regexp.
2508 (isearch-lazy-highlight-space-regexp): Remove variable.
2509 (isearch-lazy-highlight-lax-whitespace)
2510 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2511 (isearch-lazy-highlight-new-loop): Use them.
2512 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2513
2514 2012-09-02 Chong Yidong <cyd@gnu.org>
2515
2516 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2517
2518 2012-09-02 Glenn Morris <rgm@gnu.org>
2519
2520 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2521
2522 2012-09-01 Glenn Morris <rgm@gnu.org>
2523
2524 * term.el: Tidy up menu definitions.
2525 (term-mode-map): Use easymenu for In/Out, Complete menus.
2526 (term-pager-break-map): Initialize in the defvar.
2527 (term-terminal-menu, term-signals-menu): Define with easymenu.
2528 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2529 (term-pager-menu): New, extracted from term-process-pager.
2530 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2531 (term-update-mode-line): Propertize line/char and page items.
2532 (term-process-pager): Move keymap initialization elsewhere.
2533
2534 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2535
2536 * window.el (switch-to-prev-buffer): Handle additional values of
2537 BURY-OR-KILL argument. Don't switch in minibuffer window.
2538 (switch-to-next-buffer): Don't switch in minibuffer window.
2539 (quit-restore-window): New function based on quit-window.
2540 Handle additional values of former KILL argument.
2541 (quit-window): Call quit-restore-window with appropriate
2542 interpretation of KILL argument.
2543 (display-buffer-below-selected): New buffer display action
2544 function.
2545
2546 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2547
2548 * minibuffer.el (completion-at-point-functions): Complete docstring
2549 (bug#12254).
2550
2551 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2552
2553 Better seed support for (random).
2554 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2555 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2556 * play/mpuz.el, play/tetris.el, play/zone.el:
2557 * calc/calc-comb.el (math-init-random-base):
2558 * play/blackbox.el (bb-init-board):
2559 * play/life.el (life):
2560 * server.el (server-use-tcp):
2561 * type-break.el (type-break):
2562 Remove unnecessary call to (random t).
2563 * net/sasl.el (sasl-unique-id-function):
2564 Change (random t) to (random), now that the latter is more random.
2565 * play/life.el (life-initialized): Remove no-longer-needed var.
2566
2567 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2568
2569 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2570 Consider frame's buffer predicate when choosing the buffer.
2571 (Bug#12081)
2572
2573 2012-08-30 Richard Stallman <rms@gnu.org>
2574
2575 * simple.el (special-mode-map): Delete binding for `z'.
2576
2577 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2578
2579 * progmodes/compile.el (compilation-always-kill): Doc fix.
2580
2581 2012-08-30 Chong Yidong <cyd@gnu.org>
2582
2583 * window.el (display-buffer-reuse-frames): Make the obsolescence
2584 message more informative.
2585
2586 2012-08-30 Glenn Morris <rgm@gnu.org>
2587
2588 * paren.el (show-paren-delay):
2589 Add a :set function. Doc fix. (Bug#12297)
2590
2591 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2592
2593 * progmodes/compile.el (compilation-always-kill): New var.
2594 (compilation-start): Use it.
2595
2596 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2599 * files.el (read-only-mode): Move to simple.el.
2600
2601 * files.el (read-only-mode): New minor mode.
2602 (toggle-read-only): Use it and mark obsolete.
2603 (find-file--read-only):
2604 * vc/vc.el (vc-next-action, vc-checkout):
2605 * vc/vc-cvs.el (vc-cvs-checkout):
2606 * obsolete/vc-mcvs.el (vc-mcvs-update):
2607 * ffap.el (ffap--toggle-read-only): Update callers.
2608
2609 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2610
2611 * eshell/esh-ext.el (eshell-external-command): Do not examine
2612 remote shell scripts.
2613 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2614
2615 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2616 "/usr/local/sbin".
2617
2618 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2619
2620 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2621
2622 2012-08-28 Leo Liu <sdl.web@gmail.com>
2623
2624 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2625 completion-at-point. (Bug#12220)
2626
2627 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2628
2629 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2630
2631 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2632
2633 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2634 be buffer-local; add delete-trailing-whitespace (bug#12259).
2635
2636 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2637
2638 * progmodes/hideif.el (hif-compress-define-list):
2639 Fix typo. (Bug#11951)
2640
2641 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2642
2643 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2644 buffer local setting.
2645
2646 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2647 rcirc-encode-coding-system.
2648
2649 2012-08-28 Leo Liu <sdl.web@gmail.com>
2650
2651 * net/rcirc.el (rcirc-split-message): New function.
2652 (rcirc-send-message): Use it. (Bug#12051)
2653
2654 2012-08-28 Juri Linkov <juri@jurta.org>
2655
2656 * info.el (Info-fontify-node): Hide empty lines at the end of
2657 the node. (Bug#12272)
2658
2659 2012-08-27 Drew Adams <drew.adams@oracle.com>
2660
2661 * dired.el (dired-pop-to-buffer): Make window start at beginning
2662 of buffer (Bug#12281).
2663
2664 2012-08-26 Chong Yidong <cyd@gnu.org>
2665
2666 * window.el (special-display-regexps, special-display-frame-alist)
2667 (special-display-buffer-names, special-display-function)
2668 (display-buffer-reuse-frames): Mark as obsolete.
2669
2670 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2671
2672 * help.el (help-print-return-message): Don't treat
2673 display-buffer-reuse-frames specially.
2674
2675 2012-08-26 Chong Yidong <cyd@gnu.org>
2676
2677 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2678 New variable, replacing gdb-frame-parameters.
2679 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2680 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2681 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2682 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2683 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2684 the functions directly with gdb-display-buffer-other-frame-action.
2685 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2686 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2687 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2688 (gdb-display-registers-buffer): Define directly.
2689 (def-gdb-display-buffer): Macro deleted.
2690 (gdb-display-buffer): Remove second and third args, callers don't
2691 use them. Defer to the default display-buffer behavior, apart
2692 from making windows dedicated.
2693 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2694
2695 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2696
2697 * window.el (display-buffer-pop-up-frame): Handle a
2698 pop-up-frame-parameters alist entry.
2699 (display-buffer): Document it.
2700
2701 2012-08-26 Chong Yidong <cyd@gnu.org>
2702
2703 * isearch.el (search-whitespace-regexp): Make string and nil
2704 values apply to both ordinary and regexp search. Allow a cons
2705 cell value to distinguish between the two.
2706 (isearch-whitespace-regexp, isearch-search-forward)
2707 (isearch-search-backward): New functions.
2708 (isearch-occur, isearch-search-fun-default, isearch-search)
2709 (isearch-lazy-highlight-new-loop): Use them.
2710 (isearch-forward, isearch-forward-regexp): Doc fix.
2711
2712 2012-08-26 Chong Yidong <cyd@gnu.org>
2713
2714 * faces.el (help-argument-name): Always inherit from italic
2715 (Bug#12213).
2716
2717 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2718
2719 * window.el (window--even-window-heights): Even heights when
2720 WINDOW and the selected window form a vertical combination.
2721 (display-buffer-use-some-window): Provide that window used gets
2722 sized back by quit-window. (Bug#11880) and (Bug#12091)
2723
2724 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2725
2726 Fix file time stamp problem with bzr and CVS (Bug#12001).
2727 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2728 in the file's time stamp, since the version control system loses
2729 that information.
2730
2731 2012-08-22 Juri Linkov <juri@jurta.org>
2732
2733 * info.el (Info-fontify-node): Hide the suffix of the
2734 Info file name in the header line. (Bug#12187)
2735
2736 2012-08-22 Glenn Morris <rgm@gnu.org>
2737
2738 * calendar/cal-tex.el (cal-tex-weekly-common):
2739 Restore leading blank page.
2740
2741 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2742
2743 * misc.el (forward-to-word, backward-to-word): Activate or extend
2744 the region under `shift-select-mode'. (Bug#12231)
2745
2746 2012-08-22 Bastien Guerry <bzg@gnu.org>
2747
2748 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2749 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2750 gives details on why the space is never needed.
2751
2752 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2753
2754 * window.el (walk-window-tree, window-with-parameter):
2755 New optional argument MINIBUF to control whether these functions
2756 should run on the minibuffer window.
2757 (window-at-side-list): Don't operate on minibuffer window.
2758 (window-in-direction): Simplify and rewrite doc-string.
2759 (window--size-ignore): Rename to window--size-ignore-p.
2760 Update callers.
2761 (display-buffer-in-atom-window, window--major-non-side-window)
2762 (window--major-side-window, display-buffer-in-major-side-window)
2763 (delete-side-window, display-buffer-in-side-window):
2764 New functions.
2765 (window--side-check, window-deletable-p, delete-window)
2766 (delete-other-windows, split-window): Handle side windows and
2767 atomic windows appropriately.
2768 (window--display-buffer): Call display-buffer-record-window also
2769 when the window buffer did not change.
2770
2771 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2772
2773 * help-fns.el (help-fns--key-bindings):
2774 Abbreviate non-symbol remap targets. (Bug#12174)
2775
2776 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2777
2778 * dired.el (dired-mark-remembered): Don't clobber point.
2779 (Bug#11795)
2780
2781 2012-08-22 Glenn Morris <rgm@gnu.org>
2782
2783 * progmodes/bug-reference.el (bug-reference): New custom group.
2784 (bug-reference-bug-regexp): Make it a defcustom.
2785
2786 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2787
2788 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2789 (js-paren-indent-offset, js-square-indent-offset)
2790 (js-curly-indent-offset): Add :safe (Bug#12257).
2791
2792 2012-08-22 Edward O'Connor <hober0@gmail.com>
2793
2794 * json.el (json-key-format): Add error properties.
2795 (json-encode-key): New function.
2796 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2797 Use json-encode-key.
2798
2799 2012-08-22 Glenn Morris <rgm@gnu.org>
2800
2801 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2802 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2803 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2804 Update for above change.
2805
2806 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2807
2808 * cus-face.el (custom-face-attributes): Fix customize type for the
2809 :underline attribute. (Bug#11805)
2810
2811 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2812
2813 * window.el (window-point-1, set-window-point-1): Remove.
2814 (window-in-direction, record-window-buffer)
2815 (set-window-buffer-start-and-point, split-window-below)
2816 (window--state-get-1, display-buffer-record-window):
2817 Replace calls to window-point-1 and set-window-point-1 by calls to
2818 window-point and set-window-point respectively.
2819
2820 2012-08-21 Glenn Morris <rgm@gnu.org>
2821
2822 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2823 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2824 Use it.
2825
2826 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2827 (cal-tex-shortday): New function.
2828 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2829 (cal-tex-cursor-filofax-daily): Use the above.
2830
2831 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2832 New functions.
2833 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2834 (cal-tex-cursor-filofax-week): Use them.
2835
2836 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2837 New constants.
2838 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2839 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2840
2841 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2842 (cal-tex-end-document): Don't rely on buffer name.
2843
2844 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2845 Use cal-tex-vspace.
2846 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2847 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2848 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2849 Use cal-tex-arg.
2850
2851 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2852 (cal-tex-cursor-week, cal-tex-cursor-week2)
2853 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2854 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2855 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2856 (cal-tex-insert-preamble, cal-tex-b-document)
2857 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2858 Improve cal-tex-cmd usage.
2859
2860 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2861 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2862 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2863 (cal-tex-weekly-paper): New function.
2864 (cal-tex-cursor-week, cal-tex-cursor-week2)
2865 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2866 (cal-tex-cursor-day): Use it.
2867
2868 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2869 (cal-tex-cursor-filofax-week): Remove leading blank page.
2870
2871 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2872 Add autoload cookie. For now at least, don't use color, since
2873 no other cal-tex function does.
2874
2875 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2876 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2877 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2878
2879 2012-08-21 Juri Linkov <juri@jurta.org>
2880
2881 * info.el (Info-file-attributes): New variable.
2882 (info-insert-file-contents): Add file attributes to
2883 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2884 `Info-toc-nodes' when previous modtime of the Info file is less
2885 than new modtime.
2886 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2887 of info.el. (Bug#12230)
2888
2889 2012-08-20 Glenn Morris <rgm@gnu.org>
2890
2891 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2892 * calendar/holidays.el (calendar-holiday-list):
2893 Report errors with display-warning rather than beep'n'sleep.
2894
2895 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2896
2897 * net/tramp.el (tramp-accept-process-output): Accept only output
2898 from PROC. Otherwise, process filters and sentinels might be
2899 confused. (Bug#12145)
2900
2901 2012-08-20 Chong Yidong <cyd@gnu.org>
2902
2903 * descr-text.el (describe-text-properties-1): Use overlays-in to
2904 report on empty overlays (Bug#3322).
2905
2906 2012-08-20 Glenn Morris <rgm@gnu.org>
2907
2908 * mail/rmailout.el (rmail-output-read-file-name):
2909 Trap and report errors in rmail-output-file-alist elements.
2910
2911 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2912 since most non-font-lock faces are not also variables).
2913
2914 2012-08-20 Edward Reingold <reingold@iit.edu>
2915
2916 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2917 New function. (Bug12160)
2918
2919 2012-08-19 Glenn Morris <rgm@gnu.org>
2920
2921 * mail/rmailout.el (rmail-output-read-file-name):
2922 Fix previous change (when the alist is nil or does not match).
2923
2924 2012-08-19 Chong Yidong <cyd@gnu.org>
2925
2926 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2927 (Bug#12228).
2928
2929 2012-08-18 Chong Yidong <cyd@gnu.org>
2930
2931 * simple.el (yank-handled-properties): New defcustom.
2932 (yank-excluded-properties): Add font-lock-face and category.
2933 (yank): Doc fix.
2934
2935 * subr.el (remove-yank-excluded-properties):
2936 Obey yank-handled-properties. The special handling of font-lock-face
2937 and category is now done this way, instead of being hard-coded.
2938 (insert-for-yank-1): Remove font-lock-face handling.
2939 (yank-handle-font-lock-face-property)
2940 (yank-handle-category-property): New function.
2941
2942 2012-08-17 Glenn Morris <rgm@gnu.org>
2943
2944 * mail/rmailout.el (rmail-output-read-file-name):
2945 Check rmail-output-file-alist against the full message body
2946 in the correct rmail buffer. (Bug#12214)
2947
2948 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2949
2950 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2951 Eliminate superfluous prompt. (Bug#12203)
2952
2953 2012-08-17 Chong Yidong <cyd@gnu.org>
2954
2955 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2956 font spec, set the font directly (Bug#3228).
2957
2958 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2959
2960 * window.el (delete-window): Fix last fix.
2961
2962 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2963
2964 * window.el (window-valid-p): Move to window.c.
2965 (window-child, window-child-count, window-last-child)
2966 (window-normalize-window, window-combined-p)
2967 (window-combinations, window-atom-root, window-min-size)
2968 (window-sizable, window-sizable-p, window-size-fixed-p)
2969 (window-min-delta, window-max-delta, window--resizable)
2970 (window--resizable-p, window-resizable, window-total-size)
2971 (window-full-height-p, window-full-width-p, window-body-size)
2972 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2973 (minimize-window, window-deletable-p, delete-window)
2974 (delete-other-windows, set-window-buffer-start-and-point)
2975 (next-buffer, previous-buffer, split-window, balance-windows-2)
2976 (set-window-text-height, window-buffer-height)
2977 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2978 (truncated-partial-width-window-p): Minor code adjustments.
2979 In doc-strings state whether the argument window has to denote a
2980 live, valid or any window.
2981
2982 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2983
2984 * progmodes/subword.el (subword-forward-function)
2985 (subword-backward-function, subword-forward-regexp)
2986 (subword-backward-regexp): New variables.
2987 (subword-forward, subword-forward-internal, subword-backward-internal):
2988 Use new variables, eg so that different "word" definitions
2989 can be easily used. (Bug#11411)
2990
2991 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2994 for composite selectors.
2995 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2996 operation just because we can't find a previous revision.
2997
2998 2012-08-15 Chong Yidong <cyd@gnu.org>
2999
3000 * frame.el (set-frame-font): Accept font objects.
3001
3002 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3003
3004 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3005
3006 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3007
3008 * man.el (Man-overstrike-face, Man-underline-face)
3009 (Man-reverse-face): Remove variables.
3010 (Man-overstrike, Man-underline, Man-reverse): New faces.
3011 (Man-fontify-manpage): Use them instead of the variables.
3012 (Man-cleanup-manpage): Comment change.
3013 (Man-ansi-color-map): New variable.
3014 (Man-fontify-manpage): Use it.
3015 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3016
3017 Implement ANSI SGR parameters 22-27 (bug#12146).
3018 * ansi-color.el (ansi-colors): Doc fix.
3019 (ansi-color-context, ansi-color-context-region): Doc fix.
3020 (ansi-color--find-face): New function.
3021 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3022 Rename the local variable `face' to `codes' since it is now a list of
3023 ansi codes. Doc fix.
3024 (ansi-color-get-face): Remove.
3025 (ansi-color-parse-sequence): New function, derived from
3026 ansi-color-get-face.
3027 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3028 codes 22-27.
3029
3030 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3031
3032 * subr.el (read-passwd): Allow use from a minibuffer.
3033
3034 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3035
3036 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3037 inside comments and strings as identifiers.
3038
3039 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3040 expression to evaluate. This allows to evaluate expressions with
3041 embedded whitespace.
3042 (gud-tooltip-tips): Add a blank before the newline in the
3043 message-box text, for the benefit of message-box emulation on
3044 MS-Windows.
3045
3046 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3047 messages from GDB, pop them up in a tooltip to give feedback to
3048 user.
3049 (gdb-tooltip-print-1): Quote the expression to evaluate.
3050 This allows to evaluate expressions with embedded whitespace.
3051 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3052 if the TTY name is nil or empty (which happens when communicating
3053 with the inferior via pipes, e.g. on MS-Windows).
3054 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3055 don't send that to the GUD buffer.
3056
3057 2012-08-14 Glenn Morris <rgm@gnu.org>
3058
3059 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3060 Optimize away setq-default with no args, as for setq. (Bug#12195)
3061
3062 2012-08-14 Chong Yidong <cyd@gnu.org>
3063
3064 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3065
3066 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3067 (Bug#12085).
3068
3069 2012-08-14 Glenn Morris <rgm@gnu.org>
3070
3071 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3072
3073 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3074
3075 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3076 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3077 Use cached shell name.
3078
3079 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3080
3081 * progmodes/python.el (python-shell-send-string):
3082 (python-shell-send-setup-code): Do not use `format' with `message'.
3083
3084 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3085
3086 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3087 (ruby-percent-literal-beg-re): New constant.
3088 (ruby-syntax-general-delimiters-goto-beg): Rename to
3089 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3090 (ruby-syntax-propertize-general-delimiters): Rename to
3091 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3092 popular term. Adjust comments everywhere.
3093 (ruby-syntax-propertize-percent-literal): Only propertize when not
3094 inside a simple string or comment. When the literal is unclosed,
3095 leave the text after it unpropertized.
3096 (ruby-syntax-methods-before-regexp): New constant.
3097 (ruby-syntax-propertize-function): Use it to recognize regexps.
3098 Don't look at the text after regexp, just use the whitelist.
3099
3100 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3101
3102 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3103 non-nil always load the compiled file if it exists. (Bug#12197)
3104
3105 2012-08-14 Chong Yidong <cyd@gnu.org>
3106
3107 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3108 (hi-lock-set-pattern): When deciding whether to use font lock or
3109 overlays, look at font-lock-mode instead of font-lock-fontified
3110 (Bug#12168).
3111 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3112 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3113
3114 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3115
3116 * subr.el (internal--after-with-selected-window): Fix typo
3117 (Bug#12193).
3118
3119 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3120
3121 Use `completion-table-dynamic' for completion functions.
3122 * progmodes/python.el
3123 (python-shell-completion--do-completion-at-point)
3124 (python-shell-completion--get-completions):
3125 Remove functions.
3126 (python-shell-completion-complete-at-point): New function.
3127 (python-completion-complete-at-point): Use it.
3128
3129 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3130
3131 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3132 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3133
3134 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3135
3136 * subr.el (function-get): Refine `autoload' arg so it can also
3137 autoload functions for gv.el (bug#12191).
3138 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3139 autoloads macros.
3140
3141 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3142 Prefer pcase-let over destructuring-bind.
3143 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3144 Also, remove whitespace as we go, rather than after accumulating the
3145 various places.
3146
3147 * subr.el (internal--before-with-selected-window)
3148 (internal--after-with-selected-window): Fix typo seleted->selected.
3149 (with-selected-window): Adjust callers.
3150 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3151
3152 2012-08-13 Bastien Guerry <bzg@gnu.org>
3153
3154 * window.el (special-display-popup-frame): Minor docstring
3155 enhancement. (Bug#12172)
3156
3157 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3158
3159 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3160 type 1-6.
3161 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3162 extended headers.
3163
3164 * files.el (hack-local-variables-filter): Remove useless eval.
3165
3166 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3167
3168 * subr.el (with-selected-window): Fix last change.
3169
3170 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3171
3172 * subr.el (internal--before-with-seleted-window)
3173 (internal--after-with-seleted-window): New functions.
3174 (with-selected-window): Use them, to replace dependency on
3175 tty-top-frame.
3176
3177 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3178
3179 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3180 binding for `newline'.
3181 (ruby-move-to-block): When moving backward, stop at block opening,
3182 not indentation.
3183 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3184 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3185 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3186 `ruby-toggle-block'.
3187
3188 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3189
3190 * ibuffer.el (ibuffer-do-toggle-read-only):
3191 * dired.el (dired-toggle-read-only):
3192 * buff-menu.el (Buffer-menu-toggle-read-only):
3193 * bindings.el (mode-line-toggle-read-only):
3194 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3195
3196 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3197
3198 * descr-text.el (describe-char): Put the overlays over the
3199 "displayed as" character.
3200
3201 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3202
3203 * calc/calc-units.el (math-default-units-table): Give an
3204 initial value.
3205 (math-put-default-units): Add options to put composite units and
3206 unit systems in the default units table.
3207 (calc-convert-units): Send composite units to
3208 `math-put-default-units' when appropriate.
3209
3210 2012-08-11 Glenn Morris <rgm@gnu.org>
3211
3212 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3213
3214 * tutorial.el (help-with-tutorial):
3215 * emacs-lisp/copyright.el (copyright-update-directory):
3216 * emacs-lisp/autoload.el (autoload-find-generated-file)
3217 (autoload-find-file): Disable local eval: (for insurance).
3218
3219 * files.el (hack-local-variables-filter): If an eval: form is not
3220 known to be safe, and enable-local-variables is :safe, then ignore
3221 the form totally, as is done for non-eval forms. (Bug#12155)
3222 This is CVE-2012-3479.
3223
3224 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3227 (rx-form): Simplify.
3228
3229 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3230
3231 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3232 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3233 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3234 (ruby-syntax-propertize-function): Adjust for changes in
3235 `ruby-syntax-propertize-heredoc'.
3236
3237 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3238
3239 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3240 binding (use `M-;' instead).
3241 (ruby-singleton-class-p): New function.
3242 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3243
3244 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3245
3246 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3247
3248 2012-08-10 Chong Yidong <cyd@gnu.org>
3249
3250 * progmodes/python.el (python-shell-get-process-name): Don't mess
3251 with same-window-buffer-names.
3252
3253 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3254 (eshell-remove-from-window-buffer-names): Make obsolete.
3255 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3256 (eshell): Just use pop-to-buffer-same-window instead.
3257
3258 2012-08-10 Chong Yidong <cyd@gnu.org>
3259
3260 * bindings.el: Bind M-= back to count-words-region.
3261
3262 * simple.el (count-words-region): Accept a prefix arg for acting
3263 on the entire buffer.
3264 (count-words--buffer-message): New helper function.
3265
3266 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3269 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3270 (event-start, event-end): Use posn-at-point to return a more
3271 informative posn.
3272 (posnp): New function.
3273 * mouse.el (popup-menu-normalize-position): Use it.
3274
3275 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3276
3277 * mouse.el (popup-menu-normalize-position): New function.
3278 (popup-menu): Use `popup-menu-normalize-position' to normalize
3279 the form for POSITION argument.
3280
3281 * term/x-win.el (x-menu-bar-open):
3282 Use the value returend from (posn-at-point) as position
3283 passed to `popup-menu'.
3284
3285 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3286
3287 * calc/calccomp.el (math-compose-expr): Add extra argument
3288 indicating that parentheses should be put around products in
3289 denominators. Give multiplication precedence over division during
3290 composition.
3291
3292 2012-08-09 Chong Yidong <cyd@gnu.org>
3293
3294 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3295 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3296 (Man-untabify-command, manual-program): Convert to defcustom
3297 (Bug#10429).
3298
3299 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3300
3301 * descr-text.el (describe-char): Don't insert extra newlines
3302 (Bug#10127).
3303
3304 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3305 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3306
3307 * align.el (align-region): Delete temporary markers (Bug#10047).
3308 Plus some code cleanups.
3309
3310 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3311
3312 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3313 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3314 (python-shell-internal-last-output): Use make-local-variable
3315 instead of make-variable-buffer-local.
3316
3317 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3318
3319 * progmodes/python.el: Enhancements to forward-sexp.
3320 (python-nav-forward-sexp): Rename from
3321 python-nav-forward-sexp-function.
3322 (python-nav--forward-sexp, python-nav--backward-sexp):
3323 New functions.
3324
3325 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3326
3327 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3328 modes and simplification modes.
3329
3330 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3331
3332 * delsel.el (delete-selection-pre-hook): Don't propagate the
3333 file-supersession signals (bug#12161).
3334
3335 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3336
3337 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3338 (cl-map-extents): Add compatibility aliases (bug#12135).
3339
3340 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3341
3342 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3343 tests by `ignore-error'.
3344 (tramp-find-shell): Open also a new shell, when cache is already
3345 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3346
3347 2012-08-08 Juri Linkov <juri@jurta.org>
3348
3349 * bookmark.el: Add `defaults' property to the bookmark record.
3350 (bookmark-current-buffer): Doc fix.
3351 (bookmark-make-record): Add `defaults' property with default values
3352 to the bookmark record.
3353 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3354 with `bookmark-insert-current-bookmark'.
3355 (bookmark-set): Get `defaults' property from the bookmark record
3356 and use it in `read-from-minibuffer'.
3357 (bookmark-insert-current-bookmark): Remove function.
3358
3359 * info.el (Info-bookmark-make-record): Add `defaults' property
3360 with values of canonical Info node name, the current Info file
3361 name and the current Info node name. (Bug#12107)
3362
3363 2012-08-08 Juri Linkov <juri@jurta.org>
3364
3365 * files.el (basic-save-buffer): Use `buffer-name' as the default
3366 of `read-file-name' when buffer is not visiting a file (bug#12128).
3367
3368 2012-08-08 Juri Linkov <juri@jurta.org>
3369
3370 * info.el (Info-isearch-search): Doc fix.
3371 (Info-search): Change search-failed message from "initial node" to
3372 "end of node" (bug#12078).
3373 (Info-isearch-search): Change `isearch-string-state' to
3374 `isearch--state-string'.
3375
3376 2012-08-08 Glenn Morris <rgm@gnu.org>
3377
3378 * language/persian.el: Remove file.
3379 * language/misc-lang.el: Move unique part of persian.el here.
3380 * loadup.el: Remove language/persian.
3381
3382 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3383
3384 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3385
3386 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3387
3388 * progmodes/python.el Fixed defsubst warning.
3389 (python-syntax-context) Rename from python-info-ppss-context.
3390 (python-syntax-context-type): Rename from
3391 python-info-ppss-context-type.
3392 (python-syntax-comment-or-string-p): Rename from
3393 python-info-ppss-comment-or-string-p.
3394
3395 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3396
3397 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3398
3399 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3400
3401 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3402 a defcustom that is quoted with backquote.
3403
3404 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3405 Fix handling of interactive spec when the body uses return.
3406 (math-do-arg-check, math-define-function-body): Use backquote forms.
3407 * calc/calc-ext.el (math-defcache): Likewise.
3408 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3409 * allout.el (allout-new-exposure): Likewise.
3410 * calc/calcalg2.el (math-tracing-integral): Likewise.
3411 * info.el (Info-last-menu-item): Likewise.
3412 * emulation/vip.el (vip-loop): Likewise.
3413 * textmodes/artist.el (artist-funcall): Likewise.
3414 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3415 Construct menu-item directly.
3416
3417 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3418 Don't declare.
3419
3420 2012-08-07 Chong Yidong <cyd@gnu.org>
3421
3422 * simple.el (deactivate-mark): Preserve text properties when
3423 saving the primary selection (Bug#8384).
3424
3425 2012-08-07 Kevin Ryde <user42@zip.com.au>
3426
3427 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3428 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3429 and continue processing (Bug#12110).
3430
3431 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3434 syntax-propertize-function (bug#10095).
3435
3436 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3439 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3440 describe-function-1.
3441 (describe-function-1): Use them. Move compiler macro after sig.
3442 (help-fns--compiler-macro): Use function-get. Assume we're already in
3443 standard-output. Adjust layout to new call order.
3444
3445 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3446 re-binding a symbol that has a symbol-macro (bug#12119).
3447
3448 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3449
3450 * language/persian.el: New file. (Bug#11812)
3451 * loadup.el: Add language/persian.el.
3452
3453 2012-08-06 Chong Yidong <cyd@gnu.org>
3454
3455 * window.el (window--maybe-raise-frame): New function.
3456 (window--display-buffer): Split off from here.
3457 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3458 (display-buffer-pop-up-window, display-buffer-use-some-window):
3459 Obey an inhibit-switch-frame action alist entry.
3460 (display-buffer): Update doc.
3461
3462 * replace.el (occur-after-change-function): Avoid losing focus by
3463 using the inhibit-switch-frame display parameter (Bug#12139).
3464
3465 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3466
3467 Make internal shell process buffer names start with space.
3468 * progmodes/python.el (python-shell-make-comint): Add optional
3469 argument INTERNAL.
3470 (run-python-internal): Use it.
3471 (python-shell-internal-get-or-create-process): Check for new
3472 internal buffer names.
3473
3474 2012-08-06 Glenn Morris <rgm@gnu.org>
3475
3476 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3477 Do less getting and setting of environment variables.
3478
3479 2012-08-05 Chong Yidong <cyd@gnu.org>
3480
3481 * proced.el (proced): Add substitution string to docstring to
3482 trigger autoloading of the proced library on C-h f (Bug#1768).
3483
3484 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3485 Don't show defvars which have no second argument (Bug#8638).
3486
3487 * imenu.el (imenu-generic-expression): Move documentation here
3488 from imenu--generic-function.
3489 (imenu--generic-function): Refer to imenu-generic-expression.
3490
3491 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3492
3493 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3494 indentation declaration.
3495 (viper-loop): Add indentation declaration (Bug#7025).
3496
3497 2012-08-05 Chong Yidong <cyd@gnu.org>
3498
3499 * help-fns.el (describe-variable): Add hyperlink for
3500 directory-local variables files. Improve buffer-local and
3501 permanent-local reporting; suggested by MON KEY (Bug#6644).
3502
3503 * help-mode.el (help-dir-local-var-def): New button type.
3504
3505 * files.el (kill-buffer-hook): Provide a defvar.
3506
3507 2012-08-05 Glenn Morris <rgm@gnu.org>
3508
3509 * eshell/esh-ext.el (eshell/addpath):
3510 Also update eshell-path-env. (Bug#12013)
3511
3512 2012-08-05 Chong Yidong <cyd@gnu.org>
3513
3514 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3515
3516 * fringe.el (fringe-styles): Add docstring.
3517 (fringe--check-mode): New function.
3518 (set-fringe-mode, set-fringe-style): Use it.
3519 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3520
3521 * files.el (set-auto-mode): Fix invalid setq call.
3522
3523 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3524
3525 * isearch.el: Misc simplification; use defstruct.
3526 (isearch-mode-map): Dense maps now work like sparse ones.
3527 (isearch--state): New defstruct.
3528 (isearch-string-state, isearch-message-state, isearch-point-state)
3529 (isearch-success-state, isearch-forward-state)
3530 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3531 (isearch-wrapped-state, isearch-barrier-state)
3532 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3533 replaced by defstruct's accessors.
3534 (isearch--set-state): Rename from isearch-top-state and change
3535 calling convention.
3536 (isearch-push-state): Use new isearch--get-state.
3537 (isearch-toggle-word): Disable regexp when enabling word.
3538 (isearch-message-prefix): Remove unused arg _c-q-hack.
3539 (isearch-message-suffix): Remove unused arg _ellipsis.
3540
3541 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3542
3543 * simple.el (list-processes--refresh): For a server use :host or
3544 :local as the address.
3545 (list-processes): Doc fix.
3546
3547 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3548
3549 * lisp/mpc.el: Support password in host argument.
3550 (mpc--proc-connect): Parse and use new password element.
3551 Set mpc-proc variable instead of returning process.
3552 (mpc-proc): Adjust accordingly.
3553
3554 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3555
3556 * whitespace.el (whitespace-display-mappings): Use Unicode
3557 codepoints, instead of emacs-mule codepoints. See
3558 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3559 for the details.
3560
3561 * files.el (file-truename): Don't skip symlink-chasing part on
3562 windows-nt. Incorporate the resolution of 8+3 short aliases on
3563 Windows into the loop that recursively chases symlinks.
3564 Compare directory and its parent case-insensitively on MS-Windows and
3565 MS-DOS.
3566
3567 2012-08-03 Chong Yidong <cyd@gnu.org>
3568
3569 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3570
3571 * sort.el (sort-regexp-fields): Doc fix.
3572
3573 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3574
3575 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3576 labels regex position point at the expected place.
3577
3578 2012-08-03 MON KEY <monkey@sandpframing.com>
3579
3580 * net/imap.el (imap-interactive-login, imap-authenticate)
3581 (imap-mailbox-lsub, imap-mailbox-list)
3582 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3583 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3584 (imap-parse-response): Doc fix.
3585
3586 2012-08-03 João Távora <joaotavora@gmail.com>
3587
3588 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3589 if sexp scanning does not move point (Bug#5734).
3590
3591 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3592
3593 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3594 Add listings, minted, and ctable packages.
3595 (reftex-label-alist-builtin): Move listings, minted, and ctable
3596 entries before LaTeX.
3597 (reftex-label-alist): Docfix.
3598
3599 2012-08-02 Bastien Guerry <bzg@gnu.org>
3600
3601 * replace.el (occur): Fix docstring (bug#12122).
3602
3603 2012-08-02 Glenn Morris <rgm@gnu.org>
3604
3605 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3606
3607 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3608
3609 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3610 * international/mule-cmds.el: Create
3611 inactivate-current-input-method-function as an obsolete alias for
3612 deactivate-current-input-method-function. See Katsumi Yamaoka in
3613 <http://bugs.gnu.org/10150#46>.
3614
3615 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3616
3617 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3618 of nested `if's.
3619
3620 2012-08-01 Glenn Morris <rgm@gnu.org>
3621
3622 * progmodes/autoconf.el (autoconf-definition-regexp):
3623 Add AH_TEMPLATE, adjust submatch numbering.
3624 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3625 (autoconf-current-defun-function): Update for above change.
3626 (autoconf-current-defun-function): First skip to end of current word.
3627
3628 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3629
3630 * calendar/cal-html.el (cal-html-insert-agenda-days):
3631 Fix typo. (Bug#12018)
3632
3633 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3634
3635 Shell processes: enhancements to startup and CEDET compatibility.
3636 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3637 (python-shell-make-comint): accept-process-output at startup.
3638 (run-python-internal): Set inferior-python-mode-hook to nil.
3639 (python-shell-internal-get-or-create-process): call sit-for.
3640 (python-preoutput-result): Add obsolete alias.
3641 (python-shell-internal-send-string): Use it.
3642 (python-shell-send-setup-code): Remove call to
3643 accept-process-output.
3644
3645 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3646
3647 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3648 (Bug#12108)
3649
3650 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3651
3652 * calc-mode.el (calc-basic-simplification-mode): Rename from
3653 `calc-limited-simplification-mode'.
3654 (calc-alg-simplification-mode): New function.
3655 (calc-set-simplify-mode): Adjust message.
3656
3657 * calc.el (calc-set-mode-line): Adjust mode line display for
3658 basic simplification mode.
3659
3660 * calc-help.el (calc-m-prefix-help): Update help message.
3661
3662 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3663 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3664
3665 2012-07-31 Bastien Guerry <bzg@gnu.org>
3666
3667 * man.el (man): Fix comment. (bug#12101)
3668
3669 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3670
3671 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3672 Don't return a non-nil value when no suitable buffer was found.
3673
3674 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3675
3676 * progmodes/python.el (run-python-internal): Disable font lock for
3677 internal shells.
3678
3679 2012-07-30 Stefan Merten <smerten@oekonux.de>
3680
3681 * textmodes/rst.el: Silence `checkdoc-ispell'.
3682 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3683 (rst-official-version, rst-official-cvs-rev)
3684 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3685 (rst-mode-map): New key binding.
3686
3687 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3688
3689 Update .PHONY listings in makefiles.
3690 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3691 autoloads, update-subdirs, updates, bzr-update, update-authors,
3692 compile-onefile, compile-calc, backup-compiled-files,
3693 compile-after-backup, compile-one-process, mh-autoloads,
3694 bootstrap-clean, distclean, maintainer-clean.
3695
3696 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3697
3698 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3699 (calc-set-mode-line): Don't display "AlgSimp ".
3700
3701 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3702 (calc-lim-simplify-mode): New function.
3703 (calc-set-simplify-mode): Default to 'alg.
3704 (calc-default-simplify-mode): Make algebraic simplifications
3705 the default.
3706
3707 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3708 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3709
3710 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3711 indicate new simplification modes.
3712
3713 * calc/README: Mention new default simplification mode.
3714
3715 * calc/calc.el (math-normalize-error): New variable.
3716 (math-normalize): Set `math-normalize-error' to t
3717 when there's an error.
3718
3719 * calc/calc-alg.el (math-simplify): Don't simplify when
3720 `math-normalize' returns an error.
3721
3722 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3723
3724 * international/mule-cmds.el (set-locale-environment): Revert last
3725 change, since display-graphic-p returns nil when this function is
3726 called during startup. Instead...
3727
3728 * term/w32console.el (terminal-init-w32console): ...setup the
3729 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3730
3731 2012-07-29 Juri Linkov <juri@jurta.org>
3732
3733 * simple.el (goto-line): Don't display default line number in the
3734 prompt because it should be displayed by `read-number' (bug#9952).
3735 Add the current line number to the defaults of `goto-line' to
3736 allow its easier modification by users with `M-n' (bug#9201).
3737
3738 * subr.el (read-number): Support multiple default values like in
3739 other minibuffer reading functions. Replace `read' with
3740 `string-to-number' for consistency with `number-to-string'.
3741
3742 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3743
3744 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3745 * emulation/viper-init.el (viper-deactivate-input-method-action):
3746 Rename from viper-inactivate-input-method-action.
3747 (viper-deactivate-input-method):
3748 Rename from viper-inactivate-input-method.
3749 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3750 * international/mule-cmds.el (deactivate-input-method):
3751 Rename from inactivate-input-method.
3752 Also run input-method-deactivate-hook.
3753 (deactivate-current-input-method-function):
3754 Rename from inactivate-current-input-method-function.
3755 (input-method-deactivate-hook): New hook.
3756 (input-method-inactivate-hook): Mark obsolete.
3757 (inactivate-input-method): Mark obsolete.
3758
3759 * international/quail.el (quail-activate):
3760 Also run quail-deactivate-hook.
3761 (quail-deactivate): Rename from quail-inactivate.
3762 * international/robin.el (robin-activate):
3763 Also run robin-deactivate-hook.
3764 (robin-deactivate): Rename from robin-inactivate.
3765
3766 2012-07-29 Chong Yidong <cyd@gnu.org>
3767
3768 * simple.el (indicate-copied-region): New function.
3769 (kill-ring-save): Split off from here.
3770
3771 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3772 (kill-rectangle): Set deactivate-mark to t on read-only error.
3773
3774 * register.el (copy-to-register, copy-rectangle-to-register):
3775 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3776 (append-to-register, prepend-to-register): Call indicate-copied-region.
3777
3778 2012-07-29 Juri Linkov <juri@jurta.org>
3779
3780 * simple.el (async-shell-command-buffer): New defcustom.
3781 (shell-command): Use it. (Bug#4719)
3782
3783 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3784
3785 * international/mule-cmds.el (set-locale-environment): In a
3786 console session on MS-Windows, set up keyboard and terminal
3787 encoding from the OEM codepage, not the ANSI codepage.
3788 (Bug#12055)
3789
3790 2012-07-28 Chong Yidong <cyd@gnu.org>
3791
3792 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3793 gdb-get-location.
3794
3795 2012-07-28 Leo Liu <sdl.web@gmail.com>
3796
3797 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3798 the alist (bug#12029).
3799
3800 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3801
3802 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3803 (compile-always, compile-first)
3804 ($(lisp)/calendar/cal-loaddefs.el)
3805 ($(lisp)/calendar/diary-loaddefs.el)
3806 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3807 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3808 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3809 instead of on update-subdirs.
3810 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3811
3812 2012-07-28 Chong Yidong <cyd@gnu.org>
3813
3814 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3815 directory if vc-deduce-backend returns nil (Bug#7350).
3816
3817 * simple.el (delete-trailing-lines): New option.
3818 (delete-trailing-whitespace): Obey it (Bug#11879).
3819
3820 2012-07-28 David Engster <deng@randomsample.de>
3821
3822 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3823 Explanation of new 'symbol-qnames feature in doc-strings.
3824 (xml-maybe-do-ns): Return expanded names as plain symbols if
3825 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3826 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3827
3828 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3829
3830 Consistent completion in inferior python with emacs -nw.
3831 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3832 binding in inferior-python-mode-map with "\t".
3833 (python-shell-completion-complete-at-point)
3834 (python-completion-complete-at-point): Remove interactive spec.
3835
3836 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3837
3838 * calc/calccomp.el (math-compose-expr): Undo previous change.
3839
3840 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3841
3842 * progmodes/python.el (python-mode-map): Add keybinding for
3843 run-python.
3844 (python-shell-make-comint): Fix pop-to-buffer call.
3845 (run-python): Autoload. New arg SHOW.
3846 (python-shell-get-or-create-process): Do not pop python process
3847 buffer.
3848
3849 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3850
3851 * notifications.el (notifications-on-action-signal)
3852 (notifications-on-closed-signal): Use also the bus address for the map.
3853 (notifications-notify, notifications-close-notification)
3854 (notifications-get-capabilities): Add optional argument BUS.
3855
3856 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3857
3858 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3859 Add support for the lstlisting and minted environments, and for the
3860 ctable macro.
3861 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3862 labels written in keyvals syntax.
3863
3864 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3865
3866 * calc/calccomp.el (math-compose-expr): Use parentheses when
3867 there is a product in the denominator of a fraction.
3868
3869 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3870
3871 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3872 ($(lisp)/calendar/diary-loaddefs.el)
3873 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3874 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3875 Fixes failures in parallel bootstrap because subdirs.el is being
3876 rewritten while the autoload files are built at the same time,
3877 which needs to load subdirs.el.
3878
3879 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3880
3881 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3882 (mouse-drag-line): Don't exit tracking when a switch-frame or
3883 switch-window event occurs (Bug#12006).
3884
3885 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3886
3887 * mouse.el (popup-menu): Fix last change.
3888
3889 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3890
3891 Autoload from Lisp with more care. Follow aliases when looking for
3892 function properties.
3893 * subr.el (autoloadp): New function.
3894 (symbol-file): Use it.
3895 (function-get): New function.
3896 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3897 autoload-do-load.
3898 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3899 (lisp-indent-function):
3900 * emacs-lisp/gv.el (gv-get):
3901 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3902 * emacs-lisp/byte-opt.el (byte-optimize-form):
3903 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3904 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3905 Use function-get.
3906 * emacs-lisp/cl.el: Don't propagate function properties any more.
3907
3908 * speedbar.el (speedbar-add-localized-speedbar-support):
3909 * emacs-lisp/disass.el (disassemble-internal):
3910 * desktop.el (desktop-load-file):
3911 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3912 (describe-function-1):
3913 * emacs-lisp/find-func.el (find-function-noselect):
3914 * emacs-lisp/elp.el (elp-instrument-function):
3915 * emacs-lisp/advice.el (ad-has-proper-definition):
3916 * apropos.el (apropos-safe-documentation, apropos-macrop):
3917 * emacs-lisp/debug.el (debug-on-entry):
3918 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3919 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3920 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3921
3922 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3923
3924 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3925 function, not an obsolete variable (Bug#12046).
3926
3927 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3928
3929 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3930
3931 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3932
3933 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3934 window only if it is still live (Bug#12034).
3935
3936 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3937
3938 * subr.el (redirect-frame-focus): Add advertised calling
3939 convention (Bug#12030).
3940
3941 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3942
3943 Prefer typical American spelling for "acknowledgment".
3944 * vc/add-log.el (change-log-acknowledgment): Rename from
3945 change-log-acknowledgement, with an alias for the old name.
3946
3947 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3948
3949 * calc-alg.el (math-simplify-divide): Don't cross multiply
3950 in an equation when the lhs is a variable.
3951
3952 2012-07-24 Julien Danjou <julien@danjou.info>
3953
3954 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3955 Remove, unused.
3956
3957 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3958
3959 * startup.el (command-line): Don't display an empty user name in
3960 the error message about non-existent home directory, when
3961 init-file-user was set to an empty string. See
3962 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3963 for the details and context.
3964
3965 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3966
3967 * ses.el (ses-cell-formula-aset): New macro.
3968 (ses-cell-references-aset): New macro.
3969 (ses-cell-p): New function.
3970 (ses-rename-cell): Do no longer rely on complex operations like
3971 ses-cell-set-formula or ses-set-cell to change the cell and handle
3972 the undo at the same time, but rather use lower level new macros
3973 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3974 the undo directly. Refresh the mode line.
3975
3976 2012-07-21 Leo Liu <sdl.web@gmail.com>
3977
3978 * progmodes/cc-cmds.el (c-defun-name):
3979 Use match-string-no-properties instead for consistency.
3980
3981 2012-07-20 Leo Liu <sdl.web@gmail.com>
3982
3983 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3984 (Bug#7879)
3985
3986 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3987
3988 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3989
3990 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3991 * progmodes/bug-reference.el, misearch.el: Provide themselves
3992 (bug#11915).
3993
3994 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3995 of narrowed buffer (bug#11966).
3996
3997 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3998
3999 * ses.el (ses-rename-cell): Set new name also in reference list of
4000 cells of which the renamed cell depends.
4001
4002 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4003
4004 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4005 to check whether menu-bar is shown or not. If not shown,
4006 show the menu-bar as a popup menu instead of using tmm.
4007 * mouse.el (popup-menu): Accept `point' as `position' argument.
4008
4009 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4010
4011 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4012 up inside string symbol literal (bug#11923).
4013
4014 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4015
4016 * startup.el (fancy-startup-text): Read the whole tutorial, not
4017 just its first 256 bytes. Prevents gibberish in display of the
4018 tutorial title.
4019
4020 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4021
4022 Drop idle buffer compaction due to an absence of the
4023 proved efficiency.
4024 * compact.el: Remove.
4025
4026 2012-07-19 Sam Steingold <sds@gnu.org>
4027
4028 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4029 vc-bzr-pull & vc-bzr-merge-branch.
4030 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4031 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4032 for consistency with compilation-error-regexp-alist.
4033 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4034 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4035 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4036 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4037
4038 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * emacs-lisp/chart.el: Use lexical-binding.
4041 (chart-emacs-storage): Don't hardcode the list of entries.
4042
4043 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4044
4045 Next round of tweaks caused by Fgarbage_collect changes.
4046 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4047
4048 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4049
4050 Compact buffers when idle.
4051 * compact.el: New file.
4052
4053 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 * subr.el (eventp): Presume that if it looks vaguely like an event,
4056 it's an event (bug#10190).
4057
4058 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4059
4060 Enhancements to ppss related code (thanks Stefan).
4061 * progmodes/python.el (python-indent-context)
4062 (python-indent-calculate-indentation, python-indent-dedent-line)
4063 (python-indent-electric-colon, python-nav-forward-block)
4064 (python-mode-abbrev-table)
4065 (python-info-assignment-continuation-line-p): Simplify checks
4066 for ppss context.
4067 (python-info-continuation-line-p): Cleanup.
4068 (python-info-ppss-context): Do not catch 'quote.
4069 (python-info-ppss-context-type)
4070 (python-info-ppss-comment-or-string-p): Simplify.
4071
4072 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4073
4074 * progmodes/python.el: Enhancements to eldoc support.
4075 (python-info-current-symbol): New function.
4076 (python-eldoc-at-point): Use python-info-current-symbol.
4077 (python-info-current-defun): Fix cornercase on first defun scan.
4078 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4079 and signal error when no inferior python process is available.
4080
4081 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4082
4083 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4084 assume it's always t.
4085 (vc-git-registered): Remove caching, the function is only called
4086 once.
4087 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4088
4089 2012-07-18 Chong Yidong <cyd@gnu.org>
4090
4091 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4092
4093 * simple.el (count-words): Report on narrowing (Bug#9959).
4094
4095 * bindings.el: Bind M-= to count-words.
4096
4097 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4098
4099 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4100
4101 * progmodes/sh-script.el (sh-imenu-generic-expression):
4102 Capture a function with `function' keyword and without parentheses
4103 like "function FOO" (bug#11856).
4104
4105 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4106
4107 * window.el (split-window-sensibly): Make WINDOW argument
4108 optional.
4109
4110 2012-07-18 Chong Yidong <cyd@gnu.org>
4111
4112 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4113
4114 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4115 and make C-x 8 RET exit isearch (Bug#11439).
4116
4117 * international/iso-transl.el: Move isearch-mode-map key
4118 definitions to isearch.el.
4119
4120 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4121
4122 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4123 (eieio-defclass): Use gv-define-setter when possible.
4124
4125 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4126
4127 Reflect recent changes in Fgarbage_collect.
4128 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4129 reflect new format of data returned by Fgarbage_collect.
4130
4131 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4132
4133 New utility functions + python-info-ppss-context fix (Bug#11910).
4134 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4135 (python-info-ppss-comment-or-string-p): New functions.
4136 (python-info-ppss-context): Small fix for string check.
4137
4138 2012-07-17 Juri Linkov <juri@jurta.org>
4139
4140 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4141 (dired-do-async-shell-command): Don't add `*' at the end of the
4142 command (Bug#11815).
4143 (dired-do-shell-command): Doc fix.
4144 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4145 Join the individual commands using either "&" or ";" as the
4146 separator depending on the values of these trailing characters.
4147 At the end re-add the trailing "&". (Bug#10598)
4148
4149 * simple.el (async-shell-command): Sync the interactive spec with
4150 `shell-command'. Doc fix.
4151 (shell-command): Doc fix.
4152
4153 2012-07-17 Juri Linkov <juri@jurta.org>
4154
4155 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4156
4157 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4158
4159 Final renames and doc fixes for movement commands (bug#11899).
4160 * progmodes/python.el (python-nav-beginning-of-statement):
4161 Rename from python-nav-statement-start.
4162 (python-nav-end-of-statement): Rename from
4163 python-nav-statement-end.
4164 (python-nav-beginning-of-block): Rename from
4165 python-nav-block-start.
4166 (python-nav-end-of-block): Rename from python-nav-block-end.
4167
4168 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4169
4170 * progmodes/python.el (python-shell-send-string-no-output):
4171 Allow accept-process-output to quit, keeping shell process ready for
4172 future interactions (Bug#11868).
4173
4174 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4175
4176 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4177
4178 * emacs-lisp/elint.el (elint-find-args-in-code):
4179 Use help-function-arglist, so as to handle lexical byte-code.
4180
4181 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4182 change (bug#11826).
4183
4184 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4187 Avoid spuriously marking the buffer as modified because of c-is-sws.
4188
4189 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4190 as not-a-comment (bug#11946).
4191
4192 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4193 for uninterned vars.
4194
4195 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4196 Use read-event since we don't really want to read chars but bytes.
4197
4198 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4199 $$..$$ but also $..$ using regexps (bug#11953).
4200 Use tex-verbatim for \url and \path.
4201 (tex-font-lock-keywords): Define as defconst like the others.
4202 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4203
4204 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4205
4206 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4207 alias for insert-char.
4208
4209 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4210
4211 * progmodes/python.el: Simplified imenu implementation.
4212 (python-nav-jump-to-defun): Remove command.
4213 (python-mode-map): Use `imenu' instead.
4214 (python-nav-list-defun-positions-cache)
4215 (python-imenu-include-defun-type, python-imenu-make-tree)
4216 (python-imenu-subtree-root-label, python-imenu-index-alist):
4217 Remove vars.
4218 (python-nav-list-defun-positions, python-nav-read-defun)
4219 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4220 (python-imenu-make-tree, python-imenu-create-index):
4221 Remove functions.
4222 (python-mode): Update to interact with imenu by setting
4223 `imenu-extract-index-name-function' only.
4224
4225 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4226
4227 * progmodes/python.el: Enhancements to navigation commands.
4228 (python-nav-backward-sentence)
4229 (python-nav-forward-sentence): Remove.
4230 (python-nav-backward-statement, python-nav-forward-statement)
4231 (python-nav-statement-start, python-nav-statement-end)
4232 (python-nav-backward-block, python-nav-forward-block)
4233 (python-nav-block-start, python-nav-block-end)
4234 (python-nav-forward-sexp-function)
4235 (python-info-current-line-comment-p)
4236 (python-info-current-line-empty-p): New functions.
4237 (python-indent-context): Use `python-nav-statement-start'.
4238
4239 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4240
4241 * eshell/em-ls.el (eshell/ls): Use `apply'.
4242
4243 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4244 multi-hops, instead of Tramp internals.
4245
4246 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4247
4248 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4249 when F1 and F2 are located on different hosts.
4250
4251 2012-07-14 Chong Yidong <cyd@gnu.org>
4252
4253 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4254 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4255 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4256 (xterm-mouse--read-event-sequence-1000)
4257 (xterm-mouse--read-event-sequence-1006): New functions. For old
4258 mouse protocol, handle M-mouse-X events correctly.
4259 (xterm-mouse-event): New arg specifying mouse protocol.
4260 (turn-on-xterm-mouse-tracking-on-terminal)
4261 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4262 sequence to toggle extended coordinates on newer XTerms.
4263 This appears to be harmless on terminals which do not support this.
4264
4265 2012-07-14 Leo Liu <sdl.web@gmail.com>
4266
4267 Add fringe bitmap indicators for flymake. (Bug#11253)
4268 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4269 (flymake-make-overlay): New arg BITMAP.
4270 (flymake-error-bitmap, flymake-warning-bitmap)
4271 (flymake-fringe-indicator-position): New user variables.
4272
4273 * fringe.el: New bitmap exclamation-mark.
4274
4275 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4276
4277 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4278 also (Bug#7879).
4279
4280 2012-07-14 Chong Yidong <cyd@gnu.org>
4281
4282 * electric.el (electric-pair-post-self-insert-function): Fix pair
4283 insertion in empty-region case (Bug#11520).
4284
4285 2012-07-14 Chong Yidong <cyd@gnu.org>
4286
4287 * bindings.el: Consolidate ctl-x-r-map bindings.
4288 Bind copy-rectangle-as-kill to C-x r w.
4289
4290 * rect.el, register.el: Move bindings to bindings.el.
4291
4292 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4293
4294 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4295
4296 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4297
4298 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4299
4300 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4301
4302 * bindings.el (top): Use `mapc' instead of `mapcar'.
4303
4304 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4305
4306 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4307
4308 * progmodes/sql.el (sql-comint): Suppress the check for program on
4309 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4310 (Bug#11908)
4311
4312 2012-07-13 Chong Yidong <cyd@gnu.org>
4313
4314 * bindings.el: Assign a non-nil permanent-local property to
4315 per-buffer variables which lack a default value (Bug#11930).
4316
4317 * help-fns.el (describe-variable): In the "automatically becomes
4318 local" notice, take note of permanent-local variables.
4319
4320 2012-07-13 Chong Yidong <cyd@gnu.org>
4321
4322 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4323 to allow printing the message when called from Lisp.
4324
4325 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4326 Remove toggle-read-only.
4327
4328 * bs.el (bs-toggle-readonly):
4329 * buff-menu.el (Buffer-menu-toggle-read-only):
4330 Remove with-no-warnings around toggle-read-only.
4331
4332 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4333 Remove with-no-warnings around toggle-read-only.
4334 (ffap-read-only, ffap-read-only-other-window)
4335 (ffap-read-only-other-frame): Callers changed.
4336
4337 * help-mode.el: Don't require view package.
4338 (help-mode-finish): Set buffer-read-only instead of calling
4339 toggle-read-only.
4340
4341 * bindings.el (mode-line-toggle-read-only):
4342 * dired.el (dired-toggle-read-only):
4343 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4344 with non-nil second arg.
4345
4346 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4347 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4348 directly.
4349
4350 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4351
4352 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4353 not incf.
4354
4355 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 More CL cleanups and reduction of use of cl.el.
4358 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4359 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4360 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4361 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4362 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4363 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4364 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4365 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4366 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4367 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4368 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4369 * eshell/em-cmpl.el, eshell/em-banner.el:
4370 * calendar/parse-time.el: Use cl-lib.
4371 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4372 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4373 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4374 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4375 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4376 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4377 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4378 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4379 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4380 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4381 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4382 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4383 `lambda' rather than with `quote'.
4384 (eshell-do-opt): Adjust accordingly.
4385 (eshell-process-option): Simplify.
4386 * eshell/esh-var.el:
4387 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4388 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4389 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4390 to `pcase--dontcare'.
4391 * emacs-lisp/cl.el (labels): Mark obsolete.
4392 (cl--letf, letf): Move to cl-lib.
4393 (cl--letf*, letf*): Remove.
4394 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4395 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4396 (cl-progv): Rewrite.
4397 (cl--letf, cl-letf): Move from cl.el.
4398 (cl-letf*): New macro.
4399 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4400
4401 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4402
4403 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4404
4405 2012-07-11 Chong Yidong <cyd@gnu.org>
4406
4407 * vc/log-edit.el (log-edit-vc-backend): New variable.
4408 (log-edit): Doc fix.
4409
4410 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4411 argument of log-edit to set up all local variables.
4412 (vc-start-logentry): New optional arg specifying VC backend.
4413
4414 * vc/vc.el (vc-checkin): Use it.
4415 (vc-deduce-fileset): Handle Log Edit buffers.
4416 (vc-diff): Make first argument optional too.
4417
4418 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4419
4420 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4421
4422 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4423 command, just in case. The function is not needed anymore.
4424 (eshell-external-command): Do not call `eshell-remote-command'.
4425
4426 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 Reduce use of (require 'cl).
4429 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4430 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4431 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4432 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4433 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4434 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4435 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4436 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4437 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4438 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4439 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4440 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4441 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4442 (byte-compile-unfold-bcf, byte-compile-check-variable):
4443 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4444 (byte-compile-nilconstp):
4445 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4446 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4447
4448 * emacs-lisp/gv.el (cond): Make it a valid place.
4449 (if): Simplify slightly.
4450
4451 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4452 (pcase--self-quoting-p): New function.
4453 (pcase--u1): Use it.
4454
4455 2012-07-10 Glenn Morris <rgm@gnu.org>
4456
4457 * emacs-lisp/authors.el (authors-fixed-entries):
4458 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4459
4460 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4461
4462 Rename configure.in to configure.ac (Bug#11603).
4463 * emacs-lisp/authors.el (authors-canonical-file-name):
4464 * progmodes/autoconf.el (autoconf-mode):
4465 Prefer configure.ac to configure.in.
4466
4467 2012-07-08 Chong Yidong <cyd@gnu.org>
4468
4469 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4470 Implement the mouse-1-click-follows-link handling properly.
4471
4472 * info.el (Info-link-keymap): Use follow-link mechanism for
4473 header-line links (Bug#374).
4474
4475 * simple.el (deactivate-mark): Do not set the primary selection
4476 if another program has acquired it (Bug#11772).
4477
4478 2012-07-07 Kevin Ryde <user42@zip.com.au>
4479
4480 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4481 (woman-decode-region): Replace escaped-escapes without destroying
4482 bold or underline (Bug#11552).
4483 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4484
4485 2012-07-07 Chong Yidong <cyd@gnu.org>
4486
4487 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4488 (interprogram-cut-function, interprogram-paste-function):
4489 Mention that we typically mean the clipboard.
4490
4491 2012-07-06 Glenn Morris <rgm@gnu.org>
4492
4493 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4494
4495 * files.el (toggle-read-only): Restrict message to interactive use.
4496
4497 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4498
4499 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4500
4501 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4502
4503 2012-07-06 Glenn Morris <rgm@gnu.org>
4504
4505 * Makefile.in (compile-one-process): Rename from "recompile".
4506
4507 * Makefile.in (bzr-update): "compile" is the same as "recompile
4508 autoloads", but parallelizable, so use that instead.
4509
4510 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4511
4512 * window.el (quit-window): Always restore window height when
4513 it's saved in quit-restore parameter (Bug#11810).
4514
4515 2012-07-06 Glenn Morris <rgm@gnu.org>
4516
4517 * simple.el (kill-whole-line): Doc tweak.
4518
4519 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4520
4521 * files.el (file-relative-name): Compare file names
4522 case-insensitively if on MS-Windows or MS-DOS, or if
4523 read-file-name-completion-ignore-case is non-nil. Don't use
4524 case-fold-search for this purpose. (Bug#11827)
4525
4526 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4527
4528 * calendar/cal-dst.el (calendar-current-time-zone):
4529 Return calendar-current-time-zone-cache if non-nil.
4530
4531 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4532 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4533
4534 * calendar/cal-dst.el (calendar-current-time-zone):
4535 Return calendar-current-time-zone-cache if non-nil.
4536
4537 2012-07-06 Glenn Morris <rgm@gnu.org>
4538
4539 * Makefile.in (cvs-update): Remove old alias.
4540
4541 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4542
4543 Sync with Tramp 2.2.6-pre.
4544
4545 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4546 compatible declaration.
4547
4548 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4549 Protect `list-load-path-shadows' call.
4550
4551 * net/tramp-compat.el (top): Require packages, which aren't
4552 autoloaded anymore for XEmacs. Protect call of
4553 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4554 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4555 it hurts at least for SXEmacs.
4556 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4557 standard-value for `temporary-file-directory'.
4558
4559 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4560 Redirect stderr to /dev/null.
4561 (tramp-sh-handle-write-region): uid and gid can be floats.
4562 Reported by Russell Sim <russell.sim@gmail.com>.
4563 (tramp-sh-handle-vc-registered): Hide errors.
4564 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4565 and `start-file-process'.
4566 (tramp-maybe-open-connection): Check also whether `non-essential'
4567 is bound.
4568
4569 2012-07-04 Chong Yidong <cyd@gnu.org>
4570
4571 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4572 (xml-parse-tag): Likewise, and avoid changing entity tables.
4573 (xml-syntax-table): Define from scratch, making sure not to give
4574 x2000 and other Unicode spaces whitespace syntax, since those are
4575 not spaces in XML.
4576 (xml-parse-fragment): Delete unused function.
4577 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4578 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4579 (xml-entity-ref, xml-pe-reference-re)
4580 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4581 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4582 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4583 (xml-entity-value-re): Use syntax references in regexps where
4584 possible; no need to define inside a let-binding.
4585 (xml-parse-dtd): Use xml-pe-reference-re.
4586 (xml-entity-or-char-ref-re): New defconst.
4587 (xml-parse-string, xml-substitute-special): Use it.
4588
4589 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4592 (find-file--read-only): New function.
4593 (find-file-read-only, find-file-read-only-other-window)
4594 (find-file-read-only-other-frame): Use it.
4595 (insert-file-contents-literally): Don't `fset'.
4596 (get-free-disk-space): Use locate-dominating-file.
4597
4598 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4599 function is already compiled.
4600
4601 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4602
4603 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4604
4605 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4606 files on the same host.
4607
4608 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4609
4610 * help-fns.el (describe-function-1): Only call
4611 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4612
4613 2012-07-03 Chong Yidong <cyd@gnu.org>
4614
4615 * xml.el: Protect parser against XML bombs.
4616 (xml-entity-expansion-limit): New variable.
4617 (xml-parse-string, xml-substitute-special): Use it.
4618 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4619
4620 2012-07-03 Glenn Morris <rgm@gnu.org>
4621
4622 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4623 Allow linking to specific messages in debbugs reports (eg 123#5).
4624
4625 2012-07-02 Chong Yidong <cyd@gnu.org>
4626
4627 * xml.el: Fix entity and character reference expansion, allowing
4628 them to expand into markup as per XML spec.
4629 (xml-default-ns): New variable.
4630 (xml-entity-alist): Use XML spec definitions for lt and amp.
4631 (xml-parse-region): Make first two arguments optional.
4632 Discard text properties.
4633 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4634 All callers changed.
4635 (xml-parse-tag): Call xml-parse-tag-1. For backward
4636 compatibility, this function should not modify buffer contents.
4637 (xml-parse-tag-1): Fix opening-tag regexp.
4638 (xml-parse-string): Rewrite, handling entity and character
4639 references properly.
4640 (xml--entity-replacement-text): Signal an error if a parameter
4641 entity is undefined.
4642
4643 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4644
4645 * comint.el (comint-output-filter): Filter out repeated prompts.
4646
4647 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4648 and file-name-absolute-p.
4649 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4650 internal calls.
4651
4652 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4653
4654 Spelling fixes.
4655 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4656 Rename from byte-compile--refiy-function. All uses changed.
4657
4658 2012-07-01 Chong Yidong <cyd@gnu.org>
4659
4660 * xml.el (xml--parse-buffer): New function. Move most of
4661 xml-parse-region here.
4662 (xml-parse-region): Copy region into a temporary buffer, since
4663 parameter entity substitution requires changing buffer contents.
4664 Use xml--parse-buffer.
4665 (xml-parse-file): Use xml--parse-buffer.
4666 (xml-parse-dtd): Make parameter entity substitution work right.
4667 Use proper regexps for ELEMENT declarations (Bug#7172).
4668
4669 2012-06-30 Glenn Morris <rgm@gnu.org>
4670
4671 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4672
4673 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4674 Remove outdated and unnecessary dbus declarations.
4675
4676 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4677
4678 * emacs-lisp/timer.el (timer-until): Subtract results of
4679 float-time, instead of taking float-time of the result of
4680 time-subtract, since float-time signals an error for negative time
4681 arguments.
4682
4683 2012-06-30 Chong Yidong <cyd@gnu.org>
4684
4685 * xml.el (xml-*-re): Convert defvars into defconsts, and
4686 eval-and-compile them so eval-and-compile works on derivatives.
4687 (xml--entity-replacement-text): Use eval-and-comple.
4688
4689 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4690
4691 * vc/vc-git.el (vc-git-registered): Use cache property
4692 `git-registered'.
4693 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4694 `vc-git-working-revision' in order to benefit from the cache.
4695 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4696
4697 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4698
4699 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4700 removed (likely outside Emacs). (Bug#11757)
4701
4702 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4703
4704 * emacs-lisp/cl-lib.el: Require macroexp.
4705
4706 2012-06-30 Chong Yidong <cyd@gnu.org>
4707
4708 * xml.el: Implement XML parameter entities.
4709 (xml-parameter-entity-alist): New variable.
4710 (xml-parse-region, xml-parse-fragment): Preserve previous values
4711 of xml-entity-alist and xml-parameter-entity-alist, so that
4712 repeated calls on different documents do not change them.
4713 (xml-parse-tag): Fix doctype regexp.
4714 (xml--entity-replacement-text): New function.
4715 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4716 properly requires url retrieval which is unimplemented.
4717 (xml-escape-string): Doc fix.
4718
4719 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4720
4721 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4722
4723 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4724
4725 * fringe.el (fringe-mode): Doc fix.
4726
4727 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4728
4729 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4730 is non-nil.
4731 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4732 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4733
4734 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4735
4736 * calendar/cal-dst.el (calendar-current-time-zone):
4737 Return calendar-current-time-zone-cache if non-nil.
4738
4739 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4740
4741 * progmodes/which-func.el (which-func-format):
4742 Add mouse-face. (Bug#11698)
4743
4744 2012-06-29 Leo Liu <sdl.web@gmail.com>
4745
4746 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4747
4748 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4749
4750 * minibuffer.el (minibuffer-confirm-exit-commands):
4751 Add completion-at-point (bug#11725).
4752
4753 2012-06-29 Glenn Morris <rgm@gnu.org>
4754
4755 * progmodes/f90.el (f90-font-lock-keywords-2):
4756 Add some preprocessor elements. (Bug#10499)
4757
4758 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4759
4760 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4761 Use syntax-propertize (bug#11739).
4762
4763 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4764
4765 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4766
4767 2012-06-28 Julien Danjou <julien@danjou.info>
4768
4769 * term.el (term-handle-colors-array): Use a set of new faces to
4770 color the terminal. Also uses :inverse-video property.
4771 (term-default-fg-color): Set to nil by default, deprecate in favor
4772 of `term-face'.
4773 (term-default-bg-color): Set to nil by default, deprecate in favor
4774 of `term-face'.
4775 (term-current-face): Use `term-face' by default.
4776 (term-bold-attribute): Variable deleted.
4777
4778 2012-06-28 Glenn Morris <rgm@gnu.org>
4779
4780 * simple.el (completion-list-mode-finish):
4781 Don't use toggle-read-only. (Since completion-list-mode has
4782 a special mode-class, it wasn't doing anything extra anyway.)
4783
4784 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4785
4786 Make inlining of other-mode interpreted functions work (bug#11799).
4787 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4788 (byte-compile): Use it to fix compilation of lexical-binding closures.
4789 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4790 function, if needed.
4791
4792 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * help-mode.el (help-make-xrefs): Don't just withstand
4795 cyclic-variable-indirection but any error in documentation-property.
4796
4797 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4798 memory use.
4799 * bindings.el (bindings--define-key): New function.
4800 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4801 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4802 * bindings.el: Use it to purecopy define-key bindings.
4803
4804 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4805
4806 * emacs-lisp/cl.el (flet): Mark obsolete.
4807 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4808 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4809 * progmodes/js.el (js-c-fill-paragraph):
4810 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4811 (ebrowse-switch-member-buffer-to-derived-class):
4812 * play/5x5.el (5x5-solver): Use cl-flet.
4813
4814 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4815 (cl--symbol-function): New macro.
4816 (cl--letf, cl--letf*): Use it.
4817
4818 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4819 Strip "toggle-" if any.
4820
4821 2012-06-27 Glenn Morris <rgm@gnu.org>
4822
4823 * info.el (Info-default-directory-list): Move here from paths.el.
4824 * paths.el: Remove file, which is now empty.
4825 * loadup.el: No longer load "paths".
4826
4827 * custom.el (custom-initialize-delay): Doc fix.
4828
4829 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4830 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4831 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4832 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4833 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4834 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4835 * eshell/eshell.el (eshell-defgroup): Remove alias.
4836
4837 2012-06-27 Chong Yidong <cyd@gnu.org>
4838
4839 * help.el (help-enable-auto-load): New variable.
4840
4841 * help-fns.el (help-fns--autoloaded-p): New function.
4842 (describe-function-1): Refer to a function as "autoloaded" if it
4843 was autoloaded at any time in the past. Perform autoloading if
4844 help-enable-auto-load is non-nil.
4845
4846 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4847
4848 * makefile.w32-in (compile, compile-always): Depend on
4849 update-subdirs, not on subdirs.el. Otherwise, several different
4850 sub-targets of 'bootstrap' running in parallel could
4851 simultaneously write to subdirs.el, producing a garbled file.
4852
4853 2012-06-26 Sam Steingold <sds@gnu.org>
4854
4855 * files.el (file-name-base): New convenience function.
4856 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4857 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4858 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4859 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4860 * textmodes/ispell.el, textmodes/reftex-ref.el:
4861 * textmodes/tex-mode.el: Use it.
4862 Did not touch cedet and org because they are maintained elsewhere.
4863
4864 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4865
4866 * calendar/calendar.el (calendar-exit): Don't try to delete or
4867 iconify last frame. See:
4868 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4869
4870 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4871
4872 * server.el (server-process-filter): Remember dir in the
4873 process's `server-client-directory' properties.
4874
4875 2012-06-24 Chong Yidong <cyd@gnu.org>
4876
4877 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4878 non-tag text.
4879
4880 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4881
4882 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4883
4884 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * help-fns.el (describe-variable): Don't croak when doc is not found.
4887 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4888 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4889 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4890 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4891 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4892 ((lambda ..) ..).
4893 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4894
4895 2012-06-23 Chong Yidong <cyd@gnu.org>
4896
4897 * info.el (Info-mouse-follow-link): Accept symbol values of
4898 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4899 (Info-fontify-node): Use Info-link-keymap for all navigation
4900 buttons, with link-args property to perform the desired action.
4901 (Info-link-keymap): Doc fix.
4902 (Info-next-link-keymap, Info-prev-link-keymap)
4903 (Info-up-link-keymap): Delete now-unused keymaps.
4904
4905 2012-06-23 Chong Yidong <cyd@gnu.org>
4906
4907 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4908
4909 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4910 system abbrevs.
4911
4912 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4913
4914 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4917 (bug#11719).
4918
4919 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4920 the requote function doesn't work properly (bug#11714).
4921
4922 2012-06-23 Glenn Morris <rgm@gnu.org>
4923
4924 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4925
4926 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 Further GV/CL cleanups.
4929 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4930 gv-expander.
4931 (gv--defun-declaration): New function.
4932 (defun-declarations-alist): Use it.
4933 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4934 (gv-place): Autoload.
4935 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4936 original definition of dotimes and dolist.
4937 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4938 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4939 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4940 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4941 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4942 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4943 to the function's definition.
4944 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4945 * window.el:
4946 * files.el:
4947 * faces.el:
4948 * env.el: Don't use CL.
4949
4950 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4951
4952 Support higher-resolution time stamps (Bug#9000).
4953
4954 * calendar/time-date.el (with-decoded-time-value): New arg
4955 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4956 (encode-time-value): New optional arg PICO. New type 3.
4957 (time-to-seconds) [!float-time]: Support the new picoseconds
4958 component if it's used.
4959 (seconds-to-time, time-subtract, time-add):
4960 Support ps-resolution time stamps as well.
4961
4962 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4963 (timerp): Timer vectors now have length 9, not 8.
4964 (timer--time): Support new-style (4-part) time stamps.
4965 (timer-next-integral-multiple-of-time): Time stamps now have
4966 picosecond resolution, so take a bit more care about rounding.
4967 (timer-relative-time, timer-inc-time): New optional arg psecs.
4968 (timer-set-time-with-usecs): Set psecs to 0.
4969 (timer--activate): Check psecs component, too.
4970
4971 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4972
4973 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4974
4975 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4976 Move the non-essential binding to the post/pre-command-hook where it is
4977 more obviously correct.
4978
4979 * subr.el (read-passwd): Don't use a history at all.
4980 * savehist.el (savehist-save): Remove password saved accidentally
4981 because of the above bug.
4982
4983 2012-06-22 Bastien Guerry <bzg@gnu.org>
4984
4985 * files.el (toggle-read-only): Display a message telling whether
4986 the buffer is read-only or not (bug#11726).
4987
4988 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * emacs-lisp/gv.el: New file.
4991 * subr.el (push, pop): Extend to generalized variables.
4992 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4993 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4994 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4995 gv-define-simple-setter, and gv-define-expander.
4996 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4997 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4998 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4999 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5000 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5001 gv-letplace.
5002 (cl-defstruct): Don't define setf-method any more.
5003 * emacs-lisp/cl.el (flet): Don't autoload.
5004 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5005 (define-setf-expander, defsetf, define-modify-macro)
5006 (cl-struct-setf-expander): Move from cl-lib.el.
5007 * emacs-lisp/syntax.el:
5008 * emacs-lisp/ewoc.el:
5009 * emacs-lisp/smie.el:
5010 * emacs-lisp/cconv.el:
5011 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5012 (timer--time): Use gv-define-simple-setter.
5013 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5014 to avoid coding-system problems in subr.el. Adjust all users.
5015 (macroexp--maxsize, macroexp-small-p): New functions.
5016 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5017 * scroll-bar.el (scroll-bar-mode):
5018 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5019 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5020 * winner.el (winner-configuration, winner-make-point-alist)
5021 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5022 * files.el (locate-file-completion-table): Avoid list*.
5023
5024 2012-06-22 Chong Yidong <cyd@gnu.org>
5025
5026 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5027 (dired-create-files): Doc fix (Bug#11329).
5028 (dired-do-copy): Doc fix (Bug#11334).
5029 (dired-mark-read-string): Doc fix (Bug#11553).
5030
5031 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5032 Doc fix (Bug#11326).
5033 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5034 (dired-dwim-target): Doc fix.
5035
5036 * wdired.el (wdired-mode): Doc fix.
5037
5038 2012-06-22 Glenn Morris <rgm@gnu.org>
5039
5040 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5041 (pcmpl-rpm-cache-stamp-file): New constant.
5042 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5043 (pcmpl-rpm-packages): Optionally cache list of packages.
5044
5045 * pcmpl-rpm.el (pcmpl-rpm): New group.
5046 (pcmpl-rpm-query-options): New option.
5047 (pcmpl-rpm-packages): No need to inline it.
5048 Use pcmpl-rpm-query-options.
5049
5050 * calendar/calendar.el (calendar-in-read-only-buffer):
5051 Avoid some needless mode changes.
5052
5053 2012-06-21 Chong Yidong <cyd@gnu.org>
5054
5055 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5056 (desktop-path): Remove . from the default value (Bug#10977).
5057 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5058
5059 2012-06-20 Chong Yidong <cyd@gnu.org>
5060
5061 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5062
5063 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5064
5065 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5066 (bug#11201).
5067
5068 2012-06-20 Chong Yidong <cyd@gnu.org>
5069
5070 * term.el (term-window-width): Handle the case of a missing right
5071 fringe (Bug#8837).
5072 (term-check-size): Use window-text-height (Bug#5445).
5073 (term-mode): Use define-derived-mode. Minor cleanups.
5074 Set font-lock-defaults (Bug#7692).
5075 (term-move-columns, term-insert-char, term-emulate-terminal)
5076 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5077
5078 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5079
5080 * net/ange-ftp.el (ange-ftp-get-passwd):
5081 Bind `enable-recursive-minibuffers'.
5082 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5083
5084 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5085
5086 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5087
5088 2012-06-19 Glenn Morris <rgm@gnu.org>
5089
5090 * progmodes/python.el (python-mode): Derive from prog-mode.
5091
5092 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5093
5094 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5095 (edt-user-menu-bar-update-buffers): New functions.
5096 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5097
5098 2012-06-19 Chong Yidong <cyd@gnu.org>
5099
5100 * subr.el (with-selected-window): Preserve the selected window's
5101 terminal's top-frame (Bug#4702).
5102
5103 * window.el (save-selected-window): Likewise.
5104
5105 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * progmodes/python.el (python-rx-constituents): Move backquote.
5108 (python-skeleton-define, python-define-auxiliary-skeleton):
5109 Use `declare'.
5110
5111 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5112
5113 * minibuffer.el (read-file-name-default): Revert the patch from
5114 2012-06-17.
5115
5116 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5119 (pcase--u1, pcase--q1): Don't use apply-partially.
5120
5121 2012-06-18 Glenn Morris <rgm@gnu.org>
5122
5123 * progmodes/python.el (python-proc, python-buffer)
5124 (python-send-receive, python-send-string): Fix obsolete versions.
5125
5126 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5127
5128 * window.el (special-display-p): Completely remove stringp
5129 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5130
5131 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5132
5133 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5134
5135 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5136
5137 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5138 * net/tramp-sh.el (tramp-maybe-open-connection):
5139 Throw if `non-essential' is non-nil.
5140
5141 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5142
5143 * window.el (special-display-p): Signal an error if BUFFER-NAME
5144 is not a string (Bug#11713).
5145
5146 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5147
5148 * progmodes/python.el (python-info-beginning-of-backslash):
5149 Rename from python-info-beginning-of-backlash, as a spelling fix.
5150
5151 2012-06-17 Chong Yidong <cyd@gnu.org>
5152
5153 * term.el (term-emulate-terminal): If term-check-size is called,
5154 move point to the process mark without resetting point (Bug#4635).
5155
5156 2012-06-17 Glenn Morris <rgm@gnu.org>
5157
5158 * international/mule-cmds.el (mule-menu-keymap)
5159 (set-language-environment, set-locale-environment): Doc tweaks.
5160
5161 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5162
5163 * cus-face.el (custom-face-attributes): Add wave-style underline
5164 attribute.
5165 * faces.el (set-face-attribute): Update docstring to describe
5166 wave-style underline attribute.
5167
5168 2012-06-16 Chong Yidong <cyd@gnu.org>
5169
5170 * term/xterm.el (terminal-init-xterm): Discard input before
5171 querying background mode (Bug#10959).
5172
5173 2012-06-16 Stefan Merten <smerten@oekonux.de>
5174
5175 * textmodes/rst.el: Added and corrected some comments.
5176 (rst-re-alist-def): Improve symbol syntax.
5177 (rst-mode-syntax-table): Correct syntax entries.
5178 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5179 (rst-official-version, rst-official-cvs-rev): Update version
5180 information.
5181
5182 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5183
5184 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5185 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5186
5187 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5188
5189 * progmodes/python.el: New python.el merge.
5190 (python-guess-indent): Obsolete var.
5191 (python-indent-guess-indent-offset): New defcustom.
5192 (python-indent): Obsolete var.
5193 (python-indent-offset): New defcustom.
5194 (python-python-command, python-jython-command): Delete var.
5195 (python-shell-interpreter): New defcustom.
5196 (python-pdbtrack-do-tracking-p): Delete var.
5197 (python-pdbtrack-activate): New defcustom.
5198 (python-use-skeletons): Obsolete var.
5199 (python-skeleton-autoinsert): New defcustom.
5200 (inferior-python-filter-regexp, python-continuation-offset)
5201 (python-honour-comment-indentation, python-indent-string-contents)
5202 (python-jython-packages, python-mode-hook)
5203 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5204 (python-shell-prompt-alist)
5205 (python-source-modes): Delete defcustoms.
5206 (python-check-buffer-name, python-eldoc-setup-code)
5207 (python-eldoc-string-code, python-ffap-setup-code)
5208 (python-ffap-string-code, python-fill-comment-function)
5209 (python-fill-decorator-function, python-fill-paren-function)
5210 (python-fill-string-function, python-imenu-include-defun-type)
5211 (python-imenu-make-tree, python-imenu-subtree-root-label)
5212 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5213 (python-shell-compilation-regexp-alist)
5214 (python-shell-completion-module-string-code)
5215 (python-shell-completion-pdb-string-code)
5216 (python-shell-completion-setup-code)
5217 (python-shell-completion-string-code)
5218 (python-shell-enable-font-lock, python-shell-exec-path)
5219 (python-shell-extra-pythonpaths)
5220 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5221 (python-shell-process-environment)
5222 (python-shell-prompt-block-regexp)
5223 (python-shell-prompt-output-regexp)
5224 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5225 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5226 (python-shell-virtualenv-path): New defcustoms.
5227 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5228 (inferior-python-mode-syntax-table, python--prompt-regexp)
5229 (python-buffer, python-command python-python-command)
5230 (python-default-template, python-imports, python-indent-index)
5231 (python-indent-list, python-indent-list-length)
5232 (python-mode-running, python-pdbtrack-is-tracking-p)
5233 (python-preoutput-continuation, python-preoutput-leftover)
5234 (python-preoutput-result, python-preoutput-skip-next-prompt)
5235 (python-prev-dir/file, python-recursing)
5236 (python-saved-check-command, python-version-checked)
5237 (python-which-func-length-limit)
5238 (view-return-to-alist): Delete vars.
5239 (python-check-custom-command, python-dotty-syntax-table)
5240 (python-imenu-index-alist, python-indent-current-level)
5241 (python-indent-dedenters, python-indent-levels)
5242 (python-nav-beginning-of-defun-regexp)
5243 (python-nav-list-defun-positions-cache)
5244 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5245 (python-shell-internal-buffer)
5246 (python-skeleton-available): New vars.
5247 (def-python-skeleton): Delete macro.
5248 (python-skeleton-define): New macro.
5249 (python-define-auxiliary-skeleton, python-rx): New macros.
5250 (python-insert-class): Delete command.
5251 (python-skeleton-class): New command.
5252 (python-insert-def): Delete command.
5253 (python-skeleton-def): New command.
5254 (python-insert-for): Delete command.
5255 (python-skeleton-for): New command.
5256 (python-insert-if): Delete command.
5257 (python-skeleton-if): New command.
5258 (python-insert-try/except, python-insert-try/finally): Delete commands.
5259 (python-skeleton-try): New command.
5260 (python-insert-while): Delete command.
5261 (python-skeleton-while): New command.
5262 (python-backspace): Delete command.
5263 (python-indent-dedent-line-backspace): New command.
5264 (python-electric-colon): Delete command.
5265 (python-indent-electric-colon): New command.
5266 (python-guess-indent): Delete command.
5267 (python-indent-guess-indent-offset): New command.
5268 (python-shift-left): Delete command.
5269 (python-indent-shift-left): New command.
5270 (python-shift-right): Delete command.
5271 (python-indent-shift-right): New command.
5272 (python-find-function): Delete command.
5273 (python-nav-jump-to-defun): New command.
5274 (python-next-statement): Delete command.
5275 (python-nav-forward-sentence): New command.
5276 (python-previous-statement): Delete command.
5277 (python-nav-backward-sentence): New command.
5278 (python-fill-paragraph): Delete command.
5279 (python-fill-paragraph-function): New command.
5280 (python-send-buffer): Delete command.
5281 (python-shell-send-buffer): New command.
5282 (python-send-defun): Delete command.
5283 (python-shell-send-defun): New command.
5284 (python-send-region, python-send-region-and-go): Delete commands.
5285 (python-shell-send-region)
5286 (python-shell-switch-to-shell): New commands.
5287 (python-send-string): Delete command.
5288 (python-shell-send-string): New command.
5289 (python-switch-to-python): Delete command.
5290 (python-shell-switch-to-shell): New command.
5291 (python-describe-symbol): Delete command.
5292 (python-eldoc-at-point): New command.
5293 (python--set-prompt-regexp, python-args-to-list)
5294 (python-after-info-look, python-check-version)
5295 (python-check-comint-prompt, python-find-imports)
5296 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5297 (python-unload-function, python-expand-template)
5298 (python-maybe-jython, python-preoutput-filter)
5299 (python-pdbtrack-get-source-buffer)
5300 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5301 (python-pdbtrack-toggle-stack-tracking)
5302 (python-pdbtrack-track-stack-file, python-initial-text)
5303 (python-first-word, python-comment-line-p, python-send-command)
5304 (python-setup-brm, python-sentinel, python-set-proc)
5305 (python-skip-out, python-input-filter, python-outdent-p)
5306 (python-outline-level, python-backslash-continuation-line-p)
5307 (python-end-of-block, python-end-of-statement, python-mark-block)
5308 (python-beginning-of-block, python-beginning-of-statement)
5309 (python-blank-line-p, python-beginning-of-string)
5310 (python-open-block-statement-p): Delete functions.
5311 (python-indent-line, python-indent-line-1): Delete functions.
5312 (python-indent-line): New function.
5313 (python-indentation-levels): Delete function.
5314 (python-indent-calculate-levels): New function.
5315 (python-proc): Delete function.
5316 (python-shell-get-process): New function.
5317 (python-send-receive): Delete function.
5318 (python-shell-send-string-no-output): New function.
5319 (python-module-path): Delete function.
5320 (python-ffap-module-path): New function.
5321 (python-completion-at-point)
5322 (python-symbol-completions): Delete functions.
5323 (python-completion-complete-at-point): New function.
5324 (python-load-file): Delete function.
5325 (python-shell-send-file): New function.
5326 (python-calculate-indentation): Delete function.
5327 (python-indent-calculate-indentation): New function.
5328 (python-skip-comments/blanks): Delete function.
5329 (python-util-forward-comment): New function.
5330 (python-continuation-line-p): Delete function.
5331 (python-info-continuation-line-p): New function.
5332 (python-which-func, python-current-defun): Delete function.
5333 (python-info-current-defun): New function.
5334 (python-beginning-of-defun): Delete function.
5335 (python-nav-beginning-of-defun): New function.
5336 (python-close-block-statement-p)
5337 (python-block-end-p): Delete function.
5338 (python-info-closing-block): New function.
5339 (python-comint-output-filter-function)
5340 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5341 (python-fill-comment, python-fill-decorator, python-fill-paren)
5342 (python-fill-string, python-imenu-make-element-tree)
5343 (python-imenu-make-tree, python-imenu-tree-assoc)
5344 (python-indent-context, python-indent-dedent-line)
5345 (python-indent-line-function)
5346 (python-indent-post-self-insert-function)
5347 (python-indent-toggle-levels)
5348 (python-info-assignment-continuation-line-p)
5349 (python-info-beginning-of-backlash)
5350 (python-info-block-continuation-line-p)
5351 (python-info-closing-block-message)
5352 (python-info-line-ends-backslash-p)
5353 (python-info-looking-at-beginning-of-defun)
5354 (python-info-ppss-context, python-info-ppss-context-type)
5355 (python-nav-list-defun-positions, python-nav-read-defun)
5356 (python-nav-sentence-end, python-nav-sentence-start)
5357 (python-pdbtrack-comint-output-filter-function)
5358 (python-pdbtrack-set-tracked-buffer)
5359 (python-shell-calculate-exec-path)
5360 (python-shell-calculate-process-environment)
5361 (python-shell-completion--do-completion-at-point)
5362 (python-shell-completion--get-completions)
5363 (python-shell-completion-complete-at-point)
5364 (python-shell-completion-complete-or-indent)
5365 (python-shell-get-or-create-process)
5366 (python-shell-get-process-name)
5367 (python-shell-internal-get-or-create-process)
5368 (python-shell-internal-get-process-name)
5369 (python-shell-internal-send-string, python-shell-make-comint)
5370 (python-shell-parse-command, python-shell-send-setup-code)
5371 (python-skeleton-add-menu-items)
5372 (python-util-clone-local-variables, python-util-position)
5373 (run-python-internal, python-indentation-levels)
5374 (python-nav-beginning-of-defun)
5375 (python-completion-complete-at-point): New functions.
5376 (run-python): Change arguments. New API requirements.
5377
5378 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5381 (bug#11649).
5382
5383 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5384 (macroexp--expand-all): Use it.
5385
5386 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5387 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5388 Use `cl-function' instead.
5389
5390 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5391
5392 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5393 Suggested by Stefan Monnier while discussing bug#11657.
5394
5395 2012-06-14 Sam Steingold <sds@gnu.org>
5396
5397 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5398
5399 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5400
5401 * play/doctor.el (doctor-doc): Remove parameter and use
5402 doctor-sent instead of sent.
5403 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5404
5405 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5406
5407 * files.el: Require cl-lib.
5408 (file-name-non-special): Replace case -> cl-case.
5409
5410 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5411
5412 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5413 mapping from #' to function*.
5414
5415 2012-06-13 Chong Yidong <cyd@gnu.org>
5416
5417 * mouse.el (mouse-drag-track): Do not set the mark if the user
5418 releases the mouse without selecting anything (Bug#11588).
5419
5420 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5423 as well (bug#11646).
5424
5425 * loadup.el: Count byte-code functions as well.
5426
5427 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5428 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5429
5430 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5431 (bug#11649). Add cl-defun and cl-defmacro.
5432
5433 2012-06-13 Drew Adams <drew.adams@oracle.com>
5434
5435 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5436 Fix last change.
5437
5438 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5439
5440 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5441 Otherwise, it blocks in batch mode.
5442
5443 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5444
5445 * help-mode.el (bookmark-make-record-default): Declare.
5446
5447 2012-06-13 Chong Yidong <cyd@gnu.org>
5448
5449 * emacs-lisp/package.el (list-packages): Compute a list of
5450 packages that are newly-available since the last list-packages
5451 invocation.
5452 (package-menu--new-package-list): New var.
5453 (package-menu--generate, package-menu--print-info)
5454 (package-menu--status-predicate, package-menu-mark-install):
5455 Handle new status label "new".
5456
5457 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5460 conversion to backquotes.
5461
5462 2012-06-12 Chong Yidong <cyd@gnu.org>
5463
5464 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5465 Rename from gud-inhibit-global-bindings.
5466
5467 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5468
5469 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5470 hook from nxml-glyph-set-hook.
5471
5472 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5473 declaration.
5474
5475 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5476
5477 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5478 Convert to defcustom.
5479
5480 2012-06-12 Drew Adams <drew.adams@oracle.com>
5481
5482 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5483 New functions.
5484 (help-mode): Use them.
5485
5486 2012-06-11 Glenn Morris <rgm@gnu.org>
5487
5488 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5489 Use preprocessor face for directives.
5490 (fortran-directive-re): Doc fix.
5491
5492 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5495 conversion to backquotes (bug#11652).
5496
5497 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5498 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5499 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5500 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5501 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5502 (cl-ninth, cl-tenth): Mark them as inlinable.
5503 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5504 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5505 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5506 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5507 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5508 (cl-list*, cl-adjoin): Don't put an autoload manually.
5509 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5510 (cl--compiler-macro-list*): Add autoload cookie.
5511 (cl--compiler-macro-cXXr): New function.
5512
5513 * help-fns.el (help-fns--compiler-macro): New function extracted from
5514 describe-function-1; follow aliases and use `compiler-macro' property.
5515 (describe-function-1): Use it.
5516
5517 2012-06-11 Chong Yidong <cyd@gnu.org>
5518
5519 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5520 is uninstalled, if imagemagick is installed.
5521
5522 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5523
5524 * emacs-lisp/cl-lib.el: Use lexical-binding.
5525 (cl-map-extents, cl-maclisp-member): Remove.
5526 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5527 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5528 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5529 * emacs-lisp/cl-extra.el: Use lexical-binding.
5530 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5531 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5532 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5533 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5534 * emacs-lisp/cl-seq.el: Use lexical-binding.
5535 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5536 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5537 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5538 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5539 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5540 CL's internals.
5541
5542 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5543
5544 Sync with Tramp 2.2.6-pre.
5545
5546 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5547 `print-length' and `print-level' to nil, in order to avoid
5548 truncation. Reported by Christopher Schmidt
5549 <christopher@ristopher.com>.
5550
5551 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5552
5553 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5554 New defmacro.
5555 (tramp-compat-copy-directory): Add optional argument
5556 COPY-CONTENTS. It is not handled yet.
5557
5558 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5559 (tramp-ftp-file-name-p): Simplify.
5560
5561 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5562 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5563 connection vector.
5564
5565 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5566 (tramp-methods): Do not use `tramp-password-end-of-line'.
5567 (tramp-completion-function-alist-putty): Handle UNIX case.
5568 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5569 (tramp-do-file-attributes-with-stat)
5570 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5571 gid as real numbers. They could run out of integer range on cygwin.
5572 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5573 (tramp-sh-handle-expand-file-name): Handle hops.
5574 (tramp-open-connection-setup-interactive-shell):
5575 Use `tramp-cleanup'. Move check for busyboxes ...
5576 (tramp-find-shell): ... here. Simplify implementation.
5577 Set "remote-shell" property also for alternative shells.
5578 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5579 If failing, a regular file would be written otherwise.
5580 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5581 (tramp-find-inline-encoding): Cache the coding commands in the
5582 process cache. Apply test command on the remote side, if defined.
5583 (tramp-find-inline-compress): Cache the compress commands in the
5584 process cache.
5585 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5586 when requested. Handle hops.
5587 (tramp-current-connection): New defvar.
5588 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5589 Throw `suppress', if there was a failed connection shortly before.
5590 Handle user interrupt. (Bug#10187)
5591 (tramp-get-inline-compress, tramp-get-inline-coding):
5592 Read connection properties from the process cache.
5593
5594 * net/tramp-smb.el (tramp-smb-server-version)
5595 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5596 New defconsts.
5597 (tramp-smb-prompt): Extend for powershell prompt.
5598 (tramp-smb-file-name-handler-alist): Add handlers for
5599 `process-file', `shell-command' and `start-file-process'.
5600 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5601 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5602 (tramp-smb-file-name-p): Simplify.
5603 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5604 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5605 (tramp-smb-shell-quote-argument): New defuns.
5606 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5607 Implement using "tar". By this, time-stamps are preserved.
5608 (tramp-smb-handle-copy-file): Handle also the case of directories.
5609 (tramp-smb-do-file-attributes-with-stat)
5610 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5611 Use `tramp-get-connection-buffer').
5612 (tramp-smb-handle-rename-file): Use "rename", when source and
5613 target are on the same share.
5614 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5615 Use `tramp-smb-server-version'.
5616 (tramp-smb-wait-for-output): Remove prompt.
5617
5618 * net/tramp.el (top): Require 'cl.
5619 (tramp-methods, tramp-rsh-end-of-line):
5620 Remove `tramp-password-end-of-line' from docstring.
5621 (tramp-save-ad-hoc-proxies): New defcustom.
5622 (tramp-completion-function-alist): Adapt docstring.
5623 (tramp-default-password-end-of-line): Remove defcustom.
5624 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5625 (tramp-user-regexp, tramp-file-name-regexp-unified)
5626 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5627 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5628 (tramp-remote-file-name-spec-regexp): New defconst.
5629 (tramp-file-name-structure): Extend structure for hops.
5630 (tramp-get-method-parameter): Move up.
5631 (tramp-file-name-p, tramp-dissect-file-name)
5632 (with-parsed-tramp-file-name): Handle hops.
5633 (tramp-file-name-hop): New defun.
5634 (tramp-make-tramp-file-name): New optional arg HOP.
5635 (tramp-message-show-progress-reporter-message): New defvar.
5636 (tramp-with-progress-reporter): Use it. We cannot use
5637 `tramp-message-show-message' here, because this suppresses also
5638 error buffers.
5639 (tramp-error-with-buffer): Suppress buffer view, if
5640 `tramp-message-show-message' is nil.
5641 Use `tramp-get-connection-buffer'.
5642 (tramp-cleanup): New defun.
5643 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5644 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5645 an error unchanged.
5646 (tramp-completion-handle-file-name-all-completions): Handle hops.
5647 Fix an error when called from ido.
5648 (tramp-completion-dissect-file-name): Use better local variable
5649 name. Add hop to the vector.
5650 (tramp-handle-insert-file-contents): Use progress-reporter for the
5651 whole scenario.
5652 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5653 to `t'.
5654 (tramp-check-for-regexp): Simplify search.
5655 (tramp-enter-password): Remove it. Move implementation ...
5656 (tramp-action-password): ... here.
5657 (tramp-mode-string-to-int, tramp-local-host-p)
5658 (tramp-make-tramp-temp-file, tramp-read-passwd)
5659 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5660 Set tramp-autoload cookie.
5661
5662 * net/trampver.el: Update release number.
5663
5664 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5665 Michael Albinus <michael.albinus@gmx.de>
5666
5667 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5668 (tramp-parse-group, tramp-parse-file)
5669 (tramp-parse-shostkeys-sknownhosts): New defuns.
5670 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5671 (tramp-parse-shosts-group, tramp-parse-sconfig)
5672 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5673 (tramp-parse-sknownhosts, tramp-parse-hosts)
5674 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5675 Use them.
5676 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5677 (tramp-parse-putty-group): Don't narrow.
5678 (tramp-parse-putty): Make a loop.
5679 (tramp-file-name-handler): Catch the `suppress' signal.
5680
5681 2012-06-11 Chong Yidong <cyd@gnu.org>
5682
5683 * image.el (imagemagick-register-types): Put the ImageMagick entry
5684 at the end of image-type-file-name-regexps.
5685
5686 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5687
5688 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5689 (pcase, pcase-let*, pcase-dolist): Use them.
5690
5691 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * emacs-lisp/pcase.el (pcase--let*): New function.
5694 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5695 (pcase--expand): Use macroexp-let².
5696
5697 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5698
5699 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5700 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5701 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5702 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5703 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5704 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5705
5706 2012-06-10 Glenn Morris <rgm@gnu.org>
5707
5708 * mail/rmail.el (rmail-yank-current-message): Leave point at
5709 correct position. (Bug#11660)
5710
5711 2012-06-10 Chong Yidong <cyd@gnu.org>
5712
5713 * allout-widgets.el: Fix code header.
5714
5715 2012-06-10 Chong Yidong <cyd@gnu.org>
5716
5717 * cus-edit.el (customize-changed-options-previous-release):
5718 Bump to 24.1.
5719
5720 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5721
5722 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5723
5724 2012-06-09 Chong Yidong <cyd@gnu.org>
5725
5726 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5727
5728 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5729
5730 * window.el (special-display-popup-frame): Don't use
5731 window--display-buffer (Bug#11651).
5732
5733 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5734
5735 Fix parallel builds: make sure loaddefs.el is not being written
5736 while Lisp files are compiled.
5737 (compile): Don't depend on 'mh-autoloads'.
5738 (compile-CMD, compile-SH): Depend on 'autoloads'.
5739 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5740
5741 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5742
5743 2012-06-09 Chong Yidong <cyd@gnu.org>
5744
5745 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5746 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5747 Doc fixes (Bug#11225).
5748
5749 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5750
5751 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5752 a function if there's a clear indication that it has a compiler-macro.
5753 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5754 (macro-declarations-alist): Add arglist to declaration functions.
5755 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5756 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5757 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5758 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5759 Also add autoload to find the compiler macro.
5760 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5761 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5762 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5763 (cl--compiler-macro-get): New functions, replacing calls to
5764 cl-define-compiler-macro.
5765 (cl-typep) [compiler-macro]: Use macroexp-let².
5766
5767 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5768
5769 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5770 string properly, fixes Bug#11473.
5771
5772 2012-06-08 Chong Yidong <cyd@gnu.org>
5773
5774 * faces.el (set-face-attribute): Doc fix.
5775 (modify-face): Don't use :bold and :italic.
5776 (error, warning, success): Tweak definitions.
5777
5778 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5779 (custom-modified, custom-set, custom-changed, custom-themed)
5780 (custom-saved, custom-button, custom-button-mouse)
5781 (custom-button-pressed, custom-state, custom-comment-tag)
5782 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5783 (custom-group-subtitle): Use new-style face specs.
5784 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5785 (custom-set-face, custom-changed-face, custom-saved-face)
5786 (custom-button-face, custom-button-pressed-face)
5787 (custom-documentation-face, custom-state-face)
5788 (custom-comment-face, custom-comment-tag-face)
5789 (custom-variable-tag-face, custom-variable-button-face)
5790 (custom-face-tag-face, custom-group-tag-face-1)
5791 (custom-group-tag-face): Remove obsolete face alias.
5792
5793 * epa.el (epa-validity-high, epa-validity-medium)
5794 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5795 (epa-field-name, epa-field-body):
5796 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5797 (font-lock-keyword-face, font-lock-builtin-face)
5798 (font-lock-function-name-face, font-lock-variable-name-face)
5799 (font-lock-type-face, font-lock-constant-face):
5800 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5801 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5802 * speedbar.el (speedbar-button-face, speedbar-file-face)
5803 (speedbar-directory-face, speedbar-tag-face)
5804 (speedbar-selected-face, speedbar-highlight-face)
5805 (speedbar-separator-face):
5806 * whitespace.el (whitespace-newline, whitespace-space)
5807 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5808 (whitespace-line, whitespace-space-before-tab)
5809 (whitespace-space-after-tab, whitespace-indentation)
5810 (whitespace-empty):
5811 * emulation/cua-base.el (cua-global-mark):
5812 * eshell/em-prompt.el (eshell-prompt):
5813 * net/newst-plainview.el (newsticker-new-item-face)
5814 (newsticker-old-item-face, newsticker-immortal-item-face)
5815 (newsticker-obsolete-item-face, newsticker-date-face)
5816 (newsticker-statistics-face, newsticker-default-face):
5817 * net/newst-reader.el (newsticker-feed-face)
5818 (newsticker-extra-face, newsticker-enclosure-face):
5819 * net/newst-treeview.el (newsticker-treeview-face)
5820 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5821 (newsticker-treeview-immortal-face)
5822 (newsticker-treeview-obsolete-face)
5823 (newsticker-treeview-selection-face):
5824 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5825 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5826 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5827 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5828 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5829 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5830 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5831 (mpuz-text):
5832 * progmodes/vera-mode.el (vera-font-lock-number)
5833 (vera-font-lock-function, vera-font-lock-interface):
5834 * textmodes/table.el (table-cell): Use new-style face specs, and
5835 don't use the old :bold and :italic attributes.
5836
5837 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5838 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5839 (ebrowse-member-class, ebrowse-progress): Likewise.
5840 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5841 (ebrowse-file-name-face, ebrowse-default-face)
5842 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5843 (ebrowse-progress-face): Remove obsolete faces.
5844
5845 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5846 Inherit from error and warning faces respectively.
5847
5848 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5849 Likewise.
5850 (flyspell-incorrect-face, flyspell-duplicate-face):
5851 Remove obsolete aliases.
5852
5853 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5854
5855 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5856 Avoid infloop.
5857
5858 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * startup.el (argv, argi): Make lexically scoped.
5861 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5862 * emacs-lisp/cl-macs.el: Use lexical-binding.
5863 Rename cl-bind-* to cl--bind-*.
5864 * files.el: Don't require `cl' since it doesn't use it.
5865 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5866
5867 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5868
5869 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5870 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5871 instead of calling external sort utility.
5872 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5873
5874 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5875
5876 * descr-text.el (describe-char): Mention how to insert the
5877 character, if the current input method doesn't support it.
5878 See the discussion in this thread for the details:
5879 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5880
5881 2012-06-08 Sam Steingold <sds@gnu.org>
5882
5883 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5884 XF86Back to previous-buffer.
5885 (minibuffer-local-map): Bind them to next-history-element and
5886 previous-history-element respectively.
5887 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5888 help-go-back respectively.
5889 * info.el (Info-mode-map): Bind them to Info-history-forward and
5890 Info-history-back respectively.
5891 These are the keys next to Up on the ThinkPad keyboard.
5892
5893 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5896 * emacs-lisp/cl-macs.el: Provide itself.
5897 (cl--labels-convert-cache): New var.
5898 (cl--labels-convert): New function.
5899 (cl-flet, cl-labels): New implementation with new semantics, relying on
5900 lexical-binding.
5901 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5902 (cl-closure-vars, cl--function-convert-cache)
5903 (cl--function-convert): Move from cl-macs.el.
5904 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5905 rename by removing the "cl-" prefix.
5906 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5907
5908 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5909
5910 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5911 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5912 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5913 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5914 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5915 (cl-hash-table-count): Add old compatibility aliases.
5916
5917 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5918 Use macroexpand-all-environment instead.
5919 (cl--old-macroexpand): New var.
5920 (cl--sm-macroexpand): New function.
5921 (cl-symbol-macrolet): Use it during macro expansion.
5922 (cl--function-convert-cache): New var.
5923 (cl--function-convert): New function, extracted from
5924 cl-macroexpand-all.
5925 (cl-lexical-let): Use it.
5926
5927 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5928 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5929 (cl-member): Remove old alias.
5930
5931 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5932 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5933 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5934 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5935 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5936 (cl-macroexpand-cmacs): Remove var.
5937 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5938 Use macroexpand-all instead.
5939
5940 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5941
5942 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5943 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5944 (macroexp-copyable-p): New functions and macros.
5945 * emacs-lisp/edebug.el (edebug-unwrap):
5946 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5947 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5948 (pcase--let*): Remove.
5949 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5950 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5951 macroexp-const-p instead.
5952 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5953
5954 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5955 instead of "cl-" for internal definitions. Use macroexp-const-p.
5956 (cl-old-bc-file-form): Remove var.
5957 (cl-const-exprs-p): Remove fun.
5958 (cl-labels, cl-macrolet): Use backquote.
5959 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5960 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5961 (cl-define-setf-expander): Rename from cl-define-setf-method.
5962 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5963
5964 * international/mule-cmds.el: Don't require CL.
5965 (view-hello-file): Don't use `letf'.
5966
5967 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * tmm.el (tmm-prompt): Use string-prefix-p.
5970 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5971 (tmm-add-prompt): Use minibuffer-completion-help.
5972 (tmm-delete-map): Remove.
5973
5974 * subr.el (kbd): Make it its own function.
5975
5976 2012-06-07 Stefan Merten <smerten@oekonux.de>
5977
5978 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5979 Silence compiler warnings. Fix versions.
5980 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5981 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5982 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5983 (rst-package-emacs-version-alist): Correct Emacs version to
5984 represent major merge with upstream.
5985 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5986
5987 2012-06-06 Glenn Morris <rgm@gnu.org>
5988
5989 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5990 Only print environment variables if set.
5991
5992 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5995 (macroexp--cons): Rename from maybe-cons.
5996 (macroexp--accumulate): Rename from macroexp-accumulate.
5997 (macroexp--all-forms): Rename from macroexpand-all-forms.
5998 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5999 (macroexp--expand-all): Rename from macroexpand-all-1.
6000
6001 2012-06-06 Sam Steingold <sds@gnu.org>
6002
6003 * calendar/calendar.el (calendar-in-read-only-buffer):
6004 Call `special-mode' to enable the standard read-only keybindings.
6005
6006 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6009 with "loading" messages (bug#11635).
6010
6011 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6012
6013 * files.el (enable-remote-dir-locals): New option.
6014 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6015
6016 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6017 Ensure, that the temp directory is local.
6018
6019 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6020 `temporary-file-directory'.
6021
6022 * progmodes/python.el (python-send-region): Ensure, that the
6023 temporary file is created also in the remote case.
6024
6025 2012-06-06 Glenn Morris <rgm@gnu.org>
6026
6027 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6028 (vc-rcs-update-changelog): Use it.
6029
6030 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6031
6032 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6033 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6034 (vc-sccs-diff): Replace use of the external vcdiff script.
6035
6036 2012-06-05 Glenn Morris <rgm@gnu.org>
6037
6038 * ledit.el: Move to obsolete/.
6039
6040 2012-06-05 Sam Steingold <sds@gnu.org>
6041
6042 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6043 patch (Bug#11140).
6044
6045 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6046
6047 * emacs-lisp/cust-print.el: Move to obsolete.
6048
6049 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6050 compiler-macro expansion.
6051
6052 Add native compiler-macro support.
6053 * emacs-lisp/macroexp.el (macroexpand-all-1):
6054 Support compiler-macros directly. Properly follow aliases and apply
6055 the compiler macros more thoroughly.
6056 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6057 macroexpand now properly follows aliases.
6058 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6059 (cl-compiler-macroexpand): Use new prop.
6060 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6061
6062 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6063
6064 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6065
6066 * window.el (get-lru-window, get-mru-window, get-largest-window):
6067 New argument NOT-SELECTED to avoid picking the selected window.
6068 (window--display-buffer-1, window--display-buffer-2): Replace by
6069 new function window--display-buffer
6070 (display-buffer-same-window, display-buffer-reuse-window)
6071 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6072 Use window--display-buffer.
6073 (display-buffer-use-some-window): Remove temporary dedication
6074 hack by calling get-lru-window and get-largest-window with
6075 NOT-SELECTED argument non-nil. Call window--display-buffer.
6076
6077 2012-06-05 Glenn Morris <rgm@gnu.org>
6078
6079 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6080 Replace external vcdiff script.
6081
6082 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6083
6084 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6085
6086 2012-06-04 Chong Yidong <cyd@gnu.org>
6087
6088 * image.el (imagemagick-types-inhibit): Revert last change.
6089 Add INFO and M.
6090 (imagemagick-enabled-types): Remove CIN and EPS*.
6091
6092 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 * emacs-lisp/cl-lib.el: Rename from cl.el.
6095 * emacs-lisp/cl.el: New compatibility file.
6096 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6097 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6098 to obey the "cl-" prefix.
6099 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6100
6101 2012-06-03 Glenn Morris <rgm@gnu.org>
6102
6103 * emacs-lisp/authors.el (authors-aliases): Addition.
6104
6105 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6106 Fix :version.
6107
6108 2012-06-03 Stefan Merten <smerten@oekonux.de>
6109
6110 * textmodes/rst.el: Add comments.
6111 (rst-transition, rst-adornment): New faces.
6112 (rst-adornment-faces-alist): Make default safe to reevaluate.
6113 Fixes
6114 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6115 Improve customization tags.
6116 (rst-define-level-faces): Clarify meaning.
6117
6118 2012-06-03 Chong Yidong <cyd@gnu.org>
6119
6120 * progmodes/compile.el (compilation-mode-line-fail)
6121 (compilation-mode-line-run, compilation-mode-line-exit):
6122 New faces.
6123 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6124
6125 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6126
6127 * progmodes/which-func.el (which-func-update-ediff-windows):
6128 New function. Use it in ediff-select-hook (Bug#11478).
6129
6130 2012-06-03 Chong Yidong <cyd@gnu.org>
6131
6132 * bindings.el: Remove explicit help text from format-mode-line.
6133 It is now supplied by mode-line-default-help-echo.
6134 (mode-line-front-space, mode-line-end-spaces)
6135 (mode-line-misc-info): New variables.
6136 (mode-line-modes, mode-line-position): Move the default value to
6137 the variable definition.
6138 (mode-line-default-help-echo): New defcustom.
6139 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6140 (mode-line-modified-help-echo): New functions.
6141 (mode-line-mule-info, mode-line-modified): Use them.
6142 (mode-line-eol-desc, propertized-buffer-identification):
6143 Consistency fixes for help text.
6144 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6145 set-buffer-file-coding-system (Bug#289).
6146 (mode-line-mule-info-help-echo): Update help text.
6147
6148 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 * simple.el (execute-extended-command): Set real-this-command
6151 (bug#11506).
6152
6153 2012-06-02 Chong Yidong <cyd@gnu.org>
6154
6155 Remove incorrect uses of "modeline" in comments, docstrings, and
6156 function/variable names (Bug#10329).
6157
6158 * cus-edit.el (mode-line):
6159 * dframe.el (dframe-mouse-hscroll):
6160 * emacs-lisp/re-builder.el:
6161 * emacs-lisp/easy-mmode.el (define-minor-mode):
6162 * frame.el (set-frame-name):
6163 * help.el (lookup-minor-mode-from-indicator):
6164 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6165 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6166 (c-toggle-hungry-state):
6167 * progmodes/antlr-mode.el (antlr-language-alist):
6168 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6169 * progmodes/vhdl-mode.el (vhdl-mode):
6170 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6171 * term/ns-win.el (ns-face-at-pos):
6172 * term/sup-mouse.el (sup-mouse-report):
6173 * textmodes/flyspell.el (flyspell-mode-line-string):
6174 * textmodes/ispell.el (ispell-highlight-face):
6175 * textmodes/reftex-global.el:
6176 * vc/vc-arch.el (vc-arch-mode-line-string):
6177 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6178 * vc/vc-git.el (vc-git-mode-line-string):
6179 * vc/vc-hooks.el (vc-display-status)
6180 (vc-default-mode-line-string):
6181 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6182
6183 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6184
6185 * dired.el (dired-sort-set-mode-line): Rename from
6186 dired-sort-set-modeline. All callers changed.
6187
6188 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6189 eshell-status-in-modeline.
6190
6191 * foldout.el (foldout-mode-line-string): Rename from
6192 foldout-modeline-string. All callers changed.
6193 (foldout-update-mode-line): Rename from foldout-update-modeline.
6194
6195 * subr.el (redraw-modeline): Make into obsolete alias.
6196
6197 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6198 timeclock-modeline-display. Make old name an alias.
6199 (timeclock-update-mode-line): Likewise. All callers changed.
6200 (timeclock-mode-line-display): No need to check before using
6201 add-hook.
6202 (timeclock-relative, timeclock-day-over-hook)
6203 (timeclock-use-elapsed, timeclock-mode-string)
6204 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6205
6206 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6207 crisp-mode-modeline-string.
6208
6209 * play/solitaire.el (solitaire-build-mode-line): Rename from
6210 solitaire-build-modeline. All callers changed.
6211
6212 * play/zone.el (zone-hiding-mode-line): Rename from
6213 zone-hiding-modeline. All callers changed.
6214 (zone): Remove unusued `modeline-hidden-level' property.
6215
6216 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6217 xscheme-modeline-initialize. All callers changed.
6218
6219 * strokes.el (strokes-lighter): Rename from
6220 strokes-modeline-string.
6221
6222 * textmodes/sgml-mode.el (html-face-tag-alist)
6223 (html-tag-face-alist): Use mode-line face instead of obsolete
6224 alias modeline.
6225
6226 2012-06-02 Stefan Merten <smerten@oekonux.de>
6227
6228 * textmodes/rst.el: Always require `cl'.
6229 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6230
6231 2012-06-02 Chong Yidong <cyd@gnu.org>
6232
6233 * image.el (imagemagick-enabled-types): Rename from
6234 imagemagick-types-enable. Add many more types.
6235 (imagemagick-types-inhibit): Change default to nil.
6236 (imagemagick-filter-types): Caller changed.
6237
6238 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6239
6240 * emacs-lisp/cl-macs.el: Use backquotes.
6241 (cl-transform-function-property): Use eval-and-compile rather than
6242 abusing `require'.
6243 (defstruct): Use declare-function instead of with-no-warnings.
6244
6245 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6246 (byte-compile-output-docform): Re-add the print-circle bindings.
6247 (byte-compile-fix-header): Use #$ just because it's shorter.
6248 (byte-compile-output-file-form): Remove defun/defmacro.
6249
6250 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6251
6252 * simple.el (choose-completion): Remove now obsolete binding for
6253 owindow.
6254
6255 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6256
6257 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6258 in order to avoid "Stack overflow in regexp matcher".
6259
6260 2012-05-31 Glenn Morris <rgm@gnu.org>
6261
6262 * image.el: For clarity, call imagemagick-register-types at
6263 top-level, rather than relying on a custom :initialize.
6264 (imagemagick-types-enable): New option. (Bug#11557)
6265 (imagemagick-filter-types): New function. (Bug#7406)
6266 (imagemagick-register-types): Use imagemagick-filter-types.
6267 If disabling support, remove elements altogether rather
6268 than using an impossible regexp.
6269 (imagemagick-types-inhibit): Give it the default init function.
6270
6271 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6274 Handle arbitrary file name lengths (Bug#11585).
6275
6276 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6277
6278 * desktop.el (desktop-read): Clear previous and next buffers for
6279 all windows and bury *Messages* buffer (bug#11556).
6280
6281 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 Add `declare' for `defun'. Align `defmacro's with it.
6284 * emacs-lisp/easy-mmode.el (define-minor-mode)
6285 (define-globalized-minor-mode): Don't autoload the var definitions.
6286 * emacs-lisp/byte-run.el: Use lexical-binding.
6287 (defun-declarations-alist, macro-declarations-alist): New vars.
6288 (defmacro, defun): Use them.
6289 (make-obsolete, define-obsolete-function-alias)
6290 (make-obsolete-variable, define-obsolete-variable-alias):
6291 Use `declare'.
6292 (macro-declaration-function): Mark obsolete.
6293 * emacs-lisp/autoload.el: Use lexical-binding.
6294 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6295
6296 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6297
6298 * textmodes/ispell.el (ispell-with-no-warnings):
6299 Define as a macro.
6300 (ispell-kill-ispell, ispell-change-dictionary):
6301 Use `called-interactively-p' for Emacs instead of obsolete
6302 `interactive-p'.
6303
6304 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6307 (macro-declaration-function): Move var from C code.
6308 (macro-declaration-function): Define function with defalias.
6309 * emacs-lisp/macroexp.el (macroexpand-all-1):
6310 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6311 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6312 defun/defmacro any more.
6313 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6314 Provide fallback for unknown arglist.
6315 (byte-compile-arglist-warn): Change calling convention.
6316 (byte-compile-output-file-form): Move print-vars binding.
6317 (byte-compile-output-docform): Simplify accordingly.
6318 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6319 (byte-compile-defmacro-declaration): Remove.
6320 (byte-compile-file-form-defmumble): Generalize to defalias.
6321 (byte-compile-output-as-comment): Return byte-positions.
6322 Simplify callers accordingly.
6323 (byte-compile-lambda): Use `assert'.
6324 (byte-compile-defun, byte-compile-defmacro): Remove.
6325 (byte-compile-file-form-defalias):
6326 Use byte-compile-file-form-defmumble.
6327 (byte-compile-defalias-warn): Remove.
6328
6329 2012-05-29 Stefan Merten <smerten@oekonux.de>
6330
6331 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6332 possible. Fix authors. Improve comments. Improve loading of `cl'.
6333
6334 (rst-mode-abbrev-table): Merge definition.
6335 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6336 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6337
6338 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6339
6340 * calendar/icalendar.el
6341 (icalendar-export-region): Export UID properly.
6342
6343 2012-05-29 Leo Liu <sdl.web@gmail.com>
6344 * calendar/icalendar.el (icalendar-import-format):
6345 Add `icalendar-import-format-uid' (Bug#11525).
6346 (icalendar-import-format-uid): New.
6347 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6348 Export UID.
6349
6350 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6353 different alternative patterns.
6354 (pcase-codegen): Be more careful to preserve identity.
6355 (pcase--u1): Don't forget to mark vars as used.
6356
6357 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6358 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6359 (byte-compile-from-buffer): ...rather than here.
6360
6361 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6362 functions from byte-compile-function-environment.
6363
6364 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6365
6366 * window.el (window-deletable-p): Avoid deleting the root window
6367 of a frame with an active minibuffer.
6368
6369 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6370
6371 * simple.el (choose-completion): Use quit-window (Bug#11567).
6372
6373 2012-05-29 Chong Yidong <cyd@gnu.org>
6374
6375 * whitespace.el (whitespace-cleanup): Fix usage of
6376 whitespace-empty-at-bob-regexp (Bug#11492).
6377
6378 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6379
6380 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6381 revert (Bug#11488).
6382
6383 2012-05-29 Juri Linkov <juri@jurta.org>
6384
6385 * isearch.el (isearch-mode-map): Bind `M-s _' to
6386 `isearch-toggle-symbol'. Bind `M-s c' to
6387 `isearch-toggle-case-fold'.
6388 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6389 (isearch-forward): Add `M-s _' to the docstring.
6390 (isearch-forward-symbol, isearch-toggle-case-fold)
6391 (isearch-symbol-regexp): New functions. (Bug#11381)
6392
6393 2012-05-29 Juri Linkov <juri@jurta.org>
6394
6395 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6396 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6397 a function, call it to get the regexp.
6398 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6399 property `isearch-message-prefix' instead of the string "word ".
6400 (isearch-search-fun-default): For the case of `isearch-word',
6401 return a lambda that calls re-search-forward/re-search-backward
6402 with a regexp returned by `word-search-regexp' or by the function
6403 in `isearch-word'.
6404
6405 2012-05-29 Juri Linkov <juri@jurta.org>
6406
6407 * isearch.el (isearch-search-fun-default): New function.
6408 (isearch-search-fun): Move default part to the new function
6409 `isearch-search-fun-default'.
6410 (isearch-search-fun-function): Set the default value to
6411 `isearch-search-fun-default'. (Bug#11381)
6412
6413 * comint.el (comint-history-isearch-end):
6414 Use `isearch-search-fun-default'.
6415 (comint-history-isearch-search): Use `isearch-search-fun-default'
6416 and remove spacial case for `isearch-word'.
6417 (comint-history-isearch-wrap): Remove spacial case for
6418 `isearch-word'.
6419
6420 * hexl.el (hexl-isearch-search-function):
6421 Use `isearch-search-fun-default'.
6422
6423 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6424 Use `word-search-regexp' for `isearch-word'.
6425
6426 * misearch.el (multi-isearch-search-fun):
6427 Use `isearch-search-fun-default'.
6428
6429 * simple.el (minibuffer-history-isearch-search):
6430 Use `isearch-search-fun-default' and remove spacial case for
6431 `isearch-word'.
6432 (minibuffer-history-isearch-wrap): Remove spacial case for
6433 `isearch-word'.
6434
6435 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6436 Remove spacial case for `isearch-word'.
6437 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6438
6439 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6440
6441 Decrease XEmacs incompatibilities.
6442 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6443 Use `string-match'.
6444 (flyspell-delete-region-overlays): Use alternative definition for
6445 XEmacs.
6446 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6447 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6448 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6449 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6450 `define-obsolete-face-alias' under XEmacs, but old method.
6451
6452 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6453 `with-no-warnings' definition or Emacs alias.
6454 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6455 (ispell-word): Do not use `region-p' if XEmacs.
6456
6457 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6458
6459 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6460 Check for `ispell-dictionary-base-alist' instead of full
6461 `ispell-dictionary-alist'.
6462 (ispell-init-process): Show spellchecker when starting new Ispell
6463 process.
6464
6465 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6468 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6469
6470 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6471
6472 * version.el (motif-version-string, gtk-version-string)
6473 (ns-version-string): Declare.
6474
6475 2012-05-27 Juri Linkov <juri@jurta.org>
6476
6477 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6478 after the `eval-defun-1' specialcaseing
6479 like in `edebug-eval-defun' (bug#10181).
6480
6481 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6482 like in `eval-defun-1'.
6483
6484 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6485
6486 * mail/sendmail.el (mail-yank-region):
6487 Recognize rmail-yank-current-message in addition to insert-buffer.
6488 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6489 a *mail* buffer created through rmail-start-mail with sendmail as
6490 mail-user-agent.
6491
6492 2012-05-27 Chong Yidong <cyd@gnu.org>
6493
6494 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6495 Default to 256 (Bug#11267).
6496
6497 * help.el (describe-mode): Doc fix.
6498
6499 2012-05-26 Glenn Morris <rgm@gnu.org>
6500
6501 * w32-fns.el (w32-init-info): Remove.
6502 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6503
6504 * info.el (info-initialize): For self-contained NS builds, put the
6505 included info/ directory at the front. (Bug#2791)
6506
6507 * paths.el (Info-default-directory-list): Make it a defcustom,
6508 mainly so that we can use custom-initialize-delay.
6509
6510 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 * subr.el (buffer-has-markers-at): Mark obsolete.
6513
6514 * subr.el (lambda): Use declare.
6515
6516 * emacs-lisp/lisp-mode.el (lambda):
6517 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6518
6519 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6520
6521 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6522
6523 2012-05-26 Glenn Morris <rgm@gnu.org>
6524
6525 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6526
6527 2012-05-25 Glenn Morris <rgm@gnu.org>
6528
6529 * paths.el: Remove no-byte-compile.
6530 * loadup.el: No need to load paths.el uncompiled.
6531
6532 * image.el (imagemagick-types-inhibit): Doc fix.
6533
6534 * version.el: Remove no-byte-compile and associated formatting.
6535 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6536 is ancient code from when there was an "inc-vers.el".
6537
6538 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * progmodes/gdb-mi.el: Minor style changes.
6541 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6542 Turn into minor modes.
6543 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6544 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6545 (gdb-shell): Remove unneeded let-binding.
6546 (gdb-get-many-fields): Eliminate O(n²) behavior.
6547
6548 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6549
6550 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6551 platforms that don't link in fontset.c.
6552
6553 2012-05-25 Juri Linkov <juri@jurta.org>
6554
6555 Use the same diff color scheme as in modern VCSes (bug#10181).
6556
6557 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6558 to avoid confusion with `diff-added' that now uses green colors.
6559 (diff-removed): Use shades of red.
6560 (diff-added): Use shades of green.
6561 (diff-changed): Leave just the yellow color.
6562 (diff-use-changed-face): New variable.
6563 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6564 how to highlight context diff changes.
6565 (diff-refine-change): Use shades of yellow.
6566 (diff-refine-removed): New face that uses shades of red.
6567 (diff-refine-added): New face that uses shades of green.
6568 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6569 `diff-refine-removed' in the call to `smerge-refine-subst'
6570 depending on the value of `diff-use-changed-face'.
6571
6572 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6573 (smerge-other): Use shades of green.
6574 (smerge-base): Use shades of yellow.
6575 (smerge-refined-change): Empty face.
6576 (smerge-refined-removed): New face that uses shades of red.
6577 (smerge-refined-added): New face that uses shades of green.
6578 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6579 args `props-r' and `props-a', and use them. Doc fix.
6580 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6581 on its value use different faces `smerge-refined-change',
6582 `smerge-refined-removed', `smerge-refined-added' in the call to
6583 `smerge-refine-subst'.
6584
6585 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6586 Add face condition `min-colors 88' with shades of red.
6587 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6588 `min-colors 88' with shades of green.
6589 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6590 `min-colors 88' with shades of yellow.
6591
6592 2012-05-24 Glenn Morris <rgm@gnu.org>
6593
6594 * paths.el (prune-directory-list, remote-shell-program): Move to...
6595 * files.el (prune-directory-list, remote-shell-program): ...here.
6596 For the latter, delay initialization, prefer ssh, just search PATH.
6597
6598 * paths.el (term-file-prefix): Move to faces.el (the only user).
6599 * faces.el (term-file-prefix): Move here, make it a defcustom.
6600
6601 * paths.el (news-directory, news-path, news-inews-program):
6602 Move to gnus/nnspool.el.
6603
6604 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6605
6606 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6607 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6608 Make the latter a defcustom, with a delayed initialization.
6609
6610 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6611 These were deleted from Gnus itself late 2010.
6612
6613 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6614
6615 * progmodes/which-func.el (which-func-ff-hook):
6616 Check against user-error, not error.
6617
6618 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6619 cl-specs.el, which no longer exists.
6620
6621 2012-05-22 Glenn Morris <rgm@gnu.org>
6622
6623 * info.el (info-emacs-bug): New command.
6624 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6625 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6626
6627 2012-05-21 Glenn Morris <rgm@gnu.org>
6628
6629 * makefile.w32-in (update-subdirs-SH):
6630 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6631
6632 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6635
6636 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6637 Simplify Maven regexp, and make sure the file can't start with a space
6638 (bug#11517).
6639
6640 2012-05-21 Glenn Morris <rgm@gnu.org>
6641
6642 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6643 Scrap superfluous subshells.
6644
6645 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6648 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6649
6650 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6651
6652 * calc/calc.el (calc-ensure-consistent-units): New variable.
6653
6654 * calc/calc-units.el (math-consistent-units-p)
6655 (math-check-unit-consistency): New functions.
6656 (calc-quick-units, calc-convert-units):
6657 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6658 is non-nil.
6659 (calc-extract-units): Fix typo.
6660
6661 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6662
6663 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6664
6665 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6666 (flyspell-default-deplacement-commands): Don't spell check after
6667 repeated window/frame switches (e.g. triggered by mouse-movement).
6668 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6669 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6670 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6671 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6672 Remove unused vars.
6673 (flyspell-get-casechars, flyspell-get-not-casechars):
6674 Simplify; Don't bother removing a ] just to add it back.
6675 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6676
6677 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6678
6679 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6680 New functions.
6681 (math-function-table): Add support for more C functions.
6682
6683 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6684
6685 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6686 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6687 Protect delay handling for otherchars against empty otherchars.
6688
6689 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6690
6691 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6692 their respective macro declarations.
6693 * skeleton.el (define-skeleton):
6694 * progmodes/compile.el (define-compilation-mode):
6695 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6696 (define-ibuffer-filter):
6697 * emacs-lisp/generic.el (define-generic-mode):
6698 * emacs-lisp/easy-mmode.el (define-minor-mode)
6699 (define-globalized-minor-mode):
6700 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6701 * emacs-lisp/byte-run.el (defsubst):
6702 * custom.el (deftheme): Add doc-string metadata.
6703
6704 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6705
6706 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6707
6708 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6709
6710 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6711
6712 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6713 * emacs-lisp/cl-macs.el: Idem.
6714 * emacs-lisp/cl-specs.el: Remove.
6715
6716 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6717
6718 Minor renaming of internal CL functions and variables.
6719 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6720 (cl--position): Rename from cl-position.
6721 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6722 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6723 (cl--random-state): Rename from *random-state*.
6724
6725 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6726
6727 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6728 parens around the arg list (bug#11499).
6729
6730 2012-05-17 Juri Linkov <juri@jurta.org>
6731
6732 * isearch.el (word-search-regexp, word-search-backward)
6733 (word-search-forward, word-search-backward-lax)
6734 (word-search-forward-lax): Move functions from search.c
6735 (bug#10145, bug#11381).
6736
6737 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6738
6739 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6740 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6741 Delay for otherchars as for normal word components.
6742
6743 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6744
6745 * minibuffer.el (completion--sifn-requote): Fix last change.
6746 (minibuffer-local-must-match-filename-map):
6747 Move define-obsolete-variable-alias before its var.
6748
6749 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6752
6753 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6754 behavior.
6755 (completion--string-equal-p): New function.
6756 (completion--twq-all): Use it to get better assertion failure data.
6757
6758 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6759 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6760 (shell--requote-argument): New functions.
6761 (shell-completion-vars): Use them.
6762 (shell--parse-pcomplete-arguments): Rename from
6763 shell-parse-pcomplete-arguments.
6764 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6765 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6766 Obey comint-file-name-quote-list.
6767
6768 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6769 (smie-indent-keyword): Use it.
6770
6771 2012-05-14 Stefan Merten <smerten@oekonux.de>
6772
6773 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6774
6775 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * net/rlogin.el (rlogin-mode-map): Fix last change.
6778
6779 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6780
6781 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6782 the following \r\n using a single `process-send-string', since the
6783 Lotus SMTP server refuses to accept any commands if they are sent
6784 with two `process-send-string's (Bug#11444).
6785
6786 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6787
6788 * shell.el (shell-parse-pcomplete-arguments):
6789 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6790
6791 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6792
6793 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6794 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6795 (image-transform-width, image-transform-fit-width): New functions.
6796 (image-transform-properties): Use them.
6797 (image-transform-check-size): New function.
6798 (image-toggle-display-image): Use it (for testing).
6799 (image-transform-set-rotation): Reduce angle mod 360.
6800 Delete obsolete comment.
6801
6802 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6803
6804 * image-mode.el: Fix scaling (bug#11399).
6805 (image-transform-resize): Doc fix.
6806 (image-transform-properties): Default scale is 1 and height should
6807 be an integer.
6808
6809 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6810
6811 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6812 than hard-coding `car', to fix misbehavior when moving forward.
6813
6814 2012-05-13 Chong Yidong <cyd@gnu.org>
6815
6816 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6817 (tabulated-list-entries, tabulated-list-padding)
6818 (tabulated-list-sort-key): Make permanent-local.
6819
6820 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6821 (electric-buffer-list): Put electric buffer menu
6822 command descriptions in this docstring, instead of the docstring
6823 of electric-buffer-menu-mode. Code cleanups.
6824 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6825 Electric-buffer-menu-mode.
6826 (electric-buffer-update-highlight): Minor code cleanup.
6827
6828 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6829
6830 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6831 (Bug#11447)
6832
6833 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6834
6835 Move define-obsolete-variable-alias before the var's definition.
6836 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6837 * tooltip.el (tooltip-hook):
6838 * textmodes/reftex-toc.el (reftex-toc-map):
6839 * textmodes/reftex-sel.el (reftex-select-label-map)
6840 (reftex-select-bib-map):
6841 * textmodes/reftex-index.el (reftex-index-map)
6842 (reftex-index-phrases-map):
6843 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6844 * progmodes/meta-mode.el (meta-mode-map):
6845 * novice.el (disabled-command-hook):
6846 * loadhist.el (unload-hook-features-list):
6847 * frame.el (blink-cursor):
6848 * files.el (find-file-not-found-hooks, write-file-hooks)
6849 (write-contents-hooks):
6850 * emulation/tpu-edt.el (GOLD-map):
6851 * emacs-lock.el (emacs-lock-from-exiting):
6852 * emacs-lisp/generic.el (generic-font-lock-defaults):
6853 * emacs-lisp/chart.el (chart-map):
6854 * dos-fns.el (register-name-alist):
6855 * dired-x.el (dired-omit-files-p):
6856 * desktop.el (desktop-enable):
6857 * cus-edit.el (custom-mode-hook):
6858 * buff-menu.el (buffer-menu-mode-hook):
6859 * bookmark.el (bookmark-read-annotation-text-func)
6860 (bookmark-exit-hooks):
6861 * allout.el (allout-mode-deactivate-hook)
6862 (allout-exposure-change-hook, allout-structure-added-hook)
6863 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6864 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6865 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6866 comes before the corresponding variable's definition.
6867
6868 2012-05-12 Chong Yidong <cyd@gnu.org>
6869
6870 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6871 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6872 (Buffer-menu-mode-map): Bind it.
6873 (Buffer-menu--pretty-name): Add a mouse-face property.
6874
6875 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6878 (prolog-upper-case-string, prolog-lower-case-string)
6879 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6880 (prolog-use-smie, prolog-smie-grammar): New vars.
6881 (prolog-smie-forward-token, prolog-smie-backward-token)
6882 (prolog-smie-rules): New funs.
6883 (prolog-comment-indent): Remove.
6884 (prolog-mode-variables): Use default comment indentation instead.
6885 Setup SMIE.
6886 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6887 (prolog-mode): Don't call them any more.
6888 (prolog-electric-colon, prolog-electric-dash)
6889 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6890
6891 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6892
6893 * minibuffer.el (completion--twq-all): Again, allow case differences.
6894
6895 * term.el: Move keymap initialization code to be more idiomatic.
6896 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6897 (term-terminal-menu): Move initialization into declaration.
6898 (term-escape-char): Let the user set it in her .emacs.
6899
6900 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6901 Provide SMIE-based indentation (not enabled by default yet).
6902 (sh-mode-map): Don't bind electric keys.
6903 Use electric-pair-mode instead of skeleton-pair.
6904 (sh-assignment-regexp): Fit within 80 columns.
6905 (sh-indent-supported): Specify actual shell name instead of boolean.
6906 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6907 (sh-maybe-here-document): Use it. Make obsolete.
6908 (sh-electric-here-document-mode) New minor mode.
6909 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6910 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6911 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6912 (sh-smie-rc-grammar, sh-use-smie): New vars.
6913 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6914 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6915 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6916 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6917 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6918 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6919 (sh-set-shell): Use smie-setup if requested.
6920
6921 * term.el (term-set-escape-char): Properly set term-escape-char.
6922 See http://stackoverflow.com/questions/10524656.
6923
6924 2012-05-10 Chong Yidong <cyd@gnu.org>
6925
6926 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6927 Use url-generic-parse-url, and handle host names and Windows
6928 filenames properly.
6929 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6930 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6931 URL schemes to work on.
6932 (ffap--toggle-read-only): New function.
6933 (ffap-read-only, ffap-read-only-other-window)
6934 (ffap-read-only-other-frame): Use it.
6935 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6936 necessary for ffap-url-unwrap-remote.
6937
6938 2012-05-10 Dave Abrahams <dave@boostpro.com>
6939
6940 * cus-start.el (create-lockfiles): Add it.
6941
6942 2012-05-09 Chong Yidong <cyd@gnu.org>
6943
6944 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6945 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6946
6947 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6948
6949 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6950
6951 2012-05-09 Chong Yidong <cyd@gnu.org>
6952
6953 * ansi-color.el (ansi-color-process-output): Check for validity of
6954 comint-last-output-start before using it. This avoids a bad
6955 interaction with gdb-mi's input/output buffer.
6956
6957 2012-05-09 Glenn Morris <rgm@gnu.org>
6958
6959 * files.el (dir-locals-read-from-file):
6960 Mention dir-locals in any error message.
6961
6962 2012-05-09 Chong Yidong <cyd@gnu.org>
6963
6964 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6965 package (Bug#11410).
6966
6967 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6968 variables into description.
6969
6970 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6973 shell-delimiter-argument-list (bug#11348).
6974 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6975
6976 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
6977
6978 * textmodes/rst.el: Silence byte-compiler warnings.
6979 (rst-re-alist, rst-reset-section-caches): Move around.
6980 (rst-re): Use `characterp', not `char-valid-p'.
6981 (font-lock-beg, font-lock-end): Declare.
6982
6983 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6984 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6985
6986 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6987
6988 2012-05-08 Glenn Morris <rgm@gnu.org>
6989
6990 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6991
6992 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6993
6994 * vc/log-edit.el: Add GNU coding standards highlighting.
6995 (log-edit-font-lock-gnu-style)
6996 (log-edit-font-lock-gnu-keywords): New vars.
6997 (log-edit-font-lock-keywords): New fun.
6998 (log-edit-mode): Don't fold case in font-lock.
6999 (log-edit-font-lock-keywords): Do not assume case-folding.
7000
7001 * imenu.el: Misc cleanup. Make docstrings out of comments.
7002 Use lexical-binding.
7003 (imenu--index-alist, imenu--last-menubar-index-alist)
7004 (imenu-menubar-modified-tick): Use defvar-local.
7005 (imenu--split-menu): Remove unused var.
7006 (imenu--cleanup-seen): Declare as global.
7007 (imenu--cleanup): Use dolist.
7008
7009 * subr.el (defvar-local): Add debug spec and doc-string position.
7010
7011 2012-05-08 Glenn Morris <rgm@gnu.org>
7012
7013 * language/burmese.el, language/cham.el, language/czech.el:
7014 * language/english.el, language/georgian.el, language/greek.el:
7015 * language/japanese.el, language/khmer.el, language/korean.el:
7016 * language/lao.el, language/misc-lang.el, language/romanian.el:
7017 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7018 * language/thai.el, language/utf-8-lang.el:
7019 Remove no-byte-compile setting.
7020
7021 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7022
7023 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7024
7025 * progmodes/make-mode.el (makefile-browse):
7026 Remove unnecessary interactive. (Bug#11324)
7027
7028 2012-05-07 Glenn Morris <rgm@gnu.org>
7029
7030 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7031
7032 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7033
7034 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * loadup.el: Preload newcomment.el.
7037 * newcomment.el: Move autoload-only code to toplevel.
7038
7039 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7040 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7041 Handle new :right-align column property.
7042 (tabulated-list-print-col): Idem, plus use `display' text-property to
7043 try and preserve alignment for variable pitch fonts.
7044
7045 2012-05-07 Chong Yidong <cyd@gnu.org>
7046
7047 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7048 (tabulated-list-use-header-line): New var.
7049 (tabulated-list-init-header): Use it.
7050 (tabulated-list-print-fake-header): New function.
7051 (tabulated-list-print): Use it.
7052 (tabulated-list-sort-button-map): Add non-header-line commands.
7053 (tabulated-list-init-header): Add column name property to basic
7054 labels as well.
7055 (tabulated-list-col-sort): Handle non-header-line button case.
7056 (tabulated-list--sort-by-column-name): Fix a corner case.
7057
7058 * buff-menu.el (list-buffers--refresh):
7059 Handle Buffer-menu-use-header-line.
7060
7061 2012-05-06 Chong Yidong <cyd@gnu.org>
7062
7063 * buff-menu.el: Convert to Tabulated List mode.
7064 (Buffer-menu-buffer+size-width): Make obsolete.
7065 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7066 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7067 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7068 documentation into docstring of buffer-menu.
7069 (Buffer-menu-toggle-files-only): Add an informative message.
7070 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7071 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7072 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7073 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7074 (Buffer-menu-execute, Buffer-menu-select)
7075 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7076 (Buffer-menu-bury): Use Tabulated List machinery.
7077 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7078 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7079 Delete.
7080 (list-buffers--refresh): New function.
7081 (list-buffers-noselect): Use it.
7082 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7083 (Buffer-menu--pretty-file-name): New helper functions.
7084
7085 * loadup.el: Preload tabulated-list.
7086
7087 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7088 tabulated-list-sort-column.
7089 (tabulated-list-init-header): Add the initial aligning space even
7090 if tabulated-list-padding is zero.
7091
7092 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7093
7094 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7095 whose cdr is not a cons cell correctly (bug#11038).
7096
7097 2012-05-06 Chong Yidong <cyd@gnu.org>
7098
7099 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7100 Accept additional plist in column descriptors.
7101 (tabulated-list-init-header): Obey it.
7102 (tabulated-list-get-entry): New function.
7103 (tabulated-list-put-tag): Use it. Use string-width instead of
7104 length.
7105 (tabulated-list--column-number): New function.
7106 (tabulated-list-print): Use it.
7107 (tabulated-list-print-col): New function.
7108 Set `tabulated-list-column-name' property on each column's text.
7109 (tabulated-list-print-entry): Use it.
7110 (tabulated-list-delete-entry, tabulated-list-set-col):
7111 New functions.
7112 (tabulated-list-sort-column): New command (Bug#11337).
7113
7114 * buff-menu.el (list-buffers): Move C-x C-b binding from
7115 buff-menu.el to bindings.el.
7116
7117 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7118 :advertised-binding feature.
7119
7120 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7121
7122 * progmodes/compile.el (compilation-internal-error-properties):
7123 Calculate start position correctly when end-col is set but
7124 end-line is not (Bug#11382).
7125
7126 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7127
7128 * man.el (Man-unindent): Use text-property-default-nonsticky to
7129 prevent untabify from inheriting face properties (Bug#11408).
7130
7131 2012-05-05 Stefan Merten <smerten@oekonux.de>
7132
7133 * textmodes/rst.el: Major merge with upstream development up to
7134 Docutils SVN r7399 / rst.el V1.2.1.
7135
7136 Clarify maintainership and authors.
7137
7138 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7139 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7140 (rst-official-version, rst-official-cvs-rev, rst-version)
7141 (rst-package-emacs-version-alist): New functions and variables
7142 for version information.
7143
7144 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7145 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7146 (rst-mode-syntax-table, rst-mode): New and corrected functions
7147 and variables representing reStructuredText features.
7148
7149 (rst-re): New function for reStructuredText regexes. Use in
7150 many places.
7151
7152 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7153 (rst-mode-map): Rebind keys.
7154
7155 (rst-mode-lazy, rst-font-lock-keywords)
7156 (rst-font-lock-extend-region)
7157 (rst-font-lock-extend-region-internal)
7158 (rst-font-lock-extend-region-extend)
7159 (rst-font-lock-find-unindented-line-limit)
7160 (rst-font-lock-find-unindented-line-match)
7161 (rst-adornment-level, rst-font-lock-adornment-level)
7162 (rst-font-lock-adornment-match)
7163 (rst-font-lock-handle-adornment-pre-match-form)
7164 (rst-font-lock-handle-adornment-matcher): Major revision of
7165 font-locking. Integrate with other code. Use `jit-lock-mode'.
7166
7167 (rst-preferred-adornments, rst-adjust-hook)
7168 (rst-new-adornment-down, rst-preferred-bullets)
7169 (rst-preferred-bullets, rst-indent, rst-indent-width)
7170 (rst-indent-field, rst-indent-literal-normal)
7171 (rst-indent-literal-minimized, rst-indent-comment): Change,
7172 extend and improve customization.
7173
7174 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7175 (rst-normalize-cursor-position, rst-get-decoration)
7176 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7177 (rst-rstrip, rst-toc-insert-find-delete-contents)
7178 (rst-shift-fill-region, rst-compute-bullet-tabs)
7179 (rst-debug-print-tabs, rst-debug-mark-found)
7180 (rst-shift-region-guts, rst-shift-region-right)
7181 (rst-shift-region-left, rst-use-char-classes)
7182 (rst-font-lock-keywords-function)
7183 (rst-font-lock-indentation-point)
7184 (rst-font-lock-find-unindented-line-begin)
7185 (rst-font-lock-find-unindented-line-end)
7186 (rst-font-lock-find-unindented-line)
7187 (rst-font-lock-adornment-point, rst-font-lock-level)
7188 (rst-adornment-level-alist): Remove functions and variables.
7189
7190 (rst-compare-adornments, rst-get-adornment-match)
7191 (rst-suggest-new-adornment, rst-get-adornments-around)
7192 (rst-adornment-complete-p, rst-get-next-adornment)
7193 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7194 (rst-straighten-adornments): Standardize function names to
7195 use "adornment" instead of "decoration". Correct callers.
7196 Similar standardizing in many places.
7197
7198 (rst-update-section, rst-adjust, rst-promote-region)
7199 (rst-enumerate-region, rst-bullet-list-region)
7200 (rst-repeat-last-character): Correct use of `interactive'.
7201
7202 (rst-classify-adornment, rst-find-all-adornments)
7203 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7204 (rst-find-leftmost-column, rst-repeat-last-character):
7205 Refactor functions.
7206
7207 (rst-find-title-line, rst-reset-section-caches)
7208 (rst-get-adornments-around, rst-adjust-adornment-work)
7209 (rst-arabic-to-roman, rst-roman-to-arabic)
7210 (rst-insert-list-pos, rst-insert-list-new-item)
7211 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7212 New functions.
7213
7214 (rst-all-sections, rst-section-hierarchy)
7215 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7216 New variables.
7217
7218 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7219 configuration instead of only buffer. Change where necessary.
7220
7221 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7222 (rst-shift-region, rst-adaptive-fill): New functions for
7223 indentation and filling.
7224
7225 (rst-comment-line-break, rst-comment-indent)
7226 (rst-comment-insert-comment, rst-comment-region)
7227 (rst-uncomment-region): New functions for handling comments.
7228
7229 (rst-compile): Quote shell arguments.
7230
7231 (rst-compile-pdf-preview, rst-compile-slides-preview):
7232 Delete temporary files after use.
7233
7234 2012-05-05 Glenn Morris <rgm@gnu.org>
7235
7236 * calendar/cal-html.el: Optionally include holidays in the output.
7237 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7238 (cal-html-holidays): New option.
7239 (cal-html-css-default): Add holiday entry.
7240 (holiday-in-range): Autoload it.
7241 (cal-html-htmlify-entry): Add optional class argument.
7242 (cal-html-htmlify-list): Add optional holidays argument.
7243 (cal-html-insert-agenda-days): Include holidays in the output.
7244 (cal-html-one-month): Maybe include holidays.
7245
7246 * calendar/holidays.el (holiday-in-range):
7247 Move here from cal-tex-list-holidays.
7248 * calendar/cal-tex.el (cal-tex-list-holidays):
7249 Make it an obsolete alias for holiday-in-range. Update all callers.
7250
7251 2012-05-05 Chong Yidong <cyd@gnu.org>
7252
7253 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7254 Nextstep.
7255
7256 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7257
7258 * files.el (file-auto-mode-skip): New var.
7259 (set-auto-mode-1): Use it.
7260
7261 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7262
7263 * repeat.el: Use lexical-binding.
7264 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7265 (repeat-undo-count): Remove.
7266 (repeat):
7267 * progmodes/octave-mod.el (octave-abbrev-start):
7268 * progmodes/f90.el (f90-abbrev-start):
7269 * face-remap.el (text-scale-adjust):
7270 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7271
7272 * emacs-lisp/pcase.el (pcase--let*): New function.
7273 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7274 a bit more.
7275 (pcase--split-pred): Be more clever about ruling out overlap between
7276 a predicate and some constant pattern.
7277 (pcase--q1): Use `null' instead of (eq foo nil).
7278
7279 * subr.el (setq-local, defvar-local): New macros.
7280 (kbd): Redefine as an alias.
7281 (with-selected-window): Leave unrelated frames alone.
7282 (set-temporary-overlay-map): New function.
7283
7284 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7285
7286 * subr.el (user-error): New function.
7287 * window.el (switch-to-buffer):
7288 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7289 (smerge-match-conflict):
7290 * simple.el (previous-matching-history-element)
7291 (next-matching-history-element, goto-history-element, undo-more)
7292 (undo-start):
7293 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7294 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7295 (next-file, tags-loop-scan, list-tags, complete-tag):
7296 * progmodes/compile.el (compilation-loop):
7297 * mouse.el (mouse-minibuffer-check):
7298 * man.el (Man-bgproc-sentinel, Man-goto-page):
7299 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7300 (Info-history-forward, Info-follow-reference, Info-menu)
7301 (Info-extract-menu-item, Info-extract-menu-counting)
7302 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7303 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7304 (Info-next-reference, Info-prev-reference, Info-index)
7305 (Info-index-next, Info-follow-nearest-node)
7306 (Info-copy-current-node-name):
7307 * imenu.el (imenu--make-index-alist)
7308 (imenu-default-create-index-function, imenu-add-to-menubar):
7309 * files.el (basic-save-buffer, recover-file):
7310 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7311 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7312 (checkdoc-message-text, checkdoc-defun):
7313 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7314 * cus-edit.el (customize-changed-options, customize-rogue)
7315 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7316 (custom-variable-mark-to-reset-standard)
7317 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7318 (custom-file):
7319 * completion.el (check-completion-length):
7320 * comint.el (comint-search-arg)
7321 (comint-previous-matching-input-string-position)
7322 (comint-previous-matching-input)
7323 (comint-replace-by-expanded-history-before-point, comint-send-input)
7324 (comint-copy-old-input, comint-backward-matching-input)
7325 (comint-goto-process-mark, comint-set-process-mark):
7326 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7327 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7328
7329 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * dabbrev.el (dabbrev--ignore-case-p): New function.
7332 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7333 Use it.
7334
7335 * files.el (automount-dir-prefix): Mark as obsolete.
7336
7337 2012-05-04 Glenn Morris <rgm@gnu.org>
7338
7339 * patcomp.el, play/bruce.el: Move to obsolete/.
7340
7341 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7342
7343 Fix minor Y10k bugs.
7344 * arc-mode.el (archive-unixdate):
7345 * autoinsert.el (auto-insert-alist):
7346 * calc/calc-forms.el (math-this-year):
7347 * emacs-lisp/copyright.el (copyright-current-year)
7348 (copyright-update-year, copyright):
7349 * tar-mode.el (tar-clip-time-string):
7350 * time.el (display-time-update):
7351 Don't assume years have 4 digits.
7352
7353 2012-05-04 Chong Yidong <cyd@gnu.org>
7354
7355 * dos-w32.el (file-name-buffer-file-type-alist)
7356 (direct-print-region-use-command-dot-com):
7357 * ffap.el (ffap-menu-regexp):
7358 * find-file.el (ff-special-constructs):
7359 * follow.el (follow-debug):
7360 * forms.el (forms--debug):
7361 * iswitchb.el (iswitchb-all-frames):
7362 * ido.el (ido-all-frames):
7363 * emacs-lisp/timer.el (timer-max-repeats):
7364 * mail/feedmail.el (feedmail-mail-send-hook)
7365 (feedmail-mail-send-hook-queued):
7366 * mail/footnote.el (footnote-signature-separator):
7367 * mail/mailabbrev.el (mail-alias-separator-string)
7368 (mail-abbrev-mode-regexp):
7369 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7370 * progmodes/idlwave.el (idlwave-libinfo-file)
7371 (idlwave-default-completion-case-is-down)
7372 (idlwave-library-routines): Convert defvars to defcustoms.
7373
7374 * mail/rmail.el (rmail-decode-mime-charset):
7375 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7376 (idlwave-shell-fix-inserted-breaks)
7377 (idlwave-shell-activate-alt-keybindings)
7378 (idlwave-shell-use-breakpoint-glyph):
7379 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7380
7381 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7382
7383 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7384
7385 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7386
7387 * progmodes/verilog-mode.el (font-lock-keywords):
7388 Fix mis-highligting auto. Reported by Craig Barner.
7389 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7390 defines from global name space. Reported by Dan Dever.
7391 (verilog-auto-reset, verilog-auto-reset-widths)
7392 (verilog-auto-tieoff): Support using unbased numbers for
7393 AUTORESET and AUTOTIEOFF.
7394 (verilog-submit-bug-report): Update variable list.
7395 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7396 parenthesis from not matching. Reported by Michael Rytting.
7397 (verilog-auto-template-lint): Fix hash error when linting modules
7398 with no used templates.
7399 (verilog-warn, verilog-warn-error)
7400 (verilog-warn-fatal): When non-interactive report multiple
7401 warnings before exiting. Suggested by Brad Dobbie.
7402 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7403 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7404 to report unused template errors. Reported by Brad Dobbie.
7405 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7406 nets, bug438. Reported by Vns Blore.
7407 (verilog-auto-inout-module, verilog-auto-reg)
7408 (verilog-read-decls, verilog-read-sub-decls-sig)
7409 (verilog-signals-edit-wire-reg, verilog-signals-with):
7410 Fix passing of Verilog data types in ANSI input/output ports
7411 such as "output logic" into the AUTOs. Special case "wire" and
7412 "reg" for backwards compatibility presuming Verilog 2001.
7413 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7414 (verilog-preprocess): Fix replication of preprocess output.
7415 Reported by Brad Dobbie.
7416 (verilog-auto-inst-interfaced-ports):
7417 Create verilog-auto-inst-interfaced-ports, bug429.
7418 Reported by Julian Gorfajn.
7419 (verilog-after-save-font-hook)
7420 (verilog-before-save-font-hook): New variable.
7421 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7422 (verilog-save-font-mods): Wrap disabling fontification, reported
7423 by David Rogoff.
7424 (verilog-do-indent, verilog-pretty-declarations-auto)
7425 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7426 Reported by Pierre-David Pfister.
7427 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7428 of class declarations, bug292. Reported by Kevin Heilman.
7429 (verilog-read-decls): Fix 'parameter type' not appearing in
7430 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7431 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7432 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7433 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7434 Reported by David Kravitz.
7435
7436 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7437
7438 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7439 assignment with tests in ifs and for loops.
7440 (verilog-extended-complete-re, verilog-complete-reg): Change so
7441 that DPI inport functions don't look like fuction declarations.
7442 (verilog-pretty-expr): Don't line up assignment
7443 operations to the test and increment in if and for loops
7444 (verilog-extended-complete-re, verilog-complete-reg): Change so
7445 that DPI inport functions don't look like fuction declarations.
7446
7447 2012-05-03 Kenichi Handa <handa@m17n.org>
7448
7449 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7450 decoding, and show a warning message without signaling an error
7451 (Bug#11282).
7452
7453 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7454
7455 * emacs-lisp/bytecomp.el
7456 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7457 since cconv.el might have introduced :fun-body, internal-make-closure,
7458 and friends for bytecomp to handle (bug#11391).
7459 * custom.el (defcustom): Avoid ((λ ..) ..).
7460
7461 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7464
7465 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7466
7467 * notifications.el (dbus-debug):
7468 * term/linux.el (gpm-mouse-enable):
7469 * term/screen.el (xterm-register-default-colors): Declare.
7470
7471 2012-05-02 Chong Yidong <cyd@gnu.org>
7472
7473 * cus-start.el (gc-cons-percentage, exec-suffixes)
7474 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7475 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7476 (make-cursor-line-fully-visible, void-text-area-pointer)
7477 (font-list-limit): Add customization data.
7478
7479 * allout.el (allout-exposure-change-functions)
7480 (allout-structure-added-functions)
7481 (allout-structure-deleted-functions)
7482 (allout-structure-shifted-functions): Rename abnormal hooks from
7483 *-hook, and convert to defcustoms.
7484 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7485 Convert to defcustoms.
7486 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7487
7488 * allout-widgets.el: Hook callers changed.
7489
7490 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7491
7492 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7493 the yanked message in preference to the default value of
7494 buffer-file-coding-system.
7495
7496 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7497
7498 * window.el (display-buffer--action-function-custom-type):
7499 Fix entry.
7500
7501 2012-05-02 Alan Mackenzie <acm@muc.de>
7502
7503 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7504
7505 2012-05-01 Glenn Morris <rgm@gnu.org>
7506
7507 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7508
7509 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7510
7511 * cus-edit.el (custom-variable-documentation): Simplify with format.
7512
7513 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7514 Stefan Monnier <monnier@iro.umontreal.ca>
7515
7516 * simple.el (suggest-key-bindings, execute-extended-command):
7517 Move from keyboard.c.
7518
7519 2012-05-01 Chong Yidong <cyd@gnu.org>
7520
7521 * follow.el: Eliminate advice.
7522 (set-process-filter, process-filter, sit-for): Advice deleted.
7523 (follow-mode-off-hook): Obsolete hook removed.
7524 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7525 Vars deleted.
7526 (follow-auto): Use a :set function.
7527 (follow-mode): Rewritten. Don't advise process filters.
7528 (follow-switch-to-current-buffer-all, follow-scroll-up)
7529 (follow-scroll-down): Assume follow-mode is bound.
7530 (follow-comint-scroll-to-bottom)
7531 (follow-align-compilation-windows): New functions.
7532 (follow--window-sorter): New function.
7533 (follow-all-followers): Use it to explicitly sort windows by their
7534 positions; don't make assumptions about next-window order.
7535 (follow-windows-start-end, follow-delete-other-windows-and-split)
7536 (follow-calc-win-start): Doc fix.
7537 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7538 vertical-motion unnecessarily.
7539 (follow-adjust-window): New function.
7540 (follow-post-command-hook): Use it.
7541 (follow-call-set-process-filter, follow-call-process-filter)
7542 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7543 (follow-stop-intercept-process-output, follow-generic-filter):
7544 Functions deleted.
7545 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7546 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7547 New functions, replacing advice on scroll-bar-* commands.
7548 (follow-mwheel-scroll): New function (Bug#4112).
7549
7550 * comint.el (comint-adjust-point): New function.
7551 (comint-postoutput-scroll-to-bottom): Use it.
7552 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7553
7554 2012-05-01 Glenn Morris <rgm@gnu.org>
7555
7556 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7557 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7558 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7559 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7560 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7561 Remove no-byte-compile setting.
7562
7563 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7564
7565 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7566 all-completions code to not return a number in the last cdr.
7567
7568 2012-04-30 Leo Liu <sdl.web@gmail.com>
7569
7570 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7571 read-only error.
7572
7573 2012-04-29 Chong Yidong <cyd@gnu.org>
7574
7575 * follow.el (follow-calc-win-end): Rewrite to handle partial
7576 screen lines correctly (Bug#8390).
7577 (follow-avoid-tail-recenter): Minor cleanup.
7578
7579 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7580
7581 Avoid the obsolete `assoc' package.
7582 * speedbar.el (speedbar-refresh): Avoid adelete.
7583 (speedbar-file-lists): Simplify and avoid aput.
7584 * man.el (Man--sections, Man--refpages): New vars, replacing
7585 Man-sections-alist and Man-refpages-alist.
7586 (Man-build-section-alist, Man-build-references-alist):
7587 Use them; avoid aput.
7588 (Man--last-section, Man--last-refpage): New vars.
7589 (Man-follow-manual-reference): Use them.
7590 Use the `default' arg of completing-read.
7591 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7592
7593 2012-04-27 Chong Yidong <cyd@gnu.org>
7594
7595 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7596
7597 * startup.el (x-apply-session-resources): New function.
7598
7599 * term/ns-win.el (ns-initialize-window-system):
7600 * term/w32-win.el (w32-initialize-window-system):
7601 * term/x-win.el (x-initialize-window-system): Use it to properly
7602 set menu-bar-mode and other vars from X resources, even if the
7603 initial frame is not a window-system frame (Bug#2299).
7604
7605 * subr.el (read-key): Avoid running filter function when setting
7606 up temporary tool bar entries (Bug#9922).
7607
7608 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7609
7610 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7611 (Bug#11344)
7612
7613 2012-04-27 Chong Yidong <cyd@gnu.org>
7614
7615 * select.el (xselect--encode-string): New function, split from
7616 xselect-convert-to-string.
7617 (xselect-convert-to-string): Use it.
7618 (xselect-convert-to-filename, xselect-convert-to-os)
7619 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7620 returned strings are properly encoded (Bug#11315).
7621
7622 2012-04-27 Chong Yidong <cyd@gnu.org>
7623
7624 * simple.el (delete-active-region): Move to killing custom group.
7625
7626 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7627
7628 * progmodes/which-func.el (which-func-current): Quote %
7629 characters for mode-line processing.
7630
7631 2012-04-27 Chong Yidong <cyd@gnu.org>
7632
7633 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7634 reaching eob (Bug#11286).
7635
7636 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7637
7638 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7639 (gdb): Make it buffer-local and init to zero.
7640 (gdb-control-commands-regexp): New variable.
7641 (gdb-send): Don't wrap in "-interpreter-exec console" if
7642 gdb-control-level is positive. Increment gdb-control-level
7643 whenever the command matches gdb-control-commands-regexp, and
7644 decrement it each time the command is "end". (Bug#11279)
7645
7646 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7647
7648 * window.el (adjust-window-trailing-edge, enlarge-window)
7649 (shrink-window, window-resize):
7650 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7651 windows (Bug#11276).
7652
7653 2012-04-27 Chong Yidong <cyd@gnu.org>
7654
7655 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7656 fix "missing prefix" warning. All callers changed.
7657
7658 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7659
7660 * emacs-lisp/assoc.el: Move to obsolete/.
7661
7662 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7663
7664 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7665
7666 * term/ns-win.el (ns-define-service):
7667 * progmodes/pascal.el (pascal-goto-defun):
7668 * progmodes/js.el (js--read-tab):
7669 * progmodes/etags.el (tags-lazy-completion-table):
7670 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7671 * emacs-lisp/ewoc.el (ewoc--wrap):
7672 * emacs-lisp/assoc.el (aput, adelete, amake):
7673 * doc-view.el (doc-view-convert-current-doc):
7674 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7675
7676 2012-04-26 Chong Yidong <cyd@gnu.org>
7677
7678 * image.el (image-type-from-buffer): Only return supported image
7679 type (Bug#9045).
7680
7681 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7682 value, for symmetry with diff-end-of-hunk.
7683 (diff-split-hunk, diff-find-source-location)
7684 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7685 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7686 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7687 compute the relevant hunk or file properly (Bug#6005).
7688 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7689
7690 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7691
7692 * vc/vc-mtn.el:
7693 * vc/vc-hg.el:
7694 * vc/vc-git.el:
7695 * vc/vc-dir.el:
7696 * vc/vc-cvs.el:
7697 * vc/vc-bzr.el:
7698 * vc/vc-arch.el:
7699 * vc/vc.el: Replace lexical-let by lexical-binding.
7700 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7701 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7702 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7703
7704 2012-04-26 Chong Yidong <cyd@gnu.org>
7705
7706 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7707 (diff-mode-shared-map): Bind it to / and [remap undo].
7708
7709 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7710 (ediff-window-setup-function): Use it as the default, to set up
7711 windows based on whether the current frame is graphical (Bug#2138).
7712 (ediff-choose-window-setup-function-automatically): Make obsolete.
7713
7714 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7715
7716 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7717
7718 * ffap.el: Remove old code for obsolete package.
7719 (ffap-complete-as-file-p): Remove.
7720
7721 Use completion-table-with-quoting for comint and pcomplete.
7722 * comint.el (comint--unquote&requote-argument)
7723 (comint--unquote-argument, comint--requote-argument): New functions.
7724 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7725 (comint-quote-filename): Use regexp-opt-charset.
7726 (comint--common-suffix, comint--common-quoted-suffix)
7727 (comint--table-subvert): Remove.
7728 (comint-unquote-function, comint-requote-function): New vars.
7729 (comint--complete-file-name-data): Use them with
7730 completion-table-with-quoting.
7731 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7732 * pcomplete.el (pcomplete-arg-quote-list)
7733 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7734 (pcomplete-unquote-argument-function): Default to non-nil.
7735 (pcomplete-unquote-argument): Simplify.
7736 (pcomplete--common-quoted-suffix): Remove.
7737 (pcomplete-requote-argument-function): New var.
7738 (pcomplete--common-suffix): New function.
7739 (pcomplete-completions-at-point): Use completion-table-with-quoting
7740 and completion-table-subvert.
7741
7742 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7743 (minibuffer--double-dollars): Preserve properties.
7744 (completion--sifn-requote): New function.
7745 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7746
7747 * minibuffer.el: Add support for completion of quoted/escaped data.
7748 (completion-table-with-quoting, completion-table-subvert): New funs.
7749 (completion--twq-try, completion--twq-all): New functions.
7750 (completion--nth-completion): New function.
7751 (completion-try-completion, completion-all-completions): Use it.
7752
7753 2012-04-25 Leo Liu <sdl.web@gmail.com>
7754
7755 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7756 Use compilation-message if available to find real filename.
7757
7758 2012-04-25 Chong Yidong <cyd@gnu.org>
7759
7760 * vc/diff-mode.el (diff-setup-whitespace): New function.
7761 (diff-mode): Use it.
7762
7763 * vc/diff.el (diff-sentinel):
7764 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7765 Whitespace mode variables based on diff style (Bug#8612).
7766
7767 2012-04-25 Leo Liu <sdl.web@gmail.com>
7768
7769 * progmodes/python.el (python-send-region): Add suffix .py to the
7770 temp file.
7771
7772 * files.el (auto-mode-alist): Use javascript-mode instead.
7773
7774 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7775
7776 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7777
7778 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7779 (soap-resolve-references-for-array-type): Hack to prevent self
7780 references, see Bug#9.
7781 (soap-parse-envelope): Report the contents of the 'detail' node
7782 when receiving a fault reply.
7783 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7784
7785 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7786 (soap-inspect-simple-type): New function.
7787
7788 * net/soap-client.el (soap-simple-type): New struct.
7789 (soap-default-xsd-types, soap-default-soapenc-types)
7790 (soap-decode-basic-type, soap-encode-basic-type):
7791 support unsignedInt and double basic types.
7792 (soap-resolve-references-for-simple-type)
7793 (soap-parse-simple-type, soap-encode-simple-type): New function.
7794 (soap-parse-schema): Parse xsd:simpleType declarations.
7795
7796 * net/soap-client.el (soap-default-xsd-types)
7797 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7798 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7799 the local name of "soapenc:Array".
7800 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7801 decoding integer, byte and anyURI xsd types.
7802
7803 2012-04-25 Chong Yidong <cyd@gnu.org>
7804
7805 * cus-edit.el (custom-buffer-create-internal): Update header text.
7806
7807 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7808
7809 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7810 settings on 'system-type', not on 'window-system'. On MS-Windows,
7811 set interactive-mode on in GDB.
7812
7813 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7816 (ruby-syntax-propertize-regexp): Remove.
7817 (ruby-syntax-propertize-function): Split regexp into chunks.
7818 Match following code directly.
7819
7820 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7821
7822 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7823 (ruby-syntax-propertize-regexp): New function.
7824 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7825 by a special keyword.
7826
7827 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7828 (ruby-syntax-general-delimiters-goto-beg)
7829 (ruby-syntax-propertize-general-delimiters): New functions.
7830 (ruby-syntax-propertize-function): Use them to handle GDL.
7831 (ruby-font-lock-keywords): Move old handling of GDL...
7832 (ruby-font-lock-syntactic-keywords): .. to here.
7833 (ruby-calculate-indent): Adjust indentation for GDL.
7834
7835 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7836
7837 * notifications.el (top): Remove unneeded declarations.
7838 (notifications-specification-version): Change to "1.2".
7839 (notifications-interface, notifications-notify-method)
7840 (notifications-close-notification-method): Fix docstring.
7841 (notifications-get-capabilities-method): New defconst.
7842 (notifications-notify): Add :action-items, :resident and
7843 :transient hints. Change "image_data" to "image-data" and
7844 "image_path" to "image-path".
7845 (notifications-get-capabilities): New defun.
7846
7847 2012-04-24 Leo Liu <sdl.web@gmail.com>
7848
7849 * progmodes/python.el: Move hideshow setup to the end.
7850
7851 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7852
7853 * window.el (handle-select-window): Clear echo area since this is
7854 no more done by read_char (Bug#11304).
7855
7856 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7857
7858 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7859 and `/ M' to filter-derived-mode.
7860 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7861 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7862 (ibuffer-mark-by-mode): Use default rather than initial-input.
7863 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7864
7865 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7866
7867 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7868 (ibuffer-filter-by-derived-mode): New filter.
7869 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7870
7871 2012-04-23 Andreas Politz <politza@fh-trier.de>
7872
7873 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7874
7875 2012-04-23 Chong Yidong <cyd@gnu.org>
7876
7877 * cus-edit.el (customize-apropos, customize-apropos-options):
7878 Disable matching of non-option variables (Bug#11176).
7879 (customize-option, customize-option-other-window)
7880 (customize-changed-options): Doc fix.
7881 (customize-apropos-options, customize-apropos-faces)
7882 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7883
7884 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7885 Fix word list splitting (Bug#11132).
7886 (apropos-symbol, apropos-keybinding, apropos-label)
7887 (apropos-property, apropos-function-button)
7888 (apropos-variable-button, apropos-misc-button): New faces.
7889 (apropos-symbol-face, apropos-keybinding-face)
7890 (apropos-label-face, apropos-property-face, apropos-match-face):
7891 Variables removed (Bug#8396).
7892 (apropos-library-button, apropos-format-plist, apropos-print)
7893 (apropos-print-doc, apropos-describe-plist): Callers changed.
7894
7895 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7896
7897 * net/xesam.el (xesam-mode-map): Use let-bound map in
7898 initialization. (Bug#11292)
7899
7900 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7901
7902 Preserve ispell session localwords when switching back to
7903 original buffer.
7904
7905 * textmodes/ispell.el (ispell-buffer-session-localwords):
7906 New buffer-local variable to hold buffer session localwords.
7907 (ispell-kill-ispell): Add option 'clear to delete session
7908 localwords.
7909 (ispell-command-loop, ispell-change-dictionary)
7910 (ispell-buffer-local-words): Preserve session localwords when
7911 needed.
7912
7913 * textmodes/flyspell.el (flyspell-process-localwords)
7914 (flyspell-do-correct): Preserve session localwords when needed.
7915
7916 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7917
7918 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7919 using obsolete `translation-table-for-input'.
7920 (ispell-word, ispell-process-line, ispell-complete-word):
7921 Use plain `insert' instead of removed `ispell-insert-word'.
7922
7923 2012-04-22 Chong Yidong <cyd@gnu.org>
7924
7925 * cus-edit.el (custom-variable-menu)
7926 (custom-variable-reset-saved, custom-face-menu)
7927 (custom-face-reset-saved): If there is no saved value, make the
7928 "reset-saved" operation bring back the default (Bug#9509).
7929 (custom-face-state): Properly detect themed faces.
7930
7931 * faces.el (face-spec-set): Stop supporting deprecated form of
7932 third arg.
7933
7934 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7935
7936 Move functions from C to Lisp. Make non-blocking method calls
7937 the default. Implement further D-Bus standard interfaces.
7938
7939 * net/dbus.el (dbus-message-internal): Declare function.
7940 Remove unneeded function declarations.
7941 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7942 (dbus-message-type-method-return, dbus-message-type-error)
7943 (dbus-message-type-signal): Declare variables. Remove local
7944 definitions.
7945 (dbus-interface-dbus, dbus-interface-peer)
7946 (dbus-interface-introspectable, dbus-interface-properties)
7947 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7948 Adapt docstring.
7949 (dbus-interface-objectmanager): New defconst.
7950 (dbus-call-method, dbus-call-method-asynchronously)
7951 (dbus-send-signal, dbus-method-return-internal)
7952 (dbus-method-error-internal, dbus-register-service)
7953 (dbus-register-signal, dbus-register-method): New defuns, moved
7954 from dbusbind.c
7955 (dbus-call-method-handler, dbus-setenv)
7956 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7957 New defuns.
7958 (dbus-call-method-non-blocking): Make it an obsolete function.
7959 (dbus-unregister-object, dbus-unregister-service)
7960 (dbus-handle-event, dbus-register-property)
7961 (dbus-property-handler): Obey the new structure of
7962 `bus-registered-objects'.
7963 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7964 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7965 Use `dbus-call-method'.
7966
7967 2012-04-22 Chong Yidong <cyd@gnu.org>
7968
7969 * cus-edit.el (custom-commands, custom-reset-menu)
7970 (Custom-reset-standard): Tweak labels.
7971 (custom-reset-button-menu): Change default to t.
7972 (custom-buffer-create-internal): For the custom-reset-button-menu
7973 case, put the revert button first.
7974 (custom-group-subtitle): New face.
7975 (custom-group-value-create): Align docstring to a specific column.
7976
7977 * wid-edit.el (widget-documentation-link-add): Don't handle
7978 indentation in this function.
7979 (widget-documentation-string-indent-to): New function.
7980 (widget-documentation-string-value-create): Use it.
7981
7982 * autorevert.el (auto-revert):
7983 * epg-config.el (epg):
7984 * ibuffer.el (ibuffer):
7985 * mpc.el (mpc):
7986 * ses.el (ses):
7987 * eshell/eshell.el (eshell):
7988 * net/ange-ftp.el (ange-ftp):
7989 * progmodes/ebnf2ps.el (postscript):
7990 * progmodes/flymake.el (flymake):
7991 * progmodes/prolog.el (prolog):
7992 * progmodes/verilog-mode.el (verilog-mode):
7993 * progmodes/which-func.el (which-func):
7994 * term/xterm.el (xterm):
7995 * textmodes/picture.el (picture):
7996 * textmodes/tildify.el (tildify):
7997 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7998 customization buffers.
7999
8000 2012-04-22 Alan Mackenzie <acm@muc.de>
8001
8002 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8003 Adding a ) can hide the resulting (..) from searches. Fix it.
8004 Bound the backward search to the position of the existing (.
8005
8006 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8007
8008 * progmodes/verilog-mode.el (verilog-mode): Check whether
8009 which-func-modes is t before adding verilog-mode.
8010 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8011
8012 2012-04-21 Leo Liu <sdl.web@gmail.com>
8013
8014 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8015
8016 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8017
8018 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8019 filling of the last column of a table (Bug#5635).
8020 (woman-find-next-control-line): New arg, specifying an additional
8021 regexp component for the control line.
8022 (woman2-roff-buffer): Use it.
8023 (woman-break-table): New function.
8024 (woman2-TS): Use it.
8025
8026 2012-04-21 Chong Yidong <cyd@gnu.org>
8027
8028 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8029 (woman-horizontal-escapes, woman-negative-vertical-space)
8030 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8031 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8032
8033 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8034
8035 * minibuffer.el (completion-file-name-table): Complete user names.
8036
8037 2012-04-20 Leo Liu <sdl.web@gmail.com>
8038
8039 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8040 and pcase-let*.
8041
8042 2012-04-20 Chong Yidong <cyd@gnu.org>
8043
8044 * server.el (server-execute): Respect initial-buffer-choice if it
8045 is a string and there are no files to open (Bug#2825).
8046 (server-create-window-system-frame, server-create-tty-frame):
8047 Don't switch buffers here.
8048 (server-process-filter): Only try to open a window system frame if
8049 compiled with graphical support (Bug#8314).
8050
8051 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8052
8053 * battery.el (battery-echo-area-format): Display remaining time
8054 for sysfs backend too (Bug#11269).
8055 (battery-linux-sysfs): Fix conditional for the charge.
8056
8057 2012-04-20 Chong Yidong <cyd@gnu.org>
8058
8059 * progmodes/gdb-mi.el (gdb): Revert previous change.
8060 (gdb-inferior-io--init-proc): New function.
8061 (gdb-init-1): Use it.
8062 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8063 responsible for allocating a new pty and hooking it to gdb when
8064 the old pty gets an EIO due to process exit.
8065 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8066 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8067 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8068
8069 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8070
8071 * window.el (window-min-size, window-sizable, window-min-delta)
8072 (window-max-delta, window--resizable, window-resizable)
8073 (window-total-size, window-full-height-p, window-full-width-p)
8074 (window-in-direction, window--resize-mini-window, window-resize)
8075 (window--resize-child-windows-normal)
8076 (window--resize-child-windows, window--resize-siblings)
8077 (window--resize-this-window, adjust-window-trailing-edge)
8078 (enlarge-window, shrink-window): Doc fixes.
8079
8080 2012-04-20 Chong Yidong <cyd@gnu.org>
8081
8082 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8083 New function to call delete-process on the gdb-inferior buffer's pty.
8084 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8085 pty process (Bug#11273).
8086 (gdb-update): New arg to suppress talking to the gdb process.
8087 (gdb-done-or-error): Use it.
8088 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8089 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8090 sentinel not being called.
8091
8092 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8093
8094 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8095
8096 2012-04-20 Glenn Morris <rgm@gnu.org>
8097
8098 * net/network-stream.el (open-network-stream): Doc fix.
8099
8100 2012-04-20 Chong Yidong <cyd@gnu.org>
8101
8102 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8103
8104 2012-04-20 Alan Mackenzie <acm@muc.de>
8105
8106 Ensure searching for keywords is case sensitive.
8107
8108 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8109 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8110 (c-defun-name, c-mark-function, c-cpp-define-name)
8111 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8112 (c-context-line-break): Bind case-fold-search to nil.
8113
8114 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8115 Bind case-fold-search to nil.
8116
8117 2012-04-20 Chong Yidong <cyd@gnu.org>
8118
8119 * mail/sendmail.el (mail-bury): Call return action with the right
8120 Rmail buffer (Bug#11242).
8121
8122 * server.el (server-process-filter): Handle corner case where both
8123 tty and nowait options are present (Bug#11102).
8124
8125 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8126
8127 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8128 (top level): Put into the executable the ident-style '$Id:' tag on
8129 windows-nt as well.
8130
8131 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 * electric.el (electric-indent-post-self-insert-function): Check that
8134 electric-indent-mode is enabled in current buffer.
8135
8136 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8137
8138 * imenu.el (imenu-progress-message): Restore; it is "used" in
8139 erc/erc-imenu.el and net/snmp-mode.el.
8140
8141 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8142
8143 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8144 (mouse-avoidance-nudge-mouse): Remove unused binding.
8145
8146 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8147
8148 * descr-text.el (describe-char):
8149 * progmodes/python.el (python-describe-symbol):
8150 Don't call `toggle-read-only', set `buffer-read-only'.
8151
8152 * imenu.el (imenu-default-goto-function): Mark unused args.
8153 (imenu-progress-message): Remove obsolete macro; all callers changed.
8154
8155 * subr.el (keymap-canonicalize): Remove unused binding.
8156 (read-passwd): Mark unused arg.
8157
8158 * tutorial.el (tutorial--display-changes): Remove unused binding.
8159 (tutorial--save-tutorial-to): Remove unused variable.
8160
8161 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8162 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8163 (package-generate-autoloads, package-menu--generate)
8164 (package-menu--find-upgrades): Remove unused bindings.
8165
8166 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8167 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8168 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8169 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8170 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8171 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8172 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8173 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8174 (cua-delete-char-rectangle): Mark unused args.
8175 (cua-align-rectangle): Remove unused binding.
8176
8177 * mail/rmail.el (compilation--message->loc)
8178 (epa--find-coding-system-for-mime-charset): Declare.
8179
8180 * net/dbus.el (dbus-register-service): Declare.
8181 (dbus-name-owner-changed-handler): Remove unused binding.
8182
8183 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8184 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8185 (nxml-scan-backward-within): Mark unused arg.
8186 (nxml-dynamic-markup-word): Remove unused binding.
8187
8188 * mouse.el (mouse-menu-major-mode-map):
8189 * emacs-lisp/authors.el (authors-scan-change-log)
8190 (authors-add-to-author-list):
8191 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8192 * emacs-lisp/smie.el (smie-auto-fill):
8193 * mail/sendmail.el (mail-bury):
8194 * mail/unrmail.el (unrmail):
8195 * net/tls.el (open-tls-stream):
8196 * textmodes/picture.el (picture-mouse-set-point):
8197 Remove unused bindings.
8198
8199 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8200
8201 * net/tramp.el (tramp-action-password): Let-bind
8202 `enable-recursive-minibuffers' to t.
8203
8204 2012-04-18 Sam Steingold <sds@gnu.org>
8205
8206 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8207 instead of 'string to accommodate values like [f11].
8208 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8209 * progmodes/gdb-mi.el: Likewise.
8210
8211 2012-04-18 Leo Liu <sdl.web@gmail.com>
8212
8213 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8214 current buffer.
8215 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8216 LOCAL is nil.
8217
8218 2012-04-18 Chong Yidong <cyd@gnu.org>
8219
8220 * simple.el (line-move): Use forward-line if in batch mode
8221 (Bug#11053).
8222
8223 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8224
8225 * files.el (after-find-file): Do not try to add a final newline if
8226 the buffer is read-only (Bug#11156).
8227
8228 2012-04-17 Richard Stallman <rms@gnu.org>
8229
8230 * mail/rmail.el (rmail-start-mail):
8231 Pass (rmail-mail-return...) for the return-action.
8232 Pass (rmail-yank-current-message...) for the yank-action.
8233 (rmail-yank-current-message): New function.
8234 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8235 (rmail-reply): Likewise.
8236 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8237
8238 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8239 buffer, not the last. Reject temp buffers. Use the rmail-mode
8240 buffer, not newbuf.
8241
8242 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8243
8244 * server.el (server-ensure-safe-dir): Simplify.
8245
8246 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8247
8248 * emacs-lisp/smie.el: Provide smarter auto-filling.
8249 (smie-auto-fill): New function.
8250 (smie-setup): Use it.
8251
8252 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8253
8254 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8255
8256 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8257 (comment-indent): Use it.
8258
8259 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8260
8261 * ses.el: The overall change is to add cell renaming, that is
8262 setting fancy names for cell symbols other than name matching
8263 "\\`[A-Z]+[0-9]+\\'" regexp .
8264 (ses-localvars): Add ses--renamed-cell-symb-list.
8265 (ses-create-cell-variable): New defun.
8266 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8267 (ses-relocate-formula): Relocate formulas only for cells the
8268 symbols of which are not renamed, i.e. symbols whose names do not
8269 match regexp "\\`[A-Z]+[0-9]+\\'".
8270 (ses-relocate-all): Relocate values only for cells the symbols of
8271 which are not renamed.
8272 (ses-load): Create cells variables as the (ses-cell ...) are read,
8273 in order to check row col consistency with cell symbol name only
8274 for cells that are not renamed.
8275 (ses-replace-name-in-formula): New defun.
8276 (ses-rename-cell): New defun.
8277
8278 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8279
8280 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8281 New option (bug#11118).
8282 (perl-calculate-indent): Respect it.
8283
8284 2012-04-17 Glenn Morris <rgm@gnu.org>
8285
8286 * dired-aux.el (dired-mark-read-string): Doc fix.
8287
8288 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8289
8290 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8291 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8292
8293 2012-04-17 Glenn Morris <rgm@gnu.org>
8294
8295 * mouse.el (mouse-drag-track):
8296 * speedbar.el (speedbar-frame-mode):
8297 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8298
8299 2012-04-16 Leo Liu <sdl.web@gmail.com>
8300
8301 * progmodes/python.el: Trivial cleanup.
8302
8303 2012-04-16 Glenn Morris <rgm@gnu.org>
8304
8305 * vc/vc.el (vc-string-prefix-p):
8306 * vc/pcvs-util.el (cvs-string-prefix-p):
8307 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8308 * mpc.el (mpc-string-prefix-p):
8309 Make all of these into obsolete aliases for string-prefix-p.
8310 Update callers.
8311 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8312
8313 * textmodes/two-column.el: Move custom options to the start.
8314 (frame-width): Remove compat definition.
8315 (2C-associate-buffer, 2C-dissociate):
8316 Use with-current-buffer rather than save-excursion.
8317 (2C-dissociate): Force a mode-line update.
8318 (2C-autoscroll): Use ignore-errors.
8319
8320 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8321 Autoload trivia.
8322
8323 * emacs-lisp/cl-extra.el (*random-state*):
8324 Remove unnecessary declaration.
8325
8326 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8327
8328 * play/cookie1.el (cookie-snarf):
8329 Give an explicit error if input file cannot be read.
8330
8331 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8332
8333 * progmodes/perl-mode.el (c-macro-expand):
8334 Remove unnecessary autoload (it is in loaddefs.el).
8335
8336 * textmodes/picture.el (picture-desired-column)
8337 (picture-update-desired-column): Convert comments to doc-strings.
8338 (picture-substitute): Remove function.
8339 (picture-mode-map): Initialize in the defvar.
8340
8341 * woman.el: Remove eval-after-load for tar-mode.
8342 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8343 (woman-tar-extract-file): Autoload it.
8344
8345 * frame.el (automatic-hscrolling): Make this alias obsolete.
8346
8347 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8348
8349 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8350 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8351 (ispell-dictionary-base-alist): Revert to original XEmacs
8352 friendly version for default. [:alpha:] will be added in
8353 `ispell-set-spellchecker-params' if needed.
8354
8355 2012-04-16 Chong Yidong <cyd@gnu.org>
8356
8357 * image.el (imagemagick--file-regexp): New variable.
8358 (imagemagick-register-types): Use it.
8359 (imagemagick-types-inhibit): Add :set function. Allow new value
8360 of t to inhibit all types.
8361
8362 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8363 so we can preload it.
8364
8365 * loadup.el (fboundp): Preload regexp-opt, needed by
8366 imagemagick-register-types.
8367
8368 2012-04-15 Chong Yidong <cyd@gnu.org>
8369
8370 * frame.el (scrolling): Remove nearly unused customization group.
8371
8372 * scroll-all.el (scroll-all-mode): Move to windows group.
8373
8374 2012-04-15 Chong Yidong <cyd@gnu.org>
8375
8376 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8377
8378 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8379
8380 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8381 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8382
8383 2012-04-15 Glenn Morris <rgm@gnu.org>
8384
8385 * simple.el (process-file-side-effects): Doc fix.
8386
8387 2012-04-15 Glenn Morris <rgm@gnu.org>
8388
8389 * international/mule-cmds.el (set-language-environment): Doc fix.
8390
8391 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8392
8393 * server.el (server-auth-key, server-generate-key): Doc fixes.
8394 (server-get-auth-key): Doc fix. Use `string-match-p'.
8395 (server-start): Reflow docstring.
8396
8397 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8398
8399 * server.el (server-generate-key): `called-interactively-p'
8400 requires a parameter.
8401
8402 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8403
8404 * server.el (server-auth-key): New variable.
8405 (server-generate-key, server-get-auth-key): New function.
8406 (server-start): Use the new variable and functions to allow
8407 setting a permanent server key (bug#9423).
8408
8409 2012-04-14 Leo Liu <sdl.web@gmail.com>
8410
8411 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8412
8413 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8414
8415 Spelling fixes.
8416 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8417 Emacs uses American spelling.
8418
8419 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8420
8421 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8422 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8423 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8424 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8425
8426 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8427
8428 * progmodes/which-func.el (which-func-modes): Change default.
8429
8430 2012-04-14 Kim F. Storm <storm@cua.dk>
8431
8432 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8433 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8434
8435 2012-04-14 Chong Yidong <cyd@gnu.org>
8436
8437 * custom.el (custom-theme-set-variables): Doc fix.
8438
8439 2012-04-14 Glenn Morris <rgm@gnu.org>
8440
8441 * international/mule.el (set-auto-coding-for-load): Doc fix.
8442
8443 2012-04-14 Alan Mackenzie <acm@muc.de>
8444
8445 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8446 imenu work again for Objective C Mode. Correct the *-index values,
8447 these having been disturbed by a previous change in 2011-08.
8448
8449 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8450 Correct two search limits.
8451
8452 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8453
8454 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8455
8456 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8457
8458 * international/characters.el: Fix sorting.
8459
8460 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8461
8462 * international/characters.el: Add more missing Latin case pairs.
8463
8464 2012-04-14 Glenn Morris <rgm@gnu.org>
8465
8466 * files.el (dir-locals-set-class-variables): Doc fix.
8467
8468 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8469
8470 * international/characters.el: Add set-case-syntax-pair call for
8471 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8472 counterpart. (Bug#11209)
8473
8474 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8475
8476 2012-04-14 Glenn Morris <rgm@gnu.org>
8477
8478 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8479
8480 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8481
8482 * textmodes/ispell.el (ispell-dictionary-base-alist):
8483 Add data for Hebrew.
8484
8485 2012-04-14 Chong Yidong <cyd@gnu.org>
8486
8487 * net/rcirc.el (rcirc-cmd-quit):
8488 Revert 2012-03-18 change (Bug#11192).
8489
8490 2012-04-14 Glenn Morris <rgm@gnu.org>
8491
8492 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8493
8494 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8495
8496 * minibuffer.el (completion-in-region-mode-map):
8497 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8498
8499 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8500
8501 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8502
8503 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8504
8505 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8506 to allow `C-M-f' and `C-M-b' to move to the nearest path
8507 separator (bug#9511).
8508
8509 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8510
8511 * avoid.el: Require cl when compiling. And also move the
8512 `provide' to the end.
8513
8514 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8515
8516 * avoid.el (mouse-avoidance-banish-position): New variable.
8517 (mouse-avoidance-banish-destination): Use it (bug#10165).
8518
8519 2012-04-13 Leo Liu <sdl.web@gmail.com>
8520
8521 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8522
8523 2012-04-13 Ken Brown <kbrown@cornell.edu>
8524
8525 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8526 this is no longer needed now that cygstart understands file:// URLs.
8527 (browse-url-filename-alist): For the same reason, don't modify
8528 file:// URLs on Cygwin.
8529
8530 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8531
8532 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8533 the region on shift if the binding is already shifted (bug#11221).
8534
8535 2012-04-12 Glenn Morris <rgm@gnu.org>
8536
8537 * mail/mailpost.el: Move to obsolete/.
8538
8539 2012-04-12 Drew Adams <drew.adams@oracle.com>
8540
8541 * imenu.el (imenu--generic-function): Ignore invisible definitions
8542 (bug#10123).
8543
8544 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8545
8546 * hexl.el (hexl-bits): New variable.
8547 (hexl-options): Mention the variable in the doc string.
8548 (hexl-rulerise, hexl-line-displen): New functions.
8549 (hexl-mode): Mention the new variable.
8550 (hexl-mode, hexl-current-address, hexl-current-address):
8551 Use the displen.
8552 (hexl-ascii-start-column): New function.
8553 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8554 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8555
8556 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8557
8558 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8559 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8560 the encoding, as expected by hunspell.
8561
8562 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8563
8564 * battery.el (battery--linux-sysfs-regexp): New const.
8565 (battery-status-function): Use it. Remove yeeloong special case.
8566 (battery-yeeloong-sysfs): Remove.
8567 (battery-echo-area-format): Remove yeeloong special case.
8568
8569 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8570
8571 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8572 Reported by Noah Friedman.
8573
8574 * subr.el (read-passwd): Use read-string.
8575
8576 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8577
8578 * vcursor.el (vcursor-move): Increase the priority of the overlay
8579 (bug#9663).
8580
8581 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8582
8583 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8584 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8585
8586 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8587
8588 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8589 define-minor-mode (bug#10760).
8590
8591 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8592
8593 * progmodes/grep.el (rgrep): Tweak the find command line so
8594 that directories matching `grep-find-ignored-files' won't be
8595 pruned (bug#10351).
8596
8597 2012-04-11 Chong Yidong <cyd@gnu.org>
8598
8599 * startup.el (command-line): Remove support for long-obsolete
8600 variable font-lock-face-attributes.
8601
8602 2012-04-11 Glenn Morris <rgm@gnu.org>
8603
8604 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8605
8606 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8607
8608 * window.el (window--state-get-1): Obey window-point-insertion-type.
8609
8610 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8611
8612 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8613 to previous function when point is on the first character of a
8614 function. Take care of that in `narrow-to-defun' (bug#6157).
8615
8616 2012-04-11 Glenn Morris <rgm@gnu.org>
8617
8618 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8619 not just file-errors.
8620
8621 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8622 (vc-bzr-sha1): Use internal sha1.
8623
8624 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8627
8628 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8629
8630 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8631 that start in the middle of the line (bug#10496).
8632
8633 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8634
8635 * battery.el (battery-linux-proc-acpi): Only one battery is
8636 discharged at a time, but that seems to confuse battery.el when
8637 computing `rate-type' for the battery not being discharged
8638 (bug#10332).
8639
8640 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8643
8644 * international/quail.el: Use dolist and simplify.
8645 (quail-define-package, quail-update-keyboard-layout)
8646 (quail-define-rules): Use dolist.
8647 (quail-insert-kbd-layout, quail-get-translation): CSE.
8648
8649 * tmm.el: Use dolist, remove left over hook.
8650 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8651 Use dolist.
8652 (calendar-load-hook): Don't mess with it.
8653
8654 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8655 Use derived-mode-p. Run the diff asynchronously.
8656
8657 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8658
8659 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8660
8661 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8662
8663 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8664 (list-dynamic-libraries--loaded): New function.
8665 (list-dynamic-libraries--refresh): Use it.
8666
8667 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8668
8669 * progmodes/python.el (python-fill-paragraph):
8670 Make python-fill-region in a multiline string work when font-lock is
8671 disabled (bug#7018).
8672
8673 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8674
8675 * language/european.el (cp775): Add oem/legacy (en)coding on
8676 DOS/MS Windows for the Baltic languages. There are still plenty
8677 of texts written in this encoding/codepage (bug#6519).
8678
8679 2012-04-10 Glenn Morris <rgm@gnu.org>
8680
8681 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8682 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8683
8684 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8685
8686 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8687 next-line "n" and previous-line "p" in order to make recentf more
8688 consistent with ibuffer, dired or org-mode (bug#9387).
8689
8690 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8691
8692 * image.el (put-image): Return the overlay created instead of the
8693 optional input string (bug#7834). Note that this may break code
8694 that is (for some reason or other) depending on `put-image'
8695 returning the string.
8696
8697 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8698
8699 * simple.el (zap-to-char): Allow zapping using input methods
8700 (bug#1580).
8701
8702 * textmodes/fill.el (fill-region): Leave point and mark where they
8703 were before filling (bug#5399).
8704
8705 2012-04-09 Glenn Morris <rgm@gnu.org>
8706
8707 * version.el (emacs-bzr-get-version):
8708 Handle lightweight checkouts of local branches.
8709
8710 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8711
8712 * international/characters.el: Recover lost case pairs. (Bug#11209)
8713
8714 2012-04-09 Chong Yidong <cyd@gnu.org>
8715
8716 * custom.el (custom-variable-p): Return nil for non-symbol
8717 arguments instead of signaling an error.
8718 (user-variable-p): Obsolete alias for custom-variable-p.
8719
8720 * apropos.el (apropos-variable):
8721 * files-x.el (read-file-local-variable):
8722 * simple.el (set-variable):
8723 * woman.el (woman-mini-help):
8724 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8725
8726 2012-04-09 Glenn Morris <rgm@gnu.org>
8727
8728 * startup.el (normal-top-level): Don't look for leim-list.el
8729 in places where it will not be found. (Bug#910)
8730
8731 * international/mule-cmds.el (set-default-coding-systems):
8732 * files.el (normal-mode):
8733 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8734 This function was removed with ucs-tables.el in 2008.
8735
8736 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8737
8738 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8739 ispell-encoding8-command to "-i", without a trailing space.
8740 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8741 separate command-line arguments, to specify the encoding, since
8742 that's how hunspell expects it.
8743
8744 2012-04-08 Glenn Morris <rgm@gnu.org>
8745
8746 * loadup.el: Load bindings before cus-start.
8747 This reduces somewhat the number of "rogue" settings in emacs -Q.
8748
8749 2012-04-07 Glenn Morris <rgm@gnu.org>
8750
8751 * version.el (emacs-bzr-get-version): New function.
8752 (emacs-bzr-version): New variable.
8753 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8754 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8755
8756 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8757
8758 * international/uni-bidi.el, international/uni-category.el:
8759 * international/uni-combining.el, international/uni-decimal.el:
8760 * international/uni-decomposition.el, international/uni-digit.el:
8761 * international/uni-lowercase.el, international/uni-mirrored.el:
8762 * international/uni-name.el, international/uni-numeric.el:
8763 * international/uni-titlecase.el, international/uni-uppercase.el:
8764 Update for Unicode 6.1.
8765
8766 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8767
8768 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8769
8770 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8771
8772 * window.el (shrink-window): Mention the `window-min-height'
8773 variable in the doc string.
8774
8775 2012-04-05 Bastien Guerry <bzg@altern.org>
8776
8777 * color.el (color-lighten-name): Fix typo.
8778
8779 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * server.el (server--on-display-p): New function.
8782 (server--on-display-p): Use it.
8783
8784 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8785
8786 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8787 (bug#11145).
8788
8789 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8790
8791 * comint.el (comint--common-quoted-suffix): Check string boundary
8792 before comparing (bug#11158).
8793 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8794
8795 2012-04-04 Chong Yidong <cyd@gnu.org>
8796
8797 * minibuffer.el (completion-extra-properties): Doc fix.
8798
8799 * subr.el (delayed-warnings-hook): Doc fix.
8800
8801 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8802
8803 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8804 selection (Bug#11159).
8805 (epa-insert-keys): Inform that the default public key will be
8806 exported if no key is selected.
8807
8808 2012-04-04 Richard Stallman <rms@gnu.org>
8809
8810 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8811
8812 2012-04-03 Chong Yidong <cyd@gnu.org>
8813
8814 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8815 mail-insert-file, not its obsolete alias mail-attach-file.
8816
8817 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8818
8819 * notifications.el (notifications-notify): Fix docstring.
8820
8821 2012-04-02 Glenn Morris <rgm@gnu.org>
8822
8823 * emacs-lisp/authors.el (authors-aliases): Another addition.
8824
8825 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8826
8827 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8828 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8829 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8830
8831 2012-04-01 Chong Yidong <cyd@gnu.org>
8832
8833 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8834 Handle root directory properly.
8835 (copy-directory): Caller changed.
8836
8837 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8838 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8839
8840 2012-03-31 Glenn Morris <rgm@gnu.org>
8841
8842 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8843
8844 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8845
8846 * calendar/calendar.el (calendar-window-list)
8847 (calendar-hide-window): Restore. (Bug#11140)
8848 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8849
8850 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8851
8852 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8853
8854 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8855 Check if file is a symlink (Bug#10489).
8856
8857 * files.el (copy-directory): Likewise.
8858
8859 2012-03-30 Chong Yidong <cyd@gnu.org>
8860
8861 * image.el (imagemagick-types-inhibit)
8862 (imagemagick-register-types): Doc fix.
8863
8864 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8865
8866 * textmodes/ispell.el (ispell-get-extended-character-mode):
8867 Disable extended-char-mode for hunspell. hunspell does not support it
8868 and treats ~word as ordinary words in pipe mode.
8869
8870 2012-03-30 Glenn Morris <rgm@gnu.org>
8871
8872 * tutorial.el (help-with-tutorial): Ensure local variables don't
8873 happen to make the buffer read-only. (Bug#11127)
8874
8875 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8876
8877 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8878 (perl-calculate-indent): Return `noindent' in strings.
8879
8880 2012-03-28 Sam Steingold <sds@gnu.org>
8881
8882 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8883 instead of the broken adhockery which does not prevent calendar
8884 buffers from being displayed at random after exit.
8885 (calendar-window-list, calendar-hide-window): Remove the broken
8886 adhockery.
8887
8888 2012-03-28 Glenn Morris <rgm@gnu.org>
8889
8890 * replace.el (query-replace-map): Doc fix.
8891
8892 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8893
8894 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8895 contents. (Bug#11109)
8896
8897 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8900 (bug#11077).
8901 (avl-tree--check, avl-tree--check-node): New funs.
8902
8903 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8904
8905 * window.el (switch-to-visible-buffer): New option.
8906 (switch-to-prev-buffer, switch-to-next-buffer):
8907 Observe switch-to-visible-buffer. Make sure that checking for a window
8908 showing a buffer already is done on the same frame.
8909
8910 2012-03-27 Glenn Morris <rgm@gnu.org>
8911
8912 * startup.el (mail-host-address): Doc fix.
8913
8914 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8915
8916 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8917 than 197 variables.
8918
8919 2012-03-26 Ami Fischman <ami@fischman.org>
8920
8921 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8922
8923 2012-03-26 Glenn Morris <rgm@gnu.org>
8924
8925 * files.el (save-buffers-kill-emacs): Doc fix.
8926
8927 * startup.el (normal-top-level, command-line, command-line-1):
8928 Give them doc strings.
8929
8930 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8931
8932 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8933 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8934
8935 2012-03-25 Chong Yidong <cyd@gnu.org>
8936
8937 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8938 theme if it was previously enabled before (Bug#11031).
8939
8940 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8941 spec with custom-face-get-current-spec if its :shown-value is not
8942 determined yet (Bug#9337).
8943 (customize-create-theme, custom-theme-revert): Doc fixes.
8944
8945 * button.el (button-at): Minor addition to docstring.
8946
8947 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8948
8949 * vc/vc.el (vc-merge): Fix a prompt.
8950
8951 2012-03-24 Chong Yidong <cyd@gnu.org>
8952
8953 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8954 point (Bug#9623).
8955
8956 * button.el (button-at): Minor addition to docstring.
8957
8958 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * newcomment.el (comment-choose-indent): No space after BOL.
8961
8962 2012-03-22 Sam Steingold <sds@gnu.org>
8963
8964 * window.el (switch-to-prev-buffer): Revert last patch because the
8965 bug turned out to be an advertised feature (Elisp manual 28.14).
8966
8967 2012-03-22 Glenn Morris <rgm@gnu.org>
8968
8969 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8970 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8971
8972 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8973
8974 * net/network-stream.el (network-stream-open-starttls): Make error
8975 message under Windows be less misleading.
8976
8977 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8978
8979 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8980 understands (bug#9942).
8981
8982 2012-03-22 Chong Yidong <cyd@gnu.org>
8983
8984 * simple.el (end-of-visible-line): Handle return value of
8985 next-single-property-change properly (Bug#9371).
8986
8987 2012-03-22 Kenichi Handa <handa@m17n.org>
8988
8989 * international/quail.el (quail-insert-kbd-layout): Fix previous
8990 change. To avoid unwanted bidi reordering, use
8991 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8992
8993 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8994
8995 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8996 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8997 (ruby-beginning-of-indent): Be more careful with the difference
8998 between word-boundary and symbol boundary.
8999 (ruby-mode-syntax-table): Make : a symbol constituent.
9000
9001 2012-03-21 Andreas Politz <politza@fh-trier.de>
9002
9003 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9004
9005 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * progmodes/etags.el (tags-completion-at-point-function):
9008 Improve last fix.
9009
9010 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9011
9012 2012-03-21 Sam Steingold <sds@gnu.org>
9013
9014 * progmodes/etags.el (tags-completion-at-point-function):
9015 Avoid the error when point is inside the pattern.
9016
9017 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9018
9019 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9020 line (Bug#10855).
9021
9022 2012-03-21 Drew Adams <drew.adams@oracle.com>
9023
9024 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9025
9026 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9027
9028 * ido.el (ido-set-current-directory, ido-read-internal)
9029 (ido-choose-completion-string, ido-completion-help): Handle nil
9030 value of ido-completion-buffer (Bug#11008).
9031
9032 2012-03-21 Sam Steingold <sds@gnu.org>
9033
9034 * window.el (switch-to-prev-buffer): Do not switch to a visible
9035 window previous buffer, just like with the frame previous buffers.
9036
9037 2012-03-21 Chong Yidong <cyd@gnu.org>
9038
9039 * faces.el (make-face, make-empty-face, copy-face):
9040 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9041 Doc fixes.
9042
9043 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9044
9045 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9046 (widget-complete): Remove broken use of it.
9047
9048 2012-03-20 Chong Yidong <cyd@gnu.org>
9049
9050 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9051 Use string-width and truncate-string-width to handle arbitrary
9052 characters.
9053
9054 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9055
9056 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9057 to draw rectangles, not squares. (Regression introduced by revno
9058 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9059
9060 2012-03-18 Chong Yidong <cyd@gnu.org>
9061
9062 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9063 it is not yet defined (for temacs).
9064
9065 2012-03-18 Leo Liu <sdl.web@gmail.com>
9066
9067 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9068 prefix.
9069
9070 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9071
9072 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9073 (ispell-choices-win-default-height, ispell-silently-savep)
9074 (ispell-dictionary-alist, ispell-encoding8-command)
9075 (ispell-check-version, ispell-aspell-find-dictionary)
9076 (ispell-valid-dictionary-list, ispell-words-keyword)
9077 (ispell-get-word, ispell-internal-change-dictionary)
9078 (ispell-region, ispell-skip-region-list)
9079 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9080 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9081 (ispell-message-text-end, ispell-message)
9082 (ispell-buffer-local-parsing): Doc fix.
9083
9084 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9085
9086 * htmlfontify.el: Add support for code block fontification for ODT
9087 export (Bug #9914).
9088 (hfy-optimisations): Define new option
9089 `body-text-only'
9090 (hfy-fontify-buffer): Honor above setting.
9091 (hfy-begin-span, hfy-end-span): New routines factored out form
9092 `hfy-fontify-buffer'.
9093 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9094 that permit insertion of custom tags.
9095 (hfy-fontify-buffer): Use above handlers.
9096 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9097 (hfy-face-to-css): Re-defined to be a variable.
9098 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9099 over multiple runs. This is made possible by having the caller let
9100 bind a special variable `hfy-user-sheet-assoc'.
9101 (htmlfontify-string): New defun.
9102 (hfy-compile-face-map): Make sure that the last char in the
9103 buffer is correctly fontified.
9104 (hfy-face-resolve-face): Whitespace only change.
9105
9106 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9107
9108 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9109 message more clear.
9110
9111 2012-03-16 Leo Liu <sdl.web@gmail.com>
9112
9113 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9114
9115 2012-03-16 Alan Mackenzie <acm@muc.de>
9116
9117 Further optimise the handling of large macros.
9118
9119 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9120 limit to a call of `c-literal-limits'.
9121 (c-determine-+ve-limit): New function.
9122 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9123 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9124 In CASE 5B, restrict a search limit to 500.
9125 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9126
9127 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9128 Restrict macro bounds to +-500 from after-change's BEG END.
9129
9130 2012-03-16 Leo Liu <sdl.web@gmail.com>
9131
9132 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9133
9134 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9135
9136 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9137 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9138
9139 2012-03-16 Glenn Morris <rgm@gnu.org>
9140
9141 * view.el (view-buffer, view-buffer-other-window)
9142 (view-buffer-other-frame): Doc fixes re special mode-class.
9143
9144 * subr.el (eval-after-load): If named feature is provided not from
9145 a file, run after-load forms. (Bug#10946)
9146
9147 * calendar/calendar.el (calendar-insert-at-column):
9148 Handle non-unit-width characters a bit better. (Bug#10978)
9149
9150 2012-03-15 Chong Yidong <cyd@gnu.org>
9151
9152 * emacs-lisp/ring.el (ring-extend): New function.
9153 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9154
9155 * comint.el (comint-read-input-ring)
9156 (comint-add-to-input-history): Grow comint-input-ring lazily.
9157
9158 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9161 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9162
9163 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9164 (imenu-add-to-menubar): Don't add a redundant index.
9165 (imenu-update-menubar): Handle a dynamically composed keymap.
9166
9167 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9168
9169 * mail/sendmail.el (mail-encode-header):
9170 Bind rfc2047-encode-encoded-words to nil.
9171
9172 2012-03-13 Glenn Morris <rgm@gnu.org>
9173
9174 * calendar/calendar.el (calendar-string-spread):
9175 Handle non-unit-width characters a bit better. (Bug#10978)
9176
9177 2012-03-13 Leo Liu <sdl.web@gmail.com>
9178
9179 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9180 directory and file as argument (Bug#10822).
9181
9182 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9183
9184 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9185 For dynamically generated code, follow $PC.
9186 (gdb-disassembly-handler-custom): Handle no function name case.
9187
9188 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9189
9190 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9191 * emulation/ws-mode.el (ws-query-replace):
9192 * sort.el (sort-regexp-fields):
9193 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9194
9195 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * dabbrev.el: Fix cycle completion order (bug#10963).
9198 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9199 (dabbrev-completion): Don't use an obarray; provide
9200 a cycle-sort-function.
9201
9202 2012-03-12 Leo Liu <sdl.web@gmail.com>
9203
9204 * simple.el (kill-new): Use equal-including-properties for comparison.
9205 (kill-do-not-save-duplicates): Doc fix.
9206
9207 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9208
9209 * dabbrev.el: Fix cycle completion (bug#10963).
9210 Use lexical binding and wrap to 80 columns.
9211 (dabbrev-completion): Delay computing the list of completions.
9212
9213 2012-03-12 Kenichi Handa <handa@m17n.org>
9214
9215 * international/quail.el (quail-insert-kbd-layout): Surround each
9216 row by LRO and PDF instead of inserting many LRMs. Pad the left
9217 and right of each non-spacing marks. Insert invisible space
9218 between lower and upper characters to prevent composition.
9219
9220 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9221
9222 * minibuffer.el (minibuffer-complete): Don't get confused when the
9223 function is run twice via different commands (bug#10958).
9224 (complete-with-action): Fix docstring.
9225
9226 2012-03-12 Chong Yidong <cyd@gnu.org>
9227
9228 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9229 (nxml-completion-at-point-function): New function.
9230 (nxml-mode): Use it.
9231 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9232
9233 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9234 Load generated autoloads file before byte compiling (Bug#10970).
9235 (package--make-autoloads-and-compile): New helper fun.
9236
9237 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9238
9239 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9240
9241 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9242
9243 * autorevert.el (auto-revert-handler): Ensure, that
9244 file-readable-p is applied only for local files or in
9245 auto-revert-tail-mode.
9246
9247 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9248
9249 * server.el (server-eval-at): Handle non-tcp connections.
9250 Decode result string.
9251
9252 * server.el (server-msg-size): New constant.
9253 (server-reply-print): New function.
9254 (server-eval-and-print): Use it.
9255 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9256 Handle -print-nonl.
9257
9258 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9259
9260 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9261 (Bug#10987).
9262
9263 2012-03-11 Chong Yidong <cyd@gnu.org>
9264
9265 * simple.el (goto-line): Doc fix (Bug#9938).
9266
9267 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9268
9269 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9270 when finished (Bug#10963).
9271
9272 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9273
9274 * window.el (split-window-below): Fix bug in case where
9275 split-window-keep-point is nil (Bug#10971).
9276
9277 2012-03-11 Juri Linkov <juri@jurta.org>
9278
9279 * replace.el (replace-highlight): Set isearch-word to nil
9280 unconditionally. (Bug#10887)
9281
9282 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9283
9284 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9285 mairix-replace-illegal-chars; all callers changed. Don't remove
9286 ^, ~, and = characters: they are meaningful in mairix search specs.
9287 (mairix-widget-create-query): Add usage information about mairix
9288 search forms: negating words, searching for substrings, etc.
9289
9290 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9291
9292 * international/fontset.el (font-encoding-alist): Add an entry for
9293 ksx1001 (Bug#5667).
9294
9295 2012-03-10 Richard Stallman <rms@gnu.org>
9296
9297 * mail/sendmail.el (mail-encode-header):
9298 Set rfc2047-encode-encoded-words.
9299
9300 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9301
9302 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9303 view buffer means not swapped.
9304 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9305 (rmail-write-region-annotate): Error if real text has disappeared.
9306
9307 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9308
9309 2012-03-10 Chong Yidong <cyd@gnu.org>
9310
9311 * emulation/cua-rect.el (cua--init-rectangles):
9312 * emulation/cua-base.el (cua--init-keymaps):
9313 Add delete-forward-char to remappings (Bug#9666).
9314
9315 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9316
9317 * speedbar.el (speedbar-unhighlight-one-tag-line):
9318 Avoid unhighlighting due to frame switching (Bug#10275).
9319
9320 2012-03-10 Chong Yidong <cyd@gnu.org>
9321
9322 * minibuffer.el (completion-in-region, completion-help-at-point):
9323 Give the completion field overlay a high priority (Bug#6830).
9324
9325 * dired.el (dired-goto-file): Recognize absolute file name
9326 listings (Bug#7126).
9327 (dired-goto-file-1): New helper function.
9328 (dired-toggle-read-only): Inhibit warnings.
9329
9330 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9331
9332 * net/dbus.el (dbus-property-handler): Return empty array if
9333 there are no properties.
9334
9335 2012-03-09 Leo Liu <sdl.web@gmail.com>
9336
9337 * savehist.el (savehist-printable): Stricter check for string
9338 value (Bug#10937).
9339
9340 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9341
9342 * mail/smtpmail.el (smtpmail-send-it):
9343 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9344 valid mbox format.
9345
9346 2012-03-09 Glenn Morris <rgm@gnu.org>
9347
9348 * files.el (dir-locals-find-file):
9349 Don't check result is regular, readable.
9350 (dir-locals-read-from-file): Demote errors.
9351
9352 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9353
9354 * international/quail.el (quail-insert-kbd-layout):
9355 Insert invisible LRM characters before each character in a keyboard
9356 layout cell, to prevent their reordering by bidi display engine.
9357 For details, see the discussion in
9358 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9359
9360 2012-03-08 Alan Mackenzie <acm@muc.de>
9361
9362 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9363 the starting position; make it extend the marked region when
9364 invoked repeatedly - all under appropriate circumstances.
9365 Fixes bugs #5525, #10906.
9366
9367 2012-03-08 Glenn Morris <rgm@gnu.org>
9368
9369 * files.el (locate-dominating-file, dir-locals-find-file):
9370 Undo 2012-03-06 change.
9371
9372 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9373
9374 * international/quail.el (quail-help):
9375 Force bidi-paragraph-direction be left-to-right. See discussion in
9376 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9377 for the reason.
9378
9379 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9380
9381 Avoid superfluous registering of signals. (Bug#10807)
9382
9383 * notifications.el (notifications-on-action-object)
9384 (notifications-on-close-object): New defvars.
9385 (notifications-on-action-signal, notifications-on-closed-signal):
9386 Unregister the signal if not needed any longer.
9387 (notifications-notify): Register `notifications-action-signal' or
9388 `notifications-closed-signal', if :on-action or :on-close has been
9389 passed as argument.
9390
9391 2012-03-07 Chong Yidong <cyd@gnu.org>
9392
9393 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9394 non-X platforms.
9395
9396 2012-03-06 Glenn Morris <rgm@gnu.org>
9397
9398 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9399 (x-disown-selection-internal, x-get-selection-internal):
9400 Doc fix (add arglist signatures). (Bug#10783)
9401
9402 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9403
9404 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9405 Handle breakpoints with no "type".
9406
9407 2012-03-06 Glenn Morris <rgm@gnu.org>
9408
9409 * files.el (locate-dominating-file): Add optional predicate argument.
9410 (dir-locals-find-file): Make use of above change.
9411
9412 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9413
9414 * info.el (Info-insert-dir): Also try "dir.gz".
9415
9416 2012-03-06 Glenn Morris <rgm@gnu.org>
9417
9418 * files.el (dir-locals-find-file):
9419 Ignore non-readable or non-regular files. (Bug#10928)
9420
9421 * files.el (locate-dominating-file): Doc fix.
9422
9423 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9424
9425 * calendar/calendar.el (calendar-set-mode-line):
9426 `getenv' returns a string. (Bug#10951)
9427
9428 2012-03-05 Leo Liu <sdl.web@gmail.com>
9429
9430 * simple.el (backward-delete-char-untabify): Constrain point to
9431 field (Bug#10939).
9432
9433 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9434
9435 2012-03-05 Chong Yidong <cyd@gnu.org>
9436
9437 * simple.el (count-words): If called from Lisp, return the word
9438 count, for symmetry with `count-lines'. Arglist changed.
9439 (count-words--message): Args changed. Consolidate counting code
9440 from count-words and count-words-region.
9441 (count-words-region): Caller changed.
9442 (count-lines-region): Make it an obsolete alias.
9443
9444 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9445
9446 * saveplace.el (save-place-to-alist)
9447 (save-place-ignore-files-regexp): Allow value nil to disable this
9448 feature.
9449
9450 2012-03-04 Chong Yidong <cyd@gnu.org>
9451
9452 * faces.el (face-spec-reset-face): For the default face, reset the
9453 attributes to default values (Bug#10748).
9454
9455 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9456
9457 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9458 previous patch: Check `message-send-mail-function', and not the
9459 default function (bug#10897).
9460
9461 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9462
9463 * notifications.el (notifications-on-action-signal)
9464 (notifications-on-closed-signal): Check for unique service name of
9465 incoming event. Fix error in removing entry.
9466 (top): Register for signals with wildcard service name.
9467 (notifications-notify): Use daemon unique service name for map entries.
9468
9469 2012-03-04 Chong Yidong <cyd@gnu.org>
9470
9471 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9472
9473 2012-03-04 Glenn Morris <rgm@gnu.org>
9474
9475 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9476 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9477 (expand-abbrev, define-abbrev-table): Doc fixes.
9478
9479 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9480
9481 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9482 `message-default-send-mail-function' and not `send-mail-function'
9483 when doing the prompting for `sendmail-query-once' before sending
9484 in Message buffers (bug#10897).
9485
9486 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9487 This is inconsistent with all the other stream functions, which leave
9488 the setting up to the higher levels (if so wanted) (bug#10931).
9489
9490 2012-03-02 Alan Mackenzie <acm@muc.de>
9491
9492 Depessimize the handling of very large macros.
9493
9494 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9495 (c-macro-cache-syntactic): New variables to implement a one
9496 element macro cache.
9497 (c-invalidate-macro-cache): New function.
9498 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9499 Adapt to use the new cache.
9500 (c-state-safe-place): Use better the cache of safe positions.
9501 (c-state-semi-nonlit-pos-cache)
9502 (c-state-semi-nonlit-pos-cache-limit):
9503 New variables for...
9504 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9505 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9506 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9507 Use c-state-semi-safe-place.
9508
9509 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9510 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9511
9512 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9513
9514 * jka-compr.el (jka-compr-call-process):
9515 Apply `file-accessible-directory-p' only when the default directory is
9516 not remote.
9517
9518 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9519
9520 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9521 access of FILE2, if FILE1 does not exist.
9522
9523 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9524 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9525
9526 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9527 Add "PAGER=" to `process-environment'.
9528
9529 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9530
9531 * progmodes/sql.el: Bug fix
9532 (sql-get-login-ext): Save login values in globals.
9533 (sql-get-login): Use new version of `sql-get-login-ext'.
9534 (sql-interactive-mode): Set global `sql-connection' to nil.
9535 (sql-connect): Set global values for connection.
9536 (sql-product-interactive): Save global values as buffer local.
9537
9538 2012-02-29 Leo Liu <sdl.web@gmail.com>
9539
9540 * abbrev.el (define-abbrevs): Reset sys to nil.
9541
9542 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9543
9544 * files.el (file-equal-p): Rename from `files-equal-p'.
9545 Return nil when one or both files don't exist.
9546 (file-subdir-of-p): Now only top directory must exists,
9547 return nil if it doesn't.
9548 (copy-directory): No need to test with `file-subdir-of-p' after
9549 creating dir.
9550 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9551 to `file-equal-p'.
9552
9553 2012-02-28 Glenn Morris <rgm@gnu.org>
9554
9555 * shell.el (shell-mode):
9556 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9557 * play/landmark.el (landmark-font-lock-face-O):
9558 * play/handwrite.el (handwrite):
9559 * play/gomoku.el (gomoku-O):
9560 * net/browse-url.el (browse-url-browser-display):
9561 * international/mule.el (define-charset):
9562 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9563 * filesets.el (filesets-find-file-delay):
9564 * eshell/em-xtra.el (eshell-xtra):
9565 * eshell/em-unix.el (eshell-grep):
9566 * emulation/viper.el (viper-mode):
9567 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9568 * emacs-lisp/easymenu.el (easy-menu-define):
9569 * calendar/timeclock.el (timeclock-use-display-time):
9570 * bs.el (bs-mode):
9571 * bookmark.el (bookmark-save-flag):
9572 Doc fix (standardize possessive apostrophe usage).
9573
9574 2012-02-27 Chong Yidong <cyd@gnu.org>
9575
9576 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9577 Fix key-binding lookup for ESC key (Bug#9146).
9578
9579 * font-lock.el (font-lock-specified-p): Rename from
9580 font-lock-spec-present. Callers changed.
9581
9582 2012-02-27 Daniel Hackney <dan@haxney.org>
9583
9584 * emacs-lisp/package.el (package-compute-transaction):
9585 Handle holding a package version to t in package-load-list.
9586
9587 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9588
9589 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9590 (tramp-get-inode, tramp-get-device): Use cached values.
9591
9592 2012-02-26 Alan Mackenzie <acm@muc.de>
9593
9594 Check there is a font-lock specification before doing initial
9595 fontification.
9596
9597 * font-core.el (font-lock-mode): Move the conditional from
9598 :after-hook to font-lock-initial-fontify.
9599 (font-lock-default-function): Move the check for a specification
9600 to font-lock-spec-present.
9601
9602 * font-lock.el (font-lock-initial-fontify): Call ...
9603 (font-lock-spec-present): New function.
9604
9605 2012-02-26 Jim Blandy <jimb@red-bean.com>
9606
9607 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9608 (gdb-send): Apply it to the operand of the '-interpreter-exec
9609 console' command, so that we can pass arguments with (say) quotes
9610 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9611
9612 2012-02-26 Chong Yidong <cyd@gnu.org>
9613
9614 * help-fns.el (describe-function-1): Clarify description of
9615 remapping (Bug#10844).
9616
9617 * files.el (files-equal-p): Doc fix.
9618 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9619 and quit the loop once a mismatch is found.
9620
9621 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9622
9623 * bs.el (bs--show-with-configuration): Don't throw an error
9624 if the window cannot be split; otherwise, subsequent calls to
9625 bs-show fail, restoring a stale window config. (Bug#10882)
9626
9627 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9628
9629 * term/ns-win.el (global-map): Bind ns-drag-file to
9630 ns-find-file (Bug#5855, Bug#10050).
9631
9632 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9633
9634 * calendar/parse-time.el (parse-time-string): Allow extractor to
9635 return nil.
9636
9637 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9638
9639 * net/tramp.el (tramp-file-name-for-operation):
9640 Add `files-equal-p' and `file-subdir-of-p'.
9641
9642 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9643 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9644 Add COPY-CONTENTS argument.
9645
9646 2012-02-25 Chong Yidong <cyd@gnu.org>
9647
9648 Add custom groups for VC backends, for consistency with vc-bzr.
9649
9650 * vc/vc-arch.el (vc-arch):
9651 * vc/vc-cvs.el (vc-cvs):
9652 * vc/vc-git.el (vc-git):
9653 * vc/vc-hg.el (vc-hg):
9654 * vc/vc-mtn.el (vc-mtn):
9655 * vc/vc-rcs.el (vc-rcs):
9656 * vc/vc-sccs.el (vc-sccs):
9657 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9658 All relevant defcustoms reassigned.
9659
9660 2012-02-25 Chong Yidong <cyd@gnu.org>
9661
9662 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9663
9664 * term/x-win.el (x-initialize-window-system): Reduce default for
9665 x-selection-timeout to 5 seconds (Bug#8869).
9666
9667 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9668
9669 * files.el (files-equal-p, file-subdir-of-p): New functions.
9670 (copy-directory): Error when trying to copy a directory on itself.
9671 Add missing copy-contents arg to tramp handler.
9672 * dired-aux.el (dired-copy-file-recursive): Same.
9673 (dired-create-files): Modify destination when source is equal to
9674 dest when copying files.
9675 Return also when dest is a subdir of source. (Bug#10489)
9676
9677 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9678
9679 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9680 (Bug#10874)
9681
9682 2012-02-23 Alan Mackenzie <acm@muc.de>
9683
9684 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9685 parameter "after-hook:" to allow the expansion to run code after
9686 the execution of the mode hooks.
9687
9688 * font-lock.el (font-lock-initial-fontify): New function extracted
9689 from font-lock-mode-internal.
9690
9691 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9692 :after-hook.
9693
9694 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9695
9696 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9697 (completion--cache-all-sorted-completions): New function.
9698 (completion-all-sorted-completions): Use it.
9699 (completion--do-completion, minibuffer-force-complete):
9700 Use it to re-instate the flush hook.
9701
9702 * icomplete.el (icomplete-completions): Replace last fix with a better
9703 one (bug#10850).
9704
9705 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9706
9707 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9708 when it might call us back infinitely (bug#10797).
9709
9710 2012-02-23 Glenn Morris <rgm@gnu.org>
9711
9712 * minibuffer.el (completion-category-overrides): Doc fix.
9713
9714 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9715
9716 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9717 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9718
9719 2012-02-23 Glenn Morris <rgm@gnu.org>
9720
9721 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9722 (authors-obsolete-files-regexps, authors-ignored-files)
9723 (authors-ambiguous-files, authors-renamed-files-alist):
9724 Add more entries.
9725
9726 2012-02-23 Juri Linkov <juri@jurta.org>
9727
9728 * isearch.el (isearch-occur): Sync interactive spec with occur's
9729 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9730
9731 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9732
9733 2012-02-22 Juri Linkov <juri@jurta.org>
9734
9735 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9736 (ucs-insert): Doc fix. Check for hex digits in the string.
9737 Don't display `nil' in the error message. (Bug#10857)
9738
9739 2012-02-22 Alan Mackenzie <acm@muc.de>
9740
9741 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9742
9743 2012-02-22 Glenn Morris <rgm@gnu.org>
9744
9745 * ffap.el (ffap-c-path):
9746 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9747
9748 2012-02-22 Chong Yidong <cyd@gnu.org>
9749
9750 * custom.el (load-theme): Doc fix.
9751
9752 2012-02-22 Glenn Morris <rgm@gnu.org>
9753
9754 * dired-x.el (dired-guess-shell-alist-default):
9755 Remove escape sequences from nroff output. (Bug#172)
9756
9757 2012-02-21 Glenn Morris <rgm@gnu.org>
9758
9759 * vc/emerge.el (emerge-defvar-local):
9760 Set `permanent-local' property rather than unused `preserved'.
9761
9762 * textmodes/picture.el (picture-delete-char): New alias.
9763 (picture-mode-map): Use it. (Bug#10860)
9764 (picture-mode): Doc fix.
9765
9766 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9767
9768 * newcomment.el (uncomment-region-default): Remove unused binding.
9769
9770 2012-02-21 Glenn Morris <rgm@gnu.org>
9771
9772 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9773 (picture-self-insert, picture-tab-chars): Doc fix.
9774 (picture-mode-map): Fix C-a, C-e.
9775
9776 2012-02-20 Glenn Morris <rgm@gnu.org>
9777
9778 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9779
9780 2012-02-20 Leo Liu <sdl.web@gmail.com>
9781
9782 * icomplete.el (icomplete-completions): Check FROM arg before
9783 passing to substring (Bug#10850).
9784
9785 2012-02-19 Chong Yidong <cyd@gnu.org>
9786
9787 * comint.el: Require ansi-color.
9788 (comint-output-filter-functions): Add ansi-color-process-output.
9789
9790 * ansi-color.el: Don't set comint-output-filter-functions; it is
9791 now in the initial value defined in comint.el.
9792 (ansi-color-apply-face-function): New variable.
9793 (ansi-color-apply-on-region): Use it.
9794 (ansi-color-apply-overlay-face): New function.
9795
9796 * shell.el (shell): No need to require ansi-color.
9797 (shell-mode): Use ansi-color-apply-face-function to highlight
9798 color escapes using font-lock-face property (Bug#10835).
9799
9800 2012-02-19 Chong Yidong <cyd@gnu.org>
9801
9802 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9803 mode-line formats (Bug#10839).
9804
9805 2012-02-18 Glenn Morris <rgm@gnu.org>
9806
9807 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9808
9809 * mail/undigest.el (unforward-rmail-message): Doc fix.
9810
9811 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9812
9813 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9814
9815 * international/characters.el (script-list): Sync with the latest
9816 Unicode Character Database.
9817
9818 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9819
9820 * international/titdic-cnv.el: Remove duplicate coding tag.
9821 * language/cham.el: Likewise.
9822 * language/tai-viet.el: Likewise.
9823
9824 2012-02-18 Glenn Morris <rgm@gnu.org>
9825
9826 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9827 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9828 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9829 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9830 * calendar/holidays.el (holiday-bahai-holidays)
9831 (calendar-holidays, list-holidays):
9832 Use utf-8 Bahá'í in doc-strings, menus, etc.
9833
9834 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9835
9836 * saveplace.el (save-place-ignore-files-regexp): New variable
9837 allowing for excluding files from saving their location of point.
9838 The default value matches the temporary commit message editing
9839 files from Git, SVN, Bazaar, and Mercurial.
9840 (save-place-to-alist): Use it.
9841
9842 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9843 Stefan Monnier <monnier@iro.umontreal.ca>
9844
9845 * newcomment.el (uncomment-region-default): Don't leave extra space
9846 when an arg is provided (bug#8150).
9847
9848 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9849
9850 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9851
9852 2012-02-17 Glenn Morris <rgm@gnu.org>
9853
9854 * net/socks.el: Require network-stream. (Bug#10599)
9855
9856 2012-02-17 Kenichi Handa <handa@m17n.org>
9857
9858 * international/charprop.el:
9859 * international/uni-name.el:
9860 * international/uni-old-name.el:
9861 * international/uni-comment.el: Regenerate.
9862
9863 2012-02-16 Glenn Morris <rgm@gnu.org>
9864
9865 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9866 Interactively in calendar buffer, give an error if not on a date.
9867
9868 2012-02-15 Glenn Morris <rgm@gnu.org>
9869
9870 * shell.el (shell-delimiter-argument-list):
9871 Revert 2011-02-17 change. (Bug#8027)
9872
9873 2012-02-15 Chong Yidong <cyd@gnu.org>
9874
9875 * minibuffer.el (completion-at-point-functions): Doc fix.
9876
9877 * custom.el (defcustom): Doc fix; note use of defvar.
9878
9879 2012-02-15 Glenn Morris <rgm@gnu.org>
9880
9881 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9882 Doc fixes.
9883
9884 2012-02-14 Glenn Morris <rgm@gnu.org>
9885
9886 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9887
9888 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9889
9890 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9891 way the ports list is computed.
9892 (smtpmail-query-smtp-server): Prompt the user for a port number if
9893 we can't connect to any of the standard ports (bug#10810).
9894
9895 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9896
9897 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9898
9899 2012-02-13 Glenn Morris <rgm@gnu.org>
9900
9901 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9902
9903 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9904
9905 * net/gnutls.el (gnutls-trustfiles): New variable.
9906 (gnutls-negotiate): Use it.
9907
9908 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9909
9910 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9911 does its stuff if Gnus is running.
9912
9913 2012-02-13 Alan Mackenzie <acm@muc.de>
9914
9915 Fix a loop in c-set-fl-decl-start.
9916
9917 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9918 c-backward-syntactic-ws actually moves backwards.
9919
9920 2012-02-13 Leo Liu <sdl.web@gmail.com>
9921
9922 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9923 beginning so that all \C-o chars are removed.
9924
9925 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9926
9927 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9928
9929 2012-02-12 Alan Mackenzie <acm@muc.de>
9930
9931 Fix infinite loop with long macros.
9932 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9933
9934 2012-02-12 Chong Yidong <cyd@gnu.org>
9935
9936 * window.el (display-buffer): Doc fix (Bug#10785).
9937
9938 2012-02-12 Glenn Morris <rgm@gnu.org>
9939
9940 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9941 (x-disown-selection-internal, x-get-selection-internal):
9942 Sync docs with the xselect.c versions.
9943
9944 * allout-widgets.el: Add missing license notice.
9945
9946 2012-02-11 Glenn Morris <rgm@gnu.org>
9947
9948 * select.el (x-get-selection-internal, x-own-selection-internal)
9949 (x-disown-selection-internal):
9950 * x-dnd.el (x-get-selection-internal): Update declarations.
9951
9952 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9953
9954 * window.el (window-sides-slots):
9955 * tool-bar.el (tool-bar-position):
9956 * term/xterm.el (xterm-extra-capabilities):
9957 * ses.el (ses-self-reference-early-detection):
9958 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9959 (verilog-auto-wire-type)
9960 (verilog-auto-delete-trailing-whitespace)
9961 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9962 (verilog-auto-tieoff-declaration):
9963 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9964 (sql-oracle-statement-starters, sql-oracle-scan-on):
9965 * progmodes/prolog.el (prolog-align-comments-flag)
9966 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9967 (prolog-left-indent-regexp, prolog-paren-indent-p)
9968 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9969 (prolog-types, prolog-mode-specificators)
9970 (prolog-determinism-specificators, prolog-directives)
9971 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9972 (prolog-electric-dot-flag)
9973 (prolog-electric-dot-full-predicate-template)
9974 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9975 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9976 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9977 (prolog-program-switches, prolog-prompt-regexp)
9978 (prolog-debug-on-string, prolog-debug-off-string)
9979 (prolog-trace-on-string, prolog-trace-off-string)
9980 (prolog-zip-on-string, prolog-zip-off-string)
9981 (prolog-use-standard-consult-compile-method-flag)
9982 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9983 (prolog-imenu-max-lines, prolog-info-predicate-index)
9984 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9985 (prolog-char-quote-workaround):
9986 * progmodes/cc-vars.el (c-defun-tactic):
9987 * net/tramp.el (tramp-encoding-command-interactive)
9988 (tramp-local-end-of-line):
9989 * net/soap-client.el (soap-client):
9990 * net/netrc.el (netrc-file):
9991 * net/gnutls.el (gnutls):
9992 * minibuffer.el (completion-category-overrides)
9993 (completion-cycle-threshold)
9994 (completion-pcm-complete-word-inserts-delimiters):
9995 * man.el (Man-name-local-regexp):
9996 * mail/feedmail.el (feedmail-display-full-frame):
9997 * international/characters.el (glyphless-char-display-control):
9998 * eshell/em-ls.el (eshell-ls-date-format):
9999 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10000 (lisp-lambda-list-keyword-parameter-indentation)
10001 (lisp-lambda-list-keyword-parameter-alignment):
10002 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10003 * dired-x.el (dired-omit-verbose):
10004 * cus-theme.el (custom-theme-allow-multiple-selections):
10005 * calc/calc.el (calc-highlight-selections-with-faces)
10006 (calc-lu-field-reference, calc-lu-power-reference)
10007 (calc-note-threshold):
10008 * battery.el (battery-mode-line-limit):
10009 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10010 (archive-7z-update):
10011 * allout.el (allout-prefixed-keybindings)
10012 (allout-unprefixed-keybindings)
10013 (allout-inhibit-auto-fill-on-headline)
10014 (allout-flattened-numbering-abbreviation):
10015 * allout-widgets.el (allout-widgets-auto-activation)
10016 (allout-widgets-icons-dark-subdir)
10017 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10018 (allout-widgets-theme-dark-background)
10019 (allout-widgets-theme-light-background)
10020 (allout-widgets-item-image-properties-emacs)
10021 (allout-widgets-item-image-properties-xemacs)
10022 (allout-widgets-run-unit-tests-on-load)
10023 (allout-widgets-time-decoration-activity)
10024 (allout-widgets-hook-error-post-time)
10025 (allout-widgets-track-decoration):
10026 Add missing :version tags to new defcustoms and defgroups.
10027
10028 * progmodes/sql.el (sql-ansi-statement-starters)
10029 (sql-oracle-statement-starters): Add custom type.
10030
10031 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10032 (prolog-system-version): Give it a type.
10033
10034 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10035
10036 * term/pc-win.el (x-select-text, x-selection-owner-p)
10037 (x-own-selection-internal, x-disown-selection-internal)
10038 (x-get-selection-internal): Sync doc strings and argument lists
10039 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10040
10041 2012-02-11 Leo Liu <sdl.web@gmail.com>
10042
10043 * progmodes/python.el (python-end-of-statement): Fix infinite
10044 loop. (Bug#10788)
10045
10046 2012-02-10 Glenn Morris <rgm@gnu.org>
10047
10048 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10049 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10050
10051 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10052
10053 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10054 about SMTP before checking the From header.
10055
10056 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10057 into own function for reuse by emacsbug.el.
10058
10059 2012-02-10 Leo Liu <sdl.web@gmail.com>
10060
10061 * subr.el (condition-case-unless-debug): Rename from
10062 condition-case-no-debug. All callers changed.
10063 (with-demoted-errors): Fix caller.
10064
10065 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10066 * nxml/rng-valid.el (rng-do-some-validation):
10067 * emacs-lisp/package.el (package-refresh-contents)
10068 (package-menu-execute):
10069 * desktop.el (desktop-create-buffer):
10070 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10071
10072 2012-02-10 Glenn Morris <rgm@gnu.org>
10073
10074 * textmodes/bibtex.el:
10075 Add missing :version tags for new/changed defcustoms.
10076
10077 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10078
10079 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10080
10081 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10082 (smtpmail-via-smtp): Use it, or fall back on the From address.
10083 (smtpmail-send-it): Ditto.
10084
10085 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10086
10087 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10088 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10089 (byte-compile-tmp-var): New const.
10090 (byte-compile-defvar): Use it to minimize .elc size.
10091 Just use `defvar' rather than simulate it (bug#10761).
10092
10093 2012-02-09 Glenn Morris <rgm@gnu.org>
10094
10095 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10096
10097 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10098 Add :version tags.
10099
10100 * progmodes/compile.el (compilation-error-screen-columns)
10101 (compilation-first-column, compilation-filter-start): Doc fixes.
10102
10103 * vc/log-view.el (log-view-toggle-entry-display):
10104 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10105
10106 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10107 (report-emacs-bug-can-use-xdg-email):
10108 (report-emacs-bug-insert-to-mailer): Doc fixes.
10109 (report-emacs-bug): Message fix.
10110
10111 * net/browse-url.el (browse-url-can-use-xdg-open)
10112 (browse-url-xdg-open): Doc fixes.
10113
10114 * electric.el (electric-indent-mode, electric-pair-mode)
10115 (electric-layout-rules, electric-layout-mode): Doc fixes.
10116 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10117
10118 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10119
10120 * server.el (server-unselect-display): Don't inadvertently kill
10121 the current buffer. (Bug#10729)
10122
10123 2012-02-08 Glenn Morris <rgm@gnu.org>
10124
10125 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10126 (sql-list-table): Doc fixes.
10127
10128 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10129 Comment out (does nothing).
10130
10131 * completion.el (dynamic-completion-mode):
10132 * dirtrack.el (dirtrack-debug-mode):
10133 * electric.el (electric-layout-mode):
10134 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10135 * face-remap.el (text-scale-mode, buffer-face-mode):
10136 * iimage.el (iimage-mode):
10137 * image-mode.el (image-transform-mode):
10138 * minibuffer.el (completion-in-region-mode):
10139 * scroll-lock.el (scroll-lock-mode):
10140 * simple.el (next-error-follow-minor-mode):
10141 * tar-mode.el (tar-subfile-mode):
10142 * tooltip.el (tooltip-mode):
10143 * vcursor.el (vcursor-use-vcursor-map):
10144 * wid-browse.el (widget-minor-mode):
10145 * emulation/tpu-edt.el (tpu-edt-mode):
10146 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10147 * international/iso-ascii.el (iso-ascii-mode):
10148 * language/thai-util.el (thai-word-mode):
10149 * mail/supercite.el (sc-minor-mode):
10150 * net/goto-addr.el (goto-address-mode):
10151 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10152 * progmodes/cwarn.el (cwarn-mode):
10153 * progmodes/flymake.el (flymake-mode):
10154 * progmodes/glasses.el (glasses-mode):
10155 * progmodes/hideshow.el (hs-minor-mode):
10156 * progmodes/pascal.el (pascal-outline-mode):
10157 * textmodes/enriched.el (enriched-mode):
10158 * vc/smerge-mode.el (smerge-mode):
10159 Doc fixes (minor mode argument).
10160
10161 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10162
10163 * ls-lisp.el (ls-lisp-sanitize): New function.
10164 (ls-lisp-insert-directory): Use it to fix or remove any elements
10165 in file-alist with missing attributes. (Bug#4673)
10166
10167 2012-02-07 Alan Mackenzie <acm@muc.de>
10168
10169 Fix spurious recognition of c-in-knr-argdecl.
10170
10171 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10172 putative K&R region.
10173
10174 2012-02-07 Alan Mackenzie <acm@muc.de>
10175
10176 * progmodes/cc-engine.el (c-forward-objc-directive):
10177 Prevent looping in "#pragma mark @implementation".
10178
10179 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10180
10181 * notifications.el (notifications-on-closed-signal): Make `reason'
10182 optional. (Bug#10744)
10183
10184 2012-02-07 Glenn Morris <rgm@gnu.org>
10185
10186 * emacs-lisp/easy-mmode.el (define-minor-mode):
10187 Doc fixes for the macro and the mode it defines.
10188
10189 * image.el (imagemagick-types-inhibit): Doc fix.
10190
10191 * cus-start.el (imagemagick-render-type): Add it.
10192
10193 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10194
10195 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10196 Set the default at load time, too, so that `font-lock-fontify-buffer'
10197 can be called without setting up the entire mode first. This fixes
10198 a bug in `mm-inline-text' with C MIME parts.
10199
10200 2012-02-06 Chong Yidong <cyd@gnu.org>
10201
10202 * simple.el (list-processes--refresh): Delete exited processes
10203 (Bug#8094).
10204
10205 * comint.el (comint-next-prompt): next-single-char-property-change
10206 and prev-single-char-property-change never return nil (Bug#8657).
10207
10208 * custom.el (defcustom): Doc fix (Bug#9711).
10209
10210 2012-02-05 Chong Yidong <cyd@gnu.org>
10211
10212 * cus-edit.el (custom-variable-reset-backup): Quote the value
10213 before storing it in the customized-value property (Bug#6712).
10214 (custom-display): Add a customization type tag.
10215 (custom-buffer-create-internal): Improve tooltip message.
10216
10217 * wid-edit.el (widget-field-value-get): New optional arg to
10218 suppress trailing whitespace truncation.
10219 (character): Use it (Bug#2689).
10220
10221 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10222
10223 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10224 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10225
10226 2012-02-05 Chong Yidong <cyd@gnu.org>
10227
10228 * cus-edit.el (custom-variable-value-create): For mismatched
10229 types, show the current value (Bug#7600).
10230
10231 * custom.el (defcustom): Doc fix.
10232
10233 2012-02-05 Glenn Morris <rgm@gnu.org>
10234
10235 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10236
10237 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10238
10239 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10240 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10241 (pp-last-sexp): Use `looking-at-p'.
10242
10243 2012-02-04 Glenn Morris <rgm@gnu.org>
10244
10245 * files.el (revert-buffer):
10246 Doc fix (mention revert-buffer-in-progress-p).
10247
10248 * emacs-lisp/ert-x.el (ert-simulate-command):
10249 Check deferred-action-list (which is obsolete) is bound.
10250
10251 * subr.el (with-wrapper-hook): Doc fixes.
10252
10253 * simple.el (filter-buffer-substring-functions)
10254 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10255
10256 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10257
10258 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10259 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10260
10261 2012-02-04 Leo Liu <sdl.web@gmail.com>
10262
10263 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10264
10265 2012-02-04 Glenn Morris <rgm@gnu.org>
10266
10267 * image.el (image-extension-data): Add obsolete alias.
10268
10269 * isearch.el (isearch-update): Doc fix.
10270
10271 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10272
10273 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10274
10275 2012-02-03 Glenn Morris <rgm@gnu.org>
10276
10277 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10278 (image-animate-timeout): Doc fix.
10279
10280 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10281
10282 2012-02-02 Glenn Morris <rgm@gnu.org>
10283
10284 * server.el (server-auth-dir): Doc fix.
10285 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10286
10287 * subr.el (run-mode-hooks): Doc fix.
10288
10289 2012-02-02 Juri Linkov <juri@jurta.org>
10290
10291 * image-mode.el (image-toggle-display-image): Remove tautological
10292 `major-mode' from the `derived-mode-p' test.
10293
10294 2012-02-02 Kenichi Handa <handa@m17n.org>
10295
10296 * composite.el (compose-region): Cancel previous change.
10297
10298 2012-02-02 Kenichi Handa <handa@m17n.org>
10299
10300 * composite.el (compose-region, compose-string): Signal error for
10301 a null string component (Bug#6988).
10302
10303 2012-02-01 Chong Yidong <cyd@gnu.org>
10304
10305 * view.el (view-buffer-other-window, view-buffer-other-frame):
10306 Handle special modes like view-buffer (Bug#10650).
10307 (view-buffer): Simplify.
10308
10309 * frame.el (set-frame-font): Tweak meaning of third argument.
10310
10311 * dynamic-setting.el (font-setting-change-default-font):
10312 Use set-frame-font (Bug#9982).
10313
10314 2012-02-01 Glenn Morris <rgm@gnu.org>
10315
10316 * progmodes/compile.el (compilation-internal-error-properties):
10317 Respect compilation-first-column in the "*compilation*" buffer.
10318
10319 * emacs-lisp/easy-mmode.el (define-minor-mode):
10320 Relax :variable's test for a named function.
10321
10322 2012-01-31 Alan Mackenzie <acm@muc.de>
10323
10324 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10325 off by one error.
10326
10327 2012-01-31 Chong Yidong <cyd@gnu.org>
10328
10329 * frame.el (set-frame-font): New arg ALL-FRAMES.
10330
10331 * menu-bar.el (menu-set-font): Use set-frame-font.
10332
10333 * faces.el (face-spec-reset-face): Don't apply unspecified
10334 attribute values to the default face.
10335
10336 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10337
10338 * progmodes/cwarn.el (cwarn): Remove dead link.
10339 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10340 Remove * from defcustom docstrings.
10341 (turn-on-cwarn-mode): Make obsolete.
10342 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10343 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10344
10345 2012-01-31 Glenn Morris <rgm@gnu.org>
10346
10347 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10348 Fix :variable handling of mode a symbol not equal to modefun.
10349 Allow named functions to be used as the cdr of :variable.
10350
10351 2012-01-30 Glenn Morris <rgm@gnu.org>
10352
10353 * emacs-lisp/authors.el (authors-fixed-entries):
10354 Remove reference to deleted file rnewspost.el.
10355
10356 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10357
10358 * window.el (window-with-parameter): Remove unused variable `windows'.
10359 (window--side-check): Remove unused variable `code'.
10360 (window--resize-siblings): Remove unused variable `first'.
10361 (adjust-window-trailing-edge): Remove unused variable `failed'.
10362 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10363 Use `let', not `let*'.
10364 (balance-windows-2): Remove unused variable `found'.
10365 (window--state-put-2): Remove unused variable `splits'.
10366 (window-state-put): Remove unused variable `selected'.
10367 (same-window-p): Use `string-match-p'.
10368 (display-buffer-assq-regexp): Remove unused variable `value'.
10369 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10370 Mark argument ALIST as ignored.
10371 (pop-to-buffer): Remove unused variable `old-window'.
10372
10373 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10374
10375 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10376 and .lzma compressed files.
10377
10378 2012-01-29 Chong Yidong <cyd@gnu.org>
10379
10380 * frame.el (window-system-default-frame-alist): Doc fix.
10381
10382 * dynamic-setting.el (font-setting-change-default-font): Don't
10383 change the default face if SET-FONT argument is non-nil (Bug#9982).
10384
10385 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10386
10387 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10388
10389 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10390
10391 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10392 breakpoints in files outside current directory (Bug#6098).
10393
10394 2012-01-29 Chong Yidong <cyd@gnu.org>
10395
10396 * progmodes/python.el: Require ansi-color at top-level.
10397
10398 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10399 Define and use in Emacs Lisp mode (Bug#9360).
10400 (lisp-mode-abbrev-table): Add doc.
10401 (lisp-mode-variables): Don't set local-abbrev-table.
10402 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10403
10404 2012-01-28 Roland Winkler <winkler@gnu.org>
10405
10406 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10407
10408 2012-01-28 Roland Winkler <winkler@gnu.org>
10409
10410 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10411 (bibtex-set-dialect): Use it. Either set global values of
10412 dialect-dependent variables or bind these variables buffer-locally
10413 (Bug#10254).
10414 (bibtex-mode): Call bibtex-set-dialect via
10415 hack-local-variables-hook.
10416 (bibtex-dialect): Update docstring.
10417 Add safe-local-variable predicate.
10418 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10419 bibtex-set-dialect.
10420 (bibtex-mode-map): Define menu for each dialect.
10421 (bibtex-entry): Fix docstring.
10422
10423 2012-01-28 Chong Yidong <cyd@gnu.org>
10424
10425 * eshell/esh-arg.el (eshell-quote-argument): New function.
10426
10427 * eshell/esh-ext.el (eshell-invoke-batch-file):
10428 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10429 first arg to eshell-parse-command (Bug#10523).
10430
10431 2012-01-28 Drew Adams <drew.adams@oracle.com>
10432
10433 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10434 `default-directory' is non-nil.
10435
10436 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10437
10438 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10439 line that displays system-configuration-options. (Bug#9924)
10440
10441 2012-01-28 Drew Adams <drew.adams@oracle.com>
10442
10443 * descr-text.el (describe-char): Show information about POS, in
10444 addition to information about the character at POS. Improve and
10445 update the doc string. Change "code point" to "code point in
10446 charset", to avoid confusion with the character's Unicode code
10447 point shown above that. (Bug#10129)
10448
10449 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10450
10451 * descr-text.el (describe-char): Show the raw character, not only
10452 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10453 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10454 for the reasons.
10455
10456 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10457
10458 * emacs-lisp/package.el (package-install):
10459 Run package-refresh-contents if there is no archive yet (Bug#9798).
10460
10461 2012-01-28 Chong Yidong <cyd@gnu.org>
10462
10463 * emacs-lisp/package.el (package-maybe-load-descriptor):
10464 New function, split from package-maybe-load-descriptor.
10465 (package-maybe-load-descriptor): Use it.
10466 (package-download-transaction): Fully load required packages
10467 inside the loop, so that `require' calls work (Bug#10593).
10468 (package-install): No need to call package-initialize now.
10469
10470 2012-01-28 Chong Yidong <cyd@gnu.org>
10471
10472 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10473
10474 * tooltip.el (tooltip-mode): Doc fix.
10475 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10476
10477 * frame.el (set-cursor-color): Doc fix (Bug#352).
10478
10479 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10480 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10481
10482 * cus-edit.el (custom-buffer-create-internal): Fix search button
10483 action (Bug#10542).
10484 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10485
10486 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10487
10488 * dired.el (dired-mark-files-regexp):
10489 Include any subdirectory components. (Bug#10445)
10490
10491 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10492
10493 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10494 Handle [host]:port syntax. (Bug#10533)
10495
10496 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10497
10498 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10499
10500 2012-01-26 Glenn Morris <rgm@gnu.org>
10501
10502 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10503 * term.el (term-raw-escape-map): Use Control-X-prefix.
10504 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10505
10506 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10507
10508 * window.el (window-state-get, window--state-get-1): Don't deal
10509 with fixed-sizeness of windows. Simplify code.
10510
10511 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10512
10513 * window.el (window--state-get-1, window--state-put-2):
10514 Don't save and restore the mark.
10515
10516 2012-01-25 Chong Yidong <cyd@gnu.org>
10517
10518 * custom.el (custom-variable-p): Doc fix.
10519
10520 2012-01-25 Glenn Morris <rgm@gnu.org>
10521
10522 * dired.el (dired-goto-file): Handle some of the more common
10523 characters that `ls -b' escapes. (Bug#10596)
10524
10525 * progmodes/compile.el (compilation-next-error-function):
10526 Respect compilation-first-column in the "*compilation*" buffer.
10527 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10528
10529 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10530
10531 2012-01-24 Glenn Morris <rgm@gnu.org>
10532
10533 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10534
10535 2012-01-24 Julien Danjou <julien@danjou.info>
10536
10537 * color.el (color-rgb-to-hsl): Fix value computing.
10538 (color-hue-to-rgb): New function.
10539 (color-hsl-to-rgb): New function.
10540 (color-clamp, color-saturate-hsl, color-saturate-name)
10541 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10542 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10543
10544 2012-01-24 Glenn Morris <rgm@gnu.org>
10545
10546 * vc/vc-rcs.el (vc-rcs-create-tag):
10547 * vc/vc-sccs.el (vc-sccs-create-tag):
10548 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10549
10550 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10551
10552 * eshell/esh-util.el (eshell-read-hosts-file):
10553 Skip comment lines. (Bug#10549)
10554
10555 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10556
10557 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10558
10559 * subr.el (display-delayed-warnings): Doc fix.
10560 (collapse-delayed-warnings): New function to collapse identical
10561 adjacent warnings.
10562 (delayed-warnings-hook): Add it.
10563
10564 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10565
10566 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10567
10568 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10569 (tramp-default-user-alist): Don't add "pscp".
10570 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10571 property "login-as", if set. (Bug#10530)
10572
10573 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10574
10575 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10576 "plink1" and "psftp". (Bug#10530)
10577
10578 2012-01-21 Kenichi Handa <handa@m17n.org>
10579
10580 * international/mule-cmds.el (prefer-coding-system): Show a
10581 warning message if the default value of file-name-coding-system
10582 was not changed.
10583
10584 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10585
10586 * windmove.el (windmove-reference-loc):
10587 Fix windmove-reference-loc miscalculation.
10588
10589 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10590
10591 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10592 default unit.
10593
10594 2012-01-21 Glenn Morris <rgm@gnu.org>
10595
10596 * international/mule.el (auto-coding-alist): Add .tbz.
10597
10598 * files.el (local-enable-local-variables): Doc fix.
10599 (inhibit-local-variables-regexps): Rename from
10600 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10601 Doc fix. Add some extensions from auto-coding-alist.
10602 (inhibit-local-variables-suffixes):
10603 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10604 (inhibit-local-variables-p):
10605 New function, extracted from set-auto-mode-1.
10606 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10607 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10608 (hack-local-variables): Doc fix. Make the mode-only case
10609 respect enable-local-variables and friends.
10610 Respect inhibit-local-variables-regexps for file-locals, but
10611 not for directory-locals.
10612 (set-visited-file-name):
10613 Take account of inhibit-local-variables-regexps.
10614 Whether it applies may change as the file name is changed.
10615 * jka-cmpr-hook.el (jka-compr-install):
10616 * jka-compr.el (jka-compr-uninstall):
10617 Update for inhibit-first-line-modes-suffixes name change.
10618
10619 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10620
10621 * help-macro.el (make-help-screen): Temporarily restore original
10622 binding for minor-mode-map-alist (Bug#10454).
10623
10624 2012-01-19 Julien Danjou <julien@danjou.info>
10625
10626 * color.el (color-name-to-rgb): Use the white color to find the max
10627 color component value and return correctly computed values.
10628 (color-name-to-rgb): Add missing float conversion for max value.
10629
10630 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10631
10632 * window.el (window--state-get-1, window-state-get): Do not use
10633 special state value for window-persistent-parameters.
10634 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10635 (window--state-put-2): Reset all window parameters to nil before
10636 assigning values of persistent parameters.
10637
10638 2012-01-18 Alan Mackenzie <acm@muc.de>
10639
10640 Eliminate sluggishness and hangs in fontification of "semicolon
10641 deserts".
10642
10643 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10644 Change value 10000 -> 3000.
10645 (c-state-safe-place): Reformulate so it doesn't stack up an
10646 infinite number of wrong entries in c-state-nonlit-pos-cache.
10647 (c-determine-limit-get-base, c-determine-limit): New functions to
10648 determine backward search limits disregarding literals.
10649 (c-find-decl-spots): Amend commenting.
10650 (c-cheap-inside-bracelist-p): New function which detects "={".
10651
10652 * progmodes/cc-fonts.el
10653 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10654 backward search.
10655 (c-font-lock-declarations): Fix an occurrence of point being
10656 undefined. Check additionally for point being in a bracelist or
10657 near a macro invocation without a semicolon so as to avoid a
10658 fruitless time consuming search for a declarator. Give a more
10659 precise search limit for declarators using the new
10660 c-determine-limit.
10661
10662 2012-01-18 Glenn Morris <rgm@gnu.org>
10663
10664 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10665 (set-auto-mode): Doc fixes.
10666
10667 2012-01-17 Glenn Morris <rgm@gnu.org>
10668
10669 * isearch.el (search-nonincremental-instead): Fix doc typo.
10670
10671 * dired.el (dired-insert-directory): Handle newlines in directory name.
10672 (dired-build-subdir-alist): Unescape newlines in directory name.
10673
10674 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10675
10676 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10677 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10678 (tramp-action-terminal): Use it. (Bug#10530)
10679
10680 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10681
10682 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10683
10684 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10685
10686 * window.el (window-state-ignored-parameters): Remove variable.
10687 (window--state-get-1): Rename argument MARKERS to IGNORE.
10688 Handle persistent window parameters. Make copy of clone-of
10689 parameter only if requested. (Bug#10348)
10690 (window--state-put-2): Install a window parameter only if it has
10691 a non-nil value or an existing parameter shall be overwritten.
10692
10693 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10694
10695 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10696
10697 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10698
10699 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10700 don't pass the (nil) value of `upnode' to string-match.
10701
10702 2012-01-14 Chong Yidong <cyd@gnu.org>
10703
10704 * startup.el (command-line): Fix X resource class for cursorColor.
10705 Fix values recognized by the cursorBlink resource.
10706
10707 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10708
10709 * epg.el (epg--make-temp-file): Avoid permission race condition
10710 when running on old Emacs versions (bug#10403).
10711
10712 2012-01-14 Glenn Morris <rgm@gnu.org>
10713
10714 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10715
10716 2012-01-13 Alan Mackenzie <acm@muc.de>
10717
10718 Fix filling for when filladapt mode is enabled.
10719
10720 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10721 c-mask-paragraph, pass in `fill-paragraph' rather than
10722 `fill-region-as-paragraph'. (This is a reversion of a previous
10723 change.)
10724 * progmodes/cc-mode.el (c-basic-common-init):
10725 Make fill-paragraph-handle-comment buffer local and set it to nil.
10726
10727 2012-01-13 Glenn Morris <rgm@gnu.org>
10728
10729 * dired.el (dired-switches-escape-p): New function.
10730 (dired-insert-directory): Use dired-switches-escape-p.
10731 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10732
10733 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10734
10735 2012-01-12 Glenn Morris <rgm@gnu.org>
10736
10737 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10738 changes in adaptive-fill-regexp. (Bug#10276)
10739
10740 2012-01-11 Alan Mackenzie <acm@muc.de>
10741
10742 Fix Emacs bug #10463 - put `widen's around the critical spots.
10743
10744 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10745 widen around each invocation of c-state-pp-to-literal. Remove an
10746 unused let variable.
10747
10748 2012-01-11 Glenn Morris <rgm@gnu.org>
10749
10750 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10751 Doc fix.
10752
10753 2012-01-10 Chong Yidong <cyd@gnu.org>
10754
10755 * net/network-stream.el (network-stream-open-starttls):
10756 Avoid emitting a confusing error message when the server gives a bad
10757 response to the capability command.
10758
10759 2012-01-10 Glenn Morris <rgm@gnu.org>
10760
10761 * mail/unrmail.el (unrmail): Tweak previous change.
10762
10763 2012-01-09 Chong Yidong <cyd@gnu.org>
10764
10765 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10766
10767 2012-01-08 Alan Mackenzie <acm@muc.de>
10768
10769 Optimise font locking in long enum definitions.
10770
10771 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10772 arm to a cond form to handle enums.
10773 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10774 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10775
10776 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10777
10778 * files.el (move-file-to-trash): Preserve default file modes on error.
10779 (Bug#10401)
10780
10781 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10782
10783 * faces.el (set-face-attribute): Clarify the meaning of the nil
10784 frame (bug#10294).
10785
10786 * subr.el (with-selected-frame): Mention that the selected frame
10787 is restored (bug#9980).
10788
10789 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10790 (bug#9759).
10791
10792 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10793 (password-read): Don't autoload unused function.
10794
10795 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10796
10797 * progmodes/which-func.el (which-func-mode): Turn into a
10798 non-interactive function and mark as obsolete (bug#10428).
10799
10800 2012-01-06 Chong Yidong <cyd@gnu.org>
10801
10802 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10803 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10804 functions, along with 1 and -1.
10805
10806 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10807
10808 * time.el (display-time-load-average)
10809 (display-time-default-load-average): Doc fixes. See the thread
10810 starting at
10811 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10812 for the details.
10813
10814 2012-01-06 Glenn Morris <rgm@gnu.org>
10815
10816 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10817 has no messages. (Bug#10377)
10818
10819 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10820 than Info-edit. (Bug#10385)
10821
10822 * time.el (display-time-load-average, display-time-next-load-average):
10823 Doc fixes.
10824
10825 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10826 local setting of buffer-read-only to the input buffer. (Bug#10419)
10827
10828 * calendar/calendar.el (calendar-mode):
10829 Locally set scroll-margin to 0. (Bug#10379)
10830
10831 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10832
10833 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10834
10835 2012-01-05 Glenn Morris <rgm@gnu.org>
10836
10837 * eshell/em-unix.el (diff-no-select): Autoload it.
10838 (eshell/diff): Use diff-no-select. (Bug#10420)
10839
10840 2012-01-05 Chong Yidong <cyd@gnu.org>
10841
10842 * shell.el (shell-dynamic-complete-functions): Revert last change.
10843 (shell-command-completion-function): New function.
10844 (shell-completion-vars): Use it to implement
10845 shell-completion-execonly (Bug#10417).
10846
10847 * custom.el (enable-theme): Don't set custom-safe-themes.
10848
10849 * cus-theme.el (custom-theme-merge-theme):
10850 Ignore custom-enabled-themes and custom-safe-themes.
10851
10852 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10853
10854 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10855 first prompt in `sql-interacive-mode'.
10856 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10857 keywords.
10858 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10859 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10860 context of original buffer. Invoke `sql-login-hook'.
10861
10862 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10863
10864 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10865 letters in cite-prefix.
10866
10867 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10868
10869 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10870
10871 2012-01-03 Chong Yidong <cyd@gnu.org>
10872
10873 * shell.el (shell-dynamic-complete-functions):
10874 Put pcomplete-completions-at-point, so as to try
10875 comint-filename-completion first (Bug#10417).
10876
10877 2012-01-02 Richard Stallman <rms@gnu.org>
10878
10879 * battery.el (battery-status-function):
10880 Detect when to use battery-yeeloong-sysfs.
10881 (battery-echo-area-format): Add string for Yeeloong.
10882 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10883 (battery-yeeloong-sysfs): New function.
10884
10885 2012-01-02 Chong Yidong <cyd@gnu.org>
10886
10887 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10888 (dirtrack): Merge code for handling relative filenames in prompt
10889 from shell-dir-cookie-watcher.
10890 (dirtrack-debug-message): New arg to avoid excess format calls.
10891
10892 * shell.el (shell-dir-cookie-re): Variable deleted.
10893 (shell-dir-cookie-watcher): Function deleted.
10894 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10895 with dirtrack-mode.
10896
10897 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10898
10899 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10900 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10901 libgnutls-26.dll.
10902
10903 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10904
10905 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10906
10907 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10908
10909 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10910 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10911
10912 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10913
10914 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10915 also for alternative shells.
10916 (tramp-open-connection-setup-interactive-shell): Check, whether
10917 the shell is a busybox.
10918 (tramp-send-command): Don't suppress multiple prompts for
10919 busyboxes, it hurts.
10920
10921 2011-12-28 Chong Yidong <cyd@gnu.org>
10922
10923 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10924 (gdb-get-source-file): Move mode line update to
10925 gdb-get-source-file (Bug#10087).
10926
10927 2011-12-25 Chong Yidong <cyd@gnu.org>
10928
10929 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10930 gud-gdb-marker-filter without taking it as an argument.
10931 (gud-gdb-run-command-fetch-lines): Caller changed.
10932 (gud-gdb-completion-function): New variable.
10933 (gud-gdb-completion-at-point): Use it.
10934 (gud-gdb-completions-1): Split from gud-gdb-completions.
10935
10936 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10937 function as separate arguments.
10938 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10939 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10940 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10941 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10942 (gdb-stopped, def-gdb-auto-update-trigger)
10943 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10944 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10945 Callers changed.
10946 (gud-gdbmi-completions): New function.
10947 (gdb): Use it for generating the completion table.
10948
10949 2011-12-24 Alan Mackenzie <acm@muc.de>
10950
10951 Introduce a mechanism to widen the region used in context font
10952 locking. Use this to protect declarations from losing their contexts.
10953
10954 * progmodes/cc-langs.el (c-before-font-lock-functions):
10955 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10956 (c-before-context-fontification-functions): New defvar, a list of
10957 functions to be run just before context (etc.) font locking.
10958
10959 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10960 New, functionality extracted from
10961 c-neutralize-syntax-in-and-mark-CPP.
10962 (c-in-after-change-fontification): New variable.
10963 (c-after-change): Set c-in-after-change-fontification.
10964 (c-set-fl-decl-start): Rejig its interface, so it can be called
10965 from both after-change and context fontifying.
10966 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10967 New functions.
10968 (c-standard-font-lock-fontify-region-function): New variable.
10969 (c-font-lock-fontify-region): New function.
10970
10971 2011-12-24 Juri Linkov <juri@jurta.org>
10972
10973 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10974 (Bug#10348)
10975
10976 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
10977
10978 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10979 existence of source file. (Bug#10325)
10980
10981 2011-12-23 Alan Mackenzie <acm@muc.de>
10982
10983 Fix unstable fontification inside templates.
10984
10985 * progmodes/cc-langs.el (c-before-font-lock-functions):
10986 Newly created from the singular version. The (c c++ objc) entry now
10987 additionally has c-set-fl-decl-start. The other languages (apart
10988 from AWK) have that as a single entry.
10989
10990 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10991 The functionality for "local" declarations has been extracted to
10992 c-set-fl-decl-start.
10993
10994 * progmodes/cc-mode.el (c-common-init, c-after-change):
10995 Changes due to pluralisation of c-before-font-lock-functions.
10996 (c-set-fl-decl-start): New function, extracted from
10997 c-font-lock-enclosing-decls and enhanced.
10998
10999 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11000
11001 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11002
11003 2011-12-22 Juri Linkov <juri@jurta.org>
11004
11005 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11006
11007 2011-12-22 Chong Yidong <cyd@gnu.org>
11008
11009 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11010
11011 2011-12-21 Drew Adams <drew.adams@oracle.com>
11012
11013 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11014
11015 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11016
11017 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11018
11019 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11020
11021 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11022 highlighting and support. Fix up comments for capitalization.
11023 (cfengine-mode-debug): New var.
11024 (cfengine3-mode): Change the modeline indicator to "CFE3".
11025 (cfengine3-font-lock-keywords): Improve defun highlighting.
11026 (cfengine2-actions): Rename from `cfengine-actions'.
11027 (cfengine2-font-lock-keywords): Rename from
11028 `cfengine-font-lock-keywords'.
11029 (cfengine2-imenu-expression): Rename from
11030 `cfengine-imenu-expression'.
11031 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11032 (cfengine2-beginning-of-defun): Rename from
11033 `cfengine-beginning-of-defun'.
11034 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11035 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11036 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11037 modeline indicator to "CFE2".
11038 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11039 (cfengine-mode-abbrevs): Mark obsolete.
11040
11041 2011-12-21 Chong Yidong <cyd@gnu.org>
11042
11043 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11044 filename argument.
11045
11046 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11047
11048 * window.el (window-normalize-buffer-to-display): Remove.
11049 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11050
11051 2011-12-19 Chong Yidong <cyd@gnu.org>
11052
11053 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11054 Don't signal an error in a predicate function; return non-nil.
11055 (vc-dir-mark-file): Move the error here.
11056 (vc-dir-mark-unmark): If acting on the region, keep going if one
11057 of the entries cannot be marked/unmarked.
11058 (vc-dir-mark-all-files): If current entry is a directory, mark
11059 only child files, as documented.
11060
11061 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11062
11063 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11064 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11065 addition.
11066
11067 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11068
11069 * term/ns-win.el (ns-get-selection-internal)
11070 (ns-store-selection-internal): Declare.
11071 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11072 Declare as obsolete.
11073 (ns-get-pasteboard, ns-paste-secondary):
11074 Use ns-get-selection-internal.
11075 (ns-set-pasteboard, ns-copy-including-secondary):
11076 Use ns-store-selection-internal.
11077
11078 2011-12-17 Chong Yidong <cyd@gnu.org>
11079
11080 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11081 (vc-deduce-fileset): Doc fix.
11082
11083 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11084
11085 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11086
11087 2011-12-13 Sam Steingold <sds@gnu.org>
11088
11089 * man.el (Man-getpage-in-background): When running under a
11090 window-system, ignore $MANWIDTH and $COLUMNS.
11091
11092 2011-12-15 Kenichi Handa <handa@m17n.org>
11093
11094 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11095 (setup-ethiopic-environment-internal): Comment out key-binding for
11096 ethio-toggle-punctuation.
11097
11098 2011-12-13 Alan Mackenzie <acm@muc.de>
11099
11100 Add the switch statement to AWK Mode.
11101
11102 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11103 "default" to the keywords regexp.
11104
11105 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11106 expression as the rest.
11107 (c-nonlabel-token-key): Allow string literals for AWK.
11108 Refactor for the other modes.
11109
11110 Large brace-block initialisation makes CC Mode slow: Fix.
11111 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11112 routines. Limit backward searching in c-font-lock-enclosing.decl.
11113
11114 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11115 pp-state and literal type in addition to the limits.
11116 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11117 (c-state-literal-at): Use the above new defun.
11118 (c-slow-in-literal, c-fast-in-literal): Remove.
11119 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11120
11121 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11122 being in a literal. Add a limit for backward searching.
11123
11124 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11125 c-slow-in-literal.
11126
11127 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11130
11131 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11132
11133 * window.el (delete-other-windows): Use correct frame in call to
11134 window-with-parameter.
11135
11136 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11137
11138 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11139 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11140 (makefile-gmake-statements, makefile-makepp-statements):
11141 Use it and add new makepp keywords.
11142 (makefile-makepp-font-lock-keywords): Add new patterns.
11143 (makefile-match-function-end): Match new [...] and [[...]].
11144
11145 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11146
11147 * ses.el (ses-call-printer-return, ses-cell-property-get)
11148 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11149 (ses-create-cell-variable, ses-reset-header-string)
11150 (ses-cell-set-formula, ses-repair-cell-reference-all)
11151 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11152 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11153 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11154 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11155 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11156 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11157 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11158 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11159 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11160 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11161 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11162 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11163
11164 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11165
11166 * ses.el: The overall change is to add cell renaming, that is
11167 setting fancy names for cell symbols other than name matching
11168 "\\`[A-Z]+[0-9]+\\'" regexp .
11169 (ses-create-cell-variable): New defun.
11170 (ses-relocate-formula): Relocate formulas only for cells the
11171 symbols of which are not renamed, i.e. symbols whose names do not
11172 match regexp "\\`[A-Z]+[0-9]+\\'".
11173 (ses-relocate-all): Relocate values only for cells the symbols of
11174 which are not renamed.
11175 (ses-load): Create cells variables as the (ses-cell ...) are read,
11176 in order to check row col consistency with cell symbol name only
11177 for cells that are not renamed.
11178 (ses-replace-name-in-formula): New defun.
11179 (ses-rename-cell): New defun.
11180
11181 2011-12-11 Chong Yidong <cyd@gnu.org>
11182
11183 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11184 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11185
11186 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11187
11188 * window.el (other-window): Fix docstring.
11189
11190 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11191
11192 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11193 `from' or `to' address before taking its substring.
11194 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11195 encoded name is chopped in the middle of the encoded string, and
11196 thus displayed encoded.
11197
11198 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11199
11200 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11201
11202 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11203
11204 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11205 to use texinfo-update-node and commands that call it if the
11206 Texinfo file uses @node lines without next/prev/up pointers.
11207 Correct outdated description about texinfo-master-menu.
11208 (texinfo-all-menus-update, texinfo-master-menu)
11209 (texinfo-update-node, texinfo-every-node-update)
11210 (texinfo-multiple-files-update): Doc fix. Warn against updating
11211 all the @node lines.
11212 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11213 argument is numeric. Explain better in the doc string what the
11214 function really does.
11215 (texinfo-insert-master-menu-list): Improve the error message
11216 displayed if there's no menu in the Top node.
11217 (Bug#2975) See also this thread:
11218 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11219
11220 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11221
11222 * speedbar.el (speedbar-supported-extension-expressions):
11223 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11224
11225 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11226
11227 * printing.el (pr-mode-alist):
11228 * simple.el (filter-buffer-substring-functions)
11229 (completion-list-insert-choice-function):
11230 * window.el (window-with-parameter, window-atom-root)
11231 (window-sides-slots, window-size-fixed, window-min-delta)
11232 (window-max-delta, window--resize-mini-window)
11233 (window--resize-child-windows-normal, window-tree)
11234 (delete-other-windows, quit-window, split-window)
11235 (display-buffer-record-window, special-display-buffer-names)
11236 (special-display-regexps, special-display-popup-frame)
11237 (same-window-p, split-window-sensibly)
11238 (display-buffer-overriding-action, display-buffer-alist)
11239 (display-buffer-base-action, display-buffer, switch-to-buffer)
11240 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11241 (fit-window-to-buffer, recenter-positions)
11242 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11243 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11244 and remove unneeded backslashes in docstrings.
11245
11246 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11247
11248 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11249
11250 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11251 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11252 end in ".mk".
11253 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11254 when reading the makefile (bug#10116).
11255
11256 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11257
11258 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11259 (bug#10116).
11260
11261 2011-12-06 Glenn Morris <rgm@gnu.org>
11262
11263 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11264
11265 2011-12-06 Chong Yidong <cyd@gnu.org>
11266
11267 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11268
11269 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11270
11271 * textmodes/table.el (table-shorten-cell): Fix typo.
11272
11273 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11274
11275 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11276
11277 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11278
11279 * descr-text.el (describe-char): Fix display of strong
11280 right-to-left characters and directional embeddings and overrides.
11281
11282 * simple.el (what-cursor-position): Fix display of codepoints of
11283 strong right-to-left characters.
11284
11285 2011-12-05 Chong Yidong <cyd@gnu.org>
11286
11287 * faces.el (read-color): Doc fix.
11288
11289 2011-12-05 Glenn Morris <rgm@gnu.org>
11290
11291 * align.el (align--set-marker): Add doc-string.
11292 Don't try to move something that is not a marker. (Bug#10216)
11293
11294 2011-12-04 Glenn Morris <rgm@gnu.org>
11295
11296 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11297 overly zealous deletion of trailing whitespace.
11298
11299 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11300
11301 * server.el (server-delete-client): On Windows, do not try to delete
11302 the only terminal.
11303 (server-process-filter): On Windows, treat requests for a tty frame as
11304 if they were for a GUI frame if the running server is in GUI mode.
11305
11306 2011-12-03 Glenn Morris <rgm@gnu.org>
11307
11308 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11309
11310 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11311
11312 * electric.el: Streamline electric-indent's hook.
11313 (electric-indent-chars): Revert to simple list.
11314 (electric-indent-functions): New var.
11315 (electric-indent-post-self-insert-function): Use it.
11316
11317 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11318 there's no inferior buffer (bug#10196).
11319 (prolog-consult-compile): Don't use toggle-read-only.
11320
11321 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11322
11323 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11324 interrupt. (Bug#10187)
11325
11326 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11327
11328 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11329 (bug#9160).
11330
11331 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11332 (bug#10191).
11333
11334 2011-12-02 Juri Linkov <juri@jurta.org>
11335
11336 * info.el (Info-search): Display "end of manual" when Isearch
11337 reaches the end of single-file Info manual. (Bug#9918)
11338
11339 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11340
11341 * isearch.el (isearch-message-prefix): Run the input method part
11342 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11343
11344 2011-12-02 Juri Linkov <juri@jurta.org>
11345
11346 * isearch.el (isearch-occur): Use `word-search-regexp' for
11347 `isearch-word'.
11348 (isearch-search-and-update): Add condition for `isearch-word' and
11349 call `word-search-regexp'. (Bug#10145)
11350
11351 2011-12-01 Glenn Morris <rgm@gnu.org>
11352
11353 * eshell/em-hist.el (eshell-hist-initialize):
11354 Handle eshell-history-size nil and HISTSIZE set or unset.
11355 (eshell-history-file-name, eshell-history-size): Fix custom type.
11356
11357 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11358
11359 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11360
11361 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11362
11363 * progmodes/verilog-mode.el (verilog-pretty-expr):
11364 Rework verilog-pretty-expr to handle new assignment operators in system
11365 verilog, such as += *= and the like.
11366 (verilog-assignment-operator-re): Regular expression to find the
11367 assigment operator in a verilog assignment.
11368 (verilog-assignment-operation-re): Regular expression to find an
11369 assignment statement for pretty-expr.
11370 (verilog-in-attribute-p): Query returns true if point is in an
11371 attribute context; used to skip these for expression line up from
11372 pretty-expr.
11373 (verilog-in-parameter-p): Query returns true if point is in an
11374 parameter definition context; used to skip these for expression
11375 line up from pretty-expr.
11376 (verilog-in-parenthesis-p): Query returns true if point is in a
11377 parenthetical expression, specifically ( ) but not [ ] or { };
11378 used by pretty-expr.
11379 (verilog-just-one-space): If there is no space, don't add one.
11380 (verilog-get-lineup-indent-2): Specifically skip just attribute
11381 contexts for expression lineup, rather than skipping all
11382 parenthetical expressions.
11383 (verilog-calculate-indent): Fix comment, and fix indent.
11384 (verilog-do-indent): Indent declarations in lists (suggested by
11385 Joachim Lechner).
11386 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11387 skeleton items.
11388 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11389 by Alain Mellan).
11390
11391 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11392
11393 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11394 parameters with embedded comments. Reported by Ray Stevens.
11395 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11396 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11397 Reported by Tim Holt.
11398 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11399 instantiated by upper module causing wrong expansion until AUTOed a
11400 second time. Reported by K C Buckenmaier.
11401 (verilog-diff-auto): Fix showing .* as a difference when
11402 `verilog-auto-star-save' off. Reported by Dan Dever.
11403 (verilog-auto-reset, verilog-read-always-signals)
11404 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11405 temporary signals in reset list if
11406 verilog-auto-reset-blocking-in-non is nil, and match assignment
11407 style to each signal's assignment type, bug381.
11408 Reported by Thomas Esposito.
11409 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11410 (verilog-uvm-statement-re): Support UVM indentation and
11411 highlighting, with old OVM keywords only.
11412 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11413 Support AUTOTIEOFF creating non-wire data types.
11414 Suggested by Jonathan Greenlaw.
11415 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11416 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11417 (verilog-inject-sense, verilog-read-inst-pins)
11418 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11419 Fix mismatching parenthesis inside commented out code when deleting
11420 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11421 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11422 non-numeric vector width. Reported by Alex Reed.
11423 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11424 detecting signals with parameter widths. Reported by Alex Reed.
11425 (verilog-auto-delete-trailing-whitespace):
11426 With `verilog-auto-delete-trailing-whitespace' remove trailing
11427 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11428 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11429 Fix verilog-scan-cache corruption when running user AUTO expansion
11430 hooks that call indentation routines.
11431 (verilog-simplify-range-expression): Fix typo ignoring lower case
11432 identifiers.
11433 (verilog-delete-auto): Fix delete-autos to also remove user created
11434 automatics, as long as they start with AUTO.
11435 (verilog-batch-diff-auto, verilog-diff-auto)
11436 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11437 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11438 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11439 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11440 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11441 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11442 is disabled and its cache will get corrupt, causing AUTOS not to
11443 expand. Instead use only -quick functions.
11444 (verilog-scan-region): Fix scanning over escaped quotes.
11445 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11446 (verilog-re-search-backward-quick)
11447 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11448 related functions now ignore strings, to fix misparsing of strings
11449 with magic comments embedded in them.
11450 (verilog-read-auto-template):
11451 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11452 Reported by Brad Dobbie.
11453 (verilog-read-auto-template):
11454 Fix 'verilog-auto-inst-template-numbers' with comments.
11455 Reported by Brad Dobbie.
11456 (verilog-auto-inst, verilog-auto-inst-param)
11457 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11458 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11459 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11460 debugging templates without merge conflicts, bug357.
11461 Reported by Brad Dobbie.
11462 (verilog-read-auto-template):
11463 Fix verilog-auto-inst-template-numbers with multiple templates.
11464 Reported by Brad Dobbie.
11465 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11466 abbrevs so user won't be asked to save.
11467 (verilog-read-auto-lisp-present): Fix to start at beginning of
11468 buffer in case called outside of verilog-auto.
11469 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11470 to "X-2". Reported by Matthew Myers.
11471 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11472 all inputs from module templates. Reported by Leith Johnson.
11473 (verilog-module-inside-filename-p): Fix locating programs as with
11474 modules.
11475 (verilog-auto-inst-port): Fix vl-width expressions when using
11476 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11477 (verilog-decls-get-regs, verilog-decls-get-signals,
11478 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11479 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11480 verilog-read-decls): Combine reg and wire structures into one var
11481 structure to represent SystemVerilog concepts.
11482 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11483 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11484 (verilog-auto-wire-type, verilog-insert-definition):
11485 Add verilog-auto-wire-type and AUTOLOGIC to support using
11486 SystemVerilog "logic" keyword instead of "wire"/"reg".
11487 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11488 to declares outputs that also have assignments (presumably in an
11489 ifdef or generate if so there's not a driver conflict).
11490 Reported by Matthew Myers.
11491 (verilog-auto-declare-nettype, verilog-insert-definition):
11492 Add verilog-auto-declare-nettype to fix declarations using
11493 `default_nettype none. Reported by Julian Gorfajn.
11494 (verilog-read-always-signals-recurse, verilog-read-decls)
11495 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11496 malformed end statement, bug325. Reported by Joshua Wise and
11497 Andrew Drake.
11498 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11499 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11500 when expanding .* in interfaces, bug320.
11501 Reported by Pierre-David Pfister.
11502 (verilog-read-module-name): Fix import statements between module
11503 name and open parenthesis, bug317.
11504 Reported by Pierre-David Pfister.
11505 (verilog-simplify-range-expression): Fix simplification of
11506 multiplications inside AUTOWIRE connections, bug303.
11507 (verilog-auto-inst-port): Support parameter expansion in
11508 multidimensional arrays.
11509 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11510 after "assert property". Reported by Julian Gorfajn.
11511 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11512 with multiplication, bug303.
11513 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11514 Reported by Jan Frode Lonnum.
11515
11516 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11517
11518 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11519 (hfy-shell-file-name, hfy-shell):
11520 * international/fontset.el (x-decompose-font-name): Fix typos.
11521
11522 2011-11-29 Ken Brown <kbrown@cornell.edu>
11523
11524 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11525 (gdb-version): Remove defvar.
11526 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11527 (gdb-gud-context-command, gdb-non-stop-handler)
11528 (gdb-current-context-command, gdb-stopped): Use it.
11529 (gdb-init-1): Enable pretty printing here.
11530 (gdb-non-stop-handler): Don't enable pretty-printing here.
11531 Check to see if the target supports non-stop mode; if not, turn off
11532 non-stop mode. Use the following.
11533 (gdb-check-target-async): New defun.
11534 (gud-watch, gdb-stopped): Fix whitespace.
11535 (gdb-get-source-file): Don't try to display the source file if
11536 `gdb-main-file' is nil.
11537
11538 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11539
11540 * align.el: Try to generate fewer markers (bug#10047).
11541 (align--set-marker): New macro.
11542 (align-region): Use it.
11543
11544 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11545
11546 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11547
11548 2011-11-29 Chong Yidong <cyd@gnu.org>
11549
11550 * indent.el (indent-for-tab-command, indent-according-to-mode):
11551 Doc fix.
11552 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11553
11554 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11555
11556 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11557 aware of remote file names. (Bug#10124)
11558
11559 2011-11-29 Chong Yidong <cyd@gnu.org>
11560
11561 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11562
11563 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11564
11565 * files.el (find-file): Don't use force-same-window (bug#10144).
11566 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11567 use pop-to-buffer if the selected window can't be used.
11568 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11569
11570 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11571
11572 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11573 special-mode-map.
11574
11575 2011-11-28 Chong Yidong <cyd@gnu.org>
11576
11577 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11578
11579 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11580
11581 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11582 gdb-get-source-file-list on gdb-create-source-file-list.
11583
11584 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11585
11586 * whitespace.el (whitespace-newline): Use a different foreground
11587 color for 16-color light-background displays.
11588
11589 2011-11-24 Chong Yidong <cyd@gnu.org>
11590
11591 * window.el (display-buffer--special-action): Doc fix.
11592
11593 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11594
11595 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11596 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11597 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11598 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11599 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11600 (avl-tree-stack-first):
11601 * emacs-lisp/cconv.el (cconv--analyse-use):
11602 * net/gnutls.el (gnutls-negotiate): Fix typos.
11603
11604 2011-11-24 Glenn Morris <rgm@gnu.org>
11605
11606 * lpr.el (lpr-windows-system, lpr-lp-system):
11607 * mail/binhex.el (binhex-begin-line):
11608 * progmodes/grep.el (grep-history, grep-find-history):
11609 * textmodes/flyspell.el:
11610 * vc/pcvs-defs.el (cvs-global-menu):
11611 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11612 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11613 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11614
11615 * net/tls.el: Fix case of "GnuTLS".
11616
11617 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11618
11619 * version.el (emacs-build-system): Give it a doc-string.
11620
11621 2011-11-24 Juri Linkov <juri@jurta.org>
11622
11623 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11624
11625 2011-11-24 Glenn Morris <rgm@gnu.org>
11626
11627 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11628 if called on a non-mime message just toggle the headers. (Bug#8006)
11629
11630 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11631
11632 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11633 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11634 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11635 (allout-rebullet-heading, allout-open-sibtopic)
11636 (allout-toggle-current-subtree-encryption)
11637 (allout-toggle-subtree-encryption, allout-encrypt-string)
11638 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11639 (allout-distinctive-bullets-string, allout-auto-activation):
11640 * window.el (window-normalize-buffer-to-display):
11641 * progmodes/verilog-mode.el (verilog-batch-indent):
11642 * textmodes/bibtex.el (bibtex-field-braces-opt)
11643 (bibtex-field-strings-opt):
11644 * vc/cvs-status.el (cvs-tree-merge):
11645 Fix typos.
11646
11647 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11648
11649 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11650 `non-essential' to t, in order to avoid remote connections.
11651
11652 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11653
11654 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11655 On MS-DOS and MS-Windows, compare with loaddefs.el
11656 case-insensitively.
11657
11658 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11659
11660 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11661
11662 2011-11-23 Glenn Morris <rgm@gnu.org>
11663
11664 * paths.el (rmail-file-name): Reformat the doc-string so that it
11665 is picked up.
11666
11667 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11668 (rmail-auto-file): Ignore case in the "special" field names,
11669 as mail-fetch-field does for all others.
11670
11671 * mail/rmail.el (rmail-forward):
11672 * mail/rmailkwd.el (rmail-set-label):
11673 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11674 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11675
11676 * mail/rmail.el (rmail-current-message): Doc fix.
11677
11678 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11679
11680 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11681
11682 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11683
11684 2011-11-22 Glenn Morris <rgm@gnu.org>
11685
11686 * mail/rmailmm.el (test-rmail-mime-handler)
11687 (test-rmail-mime-bulk-handler)
11688 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11689
11690 2011-11-21 Juri Linkov <juri@jurta.org>
11691
11692 * calc/calc.el (calc-read-key-sequence):
11693 Let-bind `input-method-function' to nil. (Bug#10018)
11694
11695 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11696
11697 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11698 Tell the caller that the next line needs recomputation, even
11699 though it doesn't start a sexp (bug#10094).
11700
11701 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11702
11703 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11704
11705 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11706
11707 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11708 Use force-same-window.
11709
11710 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11711
11712 * descr-text.el (describe-char-unicode-data):
11713 * json.el (json-string-escape):
11714 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11715 (Footnote-unicode, Footnote-style-p):
11716 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11717
11718 2011-11-20 Chong Yidong <cyd@gnu.org>
11719
11720 * window.el (replace-buffer-in-windows): Restore interactive spec.
11721
11722 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11723
11724 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11725
11726 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11727 (byte-compile-global-not-obsolete-vars): New var.
11728 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11729 Use it.
11730 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11731
11732 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11733
11734 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11735 * progmodes/pascal.el (electric-pascal-equal):
11736 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11737 * xml.el (xml-substitute-special): Fix typos.
11738
11739 2011-11-20 Glenn Morris <rgm@gnu.org>
11740
11741 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11742 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11743 Doc fixes.
11744 (rmail-decode-mime-charset): Mark as obsolete.
11745
11746 * mail/rmailsum.el (rmail-message-regexp-p-1):
11747 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11748 Before using mime functions, check they are set. (Bug#10077)
11749
11750 2011-11-19 Juri Linkov <juri@jurta.org>
11751
11752 * info.el (Info-finder-find-node): Use `package--builtins' instead
11753 of `package-alist'. Use node names formed by the pattern "Keyword "
11754 and the keyword name.
11755
11756 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11757
11758 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11759
11760 2011-11-19 Juri Linkov <juri@jurta.org>
11761
11762 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11763 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11764 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11765 `old-history', `old-history-forward'. Add let-binding
11766 `window-selected'. Remove calls to `kill-buffer',
11767 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11768 before calling `Info-find-node', so `Info-find-node-2' will reread
11769 the Info file. Restore window positions only when `window-selected'
11770 is non-nil.
11771
11772 2011-11-19 Juri Linkov <juri@jurta.org>
11773
11774 * isearch.el (isearch-lazy-highlight-new-loop):
11775 Remove condition `(not isearch-error)'. (Bug#9918)
11776
11777 * misearch.el (multi-isearch-search-fun): Add condition
11778 `(not bound)' to ignore lazy-highlighting search.
11779 Add the search-failed message "end of multi" when the end of
11780 multi-sequence is reached. Uncapitalize the search-failed
11781 message "Repeat for next buffer".
11782
11783 * info.el (Info-search): Add the search-failed message
11784 "end of the manual" when the end of the manual is reached
11785 in Isearch mode.
11786
11787 2011-11-19 Juri Linkov <juri@jurta.org>
11788
11789 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11790 Use non-destructive `remove' instead of `delete' because
11791 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11792 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11793
11794 2011-11-19 Juri Linkov <juri@jurta.org>
11795
11796 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11797 to nil instead of binding `search-ring' and `regexp-search-ring'.
11798 (Bug#9185)
11799
11800 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11801
11802 * simple.el (line-move): Force movement by logical lines for any
11803 hscrolled window, not only when auto-hscroll-mode is on.
11804 (line-move-visual): Update doc string to that effect. (Bug#10076)
11805
11806 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11807
11808 * language/european.el (macintosh): Define as alias for mac-roman.
11809
11810 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11811
11812 * mail/rmailmm.el (rmail-mime-display-header)
11813 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11814 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11815 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11816 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11817 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11818 of a raw aref.
11819 (rmail-mime-entity-segment): To get past the tagline, move forward
11820 2 more lines, to account for the 2 empty lines that precede and
11821 follow the line with the buttons.
11822 (rmail-mime-update-tagline): Move one more line, to get past the
11823 empty line that follows the buttons in the tagline. (Bug#9520)
11824
11825 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11826
11827 * window.el (window-max-delta-1, window-min-delta-1)
11828 (window-min-size-1, window-state-get-1, window-state-put-1)
11829 (window-state-put-2): Use "window--" prefix.
11830
11831 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11832
11833 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11834 (smie-warning-count): New var.
11835 (smie-set-prec2tab): Use it.
11836 (smie-bnf->prec2): Improve warnings. Add docstring.
11837 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11838 (smie-bnf--set-class): New function.
11839 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11840 corner case.
11841
11842 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11843 (compilation-error-properties, compilation-move-to-column):
11844 Handle compilation-first-column while in the target buffer.
11845
11846 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11847 Don't hardcode point-min==1.
11848
11849 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11850 (eshell-rewrite-for-command): Remove workaround.
11851 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11852 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11853 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11854
11855 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11856
11857 2011-11-17 Glenn Morris <rgm@gnu.org>
11858
11859 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11860 Ignore buffer-local generated-autoload-file if it is the same
11861 as the global value. (Bug#10049)
11862
11863 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11864
11865 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11866 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11867 (reftex-toc-previous-heading, reftex-toc-max-level)
11868 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11869 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11870 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11871 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11872 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11873 (reftex-toc-rename-label, reftex-toc-visit-location)
11874 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11875 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11876 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11877 leaving "*toc*" only for references to the buffer.
11878
11879 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11880
11881 * window.el (window-resize, delete-window, split-window):
11882 Replace window-splits by window-combination-resize.
11883 * cus-start.el (window-splits): Replace by window-combination-resize.
11884
11885 2011-11-17 Glenn Morris <rgm@gnu.org>
11886
11887 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11888 Make bash entry derive from sh entry, not shell entry.
11889
11890 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11891
11892 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11893 local file name.
11894
11895 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11896
11897 * menu-bar.el (menu-bar-file-menu):
11898 * printing.el (pr-ps-utility):
11899 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11900 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11901 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11902 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11903 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11904 (icalendar--convert-cyclic-to-ical)
11905 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11906 (icalendar--convert-ical-to-diary)
11907 (icalendar--convert-recurring-to-diary)
11908 (icalendar--convert-non-recurring-all-day-to-diary)
11909 (icalendar-import-format-sample):
11910 * progmodes/idlw-shell.el (idlwave-shell-mode):
11911 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11912 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11913 (vhdl-ps-print-init): Fix typos.
11914
11915 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11916
11917 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11918 FSF and collapse date sequence, obscure author/maintainer email address
11919 better, remove extra version line, track relocation of author's webpage.
11920
11921 * progmodes/python.el (python-pdbtrack-input-prompt)
11922 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11923 regular python pdb prompts. Adjustments shamelessly taken exactly as
11924 suggested in EmacsWiki page (tiny change):
11925 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11926
11927 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11928
11929 * expand.el (expand-pos, expand-index, expand-point):
11930 Remove redundant info from docstring.
11931 (expand-add-abbrevs): Doc fix.
11932 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11933 (expand-sample-perl-mode-expand-list): Fix typos.
11934
11935 * net/dbus.el (dbus-event-member-name):
11936 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11937 * term/pc-win.el (msdos-create-frame-with-faces):
11938 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11939
11940 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11941
11942 * window.el (split-window, window-state-get-1)
11943 (window-state-put-1, window-state-put-2): Rename occurrences of
11944 window-nest to window-combination-limit.
11945 * cus-start.el (window-nest): Rename to window-combination-limit.
11946
11947 2011-11-16 Chong Yidong <cyd@gnu.org>
11948
11949 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11950 regexp (Bug#10033).
11951
11952 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11955 `completing-read' will remove *Completions* and will preserve
11956 current-buffer for us.
11957 (tmm-add-prompt): Users of *Completions* will always (re)set its
11958 major mode.
11959 (tmm-old-comp-map): Remove.
11960
11961 2011-11-16 Glenn Morris <rgm@gnu.org>
11962
11963 * mail/rmailedit.el: Require rmailmm when compiling.
11964 (rmail-old-mime-state): New declaration.
11965 (rmail-edit-current-message): If editing a mime message,
11966 edit the "raw" message from the mbox buffer.
11967 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11968
11969 2011-11-15 Glenn Morris <rgm@gnu.org>
11970
11971 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11972 which wasn't being used. Add optional arg to force given state.
11973 (rmail-mime): Add optional arg to force given state.
11974
11975 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11976
11977 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11978 * frame.el (display-mm-dimensions-alist):
11979 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11980 (outline-move-subtree-down):
11981 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11982 (newsticker--treeview-do-get-node):
11983 * net/quickurl.el (quickurl-list-buffer-name):
11984 * progmodes/dcl-mode.el (dcl-mode):
11985 * progmodes/gdb-mi.el (gdb-mapcar*):
11986 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11987
11988 2011-11-15 Glenn Morris <rgm@gnu.org>
11989
11990 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11991 in a boolean sense, so just make it a boolean, and fix the doc.
11992 (rmail-show-mime-function, rmail-mime-feature)
11993 (rmail-require-mime-maybe): Doc fixes.
11994 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11995
11996 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11997
11998 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
11999
12000 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12001 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12002 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12003 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12004
12005 2011-11-15 Glenn Morris <rgm@gnu.org>
12006
12007 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12008 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12009 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12010 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12011 (rmail-mime, rmail-show-mime): Doc fixes.
12012
12013 * term/ns-win.el (mode-line-frame-identification):
12014 Leave it alone. (Bug#10051)
12015
12016 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12017
12018 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12019 Handle empty buffers. (Bug#9978)
12020
12021 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12022
12023 * international/mule.el (define-charset):
12024 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12025 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12026 * progmodes/verilog-mode.el (verilog-backward-token):
12027 * textmodes/ispell.el (lookup-words):
12028 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12029
12030 2011-11-14 Glenn Morris <rgm@gnu.org>
12031
12032 * progmodes/executable.el
12033 (executable-make-buffer-file-executable-if-script-p):
12034 Handle file-modes returning nil.
12035
12036 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12037 message - not necessary, and causes problems. (Bug#9831)
12038
12039 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12040
12041 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12042
12043 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12044 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12045 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12046
12047 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12048
12049 * window.el (window-resize, delete-window): Use window-splits
12050 variable instead of function.
12051 (window-state-get-1, window-state-put-2, window-state-put):
12052 Don't deal with windows' splits status.
12053
12054 2011-11-12 Glenn Morris <rgm@gnu.org>
12055
12056 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12057 (apropos-documentation): Doc fixes.
12058
12059 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12060
12061 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12062 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12063
12064 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12065
12066 * electric.el (electric-indent-post-self-insert-function): Make it
12067 possible for a char to only indent in some circumstances.
12068 (electric-indent-mode): Simplify.
12069
12070 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12071
12072 * window.el (windows-with-parameter): Remove unused function.
12073 (windows-at-side): Rename to window-at-side-list.
12074 (window-check, window-atom-check, window-atom-check-1)
12075 (window-side-check, window-size-ignore, window-size-fixed-1)
12076 (window-in-direction-2): Prefix with "window--".
12077 (window-tree-1): Rename to window--subtree, fix doc-string.
12078
12079 2011-11-11 Glenn Morris <rgm@gnu.org>
12080
12081 * subr.el (eval-after-load): If FILE is already loaded,
12082 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12083
12084 2011-11-10 Glenn Morris <rgm@gnu.org>
12085
12086 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12087 Call svn via vc-svn-command rather than vc-do-command.
12088 (vc-svn-command): Add --non-interactive. (Bug#9993)
12089 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12090
12091 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12092 Add toggle-read-only. (Bug#7292)
12093 * files.el (toggle-read-only): Mention that it should only
12094 be used interactively. (Bug#10006)
12095
12096 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12097
12098 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12099 Adjust regexp for OCaml warnings.
12100
12101 * electric.el (electric-pair-post-self-insert-function): Let user
12102 turn it off buffer-locally (bug#9932).
12103
12104 * progmodes/python.el (python-beginning-of-statement):
12105 Rewrite (bug#2703).
12106
12107 * progmodes/compile.el: Better handle TABs (bug#9749).
12108 (compilation-internal-error-properties)
12109 (compilation-next-error-function): Obey the target buffer's
12110 compilation-error-screen-columns.
12111
12112 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12113
12114 * progmodes/meta-mode.el: Remove obsolete comments.
12115 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12116 Fix typos in docstrings.
12117
12118 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12119
12120 * window.el (window-size-fixed-p): Rewrite doc-string.
12121 (window-resizable-p): Rename to window--resizable-p. Update callers.
12122 (window--resizable): New function. Make all callers of
12123 window-resizable call window--resizable instead.
12124 (window-resizable): Rewrite in terms of window--resizable.
12125
12126 2011-11-08 Glenn Morris <rgm@gnu.org>
12127
12128 * progmodes/delphi.el (delphi-mode-syntax-table):
12129 Let define-derived-mode define a proper syntax table. (Bug#9994)
12130
12131 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12132
12133 * window.el: Stay away from defsubst.
12134 (window-list-no-nils): Remove.
12135 (window-state-get-1, window-state-get): Use backquote instead.
12136
12137 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12138
12139 * emacs-lisp/find-func.el (find-function-read):
12140 Fix incorrect use of default argument in `completing-read'.
12141
12142 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12143
12144 * window.el (display-buffer-function, special-display-function):
12145 Mention display-buffer-record-window but do not mention
12146 help-setup parameter in doc-strings.
12147 (window-min-delta): Fix doc-string typo.
12148
12149 2011-11-08 Chong Yidong <cyd@gnu.org>
12150
12151 * window.el (window-total-height, window-total-width): Doc fix.
12152 (window-body-size): Move from C.
12153 (window-body-height, window-body-width): Move to C.
12154
12155 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12156
12157 * window.el: Make special-display like display-buffer-alist (bug#9532).
12158 (display-buffer--special-action): New function, morphed
12159 from display-buffer--special.
12160 (display-buffer): Use it to handle special-display-buffers at higher
12161 priority (just after display-buffer-alist).
12162 (display-buffer-fallback-action, display-buffer--other-frame-action)
12163 (pop-to-buffer-same-window): Remove display-buffer--special.
12164
12165 2011-11-07 Glenn Morris <rgm@gnu.org>
12166
12167 * calendar/cal-menu.el (cal-menu-set-date-title):
12168 Do nothing if not in a calendar. (Bug#9976)
12169
12170 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12171
12172 * files.el (find-file): Always use selected-window.
12173
12174 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12175
12176 * window.el (window-combinations): Make WINDOW argument
12177 mandatory. Rewrite doc-string.
12178 (walk-window-subtree, window-atom-check, window-min-delta)
12179 (window-max-delta, window--resize-this-window)
12180 (window--resize-root-window-vertically, window-tree)
12181 (balance-windows, window-state-put): Rewrite doc-strings as to
12182 not mention the term "subwindow".
12183 (window--resize-subwindows-skip-p): Rename to
12184 window--resize-child-windows-skip-p.
12185 (window--resize-subwindows-normal): Rename to
12186 window--resize-child-windows-normal.
12187 (window--resize-subwindows): Rename to
12188 window--resize-child-windows.
12189 (window-or-subwindow-p): Rename to window--in-subtree-p.
12190
12191 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12192
12193 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12194 Ensure that mbox format messages end in two newlines (Bug#9974).
12195
12196 2011-11-06 Chong Yidong <cyd@gnu.org>
12197
12198 * window.el (window-combination-p): Function deleted; its
12199 side-effect is not used in any existing code.
12200 (window-combinations, window-combined-p): Call window-*-child
12201 directly.
12202
12203 2011-11-05 Chong Yidong <cyd@gnu.org>
12204
12205 * window.el (window-valid-p): Rename from window-any-p.
12206 (window-size-ignore, window-state-get): Callers changed.
12207 (window-normalize-window): Rename from window-normalize-any-window.
12208 New arg LIVE-ONLY, replacing window-normalize-live-window.
12209 (window-normalize-live-window): Delete.
12210 (window-combination-p, window-combined-p, window-combinations)
12211 (walk-window-subtree, window-atom-root, window-min-size)
12212 (window-sizable, window-sizable-p, window-size-fixed-p)
12213 (window-min-delta, window-max-delta, window-resizable)
12214 (window-resizable-p, window-full-height-p, window-full-width-p)
12215 (window-current-scroll-bars, window-point-1, set-window-point-1)
12216 (window-at-side-p, window-in-direction, window-resize)
12217 (adjust-window-trailing-edge, maximize-window, minimize-window)
12218 (window-deletable-p, delete-window, delete-other-windows)
12219 (record-window-buffer, unrecord-window-buffer)
12220 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12221 (quit-window, split-window, window-state-put)
12222 (set-window-text-height, fit-window-to-buffer)
12223 (shrink-window-if-larger-than-buffer): Callers changed.
12224
12225 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12226
12227 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12228 rfc2047-decode-string.
12229 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12230 warnings.
12231
12232 * window.el (window-body-height, window-body-width): Mention in
12233 the doc string that the return values are in frame's canonical
12234 units. (Bug#9949)
12235
12236 2011-11-03 Alan Mackenzie <acm@muc.de>
12237
12238 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12239 change in cc-engine.el.
12240
12241 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12242
12243 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12244
12245 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12246
12247 * window.el (quit-window): Call unrecord-window-buffer after
12248 showing another buffer in the window. (Bug#9937)
12249 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12250
12251 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12252
12253 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12254 Accept status with more than 9 shelves. (Bug#9935)
12255 Reported by Colin D Bennett <colin@gibibit.com>.
12256
12257 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12258
12259 * help.el (with-help-window): Don't reference
12260 temp-buffer-show-specifiers in doc-string.
12261
12262 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12263
12264 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12265 menu-item.
12266
12267 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12268
12269 * whitespace.el: New version 13.2.2.
12270 (whitespace-newline-mode): Disable properly. Reported by Sarah
12271 <EmacsWiki>.
12272
12273 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12274
12275 * net/newst-treeview.el: Remove "Time-stamp".
12276 (newsticker--group-manage-orphan-feeds): Do not call
12277 newsticker--treeview-tree-update.
12278 (newsticker-treeview-update, newsticker-treeview):
12279 Call newsticker--treeview-tree-update if necessary.
12280
12281 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12282
12283 * window.el (window-iso-combination-p, window-iso-combined-p)
12284 (window-iso-combinations): Remove "iso-" infix.
12285 Suggested by Chong Yidong.
12286 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12287 (window-max-delta-1, window-resize, window--resize-siblings)
12288 (window--resize-this-window, adjust-window-trailing-edge)
12289 (split-window, balance-windows-1)
12290 (shrink-window-if-larger-than-buffer):
12291 * calendar/calendar.el (calendar-generate-window):
12292 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12293
12294 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12297 in place (bug#9907).
12298 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12299 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12300 (eshell-structure-basic-command, eshell-rewrite-while-command)
12301 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12302 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12303 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12304 (eshell-do-pipelines-synchronously, eshell-eval-command):
12305 Use backquotes and prefer setq to set.
12306 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12307 (eshell-macrop): Use functionp.
12308 (eshell-do-eval): Handle multiple expressions in `while' body.
12309
12310 2011-10-30 Chong Yidong <cyd@gnu.org>
12311
12312 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12313 instead of set-mark (Bug#9810).
12314
12315 2011-10-30 Chong Yidong <cyd@gnu.org>
12316
12317 * window.el (split-window-below, split-window-right): Rename from
12318 split-window-above-each-other and split-window-side-by-side
12319 respectively. All callers changed.
12320 (split-window-sensibly, split-window-sensibly): Use them.
12321 (split-window-keep-point): Doc fix.
12322
12323 * isearch.el: Add isearch-scroll property to split-window-below
12324 and split-window-right.
12325
12326 * follow.el (follow-mode):
12327 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12328 * progmodes/ada-xref.el (ada-gdb-application):
12329 * emulation/vip.el (vip-buffer-in-two-windows):
12330 * image-dired.el (image-dired-dired-with-window-configuration):
12331 * dired-x.el (dired-do-find-marked-files):
12332 * dired.el (dired-pop-to-buffer):
12333 * bs.el (bs--show-with-configuration):
12334 * vc/emerge.el (emerge-setup-windows):
12335 * textmodes/two-column.el (2C-two-columns):
12336 * textmodes/reftex-toc.el (reftex-toc):
12337 * progmodes/gdb-mi.el (gdb-setup-windows):
12338 * progmodes/fortran.el (fortran-window-create):
12339 * net/newst-treeview.el (newsticker--treeview-window-init):
12340 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12341 * emulation/tpu-edt.el (tpu-gold-map):
12342 * emulation/crisp.el (crisp-mode-map):
12343 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12344
12345 2011-10-29 Chong Yidong <cyd@gnu.org>
12346
12347 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12348
12349 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12350
12351 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12352 forged Ispell output (Bug#7904).
12353
12354 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12355
12356 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12357
12358 * doc-view.el: Avoid ugly errors about not finding nil.
12359 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12360 (doc-view-dvipdf-program, doc-view-unoconv-program)
12361 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12362 Avoid nil or absolute file name as default value.
12363 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12364
12365 2011-10-28 Alan Mackenzie <acm@muc.de>
12366
12367 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12368
12369 2011-10-28 Alan Mackenzie <acm@muc.de>
12370
12371 Amend the handling of c-beginning/end-of-defun in nested declaration
12372 scopes.
12373
12374 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12375 cc-langs.el. Change it to a defcustom.
12376
12377 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12378 cc-vars.el.
12379
12380 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12381 Prevent "class foo : bar" being spuriously recognized as a label.
12382
12383 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12384 Add parameter `inclusive' (to include enclosing braces in the region).
12385 (c-widen-to-enclosing-decl-scope): New function.
12386 (c-while-widening-to-decl-block): New macro.
12387 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12388 outward for defun boundaries, and correspondingly change symbol
12389 `respect-enclosure' to `go-outward'.
12390 (c-declaration-limits): Change algorithm to report only the "innermost"
12391 defun's boundaries.
12392
12393 2011-10-28 Deniz Dogan <deniz@dogan.se>
12394
12395 * net/rcirc.el (rcirc-mode): Use hard newlines.
12396
12397 2011-10-28 Alan Mackenzie <acm@muc.de>
12398
12399 Amend to indent and fontify macros "which include their own semicolon"
12400 correctly, using the "virtual semicolon" mechanism.
12401
12402 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12403
12404 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12405 Recode to scan one line at a time rather than having \n and \r
12406 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12407 (c-forward-label): Amend for virtual semicolons.
12408 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12409
12410 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12411 of the new C macros.
12412
12413 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12414 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12415 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12416 (c-opt-cpp-macro-define): Make into a full language variable.
12417 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12418 AWK Mode (including \n, \r) removed, no longer needed.
12419
12420 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12421 Invoke c-make-macro-with-semi-re.
12422
12423 * progmodes/cc-vars.el (c-macro-with-semi-re):
12424 (c-macro-names-with-semicolon): New variables.
12425 (c-make-macro-with-semi-re): New function.
12426
12427 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12428
12429 * vc/log-edit.el: Fill empty field rather than adding new one.
12430 (log-edit-add-field): New function.
12431 (log-edit-insert-changelog): Use it.
12432
12433 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12434
12435 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12436
12437 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12438
12439 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12440 (gdb--check-interpreter): New function.
12441 (gdb): Use it.
12442
12443 2011-10-27 Glenn Morris <rgm@gnu.org>
12444
12445 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12446 (least-positive-float, least-negative-float)
12447 (least-positive-normalized-float, least-negative-normalized-float)
12448 (float-epsilon, float-negative-epsilon):
12449 Remove unnecessary declarations.
12450
12451 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12452 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12453 (least-positive-float, least-negative-float)
12454 (least-positive-normalized-float, least-negative-normalized-float)
12455 (float-epsilon, float-negative-epsilon): Add doc-strings,
12456 based on those in cl.texi.
12457
12458 * files.el (set-visited-file-name): If the major-mode changed,
12459 reload the local variables. (Bug#9796)
12460
12461 2011-10-27 Chong Yidong <cyd@gnu.org>
12462
12463 * subr.el (change-major-mode-after-body-hook): New hook.
12464 (run-mode-hooks): Run it.
12465
12466 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12467 Use change-major-mode-before-body-hook.
12468
12469 * simple.el (fundamental-mode):
12470 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12471 change introducing fundamental-mode-hook.
12472
12473 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12474
12475 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12476
12477 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12478
12479 * ido.el (ido-file-name-all-completions-1): Do not require
12480 tramp.el explicitly. (Bug#7583)
12481
12482 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12483
12484 * progmodes/octave-mod.el:
12485 * progmodes/octave-inf.el: Update maintainer.
12486
12487 2011-10-26 Chong Yidong <cyd@gnu.org>
12488
12489 * subr.el (with-wrapper-hook): Rewrite doc.
12490
12491 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12492
12493 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12494 filenames "/method:foo:". (Bug#9793)
12495
12496 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12497
12498 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12499 (bug#9865).
12500
12501 2011-10-24 Glenn Morris <rgm@gnu.org>
12502
12503 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12504
12505 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12506
12507 * notifications.el: Add the requirement of a running D-Bus session
12508 bus to the Commentary.
12509
12510 2011-10-24 Juri Linkov <juri@jurta.org>
12511
12512 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12513 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12514 (Bug#9364)
12515
12516 2011-10-24 Juri Linkov <juri@jurta.org>
12517
12518 * info.el (Info-following-node-name-re): Add newline to the list
12519 of allowed characters for leading space. (Bug#9824)
12520
12521 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12522
12523 * progmodes/octave-inf.el (inferior-octave-mode-map):
12524 Fix C-c C-h binding.
12525 * progmodes/octave-mod.el (octave-help): Remove.
12526
12527 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12528
12529 Sync with Tramp 2.2.3.
12530
12531 * net/tramp-cache.el (top): Pacify byte-compiler using
12532 `init-file-user' and `site-run-file'.
12533
12534 * net/trampver.el: Update release number.
12535
12536 2011-10-23 Chong Yidong <cyd@gnu.org>
12537
12538 * files.el (toggle-read-only): Remove obsolete comment about
12539 version control.
12540
12541 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12542 for toggle-read-only. Note that this hasn't called vc-next-action
12543 since 2008-05-02, though it wasn't documented at the time.
12544
12545 * vc/ediff-init.el (ediff-toggle-read-only-function):
12546 Use toggle-read-only.
12547
12548 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12549
12550 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12551 of c-parse-state.
12552
12553 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12554 correct faulty logical expression.
12555 (c-parse-state-state, c-record-parse-state-state):
12556 (c-replay-parse-state-state): New defvar/defuns.
12557 (c-debug-parse-state): Use new functions.
12558
12559 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12560
12561 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12562 last fix. Use window-in-direction correctly.
12563
12564 2011-10-21 Chong Yidong <cyd@gnu.org>
12565
12566 * progmodes/idlwave.el (idlwave-mode):
12567 * progmodes/vera-mode.el (vera-mode): No need to set
12568 require-final-newline; that's done in prog-mode.
12569 Suggested by Stefan Monnier.
12570
12571 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12572
12573 * mouse.el (mouse-drag-window-above)
12574 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12575 (mouse-drag-mode-line-1, mouse-drag-header-line)
12576 (mouse-drag-vertical-line-rightward-window): Remove.
12577 (mouse-drag-line): New function.
12578 (mouse-drag-mode-line, mouse-drag-header-line)
12579 (mouse-drag-vertical-line): Call mouse-drag-line.
12580 * window.el (window-at-side-p, windows-at-side): New functions.
12581
12582 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12583
12584 * tar-mode.el (tar-grind-file-mode):
12585 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12586
12587 2011-10-21 Chong Yidong <cyd@gnu.org>
12588
12589 * progmodes/idlwave.el (idlwave-mode):
12590 * progmodes/vera-mode.el (vera-mode):
12591 Use mode-require-final-newline.
12592
12593 2011-10-20 Glenn Morris <rgm@gnu.org>
12594
12595 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12596
12597 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12598
12599 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12600
12601 2011-10-20 Chong Yidong <cyd@gnu.org>
12602
12603 * emulation/cua-base.el (cua-mode):
12604 * mail/footnote.el (footnote-mode):
12605 * mail/mailabbrev.el (mail-abbrevs-mode):
12606 * net/xesam.el (xesam-minor-mode):
12607 * progmodes/bug-reference.el (bug-reference-mode):
12608 * progmodes/cap-words.el (capitalized-words-mode):
12609 * progmodes/compile.el (compilation-minor-mode)
12610 (compilation-shell-minor-mode):
12611 * progmodes/gud.el (gud-tooltip-mode):
12612 * progmodes/hideif.el (hide-ifdef-mode):
12613 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12614 * progmodes/subword.el (subword-mode):
12615 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12616 * progmodes/which-func.el (which-function-mode):
12617 * term/tvi970.el (tvi970-set-keypad-mode):
12618 * term/vt100.el (vt100-wide-mode):
12619 * textmodes/flyspell.el (flyspell-mode):
12620 * textmodes/ispell.el (ispell-minor-mode):
12621 * textmodes/nroff-mode.el (nroff-electric-mode):
12622 * textmodes/paragraphs.el (use-hard-newlines):
12623 * textmodes/refill.el (refill-mode):
12624 * textmodes/reftex.el (reftex-mode):
12625 * textmodes/rst.el (rst-minor-mode):
12626 * textmodes/sgml-mode.el (html-autoview-mode)
12627 (sgml-electric-tag-pair-mode):
12628 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12629 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12630 * emulation/crisp.el (crisp-mode):
12631 * emacs-lisp/eldoc.el (eldoc-mode):
12632 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12633 minor mode behavior.
12634
12635 2011-10-19 Juri Linkov <juri@jurta.org>
12636
12637 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12638 the list of hard-coded chars with escape-glyph face.
12639
12640 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12641
12642 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12643
12644 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12645
12646 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12647 running process.
12648
12649 2011-10-19 Glenn Morris <rgm@gnu.org>
12650
12651 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12652 Ignore ignored files. (Bug#9726)
12653
12654 2011-10-19 Chong Yidong <cyd@gnu.org>
12655
12656 Doc fix for minor modes, stating that an omitted argument enables
12657 the mode unconditionally when called from Lisp.
12658
12659 * abbrev.el (abbrev-mode):
12660 * allout.el (allout-mode):
12661 * autoinsert.el (auto-insert-mode):
12662 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12663 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12664 (global-auto-revert-mode):
12665 * battery.el (display-battery-mode):
12666 * composite.el (global-auto-composition-mode)
12667 (auto-composition-mode):
12668 * delsel.el (delete-selection-mode):
12669 * desktop.el (desktop-save-mode):
12670 * dired-x.el (dired-omit-mode):
12671 * dirtrack.el (dirtrack-mode):
12672 * doc-view.el (doc-view-minor-mode):
12673 * double.el (double-mode):
12674 * electric.el (electric-indent-mode, electric-pair-mode):
12675 * emacs-lock.el (emacs-lock-mode):
12676 * epa-hook.el (auto-encryption-mode):
12677 * follow.el (follow-mode):
12678 * font-core.el (font-lock-mode):
12679 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12680 * help.el (temp-buffer-resize-mode):
12681 * hilit-chg.el (highlight-changes-mode)
12682 (highlight-changes-visible-mode):
12683 * hi-lock.el (hi-lock-mode):
12684 * hl-line.el (hl-line-mode, global-hl-line-mode):
12685 * icomplete.el (icomplete-mode):
12686 * ido.el (ido-everywhere):
12687 * image-file.el (auto-image-file-mode):
12688 * image-mode.el (image-minor-mode):
12689 * iswitchb.el (iswitchb-mode):
12690 * jka-cmpr-hook.el (auto-compression-mode):
12691 * linum.el (linum-mode):
12692 * longlines.el (longlines-mode):
12693 * master.el (master-mode):
12694 * mb-depth.el (minibuffer-depth-indicate-mode):
12695 * menu-bar.el (menu-bar-mode):
12696 * minibuf-eldef.el (minibuffer-electric-default-mode):
12697 * mouse-sel.el (mouse-sel-mode):
12698 * msb.el (msb-mode):
12699 * mwheel.el (mouse-wheel-mode):
12700 * outline.el (outline-minor-mode):
12701 * paren.el (show-paren-mode):
12702 * recentf.el (recentf-mode):
12703 * reveal.el (reveal-mode, global-reveal-mode):
12704 * rfn-eshadow.el (file-name-shadow-mode):
12705 * ruler-mode.el (ruler-mode):
12706 * savehist.el (savehist-mode):
12707 * scroll-all.el (scroll-all-mode):
12708 * scroll-bar.el (scroll-bar-mode):
12709 * server.el (server-mode):
12710 * shell.el (shell-dirtrack-mode):
12711 * simple.el (auto-fill-mode, transient-mark-mode)
12712 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12713 (line-number-mode, column-number-mode, size-indication-mode)
12714 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12715 * strokes.el (strokes-mode):
12716 * time.el (display-time-mode):
12717 * t-mouse.el (gpm-mouse-mode):
12718 * tool-bar.el (tool-bar-mode):
12719 * tooltip.el (tooltip-mode):
12720 * type-break.el (type-break-mode-line-message-mode)
12721 (type-break-query-mode):
12722 * view.el (view-mode):
12723 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12724 (global-whitespace-mode, global-whitespace-newline-mode):
12725 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12726
12727 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12728 Fix autogenerated docstring.
12729
12730 2011-10-19 Juri Linkov <juri@jurta.org>
12731
12732 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12733 by checking environment variables "DESKTOP_SESSION" and
12734 "XDG_CURRENT_DESKTOP". (Bug#9779)
12735
12736 2011-10-19 Juri Linkov <juri@jurta.org>
12737
12738 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12739 (browse-url-chromium-program, browse-url-chromium-arguments):
12740 New defcustoms.
12741 (browse-url-default-browser): Check for `browse-url-chromium' and
12742 call `browse-url-chromium-program'.
12743 (browse-url-chromium): New command. (Bug#9779)
12744
12745 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12746
12747 * facemenu.el (list-colors-duplicates): On Windows, detect more
12748 duplicates by assuming that only colors matching "^System" are
12749 special "system colors". (Bug#9722)
12750
12751 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12752
12753 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12754 to distinguish the author from the committer.
12755
12756 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12757
12758 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12759
12760 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12761
12762 * international/mule.el (sgml-html-meta-auto-coding-function):
12763 Add support for detecting encoding in HTML5 specified only as
12764 <meta charset="UTF-8">. Implementation just makes http-equiv and
12765 content-type parts from HTML4 encoding string optional. (Bug#9716)
12766
12767 2011-10-18 Glenn Morris <rgm@gnu.org>
12768
12769 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12770
12771 2011-10-18 Chong Yidong <cyd@gnu.org>
12772
12773 * faces.el (cursor): Doc fix.
12774
12775 2011-10-17 Chong Yidong <cyd@gnu.org>
12776
12777 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12778
12779 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12780
12781 * dirtrack.el (dirtrack): Support shell buffers with path
12782 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12783
12784 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12785
12786 * json.el: Bump version to 1.3 and note change in History.
12787 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12788
12789 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12790
12791 * comint.el (comint-insert-input, comint-send-input)
12792 (comint-get-old-input-default, comint-backward-matching-input)
12793 (comint-next-prompt): Use nil instead of `input' for field property of
12794 past user input (bug#114).
12795
12796 * minibuffer.el (completion--replace): Inherit surrounding properties
12797 (bug#114).
12798 (minibuffer-complete-and-exit): Use it.
12799
12800 * comint.el (comint--table-subvert): Quote the all-completions output
12801 (bug#9160).
12802
12803 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12804
12805 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12806
12807 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12808 window on right of selected. (Bug#9350) Reword other window
12809 entries and separate them from frame entries.
12810
12811 2011-10-15 Glenn Morris <rgm@gnu.org>
12812
12813 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12814 Doc fixes.
12815
12816 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12817
12818 * net/network-stream.el (network-stream-open-starttls):
12819 Improve detection of failure due to lack of TLS support.
12820
12821 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12822 putting the input text in front and in bold.
12823
12824 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12825
12826 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12827
12828 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12829 empty buffer.
12830
12831 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12832 unread-command-events rather than pushing yet-another event.
12833
12834 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12835
12836 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12837 the explanation of the possible choices. Make the options passed
12838 to completing-read shorter.
12839
12840 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12841
12842 * textmodes/flyspell.el (flyspell-large-region): Make sure
12843 extended character mode is used if defined (Bug#1339).
12844
12845 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12846
12847 * simple.el (what-cursor-position): Fix the display of the
12848 character info for LRE, LRO, RLE, and RLO characters by appending
12849 an invisible PDF.
12850
12851 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12854 even in case of error; add debug spec; simplify data flow.
12855 (with-timeout-handler): Remove.
12856
12857 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12858
12859 Fix Bug#6019, Bug#9315.
12860
12861 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12862 complete `buffer-file-name', the local file name part could look
12863 remotely (for example on VMS).
12864
12865 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12866 `tramp-run-real-handler'.
12867 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12868 already quoted by '"'.
12869
12870 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12871 Let `file-name-handler-alist' be nil, the local file name part
12872 could look remotely (for example on VMS).
12873
12874 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12875
12876 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12877 from here...
12878 (flyspell-post-command-hook): ...to here.
12879
12880 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12881
12882 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12883 if not needed.
12884 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12885 using completion. Protect against "slow" callers.
12886 Remove the "message hack".
12887
12888 2011-10-11 Juri Linkov <juri@jurta.org>
12889
12890 * isearch.el (isearch-lazy-highlight-word): New variable.
12891 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12892 Use it. (Bug#9727)
12893
12894 2011-10-11 Glenn Morris <rgm@gnu.org>
12895
12896 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12897 like f90-previous-statement does.
12898
12899 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12900
12901 * eshell/eshell.el (eshell-command): History should be saved
12902 only in interactive use, to avoid error.
12903
12904 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * minibuffer.el (completion-file-name-table): Fix last change,
12907 i.e. ignore normal errors but not the other ones.
12908
12909 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12910
12911 * window.el (special-display-buffer-names)
12912 (special-display-regexps): Remove some remnants of earlier
12913 changes from doc-strings.
12914 (quit-windows-on): New function.
12915
12916 * vc/vc.el (vc-revert, vc-rollback):
12917 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12918 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12919 (Bug#6183) (Bug#7074) (Bug#7447)
12920
12921 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12922
12923 * window.el (frame-auto-hide-function): Add version tag.
12924 (Bug#9699)
12925
12926 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12927
12928 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12929 condition.
12930
12931 2011-10-09 Leo Liu <sdl.web@gmail.com>
12932
12933 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12934 (Bug#9701)
12935
12936 2011-10-08 Glenn Morris <rgm@gnu.org>
12937
12938 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12939 before the first code statement zero indent. (Bug#9690)
12940
12941 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12942
12943 * simple.el (count-words-region): Always count in the region.
12944 Report the number of lines and characters too.
12945 (count-words): New command, which counts in the buffer if the
12946 region is inactive, as count-words-region used to.
12947 (count-words--message): New function. Handle plurals.
12948 (count-lines-region): Make it an alias for count-words-region.
12949
12950 * bindings.el (esc-map): Replace count-lines-region with
12951 count-words-region.
12952
12953 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12954
12955 * window.el (window--delete): Delete dedicated frame
12956 unconditionally when argument KILL is non-nil. (Bug#9699)
12957 (switch-to-buffer): Fix doc-string typo.
12958
12959 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12960
12961 * eshell/eshell.el (eshell-command): Avoid using hooks.
12962
12963 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12964
12965 * bindings.el ([M-left],[M-right]): Bind to left-word and
12966 right-word respectively.
12967
12968 2011-10-07 Glenn Morris <rgm@gnu.org>
12969
12970 * cus-start.el (debug-on-quit): Fix custom type.
12971
12972 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12973
12974 * subr.el (define-key-after): Clarify that the function is not
12975 useful for non-menu keymaps.
12976
12977 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12978
12979 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12980
12981 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12982 in current minibuffer (Fix bug with recursive minibuffers).
12983
12984 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
12985
12986 * progmodes/gdb-mi.el (gdb): Doc fix.
12987
12988 2011-10-05 Martin Rudalics <rudalics@gmx.at>
12989
12990 * window.el (frame-auto-hide-function): New option replacing
12991 frame-auto-delete. Suggested by Stefan Monnier.
12992 (window--delete): Call frame-auto-hide-function instead of
12993 investigating frame-auto-delete.
12994 (window-point-1, set-window-point-1): New functions.
12995 (window-in-direction, record-window-buffer, window-state-get-1)
12996 (display-buffer-record-window): Use window-point-1 instead of
12997 window-point.
12998 (set-window-buffer-start-and-point): Use set-window-point-1.
12999
13000 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13001
13002 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13003
13004 2011-10-05 Glenn Morris <rgm@gnu.org>
13005
13006 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13007 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13008
13009 2011-10-05 Leo Liu <sdl.web@gmail.com>
13010
13011 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13012 works with buffer object.
13013
13014 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13015
13016 * mpc.el (mpc-tool-bar-map): Add labels.
13017
13018 2011-10-04 Glenn Morris <rgm@gnu.org>
13019
13020 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13021
13022 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13023
13024 * window.el (window--delete): New function.
13025 (frame-auto-delete): Resuscitate option.
13026 (bury-buffer, replace-buffer-in-windows)
13027 (quit-window): Rewrite using window--delete.
13028 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13029 Pass display-buffer-mark-dedicated to window--display-buffer-2
13030 (Bug#9639).
13031
13032 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13033
13034 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13035 returns a list (bug#9554). Add remote file name completion.
13036 * comint.el (comint--table-subvert): Curry and get quote&unquote
13037 functions as arguments.
13038 (comint--complete-file-name-data): Adjust call accordingly.
13039 * pcomplete.el (pcomplete--table-subvert): Remove.
13040 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13041
13042 * minibuffer.el (completion-table-case-fold): Use currying.
13043 (completion--styles-type, completion--cycling-threshold-type):
13044 New constants.
13045 (completion-styles, completion-category-overrides)
13046 (completion-cycle-threshold): Use them.
13047 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13048 completion-table-case-fold.
13049
13050 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13051
13052 * minibuffer.el (completion-category-overrides): Fix type of styles
13053 and add more user friendly tags (bug#9660).
13054
13055 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13056
13057 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13058 (mule-input-method-string): New widget.
13059 (default-input-method, language-info-custom-alist): Use it.
13060
13061 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13062
13063 * pcomplete.el: Require comint.
13064 (pcomplete--common-suffix): Remove.
13065 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13066 (pcomplete--table-subvert): Sync with comint--table-subvert.
13067 (pcomplete--entries): Use comint-completion-file-name-table.
13068 * comint.el (comint-unquote-filename): Simplify.
13069 (comint-completion-file-name-table): New function (bug#9616).
13070 (comint--complete-file-name-data): Use it.
13071
13072 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13073 (pcmpl-gnu-tar-buffer): Remove.
13074 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13075 around. Make sure pcomplete-suffix-list is only changed temporarily.
13076 Don't look inside the tar's file if it's too large.
13077
13078 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13079
13080 * cus-edit.el (custom-mode-map):
13081 * epa.el (epa-key-list-mode-map):
13082 * man.el (Man-mode-map):
13083 * startup.el (splash-screen-keymap):
13084 * simple.el (special-mode-map): Use scroll-up-command and
13085 scroll-down-command.
13086
13087 * progmodes/idlw-help.el (idlwave-help-mode-map):
13088 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13089 * net/newst-plainview.el (newsticker-mode-map):
13090 * emulation/ws-mode.el (wordstar-mode-map):
13091 * emulation/vi.el (vi-com-map):
13092 * calc/calc-graph.el (calc-graph-show-dumb):
13093 * term/sun.el (terminal-init-sun):
13094 * term/ns-win.el (global-map):
13095 * progmodes/grep.el (grep-mode-map):
13096 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13097 * mail/rmail.el (rmail-mode-map):
13098 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13099
13100 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13101 custom-safe-themes as special.
13102
13103 2011-10-01 Julien Danjou <julien@danjou.info>
13104
13105 * notifications.el (notifications-notify): Fix docstring.
13106
13107 2011-10-01 Per Starbäck <per@starback.se>
13108
13109 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13110
13111 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13112
13113 * startup.el (command-line-1): Fix last fix by inserting
13114 initial-scratch-message into *scratch* before displaying it.
13115 (Bug#9605) and (Bug#9636)
13116
13117 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13118
13119 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13120 window is hscrolled, move by logical lines. (Bug#9607)
13121 (line-move-visual): Update the doc string to the above effect.
13122
13123 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13124
13125 * window.el (display-buffer-record-window): When WINDOW is the
13126 selected window use `point' instead of `window-point'. (Bug#9626)
13127
13128 * startup.el (command-line-1): Use insert-before-markers when
13129 inserting initial-scratch-message. (Bug#9605)
13130
13131 * help.el (help-window): Remove variable.
13132
13133 2011-09-29 Glenn Morris <rgm@gnu.org>
13134
13135 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13136
13137 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13138
13139 * descr-text.el (describe-char-categories): Accept category
13140 descriptions more than one line long.
13141
13142 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * simple.el (delete-trailing-whitespace): Fix last change.
13145
13146 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13147 Don't confuse "y => 3" as the beginning of a `y' operation.
13148
13149 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13150 object has more than 4 slots (bug#9613).
13151
13152 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13153
13154 * subr.el (with-output-to-temp-buffer):
13155 * net/quickurl.el (quickurl, quickurl-browse-url):
13156 Fix typos in docstrings.
13157
13158 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13159
13160 * minibuffer.el (completion-styles)
13161 (completion-category-overrides): Cross reference each other in doc
13162 strings.
13163
13164 2011-09-27 Glenn Morris <rgm@gnu.org>
13165
13166 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13167 to split-string. (Bug#9606)
13168
13169 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13170
13171 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13172 (bug#9615).
13173
13174 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13175
13176 * emacs-lisp/package.el (list-packages): Fix echo area message.
13177
13178 2011-09-27 Leo Liu <sdl.web@gmail.com>
13179
13180 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13181
13182 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13183
13184 * net/dbus.el (dbus-unregister-object): Don't release services for
13185 registered signals. (Bug#9581)
13186
13187 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13188
13189 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13190 function that picks between cfengine 2 and 3 support
13191 automatically. Update docs accordingly.
13192
13193 2011-09-22 Kenichi Handa <handa@m17n.org>
13194
13195 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13196 ZERO.
13197 (indian-itrans-v5-table-for-tamil): New variable.
13198 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13199
13200 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13201
13202 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13203 that's true if the current command involved collapsing of text.
13204 It's reset to false at the beginning of the next command.
13205 (allout-post-command-business): Move the cursor to the beginning
13206 of entry if the cursor is hidden and collapsing activity just
13207 happened.
13208
13209 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13210
13211 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13212 tracking (Bug#9541).
13213
13214 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13215
13216 * net/newst-reader.el (newsticker-html-renderer)
13217 (newsticker-show-news): Automatically load html rendering package
13218 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13219 because w3m-fill-column is let-bound" and the error "Symbol's value
13220 as variable is void: w3m-fill-column".
13221
13222 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13223
13224 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13225 Release services only if they are defined. (Bug#9581)
13226
13227 2011-09-23 Richard Stallman <rms@gnu.org>
13228
13229 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13230 distinguish start of paragraph from start of its text.
13231
13232 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13233
13234 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13235 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13236 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13237
13238 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13239
13240 * international/mule-diag.el (mule-diag): Insert a newline after
13241 each fontset description.
13242
13243 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13244
13245 * simple.el (delete-trailing-whitespace):
13246 Document last change; simplify.
13247
13248 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13249
13250 * simple.el (delete-trailing-whitespace): Also delete
13251 extra newlines at the end of the buffer.
13252
13253 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13254 (picture-newline): Use forward-line so as to ignore fields.
13255
13256 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13257
13258 * subr.el (with-wrapper-hook): Fix edebug spec.
13259
13260 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13261
13262 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13263 (bug#4538).
13264
13265 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13266
13267 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13268 Fix nasty bug using wrong cached values.
13269
13270 2011-09-23 Alan Mackenzie <acm@muc.de>
13271
13272 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13273
13274 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13275
13276 * window.el (pop-to-buffer): Ensure right window is selected if we
13277 chose another frame.
13278
13279 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13280
13281 * simple.el (what-cursor-position): Use get-char-property-change
13282 and next-single-char-property-change, to be able to show display
13283 properties that come from overlays as well as text properties.
13284
13285 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13286
13287 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13288
13289 * cmuscheme.el (run-scheme, switch-to-scheme):
13290 * cus-edit.el (customize-group, custom-buffer-create)
13291 (customize-browse):
13292 * info.el (info):
13293 * shell.el (shell):
13294 * mail/sendmail.el (mail):
13295 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13296
13297 2011-09-22 Richard Stallman <rms@gnu.org>
13298
13299 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13300 move back only to line beg, don't move back over blank lines.
13301
13302 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13303
13304 * files.el (copy-directory): Set directory attributes only in case
13305 they could be retrieved from the source directory. (Bug#9565)
13306
13307 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13308
13309 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13310 (hs-find-block-beginning, hs-hide-level-recursive):
13311 Ignore strings as well as comments. (Bug#9502)
13312
13313 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13314
13315 * progmodes/sql.el (sql-comint-postgres):
13316 Convert port number to a string. (Bug#9566)
13317
13318 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13319
13320 * window.el (quit-window): Undedicate window when switching to
13321 previous buffer. Reported by Thierry Volpiatto
13322 <thierry.volpiatto@gmail.com>.
13323 (special-display-popup-frame): When popping up a new frame reset
13324 its previous buffers to nil. Simplify code.
13325
13326 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13327
13328 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13329 and process filter, as done also in `shell-command'.
13330
13331 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13332
13333 * window.el (set-window-buffer-start-and-point):
13334 Call set-window-start with NOFORCE argument t.
13335 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13336 (quit-window): Reword doc-string. Handle new format of
13337 quit-restore parameter. Don't delete window if it has a
13338 previous buffer we can show instead of the present one.
13339 (display-buffer-record-window): Rewrite using a new format for
13340 the quit-restore window parameter
13341 (special-display-popup-frame, display-buffer-same-window)
13342 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13343 (display-buffer-pop-up-window, display-buffer-use-some-window):
13344 Adapt symbol passed to display-buffer-record-window.
13345 * help.el (help-window-setup): Handle new format of quit-restore
13346 parameter.
13347
13348 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13349
13350 * faces.el (face-list): Fix docstring (bug#9564).
13351
13352 * window.el (display-buffer--action-function-custom-type):
13353 Don't include internal functions in the Custom interface.
13354
13355 2011-09-20 Juri Linkov <juri@jurta.org>
13356
13357 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13358 (Info-forward-node, Info-backward-node, Info-next-preorder)
13359 (Info-last-preorder): Use it. (Bug#9528)
13360
13361 2011-09-20 Juri Linkov <juri@jurta.org>
13362
13363 * info.el (Info-last-preorder): Visit last menu item only when
13364 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13365
13366 2011-09-20 Julien Danjou <julien@danjou.info>
13367
13368 * password-cache.el (password-cache-remove): Remove entries even if the
13369 value is nil, so that password with a nil value (negative caching) is
13370 possible to invalidate.
13371
13372 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13373
13374 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13375 all whitespace around breakpoint. (Bug#9553)
13376 (f90-find-breakpoint): Only break at whitespace inside a comment.
13377
13378 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13379
13380 * minibuffer.el (completion-file-name-table): Keep track of errors.
13381 (completion-table-with-predicate): Handle the case where pred1 is nil.
13382 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13383
13384 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13385
13386 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13387 (debugger-return-value): Signal an error if the debugging context does
13388 not await any return value.
13389
13390 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13391 * image-mode.el (image-toggle-display-text)
13392 (image-toggle-display-image): Stay away from evil `intangible'.
13393
13394 2011-09-19 Leo Liu <sdl.web@gmail.com>
13395
13396 * replace.el (occur-revert-arguments): Make it permanent-local.
13397 (occur-mode): Don't call font-lock-defontify.
13398
13399 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13400
13401 * net/ldap.el (ldap-search-internal): Don't push empty search
13402 result (Bug#9508).
13403
13404 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13405
13406 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13407
13408 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13409
13410 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13411 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13412
13413 2011-09-18 Juri Linkov <juri@jurta.org>
13414
13415 * buff-menu.el (Buffer-menu-mode-map):
13416 * dired.el (dired-mode-map):
13417 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13418 (lisp-interaction-mode-map):
13419 * emacs-lisp/package.el (package-menu-mode-map):
13420 * epa.el (epa-key-list-mode-map):
13421 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13422 (menu-bar-options-menu):
13423 * outline.el (outline-mode-menu-bar-map):
13424 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13425 * vc/vc-dir.el (vc-dir-menu-map):
13426 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13427 Capitalize non-function content words in menu item strings.
13428
13429 * dired.el (dired-mode-map): Add menu item for
13430 `image-dired-dired-toggle-marked-thumbs'.
13431
13432 2011-09-18 Juri Linkov <juri@jurta.org>
13433
13434 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13435 to `isearch-case-fold-search' and restore its original value
13436 after the `isearch-mode' call.
13437
13438 2011-09-18 Juri Linkov <juri@jurta.org>
13439
13440 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13441 because `zgrep' returns 1 for successful matches (bug#9226).
13442
13443 2011-09-18 Juri Linkov <juri@jurta.org>
13444
13445 * info.el (Info-extract-menu-node-name): Check the second match
13446 for empty string (second test-case of bug#9528).
13447 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13448 intermediate nodes to the history (first test-case of bug#9528).
13449
13450 2011-09-18 Juri Linkov <juri@jurta.org>
13451
13452 * info.el (Info-mode-syntax-table): New variable.
13453 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13454
13455 2011-09-18 Juri Linkov <juri@jurta.org>
13456
13457 * info.el (Info-file-supports-index-cookies):
13458 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13459 outputs one more line for long file names (bug#4142).
13460
13461 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13462
13463 * newcomment.el (comment-normalize-vars): If prompting for
13464 comment-start, set comment-start-skip too (Bug#8424).
13465
13466 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13467
13468 * icomplete.el: Fix previous fix of Bug#5849.
13469 (icomplete-mode): Don't set completion-show-inline-help.
13470 (icomplete-minibuffer-setup): Set completion-show-inline-help
13471 locally during icompletion.
13472
13473 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13474
13475 * woman.el (woman2-process-escapes): Don't delete unrecognized
13476 escapes (Bug#7843).
13477
13478 * files.el (inhibit-first-line-modes-regexps): Add image files.
13479 (hack-local-variables-prop-line): Return nil for malformed
13480 prop-lines (Bug#9044).
13481
13482 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13483
13484 * net/tramp.el (top): Don't require 'shell.
13485 (tramp-methods): Fix docstring.
13486 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13487 Return complete remote file name. Handle "smb" case.
13488 Use `tramp-tmpdir', if defined for the respective method.
13489 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13490
13491 * net/tramp-compat.el (top): Require 'shell.
13492
13493 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13494 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13495 `tramp-current-host'.
13496 (tramp-get-remote-tmpdir): Remove.
13497
13498 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13499 `tramp-tmpdir' entries.
13500 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13501 (tramp-smb-handle-file-attributes): Ignore errors.
13502 (tramp-smb-wait-for-output): Check also for process end.
13503
13504 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13505
13506 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13507 when sending QUIT (bug#9312).
13508
13509 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13510
13511 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13512 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13513 occur-mode-display-occurrence.
13514 (occur-edit-mode): Add usage message.
13515 (occur-cease-edit): New command.
13516 (occur-after-change-function): Use text properties to find the
13517 position of the prefix text.
13518 (occur-engine): Set stickiness of prefix text properties.
13519
13520 2011-09-17 Glenn Morris <rgm@gnu.org>
13521
13522 * progmodes/etags.el (complete-tag):
13523 Fix call to completion-in-region. (Bug#9526)
13524
13525 2011-09-17 Juri Linkov <juri@jurta.org>
13526
13527 * textmodes/ispell.el (ispell-word): Add to the error message
13528 the word, ispell program name and current dictionary (bug#9121).
13529 (ispell-tex-arg-end): Capitalize "error" in the error message.
13530
13531 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13532
13533 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13534 check. (Bug#4251)
13535
13536 2011-09-17 Juri Linkov <juri@jurta.org>
13537
13538 * window.el (window-safe-min-height, window-safe-min-width):
13539 Fix typos (followup to bug#9522).
13540
13541 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13542
13543 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13544
13545 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13546
13547 * simple.el (line-move): If goal-column is set, move by logical
13548 lines, not by display lines. (Bug#971)
13549 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13550 to reflect the above change.
13551
13552 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * image.el (imagemagick-register-types): Use regexp-opt.
13555
13556 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13557
13558 * window.el (display-buffer-base-action): Rename from
13559 display-buffer-default-action. Make default value empty.
13560 (display-buffer-overriding-action): Convert to defvar.
13561 (display-buffer-fallback-action): New var.
13562
13563 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13564
13565 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13566 declaration.
13567 (package--add-to-archive-contents): If there is a duplicate entry
13568 with an older version, remove it.
13569 (package-menu-mark-delete, package-menu-mark-install)
13570 (package-menu-mark-unmark): Make unused args optional.
13571 (package-menu-mark-obsolete-for-deletion):
13572 Use package-menu-get-status instead of a regexp search.
13573 (package-menu-get-status): Use tabulated-list-entry.
13574 (package-menu-mark-upgrades): New command.
13575 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13576 (package-menu-execute): Do installation before deletion.
13577 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13578 instead of checking major-mode.
13579 (package-menu--find-upgrades): New function.
13580
13581 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13582
13583 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13584 passwords in the log buffer.
13585 (smtpmail-process-filter): Update the process marker so that the
13586 "broken by peer" status message is inserted in the right place.
13587
13588 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13589
13590 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13591 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13592 bibtex-completion-at-point-function.
13593 (bibtex-completion-at-point-function): Use them.
13594
13595 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13596
13597 * mpc.el (mpc-constraints-tag-lookup): New function.
13598 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13599 also to browser "album|playlist".
13600
13601 2011-09-14 Juri Linkov <juri@jurta.org>
13602
13603 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13604 (isearch-edit-string): Use length of `isearch-string' when
13605 `isearch-fail-pos' returns nil.
13606 (isearch-message): Remove duplicate code and call
13607 `isearch-fail-pos' with arg `t'.
13608
13609 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13610
13611 * replace.el (occur-mode-goto-occurrence): Don't force using other
13612 window (Bug#9499).
13613
13614 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13615
13616 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13617
13618 * window.el (display-buffer-window): Remove.
13619 (display-buffer-record-window): Use help-setup window parameter
13620 instead of variable display-buffer-window.
13621 (display-buffer-function, special-display-buffer-names)
13622 (special-display-function): Mention help-setup parameter instead
13623 of display-buffer-window in doc-string.
13624 * help.el (help-window-setup): New argument help-window.
13625 Use help-window-setup parameter instead of display-buffer-window.
13626 Reword some messages.
13627 (with-help-window): Pass window used for displaying the buffer
13628 to help-window-setup. Don't set display-buffer-window.
13629
13630 2011-09-13 Glenn Morris <rgm@gnu.org>
13631
13632 * emacs-lisp/debug.el (debugger-make-xrefs):
13633 Preserve point. (Bug#9462)
13634
13635 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13636
13637 * window.el (window-deletable-p): Use next-frame.
13638
13639 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13640
13641 * window.el (window-auto-delete): Remove.
13642 (window-deletable-p): Remove argument FORCE. Don't deal with
13643 dedication and previous buffers.
13644 (switch-to-prev-buffer): Don't delete window.
13645 (delete-windows-on): Delete a window's frame if and only if the
13646 window is dedicated.
13647 (replace-buffer-in-windows): Delete buffer's window or frame if
13648 and only if window is dedicated.
13649 (quit-window): Handle quit-restore as before last change.
13650 (bury-buffer): Delete window only if window-deletable-p returns t.
13651
13652 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13653
13654 * window.el (window-deletable-p): Never delete the last frame on a
13655 given terminal.
13656
13657 2011-09-13 Glenn Morris <rgm@gnu.org>
13658
13659 * help.el (describe-key-briefly): Copy previous standard-output change.
13660
13661 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13662
13663 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13664
13665 2011-09-13 Glenn Morris <rgm@gnu.org>
13666
13667 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13668 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13669
13670 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13671
13672 * dired-aux.el (dired-mark-read-string): Don't return default
13673 value on empty input (Bug#9361).
13674 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13675 Omit initial minibuffer contents.
13676 (dired-do-chmod): Signal an error on empty input.
13677 (dired-mark-read-string): Don't return default on empty input.
13678
13679 * files.el (file-modes-symbolic-to-number): Doc fix.
13680
13681 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13682
13683 * international/mule-cmds.el (ucs-completions): Remove.
13684 (read-char-by-name): Use complete-with-action instead; add metadata.
13685
13686 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13687
13688 * window.el (display-buffer--action-function-custom-type)
13689 (display-buffer--action-custom-type): New vars.
13690 (display-buffer-alist, display-buffer-default-action)
13691 (display-buffer-overriding-action): Add defcustom types.
13692
13693 * frame.el (delete-other-frames): Doc fix (Bug#276).
13694
13695 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13696
13697 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13698
13699 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13700
13701 Change modes that used same-window-* vars to use switch-to-buffer.
13702
13703 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13704 Use switch-to-buffer.
13705
13706 * cus-edit.el (customize-group, custom-buffer-create)
13707 (customize-browse, custom-buffer-create-other-window):
13708 Use switch-to-buffer or switch-to-buffer-other-window.
13709
13710 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13711 (Info-prev, Info-up, Info-speedbar-goto-node)
13712 (info-display-manual): Use switch-to-buffer.
13713 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13714
13715 * mail/sendmail.el (mail): Use switch-to-buffer.
13716 (mail-recover): Use switch-to-buffer-other-window.
13717
13718 * cmuscheme.el (run-scheme, switch-to-scheme):
13719 * ielm.el (ielm):
13720 * shell.el (shell):
13721 * net/rlogin.el (rlogin):
13722 * net/telnet.el (telnet, rsh):
13723 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13724
13725 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13726
13727 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13728
13729 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13730
13731 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13732 so don't mention it (bug#9301).
13733 (dired-sort-toggle-or-edit): Clarify string further.
13734
13735 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13736 match `x', `w32' and `ns', like the manual says (bug#9029).
13737
13738 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13739 (process-kill-buffer-query-function): Mention the buffer name in
13740 the query.
13741
13742 * image-mode.el (image-next-line): The line parameter is mandatory
13743 (bug#9258).
13744
13745 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13746 which can be useful (bug#9301).
13747
13748 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13749
13750 * subr.el (match-string): Mention that the current buffer should
13751 be the same as the search was done in (bug#9282).
13752
13753 * facemenu.el: Disable the remove-* commands if the mark isn't
13754 active (bug#9162).
13755
13756 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13757
13758 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13759 of display-buffer.
13760 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13761
13762 * replace.el (occur-mode-goto-occurrence)
13763 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13764 and display-buffer.
13765
13766 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13767 display-buffer.
13768
13769 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13770 special-display and same-window variables.
13771 (mail-other-window): Use switch-to-buffer-other-window.
13772 (mail-other-frame): USe switch-to-buffer-other-frame.
13773
13774 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13775 Use display-buffer-other-frame.
13776 (gdb-display-gdb-buffer): Use pop-to-buffer.
13777
13778 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13779
13780 * progmodes/python.el: Don't set same-window-buffer-names.
13781
13782 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13783
13784 * window.el (display-buffer-alist): Add *Python*.
13785
13786 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13787
13788 * window.el (display-buffer-alist): Add entry for buffers
13789 previously handled same-window-*.
13790 (display-buffer-alist, display-buffer-default-action)
13791 (display-buffer-overriding-action): Mark as risky.
13792 (display-buffer-alist): Document action function changes.
13793 (display-buffer--same-window-action)
13794 (display-buffer--other-frame-action): New variables.
13795 (switch-to-buffer, display-buffer-other-frame): Use them.
13796 (display-buffer): Rename reuse-frame entry to reusable-frames.
13797 (display-buffer-reuse-selected-window): Function deleted.
13798 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13799 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13800 (display-buffer-special): New function.
13801 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13802 display-buffer-reuse-or-pop-window. Split off special-display
13803 part into display-buffer-special.
13804 (display-buffer-use-some-window): Don't perform any special
13805 pop-up-frames handling.
13806 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13807 (display-buffer--maybe-same-window): Rename from
13808 display-buffer-maybe-same-window.
13809
13810 * info.el: Don't set same-window-regexps.
13811 (info-setup): New function.
13812 (info-other-window, info): Call it.
13813
13814 * cus-edit.el: Don't set same-window-regexps.
13815 (customize-group): New argument.
13816 (customize-group-other-window): Use it.
13817 (customize-face, customize-face-other-window): Likewise.
13818 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13819
13820 * net/rlogin.el:
13821 * net/telnet.el:
13822 * progmodes/gud.el: Don't set same-window-regexps.
13823
13824 * cmuscheme.el:
13825 * ielm.el:
13826 * shell.el:
13827 * mail/sendmail.el:
13828 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13829
13830 2011-09-10 Juri Linkov <juri@jurta.org>
13831
13832 * isearch.el (isearch-edit-string): Remove obsolete mention of
13833 `C-w' (`isearch-yank-word-or-char') from docstring.
13834 (isearch-query-replace): Fix typo in docstring (bug#9466).
13835
13836 2011-09-10 Juri Linkov <juri@jurta.org>
13837
13838 * paren.el (show-paren-function): Don't show escaped parens.
13839 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13840
13841 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13842
13843 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13844 (mm-default-file-encoding): Remove autoload forms, they are
13845 replaced with autoload cookies in mml.el and mm-encode.el.
13846 (mail-add-attachment): New command.
13847 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13848 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13849 the doc string.
13850 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13851
13852 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13853
13854 * simple.el (count-words-region): Use buffer if there's no region
13855 (bug#9429).
13856
13857 2011-09-09 Juri Linkov <juri@jurta.org>
13858
13859 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13860 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13861 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13862
13863 2011-09-09 Alan Mackenzie <acm@muc.de>
13864
13865 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13866 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13867
13868 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13869
13870 Fix for Savannah bug#9392.
13871 * simple.el (mail-encode-mml): New defvar.
13872
13873 * mail/rmail.el (mail-encode-mml): Add a defvar.
13874 (rmail-enable-mime-composing): Default to t.
13875 (rmail-forward): Use MIME method of forwarding only if both
13876 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13877 Set mail-encode-mml non-nil if the MIME method was used.
13878
13879 * mail/sendmail.el (mml-to-mime): Add autoload form.
13880 (mail-encode-mml): Add a defvar.
13881 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13882 to nil.
13883 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13884 message through mml-to-mime, and reset mail-encode-mml to nil.
13885
13886 2011-09-09 Glenn Morris <rgm@gnu.org>
13887
13888 * woman.el (woman-if-body): When processing an .el block,
13889 do not delete the next .el block as well. (Bug#9447)
13890 (woman-special-characters): Add oq, cq, and hy characters.
13891
13892 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13893
13894 * window.el (window-deletable-p): Make sure window is live before
13895 invoking window-prev-buffers.
13896
13897 2011-09-08 Leo Liu <sdl.web@gmail.com>
13898
13899 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13900
13901 2011-09-08 Juri Linkov <juri@jurta.org>
13902
13903 * progmodes/compile.el (compilation-environment): Make it
13904 a defcustom (bug#8340).
13905
13906 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13907
13908 * window.el (frame-auto-delete): Rename to window-auto-delete.
13909 Make it control auto-deletion of windows and/or frames.
13910 (window-deletable-p): New argument FORCE. Rewrite conditions
13911 for deleting window/frame. (Bug#9419)
13912 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13913 Rewrite handling of case when window/frame can be deleted.
13914 (delete-windows-on): Call window-deletable-p with new FORCE
13915 argument t. (Bug#9456)
13916
13917 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13918
13919 * help-mode.el (help-mode): Restore autoload.
13920
13921 2011-09-07 Juri Linkov <juri@jurta.org>
13922
13923 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13924 `compilation-environment'. Set buffer-local
13925 `compilation-environment' to `thisenv' later after (funcall mode).
13926 (Bug#8340)
13927
13928 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13929 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13930 instead of replacing its value. (Bug#8340)
13931
13932 2011-09-07 Juri Linkov <juri@jurta.org>
13933
13934 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13935 based on text properties put by `grep-filter' instead of matching
13936 escape sequences.
13937 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13938 to the value of `grep-error-screen-columns' (bug#9438).
13939
13940 2011-09-07 Juri Linkov <juri@jurta.org>
13941
13942 * simple.el (next-error-highlight, next-error-highlight-no-select):
13943 Doc fix (bug#9432).
13944
13945 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13946
13947 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13948 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13949
13950 2011-09-07 Leo Liu <sdl.web@gmail.com>
13951
13952 * net/rcirc.el (rcirc-mode): Conditionally initialize
13953 rcirc-input-ring.
13954
13955 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13956
13957 * emacs-lisp/find-func.el (find-function-C-source): Only set
13958 find-function-C-source-directory after checking that we found a source
13959 file there (bug#9440).
13960
13961 2011-09-06 Alan Mackenzie <acm@muc.de>
13962
13963 * isearch.el (isearch-other-meta-char): Wherever a key list is
13964 unread, "unread" the prefix arg, too. This fixes bug #8901.
13965
13966 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13967
13968 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13969
13970 2011-09-05 Juri Linkov <juri@jurta.org>
13971
13972 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13973
13974 2011-09-05 Juri Linkov <juri@jurta.org>
13975
13976 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13977 keeping point where processing of grep matches begins, and
13978 continue to delete remaining escape sequences from the same point.
13979 (grep-filter): Make leading zero optional in "0?1;31m" because
13980 git-grep emits "\033[1;31m" escape sequences unlike expected
13981 "\033[01;31m" as GNU Grep does (bug#9408).
13982 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13983
13984 2011-09-05 Juri Linkov <juri@jurta.org>
13985
13986 * subr.el (y-or-n-p): Capitalize "yes".
13987
13988 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
13989
13990 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13991 `tramp-cache-unload-hook' where appropriate.
13992 (tramp-methods): Rename `tramp-remote-sh' to
13993 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13994 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13995
13996 * net/tramp-sh.el (top): Don't require 'shell.
13997 (tramp-methods): Add `tramp-remote-shell' and
13998 `tramp-remote-shell-args' entries.
13999 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14000 (tramp-sh-handle-shell-command): Remove.
14001 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14002 Use `tramp-remote-shell'.
14003
14004 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14005
14006 * mail/sendmail.el (sendmail-query-once-function): Delete.
14007 (sendmail-query-once): Save directly to send-mail-function.
14008 Update message-send-mail-function too.
14009
14010 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14011
14012 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14013
14014 * progmodes/python.el (python-mode-map): Use correct function to
14015 start python interpreter from menu-bar (as reported by Geert
14016 Kloosterman).
14017 (inferior-python-mode-map): Fix typo.
14018 (python-shell-map): Remove.
14019
14020 2011-09-03 Deniz Dogan <deniz@dogan.se>
14021
14022 * net/rcirc.el (rcirc-print): Simplify code for
14023 rcirc-scroll-show-maximum-output. There is no need to walk
14024 through all windows to find the right one.
14025
14026 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14027
14028 * help.el (help-return-method): Doc fix.
14029
14030 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14031
14032 * window.el (window-deletable-p): Don't return a non-nil value
14033 when there's a buffer that was shown in the window before.
14034 (Bug#9419)
14035 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14036 Set window's previous buffers to nil.
14037
14038 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14039
14040 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14041 newline before and after the tag line, so it doesn't interfere
14042 with determining the paragraph direction of bidirectional text.
14043
14044 2011-09-03 Leo Liu <sdl.web@gmail.com>
14045
14046 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14047
14048 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14049
14050 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14051 (pop-to-buffer): Change interactive spec. Pass second argument
14052 directly to display-buffer.
14053 (display-buffer): Fix interactive spec. Use functionp to
14054 distinguish between a function and a list of functions.
14055
14056 * abbrev.el (edit-abbrevs):
14057 * arc-mode.el (archive-extract):
14058 * autoinsert.el (auto-insert):
14059 * bookmark.el (bookmark-bmenu-list):
14060 * files.el (find-file):
14061 * view.el (view-buffer):
14062 * progmodes/compile.el (compilation-goto-locus):
14063 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14064
14065 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14066
14067 * window.el (display-buffer-alist): Doc fix.
14068 (display-buffer): Add docstring. Don't treat
14069 display-buffer-default specially.
14070 (display-buffer-reuse-selected-window)
14071 (display-buffer-same-window, display-buffer-maybe-same-window)
14072 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14073 (display-buffer-pop-up-window)
14074 (display-buffer-reuse-or-pop-window)
14075 (display-buffer-use-some-window): New functions.
14076 (display-buffer-default-action): Use them.
14077 (display-buffer-default): Delete.
14078 (pop-to-buffer-1): Fix choice of actions.
14079
14080 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14081
14082 * minibuffer.el (completion--insert-strings): Don't get confused by
14083 completion entries that end with an LF char.
14084
14085 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14086
14087 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14088
14089 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14090
14091 * window.el (display-buffer): Restore interactive spec.
14092 (display-buffer-same-window, display-buffer-other-window):
14093 New functions.
14094 (pop-to-buffer-1): New function. Use the above.
14095 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14096 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14097
14098 * view.el (view-buffer-other-window, view-buffer-other-frame):
14099 Just use pop-to-buffer.
14100
14101 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14102
14103 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14104
14105 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14106
14107 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14108
14109 2011-08-31 Richard Stallman <rms@gnu.org>
14110
14111 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14112 of the separation of rmail-view-buffer from rmail-buffer.
14113 If you say no to "replace original", the decrypt is in the
14114 view buffer. If you say yes, the decrypt goes into the
14115 rmail buffer also.
14116
14117 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14118
14119 * window.el (display-buffer-window): Rewrite doc-string.
14120 (display-buffer-record-window): New function.
14121 (display-buffer-macro-specifiers)
14122 (display-buffer-even-window-sizes, display-buffer-set-height)
14123 (display-buffer-set-width, display-buffer-in-window)
14124 (display-buffer-reuse-window, display-buffer-split-specifiers)
14125 (display-buffer-side-specifiers, display-buffer-split-window-1)
14126 (display-buffer-split-window, display-buffer-split-atom-window)
14127 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14128 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14129 (display-buffer-other-window-means-other-frame)
14130 (display-buffer-normalize-special)
14131 (display-buffer-normalize-default)
14132 (display-buffer-normalize-argument)
14133 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14134 (display-buffer-normalize-specifiers, display-buffer-frame)
14135 (display-buffer-same-window, display-buffer-same-frame)
14136 (display-buffer-other-window)
14137 (display-buffer-same-frame-other-window)
14138 (display-buffer-other-frame, pop-to-buffer-same-window)
14139 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14140 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14141 (switch-to-buffer-same-frame)
14142 (switch-to-buffer-other-window-same-frame)
14143 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14144 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14145 (display-buffer-alist-set): Remove.
14146 (display-buffer-function, special-display-buffer-names)
14147 (special-display-regexps, special-display-function):
14148 In doc-string refer to display-buffer-window and quit-restore
14149 parameter.
14150 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14151 (special-display-frame-alist, special-display-popup-frame)
14152 (same-window-buffer-names, same-window-regexps, same-window-p)
14153 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14154 (split-window-preferred-function, split-height-threshold)
14155 (split-width-threshold, window-splittable-p)
14156 (split-window-sensibly, window--try-to-split-window)
14157 (window--frame-usable-p, even-window-heights)
14158 (window--even-window-heights, window--display-buffer-1)
14159 (window--display-buffer-2, display-buffer-other-frame):
14160 Restore old Emacs 23 code, order and doc-strings where applicable.
14161 (display-buffer-default, display-buffer-assq-regexp): New functions.
14162 (display-buffer-alist): Rewrite doc-string.
14163 (display-buffer-default-action)
14164 (display-buffer-overriding-action): New variables.
14165 (display-buffer, switch-to-buffer): Rewrite.
14166 (pop-to-buffer): Restore Emacs 23 behavior but use
14167 window-normalize-buffer-to-display.
14168 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14169 Restore Emacs 23 behavior but use
14170 window-normalize-buffer-to-switch-to.
14171 (pop-to-buffer-same-window): Rewrite.
14172 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14173 Rewrite using Emacs 23 options.
14174
14175 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14176
14177 * net/tramp.el (tramp-root-regexp): Remove.
14178 (tramp-completion-file-name-regexp-unified)
14179 (tramp-completion-file-name-regexp-separate)
14180 (tramp-completion-file-name-regexp-url): Don't use leading volume
14181 letter on w32 systems. (Bug#5303, Bug#9311)
14182 (tramp-drop-volume-letter): Simplify definition.
14183 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14184
14185 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14186
14187 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14188 (bug#9356).
14189
14190 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14191
14192 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14193
14194 2011-08-29 Juri Linkov <juri@jurta.org>
14195
14196 * isearch.el (isearch-done): Don't display message "Mark saved"
14197 when arg `edit' is non-nil to prevent its flicker in the echo area.
14198
14199 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14200
14201 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14202 obsolete packages for deletion.
14203
14204 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14205
14206 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14207 (help-mode): Derive help-mode from special-mode. Don't invoke
14208 view-mode from help-mode.
14209 (help-xref-override-view-map): Remove.
14210 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14211 view-mode is not used anymore.
14212
14213 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14214
14215 * server.el (server-port): Doc fix.
14216
14217 * cus-theme.el (custom-theme-choose-mode): Inherit from
14218 special-mode (Bug#9124).
14219 (custom-theme-choose-mode-map): Add special-mode to parent.
14220
14221 2011-08-28 Alan Mackenzie <acm@muc.de>
14222
14223 * progmodes/cc-fonts.el
14224 (c-make-font-lock-BO-decl-search-function): New function.
14225 (c-basic-matchers-after - "Fontify the clauses after various
14226 keywords"): Extract the three keyword lists for the 3 erroneous
14227 constructs from the list of four, and use the new function above
14228 in place of an old one.
14229
14230 2011-08-28 Deniz Dogan <deniz@dogan.se>
14231
14232 * net/rcirc.el (rcirc-insert-prev-input)
14233 (rcirc-insert-next-input): Remove unused argument.
14234
14235 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14236
14237 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14238
14239 2011-08-27 Alan Mackenzie <acm@muc.de>
14240
14241 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14242 handle function pointer parameters properly.
14243
14244 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14245
14246 * window.el (display-buffer-reuse-window): Fix case where
14247 selected window was reused with non-nil OTHER-WINDOW argument.
14248 (Bug#9381)
14249
14250 2011-08-27 Deniz Dogan <deniz@dogan.se>
14251
14252 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14253 oftc's NickServ messages.
14254
14255 2011-08-27 Glenn Morris <rgm@gnu.org>
14256
14257 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14258
14259 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14260
14261 * emacs-lisp/package.el (package-install): Call package-initialize
14262 if called interactively.
14263
14264 2011-08-26 Leo Liu <sdl.web@gmail.com>
14265
14266 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14267
14268 2011-08-25 Juri Linkov <juri@jurta.org>
14269
14270 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14271 `search-whitespace-regexp' (bug#9364).
14272
14273 2011-08-25 Juri Linkov <juri@jurta.org>
14274
14275 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14276 `regexp-search-ring' to their global values to protect from
14277 updating by `read-from-minibuffer' (bug#9185).
14278
14279 2011-08-25 Juri Linkov <juri@jurta.org>
14280
14281 * textmodes/ispell.el (ispell-command-loop): Add newline
14282 at the end of the "Use option `i'..." line.
14283
14284 2011-08-25 Juri Linkov <juri@jurta.org>
14285
14286 * battery.el (display-battery-mode): If `battery-status-function'
14287 or `battery-mode-line-format' is nil, display the message and set
14288 `display-battery-mode' to nil (bug#9363).
14289
14290 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14291
14292 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14293 bidi-string-mark-left-to-right; they are unnecessary now.
14294
14295 2011-08-25 Deniz Dogan <deniz@dogan.se>
14296
14297 * net/quickurl.el: Documentation typo fixes.
14298
14299 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14300
14301 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14302
14303 2011-08-25 Glenn Morris <rgm@gnu.org>
14304
14305 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14306
14307 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14308 (smtpmail-via-smtp): Handle nil response from smtp.
14309
14310 2011-08-24 Juri Linkov <juri@jurta.org>
14311
14312 * proced.el (proced-marked): Inherit from `error' instead of
14313 `font-lock-warning-face'.
14314
14315 * ibuffer.el (ibuffer-marked-face): Change default face from
14316 `font-lock-warning-face' to `warning'.
14317 (ibuffer-deletion-face): Change default face from
14318 `font-lock-type-face' to `error'.
14319
14320 * battery.el (battery-update): Use the face `error' instead of
14321 `font-lock-warning-face' (bug#6117).
14322
14323 2011-08-24 Juri Linkov <juri@jurta.org>
14324
14325 * faces.el (success): Change face color from "Green3" to
14326 "ForestGreen" on light background (bug#9353).
14327
14328 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14329
14330 * window.el (quit-window): Rename from quit-restore-window.
14331 Use same arglist as old quit-window.
14332 (frame-auto-delete): Doc fix.
14333
14334 * view.el (view-mode-exit): Use quit-window.
14335
14336 2011-08-24 Juri Linkov <juri@jurta.org>
14337
14338 * isearch.el (isearch-ring-adjust1): Start visiting previous
14339 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14340 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14341 for empty search string (when the last search string is reused
14342 automatically) to adjust the isearch ring to the last element and
14343 prepare the correct index for further M-p commands (bug#9185).
14344
14345 2011-08-24 Kenichi Handa <handa@m17n.org>
14346
14347 * international/ucs-normalize.el: If decomposition property of
14348 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14349 nil.
14350 (nfd, nfkd): Likewise.
14351
14352 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14353
14354 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14355 from process filters aren't reliably transmitted to the surrounding
14356 accept-process-output.
14357 (mpc-proc-check): New function.
14358 (mpc-proc-sync): Use it (bug#8293)
14359
14360 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14361
14362 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14363 Add compatibility functions (bug#9313).
14364
14365 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14366
14367 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14368
14369 * international/uni-bidi.el: Regenerate.
14370
14371 2011-08-23 Kenichi Handa <handa@m17n.org>
14372
14373 * international/charprop.el:
14374 * international/uni-bidi.el:
14375 * international/uni-category.el:
14376 * international/uni-combining.el:
14377 * international/uni-comment.el:
14378 * international/uni-decimal.el:
14379 * international/uni-decomposition.el:
14380 * international/uni-digit.el:
14381 * international/uni-lowercase.el:
14382 * international/uni-mirrored.el:
14383 * international/uni-name.el:
14384 * international/uni-numeric.el:
14385 * international/uni-old-name.el:
14386 * international/uni-titlecase.el:
14387 * international/uni-uppercase.el: Regenerate.
14388
14389 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14390
14391 * help.el (help-window-setup): Fix message displayed when other
14392 window is reused. (Bug#9341)
14393
14394 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14395
14396 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14397 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14398
14399 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14400 Mark obsolete.
14401 * shell.el (shell-parse-pcomplete-arguments): New function.
14402 (shell-completion-vars): Use it instead (bug#9160).
14403
14404 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14405
14406 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14407 strings and comments (bug#9333).
14408
14409 * emacs-lisp/debug.el (debug-arglist): New function.
14410 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14411 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14412
14413 2011-08-22 Juri Linkov <juri@jurta.org>
14414
14415 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14416 Revert regexp that highlights output switches to its old
14417 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14418
14419 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14420 to check for empty output (bug#9226).
14421
14422 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14423
14424 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14425 symbol-constituent as the default, as that stops font-lock from
14426 working properly (Bug#8843).
14427
14428 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14429
14430 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14431 `coding-system-for-*' around the process open call to avoid
14432 auth-source side effects.
14433 (smtpmail-try-auth-methods): Expand the secret password.
14434 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14435 probe hangs.
14436
14437 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14438
14439 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14440
14441 * emacs-lisp/find-func.el (find-function-noselect): New arg
14442 lisp-only.
14443
14444 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14445 signal an error for built-in functions (Bug#6664).
14446
14447 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14448
14449 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14450 (smtpmail-try-auth-methods): Use it.
14451
14452 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14453
14454 * font-lock.el (font-lock-fontify-region)
14455 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14456 (font-lock-default-unfontify-buffer)
14457 (font-lock-default-fontify-region)
14458 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14459
14460 * progmodes/compile.el (compilation-error-properties):
14461 Fix confusion between file struct and message struct (Bug#9319).
14462 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14463 `ant' regexp.
14464
14465 * net/browse-url.el (browse-url-firefox): Don't call
14466 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14467
14468 2011-08-20 Glenn Morris <rgm@gnu.org>
14469
14470 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14471
14472 * tutorial.el (tutorial--default-keys): Update some default bindings.
14473
14474 * files.el (hack-local-variables): Fully ignore case for "mode:".
14475
14476 2011-08-20 Alan Mackenzie <acm@muc.de>
14477
14478 Resolve invalid use of a regexp in regexp-opt.
14479
14480 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14481 detection for a java annotation.
14482
14483 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14484 detection for a java annotation.
14485
14486 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14487 handling for java.
14488 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14489
14490 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14491
14492 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14493 (Bug#9274).
14494
14495 2011-08-20 Alan Mackenzie <acm@muc.de>
14496
14497 Fontify CPP expressions correctly when starting in the middle of
14498 such a construct. Mainly for when jit-lock etc. starts a chunk
14499 here.
14500
14501 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14502 variable.
14503 (c-make-font-lock-search-form): New function, extracted from
14504 c-make-font-lock-search-function.
14505 (c-make-font-lock-search-function): Use the above function.
14506 (c-make-font-lock-context-search-function): New function.
14507 (c-cpp-matchers): Enhance the preprocessor expression case with
14508 the above function
14509 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14510 which takes an expression.
14511
14512 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14513
14514 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14515
14516 * window.el (display-buffer-reuse-window)
14517 (display-buffer-pop-up-window): Don't reuse or split a side
14518 window.
14519
14520 2011-08-19 Glenn Morris <rgm@gnu.org>
14521
14522 * files.el (hack-local-variables-prop-line, hack-local-variables):
14523 Downcase "Mode:". (Bug#9331)
14524
14525 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14526
14527 * international/characters.el: Add L and R categories.
14528
14529 * subr.el (bidi-string-mark-left-to-right): Rename from
14530 string-mark-left-to-right. Use category search.
14531
14532 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14533
14534 2011-08-18 Juri Linkov <juri@jurta.org>
14535
14536 * faces.el (error, warning, success): New faces with definitions
14537 copied from old default values of `font-lock-warning-face',
14538 `compilation-warning', `compilation-info' (bug#6117).
14539
14540 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14541
14542 * progmodes/compile.el (compilation-error): Inherit from `error'.
14543 (compilation-warning): Inherit from `warning'.
14544 (compilation-info): Inherit from `success'.
14545
14546 * dired.el (dired-marked): Inherit from `warning'.
14547 (dired-flagged): Inherit from `error'.
14548
14549 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14550
14551 * mail/smtpmail.el (auth-source): Require to avoid problems with
14552 binding variables (bug#9298). Also clean up some unused
14553 autoloads.
14554
14555 * net/network-stream.el (network-stream-open-starttls):
14556 Support using starttls.el without using gnutls-cli.
14557
14558 2011-08-17 Juri Linkov <juri@jurta.org>
14559
14560 * progmodes/grep.el (rgrep): Handle the case when
14561 `grep-find-command' is a cons cell (bug#9278).
14562
14563 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14564
14565 * window.el (display-buffer-pop-up-frame): Run frame creation
14566 function with BUFFER current (as special-display-popup-frame
14567 does). Reported by Drew Adams.
14568
14569 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14570
14571 * epa-mail.el: Simplify GnuPG group expansion using
14572 epg-expand-group.
14573 (epa-mail-group-alist, epa-mail-group-modtime)
14574 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14575 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14576 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14577 Remove.
14578
14579 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14580
14581 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14582
14583 2011-08-16 Alan Mackenzie <acm@muc.de>
14584
14585 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14586 Correct, to avoid the inside of macros.
14587
14588 2011-08-16 Richard Stallman <rms@gnu.org>
14589
14590 * epa-mail.el: Handle GnuPG group definitions.
14591 (epa-mail-group-alist, epa-mail-group-modtime)
14592 (epa-mail-gnupg-conf-file): New variables.
14593 (epa-mail-parse-groups, epa-mail-sync-groups)
14594 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14595 (epa-mail-expand-recipients): New functions.
14596 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14597
14598 * mail/rmail.el (rmail-epa-decrypt): New command.
14599
14600 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14601 Don't bind buffer-read-only, just inhibit-read-only.
14602 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14603 (epa-decrypt-armor-in-region): Make error message clearer.
14604
14605 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14606
14607 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14608 and "a2b" to "ab" for `prefix'.
14609
14610 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14611
14612 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14613 filter groups.
14614 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14615 Fourquet (Bug#8804).
14616
14617 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14618
14619 * startup.el (argi): Declare as global variable (bug#9275).
14620
14621 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14622
14623 * subr.el (string-mark-left-to-right): Search the entire string
14624 for RTL script, not just the terminating character. Doc fix.
14625
14626 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14627
14628 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14629 New function.
14630 (js--regexp-literal, js-syntax-propertize-function): Remove.
14631 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14632 (js-mode-map): Don't rebind electric keys.
14633 (js-insert-and-indent): Remove.
14634 (js-mode): Setup electric-layout and electric-indent instead.
14635
14636 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14637
14638 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14639
14640 * epa.el (epa-progress-callback-function): Fix the logic of
14641 displaying progress.
14642 * epa-file.el (epa-file-insert-file-contents): Make progress
14643 display more user-friendly.
14644 (epa-file-write-region): Ditto.
14645
14646 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14647
14648 * subr.el (string-mark-left-to-right): New function.
14649
14650 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14651 Use string-mark-left-to-right.
14652 (list-buffers-noselect): Caller changed.
14653
14654 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14655 Use string-mark-left-to-right.
14656 (tabulated-list-print): Recenter after moving point.
14657
14658 2011-08-10 Juri Linkov <juri@jurta.org>
14659
14660 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14661 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14662 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14663
14664 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14665
14666 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14667 (Bug#7554).
14668
14669 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14670
14671 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14672 character. (Bug#6594)
14673
14674 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14675
14676 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14677 (image-dired--with-db-file): New macro.
14678 (image-dired-write-tags, image-dired-remove-tag)
14679 (image-dired-create-gallery-lists, image-dired-write-comments)
14680 (image-dired-get-comment, image-dired-mark-tagged-files)
14681 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14682 (image-dired-gallery-generate): Use insert-file-contents.
14683
14684 * time.el (display-time-world-list, display-time-world-display):
14685 * time-stamp.el (time-stamp-string):
14686 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14687 set-time-zone-rule (Bug#7337).
14688
14689 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14690
14691 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14692 (epg-error-to-string, epg-errors-to-string): New function.
14693 (epg-wait-for-completion): Reverse errors list.
14694 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14695 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14696 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14697 (epg-sign-keys, epg-generate-key-from-file)
14698 (epg-generate-key-from-string): Format errors by using
14699 epg-errors-to-string (bug#9255).
14700 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14701
14702 2011-08-07 Juri Linkov <juri@jurta.org>
14703
14704 * faces.el (list-faces-display): Remove extra angle bracket
14705 from `help-mode-map'.
14706
14707 * info.el (Info-history-toc-nodes): Doc fix.
14708
14709 * longlines.el (longlines-mode): Doc fix.
14710
14711 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14712
14713 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14714 of statements and in a few more cases (bug#9183).
14715
14716 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14717 New functions.
14718 (cl-transform-lambda): Use them (bug#9239).
14719
14720 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14721
14722 * window.el (display-buffer-same-window)
14723 (display-buffer-same-frame, display-buffer-other-window)
14724 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14725 (pop-to-buffer-other-window)
14726 (pop-to-buffer-same-frame-other-window)
14727 (pop-to-buffer-other-frame): Make them defuns.
14728 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14729
14730 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * subr.el (make-composed-keymap): Move from C. Change calling
14733 convention, and improve docstring to bring attention to a subtle point.
14734 * minibuffer.el (completing-read-default): Adjust accordingly.
14735
14736 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14737
14738 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14739 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14740
14741 * net/trampver.el: Update release number.
14742
14743 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14744
14745 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14746 "in" (bug#9190).
14747
14748 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14749
14750 * mail/sendmail.el (sendmail-query-once): Restore the current
14751 buffer after querying (bug#9074).
14752
14753 * dired.el (dired-flagged): Use different faces for marked and
14754 flagged files (bug#6117).
14755
14756 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14757 (bug#4433).
14758
14759 * ido.el (ido-mode): Switch off the message if called
14760 non-interactively.
14761
14762 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14763 before 587, since it appears that that's more likely to work for
14764 more people.
14765
14766 * cus-edit.el (custom-file): When running under emacs -q, always
14767 refuse to save the customizations, even if the .emacs file doesn't
14768 exist.
14769
14770 * info.el: Remove the `Info-beginning-of-buffer' function
14771 (bug#8325).
14772
14773 * net/network-stream.el (network-stream-open-starttls):
14774 Use `starttls-available-p' to see whether starttls.el can be used.
14775
14776 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14777
14778 * window.el (display-buffer-in-window): Don't set dedicated status
14779 of window here (Bug#9215).
14780 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14781 (display-buffer-pop-up-side-window)
14782 (display-buffer-in-side-window): Set dedicated status of window here.
14783
14784 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14785
14786 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14787 before binding generated-autoload-file.
14788
14789 2011-08-01 Deniz Dogan <deniz@dogan.se>
14790
14791 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14792
14793 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14794
14795 Sync with Tramp 2.2.2.
14796
14797 * net/trampver.el: Update release number.
14798
14799 2011-07-30 Juri Linkov <juri@jurta.org>
14800
14801 * dired-aux.el (dired-touch-initial): Remove function.
14802 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14803 current time, and `default' to the last modification time of the
14804 current marked file (bug#6887).
14805
14806 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14807
14808 * simple.el (goto-line): Use string-to-number to provide a
14809 numeric argument to read-number (bug#9163).
14810
14811 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14812
14813 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14814 connection process, it could be nil.
14815
14816 2011-07-27 Leo Liu <sdl.web@gmail.com>
14817
14818 Simplify url handling in rcirc-mode.
14819
14820 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14821 (rcirc-browse-url-at-mouse): Remove.
14822 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14823
14824 2011-07-26 Alan Mackenzie <acm@muc.de>
14825
14826 Fontify bitfield declarations properly.
14827
14828 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14829 (c-symbol-chars): Now exported as a lang variable.
14830 (c-not-primitive-type-keywords): New lang variable.
14831
14832 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14833 QT keyword "more" to prevent "more slots: ...." being spuriously
14834 parsed as a bitfield declaration.
14835
14836 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14837 Refactor and enhance to handle bitfield declarations.
14838 (c-punctuation-in): New function.
14839 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14840 declarations properly.
14841
14842 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14843
14844 * calendar/icalendar.el (icalendar--all-events): Take care of
14845 multiple vcalendars in a single file.
14846 (icalendar--convert-float-to-ical): Checkdoc fixes.
14847
14848 2011-07-25 Deniz Dogan <deniz@dogan.se>
14849
14850 * image.el (insert-image): Clarifying docstring.
14851
14852 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14853
14854 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14855 `tramp-send-command-and-check' if there is no error.
14856 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14857
14858 2011-07-22 Alan Mackenzie <acm@muc.de>
14859
14860 Prevent cc-langs.elc being loaded at run time.
14861
14862 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14863 cc-langs.
14864
14865 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14866 "(require 'cc-langs)". Quote a form so it will evaluate at
14867 (cc-mode's) compilation time.
14868
14869 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14870
14871 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14872 loading. (Bug#9114)
14873
14874 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14875
14876 * window.el (display-buffer-pop-up-window)
14877 (display-buffer-pop-up-side-window)
14878 (display-buffer-in-side-window): Call display-buffer-set-height
14879 and display-buffer-set-width after setting the new window's
14880 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14881
14882 2011-07-20 Sam Steingold <sds@gnu.org>
14883
14884 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14885 (etags-tags-included-tables): Call `convert-standard-filename' on
14886 the file names contained in TAGS so that windows Emacs can handle
14887 TAGS files created by cygwin ctags.
14888
14889 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14890
14891 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14892 which apparently didn't work.
14893
14894 2011-07-19 Roland Winkler <winkler@gnu.org>
14895
14896 * proced.el (proced-send-signal): For *Marked Processes* buffer
14897 put point at beginning of buffer.
14898
14899 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14900
14901 * proced.el (proced-format): Make header lines align with the text
14902 (bug#1779).
14903
14904 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14905
14906 * view.el (view-buffer): Allow running in `special' modes if we're
14907 visiting a file (bug#8615).
14908
14909 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14910
14911 * window.el (display-buffer-alist-of-strings-p)
14912 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14913 New functions.
14914 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14915 more accurately.
14916
14917 2011-07-18 Alan Mackenzie <acm@muc.de>
14918
14919 Fontify declarators properly when, e.g., a jit-lock chunk begins
14920 inside a declaration.
14921
14922 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14923
14924 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14925 New function.
14926 (c-complex-decl-matchers): Insert reference to
14927 c-font-lock-enclosing-decls.
14928
14929 * progmodes/cc-engine.el (c-backward-single-comment):
14930 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14931 to nil around calls to (forward-comment -1).
14932
14933 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14934
14935 * image.el (put-image): Doc typo fix.
14936
14937 * progmodes/etags.el (tags-search): Doc typo fix.
14938
14939 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14940 password if we get errors 550 to 554.
14941
14942 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14943
14944 * net/gnutls.el (gnutls-log-level): Remove.
14945
14946 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14947 indentation character (bug#6380).
14948
14949 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14950
14951 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14952 to clarify what the problem is (bug#4291).
14953
14954 * simple.el (current-kill): Clarify what
14955 `interprogram-paste-function' does (bug#7500).
14956 (auto-fill-mode): Document `auto-fill-function' in relation to
14957 `auto-fill-mode' (bug#2470).
14958
14959 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14960
14961 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14962 method if slot is read-only (bug#9035).
14963
14964 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14965
14966 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14967 * window.el (pop-to-buffer): Select window used even if it was
14968 selected before, see discussion of (Bug#8615), (Bug#6954).
14969 Pass argument NORECORD on to select-frame-set-input-focus.
14970
14971 2011-07-15 Glenn Morris <rgm@gnu.org>
14972
14973 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14974 Respect help-form.
14975
14976 2011-07-09 Lawrence Mitchell <wence@gmx.li>
14977
14978 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14979 (gnutls-negotiate): Use it.
14980
14981 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14982
14983 * net/gnutls.el (gnutls-negotiate):
14984 Upcase `gnutls-algorithm-priority'.
14985
14986 2011-07-15 Glenn Morris <rgm@gnu.org>
14987
14988 * jka-compr.el (jka-compr-verbose): Move from here...
14989 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14990 Add missing :version tag.
14991 * info.el: No need to require jka-compr when compiling.
14992
14993 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14994
14995 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14996 (gnutls-negotiate): Use it.
14997
14998 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14999
15000 * info.el (Info-beginning-of-buffer): New command.
15001 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15002 announcing `b' as the key (bug#8325).
15003 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15004
15005 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15006
15007 * international/mule-cmds.el
15008 (describe-specified-language-support): Make the error message
15009 clearer (bug#8905).
15010
15011 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15012
15013 * isearch.el (isearch-barrier): Add a doc string, since it's
15014 mentioned in a function doc string (bug#8678).
15015
15016 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15017
15018 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15019 buffer argument (Bug#9083) and self-identifying label argument.
15020
15021 2011-07-15 Glenn Morris <rgm@gnu.org>
15022
15023 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15024
15025 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15026
15027 * man.el (Man-fontify-manpage): Fix message when formatting the
15028 man page (bug#7929).
15029
15030 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15031
15032 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15033 argument LRM; if non-nil, append an invisible LRM character to the
15034 buffer name.
15035 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15036 last argument non-nil, when formatting buffer names.
15037 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15038 paragraph direction.
15039
15040 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15041
15042 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15043 the man page name (bug#7929).
15044
15045 * image.el (put-image): Mention the `put-image' overlay property
15046 (bug#7834).
15047
15048 * scroll-bar.el (set-scroll-bar-mode): Mention that
15049 `scroll-bar-mode' lists the values (bug#7772).
15050
15051 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15052 command (bug#7729).
15053
15054 * rect.el (apply-on-rectangle): Return the point after the last
15055 operation.
15056 (string-rectangle): Go to the point after the last operation
15057 (bug#7522).
15058
15059 * printing.el (pr-toggle-region): Clarify the documentation
15060 slightly (bug#7493).
15061
15062 * time.el (display-time-update):
15063 Allow `display-time-mail-function' to return nil (bug#7158).
15064 Fix suggested by Detlev Zundel.
15065
15066 * vc/diff.el (diff): Clarify the order the file names are read
15067 (bug#7111).
15068
15069 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15070 the doc string (bug#7015).
15071
15072 * font-lock.el (font-lock-maximum-decoration): Mention what
15073 numeric levels mean (bug#6935).
15074
15075 * startup.el (initial-buffer-choice): Don't mention the `none'
15076 selection, which is against policy.
15077
15078 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15079
15080 * window.el (display-buffer-normalize-special):
15081 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15082
15083 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15084
15085 * subr.el (version<, version<=, version=): Mention "-CVS" and
15086 "-12345" alpha version numbers.
15087
15088 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15089
15090 * bindings.el: Add advertised binding for set-mark-command
15091 (Bug#5772).
15092
15093 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15094
15095 * bindings.el (mode-line-other-buffer):
15096 * bookmark.el (bookmark-bmenu-2-window):
15097 * bs.el (bs-cycle-next, bs-cycle-previous):
15098 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15099 switch-to-buffer.
15100
15101 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15102 Delete.
15103
15104 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15105
15106 * follow.el (follow-debug-message, follow-redisplay):
15107 * jka-cmpr-hook.el (with-auto-compression-mode):
15108 Fix typos in docstrings.
15109
15110 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15111
15112 * subr.el (with-silent-modifications): Clarify somewhat what the
15113 macro inhibits (bug#6525).
15114
15115 * simple.el (eval-expression): Note what it does if called
15116 interactively (bug#6495).
15117
15118 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15119
15120 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15121 Use pop-to-buffer buffer-or-name if it is nil.
15122
15123 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15124 Remove switch-to-buffer.
15125
15126 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15127
15128 * files.el (make-directory): Clarify that an error will be raised
15129 if there's an error (bug#6397).
15130
15131 * startup.el (initial-buffer-choice): Add `none' as a choice
15132 (bug#6234).
15133
15134 * subr.el (add-hook): Clarify section about buffer-local hooks
15135 (bug#6218).
15136
15137 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15138
15139 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15140
15141 * tabify.el (untabify): Preserve the current column so that point
15142 doesn't move (bug#6032).
15143
15144 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15145
15146 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15147 Rewrite to avoid awkward possessive "s" (bug#5986).
15148
15149 2011-07-13 Glenn Morris <rgm@gnu.org>
15150
15151 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15152 (dired-insert-directory): Give a message the first time
15153 if ls is found not to support --dired.
15154
15155 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15156
15157 * simple.el (toggle-truncate-lines): Clarify what is toggled
15158 (bug#5580). Text by Drew Adams.
15159
15160 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15161
15162 * simple.el (blink-matching-open): Make the error message from the
15163 last change less verbose.
15164
15165 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15166
15167 * font-lock.el (font-lock-comment-face): Use the high contrast
15168 "yellow" color for font-lock-comment-face on low color terminals
15169 using a dark background color (bug#4221).
15170
15171 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15172
15173 * dired.el (dired-insert-set-properties): Make the doc string
15174 reflect what it does now (bug#5325).
15175
15176 * simple.el (blink-matching-open): Say that we were unable to find
15177 the match within the limit, if we're limited (bug#5122).
15178
15179 * international/mule-cmds.el (prefer-coding-system): Add an
15180 example (bug#4869).
15181
15182 * progmodes/etags.el (tags-search): Document `file-list-form'
15183 (bug#4731).
15184
15185 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15186
15187 * net/browse-url.el (browse-url-default-browser)
15188 (browse-url-browser-function): Make the default browser choice a
15189 bit more logical (bug#4300). Also clean up the doc string.
15190
15191 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15192
15193 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15194 binary endings (bug#4440).
15195
15196 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15197
15198 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15199 which can be pretty annoying (bug#8971).
15200
15201 * jka-compr.el (jka-compr-verbose): New variable, and use
15202 throughout (bug#8971).
15203
15204 * info.el (Info-find-file): Fall back on the installation
15205 directory if we can't find the info node anywhere else.
15206
15207 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15208
15209 * vc/vc.el (vc-revert-file):
15210 Don't set file time-stamp in the past. (Bug#5181)
15211
15212 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15213
15214 * files.el (after-find-file): Give a better error message when
15215 trying to find a symlink that points to a file that doesn't exist
15216 (bug#4398).
15217
15218 * progmodes/cc-vars.el: Remove (probably) misleading comment
15219 (bug#4396).
15220
15221 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15222
15223 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15224
15225 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15226
15227 * mouse-sel.el: Hack restoring functionality, while keeping
15228 compatibility with 2010-07-03 changes to mouse selection.
15229 (mouse-sel-primary-overlay): New var.
15230 (mouse-sel-selection-alist): Use it.
15231 (mouse-sel-mode): Doc fix; remove points that are default features
15232 of mouse.el.
15233
15234 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15235
15236 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15237 Fix previous fix (bug#2490).
15238
15239 2011-07-12 Roland Winkler <winkler@gnu.org>
15240
15241 * textmodes/bibtex.el (bibtex-initialize):
15242 Use pop-to-buffer-same-window.
15243 (bibtex-search-entries): Fix interactive call.
15244
15245 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15246
15247 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15248 Fontise bytecomp Error lines more correctly (bug#2490).
15249 Fix suggested by Johan Bockgård.
15250
15251 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15252
15253 * dired-x.el (dired-guess-default): Use `delete-dups'.
15254
15255 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15256
15257 * dired.el (dired-mark-prompt):
15258 * dired-aux.el (dired-read-shell-command): Doc fix.
15259
15260 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15261
15262 * mail/sendmail.el (sendmail-query-once):
15263 Use `customize-save-variable' unconditionally, now that it works under
15264 emacs -Q.
15265
15266 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15267
15268 * cus-edit.el (custom-file): Take an optional no-error variable.
15269 (customize-save-variable): Set the variable, and give a warning if
15270 running under "emacs -q".
15271
15272 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15273
15274 * loadhist.el (unload-feature-special-hooks):
15275 Add `auto-coding-functions', `fill-nobreak-predicate' and
15276 `find-directory-functions' (bug#5327).
15277
15278 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15279
15280 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15281
15282 * cus-edit.el (custom-guess-name-alist): -alist variables should
15283 use the `alist' type (bug#3120). Suggested by Drew Adams.
15284
15285 * printing.el: Add documentation to all the `pr-toggle-' commands.
15286
15287 2011-07-11 Leo Liu <sdl.web@gmail.com>
15288
15289 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15290 backends where it makes sense (bug#2623).
15291
15292 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15293
15294 * dired-x.el (dired-guess-default): Remove duplicate shell command
15295 entries (bug#2028).
15296 (dired-guess-default): Fix grammar in doc string (bug#2028).
15297 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15298
15299 * subr.el (remove-duplicates): New conveniency function.
15300
15301 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15302
15303 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15304 (bug#1526).
15305
15306 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15307
15308 * window.el (display-buffer-normalize-default): Don't invert
15309 meaning of even-window-heights. Reported by Eli Zaretskii
15310 <eliz@gnu.org>.
15311
15312 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15313
15314 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15315
15316 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15317
15318 * window.el (display-buffer): Fix arguments to
15319 display-buffer-reuse-window in last change.
15320
15321 * faces.el (link): Use a less saturated blue on light backgrounds.
15322
15323 * startup.el (fancy-startup-text, fancy-about-text)
15324 (fancy-startup-tail): Use font-lock faces, for background safety.
15325
15326 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15327
15328 * emulation/viper-cmd.el (viper-change-state-to-vi):
15329 Limit triggering of abbrev expansion (Bug#9038).
15330
15331 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15332
15333 * window.el (display-buffer-default-specifiers): Remove.
15334 (display-buffer-macro-specifiers): Remove default specifiers.
15335 (display-buffer-alist): Default to nil.
15336 (display-buffer-reuse-window): New optional argument other-window.
15337 (display-buffer-pop-up-window): Allow splitting internal
15338 windows. Check whether a live window was created.
15339 (display-buffer-other-window-means-other-frame)
15340 (display-buffer-normalize-arguments): Rename to
15341 display-buffer-normalize-argument and rewrite. Set the
15342 other-window specifier.
15343 (display-buffer-normalize-special): New function.
15344 (display-buffer-normalize-options): Rename to
15345 display-buffer-normalize-default and rewrite.
15346 (display-buffer-normalize-options-inhibit): Remove.
15347 (display-buffer-normalize-specifiers): Rewrite.
15348 (display-buffer): Process other-window specifier and call
15349 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15350 more faithfully.
15351 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15352 (display-buffer-alist-set): Don't handle 'unset default values.
15353 (display-buffer-in-window, display-buffer-alist-set):
15354 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15355 <tassilo@member.fsf.org>.
15356
15357 2011-07-09 Leo Liu <sdl.web@gmail.com>
15358
15359 * register.el (insert-register): Restore accidental change on
15360 2011-06-26. (Bug#9028)
15361
15362 2011-07-09 Glenn Morris <rgm@gnu.org>
15363
15364 * subr.el (remq): Handle the empty list. (Bug#9024)
15365
15366 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15367
15368 * mail/sendmail.el (send-mail-function): No longer delay custom
15369 initialization.
15370 * custom.el (custom-initialize-delay): Doc fix.
15371
15372 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15373
15374 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15375
15376 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15377
15378 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15379 human-friendly prompt.
15380
15381 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15382
15383 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15384 provided by a particular plugin.
15385
15386 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15387
15388 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15389 save customizations (with "emacs -Q"), just set the variable
15390 instead of erroring out.
15391
15392 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15393
15394 2011-07-08 Juri Linkov <juri@jurta.org>
15395
15396 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15397 (archive-zip-update-case): Use 7z if found by `executable-find'.
15398 The order of searching the available programs is the same as in
15399 `archive-zip-extract' (bug#8968).
15400
15401 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15402
15403 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15404 (menu-bar-options-menu): Tweak descriptions.
15405
15406 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15407
15408 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15409 menu items into verb phrases (bug#1421). Also refill to fit under
15410 80 columns.
15411
15412 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15413
15414 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15415 (Info-read-node-name): Doc fix (Bug#1084).
15416
15417 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15418 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15419 (end-of-sexp, beginning-of-sexp)
15420 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15421 (forward-symbol, forward-same-syntax, word-at-point)
15422 (sentence-at-point): Doc fix (Bug#1144).
15423
15424 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15425
15426 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15427 should cover it (bug#1281).
15428
15429 * cus-edit.el (custom-show): Mark as obsolete.
15430
15431 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15432 negotiation fails, then possibly try again with a non-encrypted
15433 connection (bug#9017).
15434
15435 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15436 be used.
15437
15438 2011-07-07 Richard Stallman <rms@gnu.org>
15439
15440 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15441 property, and handle its changed format.
15442 Look for the correct line number.
15443 Use file's line contents (but not past first =) to find
15444 correct line in message.
15445
15446 2011-07-07 Kenichi Handa <handa@m17n.org>
15447
15448 * international/characters.el (build-unicode-category-table):
15449 Delete it.
15450 (unicode-category-table): Set it by unicode-property-table-internal.
15451
15452 * international/mule-cmds.el (char-code-property-alist): Move to
15453 to src/chartab.c.
15454 (get-char-code-property): Call unicode-property-table-internal to
15455 load a file. Call get-unicode-property-internal where necessary.
15456 (put-char-code-property): Call unicode-property-table-internal to
15457 load a file. Call put-unicode-property-internal where necessary.
15458 put-unicode-property-internal where necessary.
15459 (char-code-property-description):
15460 Call unicode-property-table-internal to load a file.
15461
15462 * international/charprop.el:
15463 * international/uni-bidi.el:
15464 * international/uni-category.el:
15465 * international/uni-combining.el:
15466 * international/uni-comment.el:
15467 * international/uni-decimal.el:
15468 * international/uni-decomposition.el:
15469 * international/uni-digit.el:
15470 * international/uni-lowercase.el:
15471 * international/uni-mirrored.el:
15472 * international/uni-name.el:
15473 * international/uni-numeric.el:
15474 * international/uni-old-name.el:
15475 * international/uni-titlecase.el:
15476 * international/uni-uppercase.el: Regenerate.
15477
15478 * loadup.el: Load international/charprop.el before
15479 international/characters.
15480
15481 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15482
15483 * window.el (next-buffer, previous-buffer): Signal an error if
15484 called from a minibuffer window.
15485
15486 * bindings.el: Revert 2011-07-04 change.
15487
15488 2011-07-06 Richard Stallman <rms@gnu.org>
15489
15490 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15491 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15492 Treat markers like ints.
15493 (rmail-mime-entity): Doc fix.
15494
15495 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15496
15497 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15498 defcustom again for backwards compatibility.
15499
15500 * simple.el (shell-command-on-region): Fill.
15501
15502 * dired-aux.el (dired-kill-line): Add a doc string.
15503
15504 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15505 to "\\sw\\|\\s_" (bug#358).
15506
15507 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15508 (dired-unmark-backward): Ditto.
15509 (dired-flag-backup-files): Ditto.
15510
15511 * dired-x.el (dired-mark-sexp): Ditto.
15512
15513 2011-07-06 Richard Stallman <rms@gnu.org>
15514
15515 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15516 (rmail-mime-entity): New arg TRUNCATED.
15517 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15518 New functions.
15519 (rmail-mime-save): Warn if entity is truncated.
15520 (rmail-mime-toggle-hidden): Likewise, for showing.
15521 (rmail-mime-process-multipart): Record when an entity is truncated.
15522
15523 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15524 if ENTITY is a string.
15525
15526 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15527
15528 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15529 of faces when `M-C-x'-ing their definitions (bug#8378).
15530 Also clean up the code slightly.
15531
15532 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15533 because that makes the colors go away.
15534
15535 * mail/sendmail.el (send-mail-function): Change the default to
15536 `sendmail-query-once'.
15537 (sendmail-query-once): Add an autoload cookie.
15538
15539 * net/network-stream.el (network-stream-open-starttls): Try using
15540 a plain connection even if the server offered STARTTLS, and we
15541 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15542 capability. This should make smtpmail.el work in slightly more
15543 configurations.
15544
15545 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15546
15547 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15548 New defun.
15549 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15550
15551 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15552
15553 * progmodes/sql.el: Version 3.0
15554 (sql-product-alist): Add product :completion-object,
15555 :completion-column, and :statement attributes.
15556 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15557 (sql-mode-syntax-table): Mark all punctuation.
15558 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15559 ansi keywords.
15560 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15561 (sql-mode-oracle-font-lock-keywords): Improve.
15562 (sql-oracle-show-reserved-words): New function for development.
15563 (sql-product-font-lock): Simplify for source code buffers.
15564 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15565 New functions.
15566 (sql-highlight-product): Set product specific syntax table.
15567 (sql-mode-map): Add statement movement functions.
15568 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15569 New variable.
15570 (sql-statement-regexp, sql-beginning-of-statement)
15571 (sql-end-of-statement, sql-signum): New functions.
15572 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15573 (sql-show-sqli-buffer): Bug fix.
15574 (sql-interactive-mode): Store connection data as buffer local.
15575 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15576 with sql-interactive-mode.
15577 (sql-save-connection): Save buffer local settings.
15578 (sql-connection-menu-filter): Change menu entry name.
15579 (sql-product-interactive): Bug fix.
15580 (sql-preoutput-hold): New variable.
15581 (sql-interactive-remove-continuation-prompt): Bug fixes.
15582 (sql-debug-redirect): New variable.
15583 (sql-str-literal): New function.
15584 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15585 Redesign.
15586 (sql-oracle-save-settings, sql-oracle-restore-settings)
15587 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15588 (sql-completion-object, sql-completion-column)
15589 (sql-completion-sqlbuf): New variables.
15590 (sql-build-completions-1, sql-build-completions)
15591 (sql-try-completion): New functions.
15592 (sql-read-table-name): Use them.
15593 (sql-contains-names): New buffer local variable.
15594 (sql-list-all, sql-list-table): Use it.
15595 (sql-oracle-completion-types): New variable.
15596 (sql-oracle-completion-object, sql-sqlite-completion-object)
15597 (sql-postgres-completion-object): New functions.
15598
15599 2011-07-06 Glenn Morris <rgm@gnu.org>
15600
15601 * window.el (pop-to-buffer): Doc fix.
15602
15603 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15604
15605 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15606
15607 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15608
15609 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15610
15611 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15612
15613 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15614
15615 * button.el (button): Inherit from link face. Suggested by Dan
15616 Nicolaescu.
15617
15618 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15619
15620 * progmodes/gdb-mi.el: Fit in 80 columns.
15621 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15622 switch-to-buffer.
15623
15624 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15625 if imenu is simply not configured (bug#8941).
15626
15627 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15628
15629 * allout.el (allout-post-undo-hook): New allout outline-change
15630 event hook to signal undo activity.
15631 (allout-post-command-business): Run allout-post-undo-hook if an
15632 undo just occurred.
15633 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15634 * allout-widgets.el (allout-widgets-after-undo-function):
15635 Ensure the integrity of the current item's decoration after it has been
15636 in the vicinity of an undo.
15637 (allout-widgets-mode): Include allout-widgets-after-undo-function
15638 on the new allout-post-undo-hook.
15639
15640 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15641
15642 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15643 Let define-derived-mode define it.
15644 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15645 cycles of abbrev-table inheritance (bug#8998).
15646
15647 2011-07-05 Roland Winkler <winkler@gnu.org>
15648
15649 * textmodes/bibtex.el: Add support for biblatex.
15650 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15651 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15652 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15653 (bibtex-entry-alist, bibtex-field-alist): New variables.
15654 (bibtex-entry-field-alist): Obsolete alias for
15655 bibtex-BibTeX-entry-alist.
15656 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15657 (bibtex-set-dialect): New command.
15658 (bibtex-entry-type, bibtex-entry-head)
15659 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15660 Bind via bibtex-set-dialect.
15661 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15662 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15663 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15664 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15665 Define via bibtex-set-dialect.
15666 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15667 Obey bibtex-no-opt-remove-re.
15668 (bibtex-vec-push, bibtex-vec-incr): New functions.
15669 (bibtex-format-entry, bibtex-field-list)
15670 (bibtex-print-help-message, bibtex-validate)
15671 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15672
15673 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15674
15675 * progmodes/compile.el (compilation-goto-locus):
15676 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15677 * bs.el (bs-cycle-next, bs-cycle-previous):
15678 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15679 * bindings.el (mode-line-other-buffer):
15680 * autoinsert.el (auto-insert):
15681 * arc-mode.el (archive-extract):
15682 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15683
15684 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15685
15686 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15687 Fix check of `emacs-lock-unlockable-modes'.
15688 Coerce true values of `emacs-lock--try-unlocking' to t.
15689
15690 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15691
15692 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15693 * emacs-lock.el: New file.
15694
15695 2011-07-05 Julien Danjou <julien@danjou.info>
15696
15697 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15698 than `boundp' to check if face is set.
15699
15700 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15701
15702 * register.el (registerv-make):
15703 * window.el (window-min-height): Fix typos in docstrings.
15704
15705 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15706
15707 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15708 Update doc string.
15709
15710 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15711
15712 * server.el (server-execute): Catch quit and call
15713 `server-return-error' to pass the error back to emacsclient and
15714 close the connection (bug#8942).
15715
15716 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15717
15718 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15719 insecure exception for current topic. Also note that auto-saves
15720 are handled differently.
15721
15722 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15723 State variables for tracking auto-save inhibition situation.
15724
15725 (allout-write-contents-hook-handler): Rename from
15726 'allout-write-file-hook-handler', and describe how it depends on
15727 write-contents-functions sensitivity to non-nil value to prevent
15728 file write.
15729
15730 (allout-auto-save-hook-handler): Remove. auto-save does not check
15731 this in individual buffers, only in the starting buffer, so this
15732 is not the right way for us to inhibit auto-save in a buffer
15733 according to its condition.
15734
15735 (allout-mode): Use new allout-write-contents-hook-handler, and
15736 only with write-contents-functions. Remove auto-save provisions -
15737 they're implemented elsewhere.
15738
15739 (allout-before-change-handler): If undo is in progress, note that
15740 for attention of allout-post-command-business.
15741
15742 (allout-post-command-business): If the command we're following was
15743 an undo, check for change in the status of encrypted items and
15744 adjust auto-save inhibitions accordingly.
15745
15746 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15747 according to whether there are or aren't any plain-text topics
15748 pending encryption.
15749
15750 (allout-inhibit-auto-save-info-for-decryption):
15751 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15752 if there are plain-text topics pending encryption.
15753
15754 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15755 buffer-saved-size and some allout state to not inhibit auto-saves
15756 if there are no longer any plain-text topics pending encryption.
15757
15758 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15759 No longer provide for exemption of the current topic.
15760
15761 2011-07-04 Juri Linkov <juri@jurta.org>
15762
15763 Add 7z operations to delete and save changed members (bug#8968).
15764 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15765 New defcustoms.
15766 (archive-7z-write-file-member): New function.
15767 (archive-7z-summarize): Fix the number of dashes in the
15768 listing output.
15769
15770 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15771
15772 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15773 (bug#8958).
15774
15775 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15776
15777 * bindings.el: Ignore next-buffer and previous-buffer in
15778 minibuffer-local-map.
15779
15780 * font-lock.el (font-lock-builtin-face): Change light background
15781 color to dark slate blue (Bug#6693).
15782
15783 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15784
15785 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15786
15787 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15788
15789 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15790 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15791 Add switch-to-buffer.
15792
15793 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15794
15795 * isearch.el (isearch-search-fun-function): Clarify further the
15796 meaning of the function returned.
15797
15798 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15799
15800 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15801
15802 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15803 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15804 Use it.
15805 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15806 `tramp-default-remote-path' does not exist.
15807 (tramp-send-command-and-read): New optional argument NOERROR.
15808 (tramp-open-connection-setup-interactive-shell)
15809 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15810 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15811 (tramp-process-sentinel): Flush also process' connection property.
15812 (tramp-sh-handle-start-file-process): Do not set process
15813 sentinel. It is done now ...
15814 (tramp-maybe-open-connection): ... here. (Bug#8929)
15815
15816 2011-07-04 MON KEY <monkey@sandpframing.com>
15817
15818 * play/animate.el (animate-string): Doc fixes and allow changing
15819 the buffer name (bug#5417).
15820
15821 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15822
15823 * play/animate.el (animation-buffer-name): Rename from *animate*.
15824
15825 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15826
15827 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15828 This is simpler and helps future-proof the code.
15829 (timer-until): Use time-subtract and float-time.
15830 (timer--time-less-p): Use time-less-p.
15831
15832 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15833
15834 * type-break.el (timep): Use the value of `float-time' to avoid a
15835 byte-compiler warning.
15836
15837 * server.el (server-eval-and-print): Return any result, even nil.
15838
15839 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15840
15841 * type-break.el: Accept time formats that the builtins accept.
15842 (timep, type-break-time-difference): Accept any format that
15843 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15844 This is simpler and helps future-proof the code.
15845 (type-break-time-difference): Round rather than ignoring
15846 subseconds components.
15847
15848 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15849
15850 * info.el (Info-apropos-matches): Make non-interactive, since it
15851 doesn't seem to do anything useful as a command (bug#8829).
15852
15853 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15854
15855 * frame.el (frame-background-mode, frame-set-background-mode):
15856 Move from faces.el.
15857 (frame-default-terminal-background): New function.
15858
15859 * custom.el (custom-push-theme): Don't record faces in `changed'
15860 theme; this doesn't work correctly for per-frame face settings.
15861 (disable-theme): Use face-set-after-frame-default to reset faces.
15862 (custom--frame-color-default): New function.
15863
15864 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15865
15866 * dired.el (dired-flagging-regexp): Remove unused variable
15867 (bug#8769).
15868
15869 2011-03-29 Kevin Ryde <user42@zip.com.au>
15870
15871 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15872 `perl-Test2' extend to match possible "fail #N" rep count
15873 (bug#8377).
15874
15875 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15876
15877 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15878 `smtpmail-via-smtp' now returns the error instead of nil.
15879
15880 * isearch.el (isearch-search-fun-function): Clarify the doc string
15881 (bug#8101).
15882
15883 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15884
15885 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15886 unnecessary spaces (bug#8987).
15887
15888 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15889
15890 * net/network-stream.el (open-network-stream): Use the
15891 :end-of-capability command thoughout.
15892
15893 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15894
15895 * net/network-stream.el (open-network-stream): Add the
15896 :end-of-capability command parameter, used by pop3.el.
15897
15898 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15899
15900 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15901
15902 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15903 for list)" (bug#6475).
15904
15905 * files.el (file-expand-wildcards): Ignore non-readable
15906 sub-directories while trying to find matches instead of signaling
15907 an error (bug#6297).
15908
15909 * man.el (Man-reference-regexp): Allow matching possible
15910 word-wrapped references (bug#6289).
15911
15912 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15913 for consistency with the other vc buffers (bug#6197).
15914 (vc-checkin): Ditto.
15915
15916 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15917
15918 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15919
15920 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15921
15922 * custom.el (defcustom): Clarify that :set is only used in the
15923 Customize user interface (bug#6089).
15924
15925 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15926 associated with a file, refuse to run instead of erroring out
15927 (bug#6084).
15928
15929 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15930 the doc string, since it appears that using `fill-column' always
15931 controls the width (bug#7845).
15932
15933 * simple.el (shell-command-on-region): Say where the error output
15934 went if `shell-command-default-error-buffer' is set (bug#6857).
15935
15936 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15937
15938 * allout.el (allout-yank-processing): Adjust cursor position for
15939 backwards-deleted space.
15940
15941 (allout-rebullet-heading): Register changes with
15942 allout-exposure-changed-hook, so the modified topic is properly
15943 decorated.
15944
15945 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15946
15947 * minibuffer.el (completion-in-region): Document PREDICATE
15948 (bug#7136).
15949
15950 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15951 of keyword/argument pairs (bug#6904).
15952
15953 * replace.el (multi-occur):
15954 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15955
15956 2011-07-02 Drew Adams <drew.adams@oracle.com>
15957
15958 * dired.el (dired-mark-if): Make the message about whether it's
15959 marking or unmarking clearer (bug#8523).
15960
15961 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15962
15963 * disp-table.el (display-table-print-array): New function.
15964 (describe-display-table): Use it to print the vectors more pretty
15965 (Bug#8859).
15966
15967 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15968
15969 * window.el (window-state-get-1): Don't assign clone numbers.
15970 Add clone-of item to list of window parameters.
15971 (window-state-put-2): Don't process clone numbers.
15972 (display-buffer-alist): Fix doc-string.
15973
15974 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15975
15976 * subr.el (remq): Don't allocate if it's not needed.
15977 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15978 (keymap--merge-bindings): New functions.
15979 (keymap-canonicalize): Use them to refine the canonicalization.
15980 * minibuffer.el (minibuffer-local-completion-map)
15981 (minibuffer-local-must-match-map): Move initialization from C.
15982 (minibuffer-local-filename-completion-map): Move initialization from C;
15983 don't inherit from anything here.
15984 (minibuffer-local-filename-must-match-map): Make obsolete.
15985 (completing-read-default): Use make-composed-keymap to combine
15986 minibuffer-local-filename-completion-map with either
15987 minibuffer-local-must-match-map or
15988 minibuffer-local-filename-completion-map.
15989
15990 2011-07-01 Glenn Morris <rgm@gnu.org>
15991
15992 * type-break.el (type-break-time-sum): Use dolist.
15993
15994 * textmodes/flyspell.el (flyspell-word-search-backward):
15995 Replace CL function.
15996
15997 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15998
15999 * mouse.el (mouse--strip-first-event): New function.
16000 (function-key-map): Use it to map fringe clicks to normal clicks
16001 by default.
16002
16003 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16004 (vc-bzr-revision-completion-table): Add support for annotate and date.
16005
16006 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16007 inherit from parent.
16008
16009 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16010
16011 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16012 (dired-show-file-type): Doc fixup (bug#8818).
16013
16014 * dired.el (dired-mode): Fix up the doc string as suggested by
16015 Drew Adams (bug#8817).
16016
16017 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16018 cookie, since the manual says that it should be possible to add
16019 this function to `find-file-hook' (bug#8709).
16020
16021 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16022
16023 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16024 here. Noted Ted Zlatanov as the maintainer.
16025 (cfengine-common-settings, cfengine-common-syntax): New functions
16026 to set up common things between `cfengine-mode' and
16027 `cfengine3-mode'.
16028 (cfengine3-mode): New mode.
16029 (cfengine3-defuns cfengine3-defuns-regex
16030 (cfengine3-class-selector-regex cfengine3-category-regex)
16031 (cfengine3-vartypes cfengine3-font-lock-keywords)
16032 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16033 (cfengine3-indent-line): Add from cfengine3.el.
16034
16035 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16036
16037 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16038
16039 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16040
16041 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16042
16043 * window.el (same-window-buffer-names, same-window-regexps)
16044 (same-window-p, special-display-frame-alist)
16045 (special-display-popup-frame, special-display-function)
16046 (special-display-buffer-names, special-display-regexps)
16047 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16048 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16049 (split-window-preferred-function, split-height-threshold)
16050 (split-width-threshold, even-window-heights)
16051 (display-buffer-mark-dedicated, window-splittable-p)
16052 (split-window-sensibly, window-safely-shrinkable-p):
16053 Un-obsolete.
16054 (display-buffer): Don't spread args with function specifier
16055 because special-display-popup-frame won't like it.
16056
16057 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16058
16059 Time-stamp simplifications and fixes.
16060 These improve accuracy slightly, and future-proof the code
16061 against some potential changes to current-time format.
16062
16063 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16064 by using time-since and float-time.
16065
16066 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16067 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16068 + NNN microseconds".
16069
16070 * type-break.el (type-break-time-sum): Rewrite using time-add.
16071
16072 * play/hanoi.el (hanoi-current-time-float): Remove.
16073 All uses replaced by float-time.
16074
16075 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16076 This yields a more-accurate answer.
16077 (rng-time-to-float): Remove; no longer needed.
16078
16079 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16080
16081 * calendar/timeclock.el (timeclock-seconds-to-time):
16082 Defalias to seconds-to-time, since they're the same thing.
16083
16084 * emacs-lisp/elp.el (elp-elapsed-time):
16085 * emacs-lisp/benchmark.el (benchmark-elapse):
16086 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16087
16088 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16089
16090 * window.el (bury-buffer): Don't iconify the only frame.
16091 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16092 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16093
16094 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16095
16096 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16097 Add mouse-yank-primary.
16098
16099 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16100
16101 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16102
16103 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16104
16105 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16106 (find-library-name): Use it to find relative load names when provided
16107 absolute file name (bug#8803).
16108
16109 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16110
16111 * textmodes/flyspell.el (flyspell-word): Consider words that
16112 differ only in case as potential doublons (bug#5687).
16113
16114 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16115 Remove two rather uninteresting debugging-like messages to make
16116 debbugs.el more silent.
16117
16118 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16119 a password-like phrase.
16120
16121 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16122
16123 * progmodes/cc-guess.el: New file.
16124
16125 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16126
16127 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16128 derived from `c-basic-common-init'.
16129
16130 * progmodes/cc-mode.el (top-level): Require cc-guess.
16131 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16132
16133 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16134
16135 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16136
16137 2011-06-30 Alan Mackenzie <acm@muc.de>
16138
16139 * progmodes/cc-engine.el (c-guess-continued-construct):
16140 Correct the handling of template-args-cont, particularly for when font
16141 lock is disabled. Name this case as "CASE G".
16142
16143 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16144
16145 * allout.el (allout-yank-processing): Fix injection of extra space
16146 between bullet and non-whitespace character in first topic when
16147 pasting, ensuring that the actual spacing in the pasted topic
16148 following the bullet char is preserved. This extra space was
16149 causing pasted encrypted topics to get a decrypted status even
16150 when the content was actually still encrypted. Now the decryption
16151 status from before the paste is preserved.
16152
16153 (allout-flag-region): Set all allout overlays so they evaporate
16154 when reduced to zero length (evanescent), to prevent overlay
16155 leakage.
16156
16157 2011-06-30 Glenn Morris <rgm@gnu.org>
16158
16159 * w32-fns.el (w32-charset-info-alist): Declare.
16160
16161 * find-dired.el (find-grep-options): Simplify.
16162
16163 * term/ns-win.el (ns-set-resource): Declare.
16164
16165 * ses.el (row, col): Declare dynamic variables honestly.
16166
16167 * textmodes/reftex-parse.el (index-tags): Declare.
16168
16169 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16170
16171 * cus-edit.el (customize-push-and-save): New function.
16172
16173 * files.el (hack-local-variables-confirm): Use it.
16174
16175 * custom.el (load-theme): New arg NO-CONFIRM.
16176 Use customize-push-and-save (Bug#8720).
16177 (custom-enabled-themes): Doc fix.
16178
16179 * cus-theme.el (customize-create-theme)
16180 (custom-theme-merge-theme): Callers to load-theme changed.
16181
16182 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16183
16184 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16185 short URLs have at least one dot in them (bug #7614).
16186
16187 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16188 nil, because using a pty is apparently too slow (bug #895).
16189
16190 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16191
16192 * mail/sendmail.el (sendmail-query-once): New function.
16193 (sendmail-query-once-function): New variable.
16194
16195 2011-06-29 Glenn Morris <rgm@gnu.org>
16196
16197 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16198
16199 * ses.el (top-level): Require cl when compiling.
16200 (ses-set-localvars): Fix error statement.
16201 Call it at compile time to silence a storm of warnings.
16202
16203 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16204
16205 * window.el (normalize-live-buffer): Rename to
16206 window-normalize-buffer.
16207 (normalize-live-frame): Rename to window-normalize-frame.
16208 (normalize-any-window): Rename to window-normalize-any-window.
16209 (normalize-live-window): Rename to window-normalize-live-window.
16210 (make-window-atom): Rename to window-make-atom.
16211 (window-resize-reset): Rename to window--resize-reset.
16212 (window-resize-reset-1): Rename to window--resize-reset-1.
16213 (resize-mini-window): Rename to window--resize-mini-window.
16214 (resize-subwindows-skip-p): Rename to
16215 window--resize-subwindows-skip-p.
16216 (resize-subwindows-normal): Rename to
16217 window--resize-subwindows-normal.
16218 (resize-subwindows): Rename to window--resize-subwindows.
16219 (resize-other-windows): Rename to window--resize-siblings.
16220 (resize-this-window): Rename to window--resize-this-window.
16221 (resize-root-window): Rename to window--resize-root-window.
16222 (resize-root-window-vertically): Rename to
16223 window--resize-root-window-vertically.
16224 (normalize-buffer-to-display): Rename to
16225 window-normalize-buffer-to-display.
16226 (normalize-buffer-to-switch-to): Rename to
16227 window-normalize-buffer-to-switch-to.
16228 Correspondingly update all callers of the functions listed
16229 above.
16230 (display-buffer-alist, display-buffer-normalize-arguments)
16231 (display-buffer-normalize-options, display-buffer)
16232 (display-buffer-alist-set): Use "function" instead of
16233 "fun-with-args".
16234
16235 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16236
16237 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16238 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16239 debbugs.gnu.org. Mention acknowledgment email.
16240
16241 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16242
16243 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16244 buffer multibyteness, since it shouldn't matter.
16245
16246 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16247
16248 * window.el (display-buffer-in-side-window): Handle dedicated
16249 windows as in display-buffer-reuse-window.
16250 (display-buffer-normalize-alist): Use value of override
16251 specifier.
16252 (display-buffer-normalize-specifiers): Use value of
16253 other-window-means-other-frame specifier.
16254 (display-buffer-alist): Rewrite some texts in widgets.
16255 (display-buffer): Spread arguments when calling function
16256 specified by fun-with-args.
16257
16258 2011-06-28 Deniz Dogan <deniz@dogan.se>
16259
16260 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16261 Unnest `let'.
16262
16263 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16264 selectors (Bug#5732).
16265 (css-proprietary-nmstart-re): Use `regexp-opt'.
16266
16267 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16268
16269 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16270 (eshell-ls-date-format): New defcustom.
16271 (eshell-ls-file): Use it.
16272
16273 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16274
16275 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16276
16277 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16278
16279 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16280 (ange-ftp-make-tmp-name): New arg.
16281 (ange-ftp-file-local-copy): Use it.
16282
16283 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16284
16285 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16286 no-conversion (Bug#8870).
16287
16288 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16289
16290 * window.el (window-right, window-left, window-child)
16291 (window-child-count, window-last-child)
16292 (window-iso-combination-p, walk-window-tree-1)
16293 (window-atom-check-1, window-tree-1, delete-window)
16294 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16295 new naming conventions - window-vchild, window-hchild,
16296 window-next and window-prev are now called window-top-child,
16297 window-left-child, window-next-sibling and window-prev-sibling
16298 respectively.
16299 (resize-window-reset): Rename to window-resize-reset.
16300 (resize-window-reset-1): Rename to window-resize-reset-1.
16301 (resize-window): Rename to window-resize.
16302 (window-min-height, window-min-width)
16303 (resize-mini-window, resize-this-window, resize-root-window)
16304 (resize-root-window-vertically, adjust-window-trailing-edge)
16305 (enlarge-window, shrink-window, maximize-window)
16306 (minimize-window, delete-window, quit-restore-window)
16307 (split-window, balance-windows, balance-windows-area-adjust)
16308 (balance-windows-area, window-state-put-2)
16309 (display-buffer-even-window-sizes, display-buffer-set-height)
16310 (display-buffer-set-width, set-window-text-height)
16311 (fit-window-to-buffer): Rename all "resize-window" prefixed
16312 calls to use the "window-resize" prefix convention.
16313 (display-buffer-alist): Fix symbol for label specifier.
16314 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16315 corresponding specifier.
16316 Reported by Juanma Barranquero <lekktu@gmail.com>.
16317
16318 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16319
16320 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16321 convention.
16322 (ses-call-printer): Does not pass an empty string to formatter when the
16323 cell is empty to keep from barking printer Calc math-format-value.
16324
16325 2011-06-27 Richard Stallman <rms@gnu.org>
16326
16327 * battery.el (battery-mode-line-limit): New variable.
16328 (battery-update): Handle it.
16329
16330 * mail/rmailmm.el (rmail-mime-process-multipart):
16331 Handle truncated messages.
16332
16333 2011-06-27 Glenn Morris <rgm@gnu.org>
16334
16335 * progmodes/flymake.el (flymake-err-line-patterns):
16336 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16337
16338 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16339
16340 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16341 (ses--clean-!, ses--clean-_): New functions.
16342 (ses-range): Add configurability of readout order, and conversion
16343 to Calc vector.
16344
16345 * ses.el (ses-repair-cell-reference-all): New function.
16346 (ses-cell-symbol): Set macro as safe, so that it can be used in
16347 formulas.
16348
16349 * ses.el: Update cycle detection algorithm.
16350 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16351 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16352 (ses-set-localvars): New function.
16353 (ses-make-cell): Add property-list as a cell element.
16354 (ses-cell-property-get-fun, ses-cell-property-get)
16355 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16356 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16357 New functions.
16358 (ses-cell-property-set, ses-cell-property-pop)
16359 (ses-cell-property-get-handle): New macro.
16360 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16361 New aliases, used for code readability.
16362 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16363 cycle detection.
16364 (ses-self-reference-early-detection): New defcustom.
16365 (ses-formula-references): Robustify against self-referring cells.
16366 (ses-mode): Use ses-set-localvars.
16367 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16368 before lauching the update processing.
16369 (ses-initialize-Dijkstra-attempt): New function.
16370 (ses-recalculate-cell): Update for cycle detection based on
16371 Dijkstra algorithm.
16372
16373 * ses.el: Fix commenting and indenting convention.
16374
16375 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16376
16377 * bs.el (bs-cycle-next): Complete last change.
16378
16379 2011-06-27 Drew Adams <drew.adams@oracle.com>
16380
16381 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16382
16383 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16384
16385 * net/network-stream.el (network-stream-open-starttls):
16386 Don't re-get capabilities unless we've reestablished connection.
16387 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16388
16389 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16390 to binary to possibly avoid line encoding issues on Windows (among
16391 other things).
16392
16393 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16394
16395 * net/network-stream.el (open-network-stream): Return an :error
16396 saying what the problem was, if possible.
16397
16398 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16399 server.
16400
16401 * net/network-stream.el (network-stream-open-starttls): If we
16402 wanted to use STARTTLS, and the server offered it, but we weren't
16403 able to because we had no STARTTLS support, then close the connection.
16404 (open-network-stream): Return an :error element, if present.
16405
16406 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16407
16408 * hl-line.el (hl-line-sticky-flag): Doc fix.
16409 (global-hl-line-sticky-flag): New option (Bug#8323).
16410 (global-hl-line-highlight): Obey it.
16411
16412 * vc/vc.el (vc-revert-show-diff): Default to t.
16413
16414 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16415
16416 * allout-widgets.el (allout-widgets-post-command-business):
16417 Stop decorating intermediate isearch matches. They're not being
16418 undecorated when an isearch is continued past, and isearch
16419 automatically collapses them. This leads to "widget leaks", where
16420 decorated items accumulate in collapsed areas. Lines with lots of
16421 hidden widgets can slow down cursor travel, substantially.
16422 Too much complicated machinery would be needed to ensure undecoration,
16423 so we're doing without this nicety.
16424
16425 (allout-widgets-tally-string): Don't try to do a hash-table-count
16426 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16427 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16428 *Messages* when allout-widgets-maintain-tally is t.
16429
16430 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16431
16432 * window.el (display-buffer-normalize-argument): Rename to
16433 display-buffer-normalize-arguments. Handle special meaning of
16434 LABEL argument. Respect special-display-function when popping up
16435 a new frame. Fix code searching for a window showing the buffer
16436 on another frame.
16437 (display-buffer-normalize-specifiers):
16438 Call display-buffer-normalize-arguments.
16439 (display-buffer-in-window): Don't undedicate the window if its
16440 buffer remains the same.
16441 Reported by Drew Adams <drew.adams@oracle.com>.
16442 (display-buffer-alist): Add choice for same-window macro
16443 specfier.
16444 (display-buffer): Mention special meaning of LABEL argument in
16445 doc-string. Fix quoting. Don't pop up a new frame even as
16446 fallback.
16447
16448 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16449
16450 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16451 avoid deleting the current window in some cases (bug#8911).
16452
16453 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16454
16455 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16456 (Bug#8934)
16457
16458 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16459
16460 * net/network-stream.el (network-stream-open-starttls):
16461 Use built-in TLS support if `gnutls-available-p' is true.
16462 (network-stream-open-tls): Ditto.
16463
16464 2011-06-26 Leo Liu <sdl.web@gmail.com>
16465
16466 * register.el (registerv): New struct.
16467 (registerv-make): New function.
16468 (jump-to-register, describe-register-1, insert-register):
16469 Support the jump-func, print-func and insert-func slot of a registerv
16470 struct. (Bug#8415)
16471
16472 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16473
16474 * vc/vc.el (vc-revert-show-diff): New defcustom.
16475 (vc-diff-internal): New arg specifying diff buffer.
16476 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16477 reuse an existing *vc-diff* buffer (Bug#8927).
16478
16479 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16480
16481 2011-06-26 Glenn Morris <rgm@gnu.org>
16482
16483 * progmodes/f90.el (f90-critical-indent): New option.
16484 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16485 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16486 (f90-mode): Doc fix.
16487 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16488 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16489 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16490 (f90-match-end): Handle block, critical.
16491
16492 2011-06-25 Glenn Morris <rgm@gnu.org>
16493
16494 * calendar/diary-lib.el (diary-included-files): Doc fix.
16495 (diary-include-files): New function, extracted from
16496 diary-include-other-diary-files and diary-mark-included-diary-files.
16497 (diary-include-other-diary-files, diary-mark-included-diary-files):
16498 Just call diary-include-files.
16499 (diary-mark-entries): Reset diary-included-files on first call.
16500
16501 * calendar/diary-lib.el (diary-mark-entries)
16502 (diary-mark-included-diary-files):
16503 Visit included diary-files in temp buffers.
16504
16505 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16506 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16507 (f90-start-block-re, f90-imenu-generic-expression)
16508 (f90-looking-at-program-block-start, f90-no-block-limit):
16509 Add support for submodules.
16510
16511 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16512 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16513
16514 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16515
16516 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16517 buffer-file-type before setting its value, to avoid disastrous
16518 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16519
16520 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16521
16522 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16523
16524 * ses.el (ses-unload-function):
16525 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16526
16527 * proced.el (proced-unload-function):
16528 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16529
16530 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16531
16532 * server.el (server-create-window-system-frame): Add parameters arg.
16533 (server-process-filter): Doc fix. Handle frame-parameters.
16534
16535 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16536
16537 Fix bug#8730, bug#8781.
16538
16539 * loadhist.el (unload--set-major-mode): New function.
16540 (unload-feature): Use it.
16541
16542 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16543 (python-unload-function): New function.
16544
16545 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16546
16547 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16548
16549 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16550
16551 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16552 the candidates list.
16553
16554 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16555
16556 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16557
16558 2011-06-23 Richard Stallman <rms@gnu.org>
16559
16560 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16561 (rmail-variables): Set next-error-move-function.
16562 (rmail-what-message): Take argument POS.
16563 (rmail-next-error-move): New function.
16564
16565 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16566
16567 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16568 messages for adjacent non-terminals.
16569
16570 2011-06-23 Richard Stallman <rms@gnu.org>
16571
16572 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16573 (rmail-show-message-1): Preserve buffer modified flag.
16574 (rmail-start-mail): Don't specify use of rmail-mail-return;
16575 that's done by mail-bury now.
16576 (rmail-mail-return): Handle arg NEWBUF.
16577
16578 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16579
16580 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16581 SIZE is a number.
16582
16583 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16584
16585 * window.el (get-lru-window, get-mru-window)
16586 (get-largest-window): Never return a minibuffer window.
16587 (display-buffer-pop-up-window): Fix a bug that could lead to
16588 reusing the minibuffer window.
16589 (display-buffer): Pass original specifier argument to
16590 display-buffer-function instead of the normalized one.
16591 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16592
16593 2011-06-22 Leo Liu <sdl.web@gmail.com>
16594
16595 * minibuffer.el (completing-read-function)
16596 (completing-read-default): Move from minibuf.c.
16597
16598 2011-06-22 Richard Stallman <rms@gnu.org>
16599
16600 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16601 to Rmail even if not started by a special Rmail command.
16602
16603 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16604 Copy the buffer currently showing just one message.
16605
16606 2011-06-22 Roland Winkler <winkler@gnu.org>
16607
16608 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16609 (bibtex-clean-entry): First delete the old key so that a
16610 customized algorithm for generating the new key does not get
16611 confused by the old key.
16612 (bibtex-url): Obey regexp of first step.
16613 (bibtex-search-entries): Do not use add-to-list with local
16614 list-var.
16615
16616 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16617
16618 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16619 stored a user name, then query for the password first, instead of
16620 waiting for SMTP to give an error message and the trying again.
16621
16622 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16623
16624 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16625 BUFFER in call-process.
16626
16627 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16628
16629 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16630 QUIT twice.
16631 (smtpmail-try-auth-methods): Require user name and password from
16632 auth-source.
16633
16634 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16635
16636 * window.el (display-buffer-default-specifiers)
16637 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16638 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16639 (split-window): Normalize SIDE argument (Bug#8916).
16640
16641 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16642 (special-display-frame-alist, special-display-popup-frame):
16643 Remove duplicate declarations. These are now in window.el.
16644
16645 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16646
16647 * mail/smtpmail.el (smtpmail-via-smtp):
16648 Set :use-starttls-if-possible so that we always use STARTTLS if the
16649 server supports it. SMTP servers that support STARTTLS commonly
16650 require it.
16651
16652 * net/network-stream.el (network-stream-open-starttls): Support
16653 upgrading to STARTTLS always, even if we don't have built-in support.
16654 (open-network-stream): Add the :always-query-capabilities keyword.
16655
16656 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16657 upgrades with `open-network-stream', and rely solely on
16658 auth-source for all credentials. Big changes throughout the file,
16659 but in particular:
16660 (smtpmail-auth-credentials): Remove.
16661 (smtpmail-starttls-credentials): Remove.
16662 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16663 MAIL FROM, too.
16664
16665 * net/network-stream.el (network-stream-open-starttls):
16666 Provide support for client certificates both for external and built-in
16667 STARTTLS.
16668 (auth-source): Require.
16669 (open-network-stream): Document the :client-certificate keyword.
16670 (network-stream-certificate): Change cert-cert to cert and
16671 cert-key to key.
16672
16673 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16674
16675 * net/tramp-cache.el (top): Don't load the persistency file when
16676 "emacs -Q" has been called.
16677
16678 2011-06-21 Tim Harper <timcharper@gmail.com>
16679
16680 * term/ns-win.el (ns-initialize-window-system):
16681 Set application-specific `ApplePressAndHoldEnabled' system
16682 resource to NO as it is not yet supported by the NS port.
16683
16684 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16685
16686 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16687 (list-dynamic-libraries): ...not here.
16688
16689 2011-06-21 Leo Liu <sdl.web@gmail.com>
16690
16691 * subr.el (sha1): Implement sha1 using secure-hash.
16692
16693 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16694
16695 * window.el (display-buffer-alist): In default value do not
16696 enforce searching a window on any but the selected frame.
16697 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16698 (display-buffer-select-window): Remove function.
16699 (display-buffer-in-window): When a window on another frame gets
16700 reused, do not select it any more but just raise its frame if
16701 necessary (Bug#8851) and (Bug#8856).
16702 (display-buffer-normalize-options): Handle pop-up-frames related
16703 options more faithfully.
16704 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16705 window if it is on another frame.
16706 (display-buffer-alist, display-buffer-default-specifiers):
16707 Don't make new frame unsplittable by default.
16708 (display-buffer-normalize-argument): Fix doc-string typo and use
16709 'same-frame-other-window instead of 'other-window when associating
16710 with display-buffer-macro-specifiers.
16711
16712 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16713
16714 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16715 New functions.
16716 (5x5-mode-map, 5x5-mode-menu): Bind them.
16717 (5x5-draw-grid): Tweak the solver's rendering.
16718
16719 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16720
16721 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16722 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16723
16724 2011-06-21 Drew Adams <drew.adams@oracle.com>
16725
16726 * menu-bar.el: Use function variable instead of switch-to-buffer.
16727 (menu-bar-select-buffer-function): New variable.
16728 (menu-bar-update-buffers): Use it (bug#8876).
16729
16730 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16731
16732 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16733 variable's status.
16734
16735 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16736
16737 * x-dnd.el (x-dnd-version-from-flags)
16738 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16739 and long as number (Bug#8899).
16740 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16741
16742 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16743
16744 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16745 (completion-try-completion, completion-all-completions): Compute the
16746 metadata argument if it's missing; make it optional (bug#8795).
16747
16748 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16749 (widget-complete): Use new :completion-function property.
16750 (widget-completions-at-point): New function.
16751 (default): Use :completion-function instead of :complete.
16752 (widget-default-completions): Rename from widget-default-complete;
16753 Rewrite.
16754 (widget-string-complete, widget-file-complete, widget-color-complete):
16755 Remove functions.
16756 (file, symbol, function, variable, coding-system, color):
16757 * international/mule-cmds.el (default-input-method, charset)
16758 (language-info-custom-alist):
16759 * cus-edit.el (face): Use new property :completions.
16760
16761 * progmodes/pascal.el (pascal-completions-at-point): New function.
16762 (pascal-mode): Use it.
16763 (pascal-mode-map): Use completion-at-point.
16764 (pascal-toggle-completions): Make obsolete.
16765 (pascal-complete-word, pascal-show-completions):
16766 * progmodes/octave-mod.el (octave-complete-symbol):
16767 Redefine as obsolete alias.
16768 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16769 Signal absence of completion info for old Octave,
16770 (inferior-octave-complete): Redefine as obsolete alias.
16771 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16772 (meta-completions-at-point): Rename from meta-complete-symbol and
16773 adapt it for use on completion-at-point-functions.
16774 (meta-common-mode): Use it.
16775 (meta-looking-at-backward, meta-match-buffer): Remove.
16776 (meta-complete-symbol): Redefine as obsolete alias.
16777 (meta-common-mode-map): Use completion-at-point.
16778 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16779 (makefile-mode-map): Use completion-at-point.
16780 (makefile-completions-at-point): Rename from makefile-complete and
16781 adapt it for use on completion-at-point-functions.
16782 (makefile-mode): Use it.
16783 (makefile-complete): Redefine as obsolete alias.
16784
16785 2011-06-20 Deniz Dogan <deniz@dogan.se>
16786
16787 * net/rcirc.el: Delete trailing whitespaces once and for all.
16788
16789 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16790
16791 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16792
16793 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16794
16795 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16796
16797 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16798
16799 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16800
16801 * window.el (display-buffer-other-window-means-other-frame):
16802 Call display-buffer-normalize-alist.
16803 (display-buffer-normalize-specifiers-1): Rename to
16804 display-buffer-normalize-argument. New argument other-frame.
16805 Rewrite.
16806 (display-buffer-normalize-specifiers-2): Rename to
16807 display-buffer-normalize-options.
16808 (display-buffer-normalize-alist-1): New function.
16809 (display-buffer-normalize-specifiers-3): Rename to
16810 display-buffer-normalize-alist.
16811 Call display-buffer-normalize-alist-1.
16812 (display-buffer-normalize-options-inhibit): New variable.
16813 (display-buffer-normalize-specifiers): Rewrite calling
16814 display-buffer-normalize-alist,
16815 display-buffer-normalize-argument, and
16816 display-buffer-normalize-options. Don't call the latter if
16817 display-buffer-normalize-options-inhibit is non-nil.
16818 (frame-auto-delete): New option.
16819 (window-deletable-p): Use frame-auto-delete.
16820 (window-list-no-nils, window-state-ignored-parameters)
16821 (window-state-get-1, window-state-get, window-state-put-list)
16822 (window-state-put-1, window-state-put-2, window-state-put):
16823 New functions.
16824 (display-buffer-normalize-options): Move special-display-p group
16825 after pop-up-frame group (Bug#8851) and (Bug#8856).
16826
16827 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16828
16829 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16830 groups (Bug#8776).
16831 (rx-submatch-n): New function.
16832 (rx): Document it.
16833
16834 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16835 (Bug#8768).
16836
16837 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16838
16839 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16840
16841 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16842 anytime existing face settings are present (Bug#8889).
16843
16844 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16845 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16846 Remove unused argument.
16847
16848 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16849
16850 * window.el (display-buffer-default-specifiers):
16851 Remove pop-up-frame. Add pop-up-window-min-height,
16852 pop-up-window-min-width, and another reuse-window specifier
16853 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16854 (display-buffer-normalize-specifiers-2):
16855 Handle split-height-threshold and split-width-threshold also when
16856 pop-up-windows is unset. Add a reuse-window specifier for the
16857 case popping up a new window fails.
16858 (special-display-popup-frame): Remove double quoting.
16859 (display-buffer-normalize-specifiers-1): Fix thinko.
16860
16861 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16862
16863 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16864 according to comint-completion-addsuffix.
16865
16866 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16867 (pcomplete-suffix-list): Mark as obsolete.
16868 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16869 pcomplete-seen in the closure.
16870 (pcomplete-comint-setup): Setup completion-at-point as well.
16871 (pcomplete--entries): New function.
16872 (pcomplete--env-regexp): New var.
16873 (pcomplete-entries): Rewrite to work with partial-completion and
16874 without relying on pcomplete-suffix-list.
16875 (pcomplete-pare-list): Remove, unused.
16876
16877 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16878
16879 * window.el (display-buffer-alist): Set pop-up-window-min-height
16880 and pop-up-window-min-width in default value. Reported by
16881 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16882 other-window-means-other-frame.
16883 (display-buffer-macro-specifiers): Comment out entry for
16884 other-window specifier.
16885 (display-buffer-other-window-means-other-frame): New function.
16886 (display-buffer-normalize-specifiers-1): New arguments
16887 buffer-name and label. Treat other-window case specially.
16888 (display-buffer-normalize-specifiers-2): Treat other-window case
16889 specially.
16890 (display-buffer-normalize-specifiers-3): New function.
16891 (display-buffer-normalize-specifiers):
16892 Call display-buffer-normalize-specifiers-3.
16893
16894 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16895
16896 * window.el (same-window-p): Fix two typos introduced when
16897 adding with-no-warnings.
16898 (display-buffer-normalize-specifiers-1): Don't check
16899 pop-up-frames for 'unset initialization.
16900 (display-buffer-normalize-specifiers-2): Major rewrite using
16901 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16902 (pop-up-frames, display-buffer-reuse-frames)
16903 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16904 Suggested by David Engster <deng@randomsample.de>.
16905 (even-window-heights): Initialize to 'unset.
16906 (display-buffer-alist-set): Handle new 'unset initializations.
16907 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16908 other window case.
16909
16910 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16911
16912 * window.el (display-buffer-normalize-specifiers-1):
16913 Respect current value of pop-up-frames for most reasonable values of
16914 second argument of display-buffer (Bug#8865).
16915 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16916 (switch-to-buffer-other-window-same-frame)
16917 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16918 Adams (Bug#8875).
16919 (display-buffer): Don't check noninteractive when calling
16920 display-buffer-pop-up-frame.
16921 (display-buffer-pop-up-frame): Never pop up a frame in
16922 noninteractive mode (Bug#8857).
16923 (enlarge-window, shrink-window): Don't report an error when the
16924 window can't be resized as requested (Bug#8862).
16925
16926 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16927
16928 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16929
16930 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16931
16932 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16933
16934 2011-06-15 Alan Mackenzie <acm@muc.de>
16935
16936 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16937 for declarators, disable knr checking to speed up for normal files.
16938 2: Refactor, replacing a sequence of nested if forms by a cond form.
16939
16940 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16941
16942 * net/network-stream.el (open-network-stream): Add the keyword
16943 :always-query-capabilities for the case where you want to force a
16944 `plain' network connection, but the protocol still requires the
16945 capabilitiy command (i.e., SMTP and EHLO).
16946
16947 * subr.el (process-live-p): Rename from `process-alive-p' for
16948 consistency with other `-live-p' functions.
16949
16950 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16951
16952 * window.el (same-window-buffer-names, same-window-regexps)
16953 (special-display-frame-alist, special-display-popup-frame)
16954 (special-display-function, special-display-buffer-names)
16955 (special-display-regexps, pop-up-frame-alist)
16956 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16957 (pop-up-windows, split-window-preferred-function)
16958 (split-height-threshold, split-width-threshold, even-window-heights)
16959 (display-buffer-mark-dedicated): Don't encourage the use of
16960 display-buffer-alist from Elisp code.
16961
16962 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16963
16964 * progmodes/python.el (python-mode): Derive from prog-mode.
16965 * progmodes/ps-mode.el (ps-mode):
16966 * progmodes/mixal-mode.el (mixal-mode):
16967 * progmodes/cfengine.el (cfengine-mode):
16968 * progmodes/ld-script.el (ld-script-mode): Likewise.
16969
16970 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16971
16972 * window.el (display-buffer-alist): Trim default value to avoid
16973 popping up a new frame (Bug#8857) or reusing an arbitrary window
16974 on another frame.
16975 (display-buffer): Do not fall back on popping up a new frame in
16976 batch mode (Bug#8857).
16977
16978 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
16979
16980 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16981 (custom-theme-summary): New function.
16982 (customize-themes): Use it.
16983
16984 2011-06-13 Glenn Morris <rgm@gnu.org>
16985
16986 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16987
16988 2011-06-13 Martin Rudalics <rudalics@gmx.at>
16989
16990 * help.el (help-window): Remove variable.
16991 (help-window-point-marker, temp-buffer-max-height)
16992 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16993 (help-print-return-message): Don't set help-window.
16994 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16995 (help-window-setup-finish): Remove.
16996 (help-window-display-message, help-window-setup)
16997 (with-help-window): Major rewrite based on new
16998 display-buffer-window variable.
16999
17000 * help-mode.el (help-mode-finish): Remove help-window related
17001 code.
17002
17003 * view.el (view-exits-all-viewing-windows): Remove reference to
17004 view-return-to-alist in doc-string.
17005 (view-return-to-alist): Make obsolete.
17006 (view-buffer): Call pop-to-buffer-same-window and remove
17007 undo-window code.
17008 (view-buffer-other-window): Call pop-to-buffer-other-window and
17009 simplify code. Ignore second argument.
17010 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17011 simplify code. Ignore second argument.
17012 (view-return-to-alist-update): Make obsolete.
17013 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17014 Rewrite using quit-restore window parameters.
17015 (view-mode-exit): Rename second argument to EXIT-ONLY.
17016 Rewrite using quit-restore-window.
17017 (View-exit, View-exit-and-edit, View-leave, View-quit)
17018 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17019 appropriate arguments.
17020 (view-end-message): Use quit-restore window parameter.
17021
17022 * window.el (display-buffer-function): Rewrite doc-string.
17023 (display-buffer-window, display-buffer-alist): New variables.
17024 (display-buffer-split-specifiers)
17025 (display-buffer-side-specifiers)
17026 (display-buffer-macro-specifiers): New constants.
17027 (display-buffer-even-window-sizes, display-buffer-set-height)
17028 (display-buffer-set-width, display-buffer-select-window)
17029 (display-buffer-in-window, display-buffer-reuse-window)
17030 (display-buffer-split-window-1, display-buffer-split-window)
17031 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17032 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17033 (display-buffer-in-side-window, normalize-buffer-to-display)
17034 (display-buffer-normalize-specifiers-1)
17035 (display-buffer-normalize-specifiers-2)
17036 (display-buffer-normalize-specifiers, display-buffer-frame):
17037 New functions.
17038 (display-buffer): Major rewrite.
17039 (display-buffer-other-window, display-buffer-other-frame)
17040 (pop-to-buffer, switch-to-buffer-other-window)
17041 (switch-to-buffer-other-frame): Rewrite.
17042 (display-buffer-same-window, display-buffer-same-frame)
17043 (display-buffer-same-frame-other-window)
17044 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17045 (pop-to-buffer-other-window)
17046 (pop-to-buffer-same-frame-other-window)
17047 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17048 (switch-to-buffer-other-window-same-frame): New functions.
17049 (same-window-p, special-display-p): Rewrite disabling warnings.
17050 Make obsolete.
17051 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17052 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17053 Make obsolete
17054 (same-window-buffer-names, same-window-regexps)
17055 (special-display-frame-alist, special-display-popup-frame)
17056 (special-display-function, special-display-buffer-names)
17057 (special-display-regexps, pop-up-frame-alist)
17058 (pop-up-frame-function, split-window-preferred-function)
17059 (split-height-threshold, split-width-threshold)
17060 (even-window-heights): Make obsolete.
17061
17062 2011-06-12 Glenn Morris <rgm@gnu.org>
17063
17064 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17065 Misc simplifications.
17066
17067 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17068
17069 * window.el (window-safely-shrinkable-p): Restore function which
17070 was inadvertently removed in change from 2011-06-11. Declare as
17071 obsolete.
17072
17073 * calendar/calendar.el (calendar-generate-window):
17074 Use window-iso-combined-p instead of combination of one-window-p and
17075 window-safely-shrinkable-p.
17076
17077 2011-06-12 Glenn Morris <rgm@gnu.org>
17078
17079 * progmodes/fortran.el (fortran-mode-syntax-table):
17080 * progmodes/f90.el (f90-mode-syntax-table):
17081 Set % to punctuation. (Bug#8820)
17082 (f90-find-tag-default): Remove, no longer needed.
17083
17084 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17085
17086 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17087
17088 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17089
17090 * image.el (image-animated-p): Return animation delay in seconds.
17091 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17092 (image-animate-timeout): Remove DELAY argument. Don't assume
17093 every subimage has the same delay; get it from image-animated-p.
17094 (image-animate): Caller changed.
17095
17096 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17097
17098 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17099 to ignored backtrace functions.
17100
17101 2011-06-11 Glenn Morris <rgm@gnu.org>
17102
17103 * calendar/appt.el (appt-disp-window-function): Doc fix.
17104 (appt-check): Handle overlapping appointments. (Bug#8337)
17105
17106 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17107
17108 * window.el (window-tree-1, window-tree): New functions, moving
17109 the latter to window.el.
17110 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17111 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17112 (bw-refresh-edges): Remove.
17113 (balance-windows-1, balance-windows-2): New functions.
17114 (balance-windows): Rewrite in terms of window tree functions,
17115 balance-windows-1 and balance-windows-2.
17116 (bw-adjust-window): Remove.
17117 (balance-windows-area-adjust): New function with functionality of
17118 bw-adjust-window but using resize-window.
17119 (set-window-text-height): Rewrite doc-string.
17120 Use normalize-live-window and resize-window.
17121 (enlarge-window-horizontally, shrink-window-horizontally):
17122 Rename argument to DELTA.
17123 (window-buffer-height): New function.
17124 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17125 Rewrite using new window resize routines.
17126 (kill-buffer-and-window, mouse-autoselect-window-select):
17127 Use ignore-errors instead of condition-case.
17128 (quit-window): Call delete-frame instead of delete-windows-on
17129 for the only buffer on frame.
17130
17131 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17132
17133 * loadup.el (top-level): Load window before files for the sake
17134 of replace-buffer-in-windows.
17135
17136 * files.el (read-buffer-to-switch)
17137 (switch-to-buffer-other-window)
17138 (switch-to-buffer-other-frame, display-buffer-other-frame):
17139 Move to window.el.
17140
17141 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17142 (previous-buffer): Move to window.el.
17143
17144 * bindings.el (unbury-buffer): Move to window.el.
17145
17146 * window.el (delete-other-windows-vertically): Move after
17147 definition of delete-other-windows.
17148 (other-window, delete-windows-on, replace-buffer-in-windows):
17149 Move here from window.c.
17150 (record-window-buffer, unrecord-window-buffer)
17151 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17152 (switch-to-next-buffer): New functions.
17153 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17154 from simple.el. Call switch-to-next-buffer.
17155 (previous-buffer): Move here from simple.el.
17156 Call switch-to-prev-buffer.
17157 (bury-buffer): Move here from buffer.c. Switch to previous
17158 buffer when window cannot be deleted.
17159 (unbury-buffer): Move here from bindings.el.
17160 (ctl-x-map): Move binding for other-window from window.c to
17161 here.
17162 (read-buffer-to-switch, switch-to-buffer-other-window)
17163 (switch-to-buffer-other-frame): Move here from files.el.
17164 (normalize-buffer-to-switch-to): New functions.
17165 (switch-to-buffer): Move here from buffer.c.
17166 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17167
17168 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17169
17170 * window.el (window-min-height, window-min-width): Move here
17171 from window.c. Add defcustoms and rewrite doc-strings.
17172 (resize-mini-window, resize-window): New functions.
17173 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17174 Move here from window.c.
17175 (maximize-window, minimize-window): New functions.
17176 (delete-window, delete-other-windows, split-window): Move here
17177 from window.c.
17178 (window-split-min-size): New function.
17179 (split-window-keep-point): Mention split-window-above-each-other
17180 instead of split-window-vertically.
17181 (split-window-above-each-other, split-window-vertically):
17182 Rename split-window-vertically to split-window-above-each-other
17183 and provide defalias for old definition.
17184 (split-window-side-by-side, split-window-horizontally):
17185 Rename split-window-horizontally to split-window-side-by-side
17186 and provide defalias for the old definition.
17187 (ctl-x-map): Move bindings for delete-window,
17188 delete-other-windows and enlarge-window here from window.c.
17189 Replace bindings for split-window-vertically and
17190 split-window-horizontally by bindings for
17191 split-window-above-each-other and split-window-side-by-side.
17192
17193 * cus-start.el (all): Remove entries for window-min-height and
17194 window-min-width. Add entries for window-splits and
17195 window-nest.
17196
17197 2011-06-09 Glenn Morris <rgm@gnu.org>
17198
17199 * calendar/appt.el (appt-mode-line): New function.
17200 (appt-check, appt-disp-window): Use it.
17201
17202 * files.el (hack-one-local-variable-eval-safep):
17203 Allow minor-modes with explicit +/-1 arguments.
17204
17205 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17206
17207 * term/xterm.el (xterm): Add defgroup.
17208 (xterm-extra-capabilities): Add defcustom to supply known xterm
17209 capabilities, skip querying them, or query them (default).
17210 (terminal-init-xterm): Use it.
17211 (terminal-init-xterm-modify-other-keys): New function to set up
17212 modifyOtherKeys support to simplify `terminal-init-xterm'.
17213
17214 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17215
17216 * window.el (resize-window-reset, resize-window-reset-1)
17217 (resize-subwindows-skip-p, resize-subwindows-normal)
17218 (resize-subwindows, resize-other-windows, resize-this-window)
17219 (resize-root-window, resize-root-window-vertically)
17220 (window-deletable-p, window-or-subwindow-p)
17221 (frame-root-window-p): New functions.
17222
17223 2011-06-09 Glenn Morris <rgm@gnu.org>
17224
17225 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17226 (ange-ftp-get-files): Use it.
17227
17228 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17229
17230 * mail/sendmail.el (mail-recover-1, mail-recover):
17231 * files.el (recover-file, recover-session):
17232 Handle dired-listing-switches not being just a single short option.
17233
17234 2011-06-09 Glenn Morris <rgm@gnu.org>
17235
17236 * calendar/appt.el (appt-display-message, appt-disp-window):
17237 Handle lists of appointments.
17238
17239 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17240
17241 * window.el (one-window-p): Move down in code.
17242 Rewrite doc-string.
17243 (window-current-scroll-bars): Rewrite doc-string.
17244 Normalize live window argument.
17245 (walk-windows, get-window-with-predicate, count-windows):
17246 Rewrite doc-string. Use window-list-1.
17247 (window-in-direction-2, window-in-direction, get-mru-window):
17248 New functions.
17249
17250 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17251
17252 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17253 Doc fix (Bug#8713).
17254
17255 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17256
17257 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17258
17259 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17260
17261 * loadhist.el (unload-feature-special-hooks):
17262 Add `comint-output-filter-functions'.
17263
17264 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17265
17266 * calendar/appt.el (appt-check): Move some initializations into the let.
17267
17268 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17269
17270 * window.el (window-height): Defalias to window-total-height.
17271 (window-width): Defalias to window-body-width.
17272
17273 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17274
17275 * image-mode.el (image-toggle-animation): New command.
17276 (image-mode-map): Bind it to RET.
17277 (image-mode): Update message.
17278 (image-toggle-display-image): Avoid a spurious cache flush.
17279 (image-transform-rotation): Doc fix.
17280 (image-transform-properties): Return quickly in the normal case.
17281 (image-animate-loop): Rename from image-animate-max-time.
17282
17283 * image.el (image-animate-max-time): Move to image-mode.el.
17284 (create-animated-image): Remove unnecessary function.
17285 (image-animate): Rename from image-animate-start. New arg.
17286 (image-animate-stop): Remove; just use image-animate-timer.
17287 (image-animate-timer): Use car-safe.
17288 (image-animate-timeout): Rename argument.
17289
17290 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17291
17292 * window.el (get-lru-window, get-largest-window): Move here from
17293 window.c. Rename first argument to ALL-FRAMES.
17294 Rephrase doc-strings.
17295 (get-buffer-window-list): Rewrite using window-list-1.
17296 Rephrase doc-string.
17297 (window-safe-min-height, window-safe-min-width): New constants.
17298 (window-size-ignore, window-min-size, window-min-size-1)
17299 (window-sizable, window-sizable-p, window-size-fixed-1)
17300 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17301 (window-max-delta-1, window-max-delta, window-resizable)
17302 (window-resizable-p, window-total-height, window-total-width)
17303 (window-body-width): New functions.
17304 (window-full-height-p, window-full-width-p): Rewrite using
17305 window-total-size.
17306 (window-body-height): Rewrite using window-body-size.
17307
17308 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17309
17310 * window.el (window-right, window-left, window-child)
17311 (window-child-count, window-last-child, window-any-p)
17312 (normalize-live-buffer, normalize-live-frame)
17313 (normalize-any-window, normalize-live-window)
17314 (window-iso-combination-p, window-iso-combined-p)
17315 (window-iso-combinations)
17316 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17317 (windows-with-parameter, window-with-parameter)
17318 (window-atom-root, make-window-atom, window-atom-check-1)
17319 (window-atom-check, window-side-check, window-check):
17320 New functions.
17321 (ignore-window-parameters, window-sides, window-sides-vertical)
17322 (window-sides-slots): New variables.
17323 (window-size-fixed): Move down in code. Minor doc-string fix.
17324
17325 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17326
17327 * comint.el (comint-dynamic-complete-as-filename)
17328 (comint-dynamic-complete-filename): Correctly call
17329 completion-in-region.
17330
17331 2011-06-05 Deniz Dogan <deniz@dogan.se>
17332
17333 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17334 in last change.
17335
17336 2011-06-05 Deniz Dogan <deniz@dogan.se>
17337
17338 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17339 (rcirc): Use it to prompt for encryption.
17340
17341 2011-06-05 Roland Winkler <winkler@gnu.org>
17342
17343 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17344 (bibtex-search-entries): New command bound to C-c C-a.
17345 (bibtex-display-entries): New function.
17346
17347 2011-06-05 Roland Winkler <winkler@gnu.org>
17348
17349 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17350 (bibtex-insert-kill): After yanking insert newline if necessary.
17351 (bibtex-initialize): Call bibtex-string-files-init only once.
17352 (bibtex-mode): Do not call easy-menu-add.
17353 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17354 (bibtex-yank): Set arg properly if nil.
17355
17356 2011-06-05 Roland Winkler <winkler@gnu.org>
17357
17358 * textmodes/bibtex.el (bibtex-search-entry-globally):
17359 New variable.
17360 (bibtex-search-entry): Use it.
17361
17362 2011-06-05 Roland Winkler <winkler@gnu.org>
17363
17364 * textmodes/bibtex.el (bibtex-entry-format): New option
17365 sort-fields.
17366 (bibtex-format-entry, bibtex-reformat): Honor this option.
17367 (bibtex-parse-entry): Return fields in proper order.
17368
17369 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17370
17371 * doc-view.el (doc-view-remove-if): Move computation of result out
17372 of `dolist' to silence misleading lexical-binding warning.
17373
17374 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17375
17376 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17377 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17378
17379 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17380
17381 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17382 "SunOS 5.10".
17383
17384 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17385
17386 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17387 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17388 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17389 (tramp-parse-putty):
17390 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17391 (tramp-completion-function-alist-ssh)
17392 (tramp-completion-function-alist-telnet)
17393 (tramp-completion-function-alist-su)
17394 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17395 cookie.
17396
17397 * net/tramp-ftp.el:
17398 * net/tramp-sh.el:
17399 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17400 load "tramp.el" `tramp-set-completion-function'.
17401
17402 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17403
17404 * shell.el: Require and use pcomplete.
17405 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17406 (shell-completion-vars): Set pcomplete-default-completion-function.
17407
17408 2011-06-04 Deniz Dogan <deniz@dogan.se>
17409
17410 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17411 `memq' (Bug#8799).
17412
17413 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17414
17415 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17416
17417 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17418
17419 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17420 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17421 * vc/log-view.el (log-view-beginning-of-defun):
17422 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17423 (smerge-refine-forward, smerge-refine-chopup-region):
17424 Silence warning for unused `dotimes' counter variables.
17425
17426 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17427
17428 * net/tramp.el (tramp-with-progress-reporter): Rename from
17429 with-progress-reporter. Use `declare'.
17430 * net/tramp-smb.el:
17431 * net/tramp-sh.el:
17432 * net/tramp-gvfs.el: Update all uses.
17433
17434 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17435
17436 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17437 buffer isn't killed before making it current.
17438
17439 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17440
17441 Silence various byte-compiler warnings.
17442 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17443 `access-type' and new obsolescence format.
17444 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17445 new format.
17446 (byte-compile-check-variable): New `access-type' argument.
17447 Only warn if the access-type is obsolete.
17448 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17449 (byte-compile-variable-set): Adjust callers.
17450 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17451 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17452 setting it as obsolete.
17453 * simple.el (minibuffer-completing-symbol):
17454 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17455 access as obsolete.
17456 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17457 obsolete yet.
17458 * international/quail.el (quail-mouse-choose-completion): Remove unused
17459 code referring to obsolete var.
17460 (quail-choose-completion-string): Remove.
17461 * server.el (server-clients-with, server-kill-buffer-query-function)
17462 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17463 * proced.el (proced-send-signal):
17464 * emacs-lisp/lisp.el (lisp-complete-symbol):
17465 Replace completion-annotate-function with completion-extra-properties.
17466
17467 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17468
17469 * simple.el (goto-line): Use read-number.
17470 (overriding-map-is-bound): Remove.
17471 (saved-overriding-map): Change default.
17472 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17473 Take the map as argument.
17474 (universal-argument, negative-argument, digit-argument): Use it.
17475 (restore-overriding-map): Adjust.
17476 (do-auto-fill): Use fill-forward-paragraph.
17477 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17478
17479 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17480 (minibuffer-inactive-mode): New major mode.
17481 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17482 the *Messages* buffer" hack.
17483 (mouse-popup-menubar): Don't burp if the event is a normal key.
17484
17485 Miscellaneous tweaks.
17486 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17487 lexical scoping as in subr.el's dolist and dotimes.
17488 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17489 Silence compiler warning.
17490 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17491 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17492 * international/ccl.el (ccl-compile): Trivial simplification.
17493 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17494 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17495 `printflag' argument.
17496 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17497 Purecopy the whole obsolescence data.
17498
17499 2011-06-01 Leo Liu <sdl.web@gmail.com>
17500
17501 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17502 improve doc-string as suggested by Marco Pessotto
17503 <melmothx@gmail.com>.
17504 (rcirc-print): Fix last change.
17505
17506 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17507
17508 * minibuffer.el (complete-with-action): Return nil for the metadata and
17509 boundaries of non-functional tables.
17510 (completion-table-dynamic): Return nil for the metadata.
17511 (completion-table-with-terminator): Add default case, using
17512 complete-with-action.
17513 (completion--metadata): New function.
17514 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17515 to try and avoid pathological performance problems.
17516 (completion--embedded-envvar-table): Return `category' metadata.
17517
17518 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17519
17520 * subr.el (process-alive-p): New tiny convenience function.
17521
17522 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17523
17524 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17525 content but also its previous major mode.
17526
17527 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17528
17529 * emacs-lisp/debug.el (debug): Restore the previous content of the
17530 *Backtrace* buffer when we exit with C-M-c.
17531
17532 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17533
17534 * minibuffer.el: Add metadata method to completion tables.
17535 (completion-category-overrides): New defcustom.
17536 (completion-metadata, completion--field-metadata)
17537 (completion-metadata-get, completion--styles)
17538 (completion--cycle-threshold): New functions.
17539 (completion-try-completion, completion-all-completions):
17540 Add `metadata' argument to choose completion-styles.
17541 (completion--do-completion): Use metadata to choose cycling.
17542 (completion-all-sorted-completions): Use metadata for sorting.
17543 Remove :completion-cycle-penalty which is not needed any more.
17544 (completion--try-word-completion): Add `metadata' argument.
17545 (minibuffer-completion-help): Check metadata for annotation function
17546 and sorting.
17547 (completion-file-name-table): Return `category' metadata.
17548 (minibuffer-completing-file-name): Make obsolete.
17549 * simple.el (minibuffer-completing-symbol): Make obsolete.
17550 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17551 completion-try-completion.
17552
17553 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17554
17555 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17556
17557 2011-05-30 Leo Liu <sdl.web@gmail.com>
17558
17559 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17560 (rcirc-print): Decode all incoming messages (bug#8744).
17561 (rcirc-decode-coding-system): Allow value nil for automatic coding
17562 system detection.
17563
17564 2011-06-01 Glenn Morris <rgm@gnu.org>
17565
17566 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17567
17568 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17569
17570 * image.el (image-animate-max-time): Allow nil and t values.
17571 Default to nil.
17572 (create-animated-image): Doc fix.
17573 (image-animate-start): Remove second arg; just use
17574 image-animate-max-time.
17575 (image-animate-timeout): Doc fix. Args changed.
17576
17577 * image-mode.el (image-toggle-display-image): Ensure that the
17578 image spec passed to the animate timer is the same object as in
17579 the buffer's display property (Bug#6981).
17580 (image-transform-properties): Doc fix.
17581
17582 * image.el (image-animate-max-time): Default to nil.
17583
17584 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17585
17586 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17587 entire buffer list (Bug#8184).
17588
17589 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17590
17591 * image.el (imagemagick-types-inhibit)
17592 (imagemagick-register-types): Doc fix.
17593
17594 2011-05-29 Deniz Dogan <deniz@dogan.se>
17595
17596 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17597 default.
17598
17599 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17600
17601 * select.el: Don't perform clipboard-manager saving in hooks;
17602 leave the hooks empty.
17603
17604 2011-05-28 Leo Liu <sdl.web@gmail.com>
17605
17606 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17607 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17608 (occur-edit-mode): New major mode (Bug#8463).
17609 (occur-after-change-function): New function.
17610 (occur-engine): Give Occur tags a read-only property.
17611
17612 2011-05-28 Kevin Ryde <user42@zip.com.au>
17613
17614 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17615
17616 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17617
17618 * bindings.el (help-echo): Make the initial non-indicator dash
17619 empty on graphical terminals (Bug#7295).
17620
17621 * files.el (auto-mode-alist): Move config rule after the
17622 in-stripping one (Bug#8547).
17623
17624 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17625
17626 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17627 setting (Bug#8740).
17628
17629 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17630
17631 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17632 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17633 (Bug#8539).
17634
17635 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17636
17637 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17638
17639 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17640
17641 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17642 (hs-hide-block-at-point, hs-find-block-beginning)
17643 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17644 (Bug#8279).
17645
17646 2011-05-28 Glenn Morris <rgm@gnu.org>
17647
17648 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17649
17650 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17651
17652 * help-fns.el (describe-function-1): If the function is a derived
17653 major mode, print the parent mode.
17654
17655 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17656 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17657
17658 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17659
17660 * minibuffer.el (completion--capf-wrapper): Check applicability before
17661 returning non-nil for non-exclusive completion data.
17662 * progmodes/etags.el (tags-completion-at-point-function):
17663 * info-look.el (info-lookup-completions-at-point): Mark as
17664 non-exclusive.
17665 (info-complete): Adjust accordingly.
17666
17667 * info-look.el: Convert to lexical-binding and completion-at-point.
17668 (info-lookup-completions-at-point): New function.
17669 (info-complete): Use it and completion-in-region.
17670
17671 2011-05-28 Drew Adams <drew.adams@oracle.com>
17672
17673 * isearch.el: Let M-e start with point at the first mismatched char.
17674 (isearch-fail-pos): New function.
17675 (isearch-edit-string): Use it.
17676
17677 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17678
17679 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17680
17681 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17682
17683 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17684 traversal functions for avl-trees.
17685 (avl-tree--stack): New struct.
17686 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17687 (avl-tree-enter): Add optional `updatefun' arg.
17688 (avl-tree--do-enter): Add optional `updatefun' arg.
17689 Change return value.
17690 (avl-tree-delete): Add optional `test' and `nilflag' args.
17691 (avl-tree--do-delete): Add `test' and `nilflag' args.
17692 Change return value.
17693 (avl-tree-member): Add optional `nilflag'
17694 (avl-tree-member-p): New function.
17695 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17696 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17697 (avl-tree-stack-empty-p): New functions.
17698
17699 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17700 avl-tree--del-balance1 and make it work both ways.
17701 (avl-tree--del-balance2): Remove.
17702 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17703 make it work both ways.
17704 (avl-tree--enter-balance2): Remove.
17705 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17706 New macros.
17707 (avl-tree--mapc, avl-tree-map): Add direction argument.
17708
17709 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17710
17711 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17712
17713 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17714
17715 * select.el: Support clipboard managers with built-in function
17716 x-clipboard-manager-save, via delete-frame-functions and
17717 kill-emacs-hook.
17718 (xselect-convert-to-targets): Add MULTIPLE target to list.
17719 (xselect-convert-to-save-targets): New function.
17720
17721 2011-05-27 Kenichi Handa <handa@m17n.org>
17722
17723 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17724 let-binding rfc2047-encode-encoded-words to nil.
17725
17726 2011-05-27 Glenn Morris <rgm@gnu.org>
17727
17728 * mail/emacsbug.el: Don't require url-util.
17729
17730 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17731
17732 * files.el (set-auto-mode):
17733 Also respect mode: entries at the end of the file. (Bug#8586)
17734
17735 2011-05-26 Glenn Morris <rgm@gnu.org>
17736
17737 * files.el (hack-local-variables-prop-line, hack-local-variables):
17738 Downcase mode names, as seems to be traditional.
17739 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17740
17741 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17742 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17743
17744 2011-05-25 Julien Danjou <julien@danjou.info>
17745
17746 * textmodes/rst.el (rst-define-level-faces): Do not define face
17747 symbol if it is already defined.
17748
17749 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17750
17751 * play/5x5.el (5x5-new-game, 5x5-randomize):
17752 Reset 5x5-solver-output to nil when a new grid is cast.
17753 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17754 these debugging traces, as defmacro breaks the compiled code.
17755
17756 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17757
17758 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17759
17760 2011-05-24 Leo Liu <sdl.web@gmail.com>
17761
17762 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17763 (vc-bzr-sha1): Adapt.
17764
17765 * sha1.el: Remove. Function `sha1' is now builtin.
17766
17767 * bindings.el: Provide sha1 feature.
17768
17769 2011-05-24 Kenichi Handa <handa@m17n.org>
17770
17771 * mail/sendmail.el: Require `rfc2047'.
17772 (mail-insert-from-field): Do not perform RFC2047 encoding.
17773 (mail-encode-header): New function.
17774 (sendmail-send-it): Set buffer-file-coding-system of the work
17775 buffer to the return value of select-message-coding-system.
17776 Call mail-encode-header.
17777
17778 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17779
17780 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17781
17782 * mail/supercite.el (sc-default-cite-frame):
17783 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17784
17785 2011-05-24 Glenn Morris <rgm@gnu.org>
17786
17787 * progmodes/python.el (brm-menu): Declare.
17788
17789 * emulation/viper.el (viper-set-hooks): Declare.
17790
17791 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17792 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17793 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17794 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17795 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17796 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17797
17798 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17799
17800 Add an :exit-function for completion-at-point.
17801
17802 * minibuffer.el (completion--done): New fun.
17803 (completion--do-completion): Use it. New arg `expect-exact'.
17804 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17805 since completion--do-completion does it for us now.
17806 (minibuffer-force-complete): Use completion--done and
17807 completion--replace. Handle sole-completion case with more care.
17808 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17809 (completion-extra-properties): New var.
17810 (completion-annotate-function): Make obsolete.
17811 (minibuffer-completion-help): Adjust accordingly.
17812 Use completion-list-insert-choice-function.
17813 (completion-at-point, completion-help-at-point):
17814 Bind completion-extra-properties.
17815 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17816 * simple.el (completion-list-insert-choice-function): New var.
17817 (completion-setup-function): Preserve it.
17818 (choose-completion): Pay attention to it, shuffle the code a bit.
17819 (choose-completion-string): New arg `insert-function'.
17820
17821 * textmodes/bibtex.el: Convert to lexical binding.
17822 (bibtex-mode-map): Use completion-at-point.
17823 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17824 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17825 (bibtex-complete): Define as obsolete alias.
17826 (bibtex-complete-internal): Remove.
17827 (bibtex-format-entry): Remove unused sub-group in regexp.
17828 * shell.el (shell--command-completion-data)
17829 (shell-environment-variable-completion):
17830 * pcomplete.el (pcomplete-completions-at-point):
17831 * comint.el (comint--complete-file-name-data): Use :exit-function
17832 instead of completion-table-with-terminator so it also works for
17833 choose-completion.
17834
17835 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17836
17837 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17838
17839 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17840 (bug#8710).
17841
17842 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17843
17844 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17845
17846 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17847 customization variable and implement: If non-nil, auto-fill will
17848 be inhibited while on topic's header line.
17849
17850 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17851
17852 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17853 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17854 always have a solution in grid size = 5 cases.
17855 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17856 (5x5-solver-output, 5x5-log-buffer): New vars.
17857 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17858 Make these variables buffer local to achieve 5x5 multi-session-ness.
17859 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17860 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17861 (5x5-solve-suggest): New funs.
17862 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17863 randomize a grid so that we ensure that there is always a solution.
17864 (5x5-make-random-grid): Allow other movement than flipping.
17865
17866 2011-05-23 Kevin Ryde <user42@zip.com.au>
17867
17868 * emacs-lisp/advice.el (ad-read-advised-function):
17869 Use `function-called-at-point' as the default, if it has
17870 advice and passes PREDICATE.
17871
17872 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17873
17874 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17875 byte-compile-lambda if it's actually a lambda.
17876
17877 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17878 Fix function quoting. Use backquote better.
17879
17880 2011-05-22 Yuanle Song <sylecn@gmail.com>
17881
17882 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17883 matching (Bug#8516).
17884
17885 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17886
17887 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17888 different face (Bug#8178).
17889
17890 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17891
17892 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17893 defface (Bug#8144).
17894
17895 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17896
17897 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17898 funcall as well (bug#8712). Warn when performing those conversions.
17899 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17900
17901 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17902
17903 2011-05-22 Glenn Morris <rgm@gnu.org>
17904
17905 * files.el (hack-local-variables-prop-line): Small simplifications.
17906 (hack-local-variables, hack-local-variables-prop-line):
17907 If MODE-ONLY, return the mode, rather than just `t'.
17908
17909 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17910
17911 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17912
17913 2011-05-21 Glenn Morris <rgm@gnu.org>
17914
17915 * files.el (hack-local-variables-prop-line, hack-local-variables):
17916 If only interested in the mode, don't bother doing the other stuff.
17917
17918 * image-mode.el (image-after-revert-hook):
17919 Redraw all frames on which the image is visible. (Bug#8567)
17920
17921 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17922
17923 * wid-edit.el (widget-checklist-match-inline):
17924 Fix 2011-04-19 change. (Bug#8649)
17925
17926 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17927
17928 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17929 Also allow singlespace after single-letter capitals followed by a dot.
17930
17931 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17932 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17933
17934 2011-05-20 Nix <nix@esperi.org.uk>
17935
17936 * files.el (basic-save-buffer-2):
17937 Fix handling of break-hardlink-on-save with non-existent files.
17938
17939 2011-05-19 Deniz Dogan <deniz@dogan.se>
17940
17941 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17942 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17943
17944 2011-05-19 Glenn Morris <rgm@gnu.org>
17945
17946 * progmodes/f90.el (f90-type-def-re):
17947 Handle "type, bind(c)". (Bug#8691)
17948
17949 * emacs-lisp/autoload.el (batch-update-autoloads):
17950 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17951
17952 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17953
17954 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17955 property for the correct connection in case of multihops.
17956
17957 2011-05-18 Glenn Morris <rgm@gnu.org>
17958
17959 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17960 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17961
17962 Rationalize calendar handling of day and month abbrev-arrays.
17963 * calendar/calendar.el (calendar-customized-p): New function.
17964 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17965 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17966 Add :set function.
17967 (calendar-abbrev-length, calendar-day-abbrev-array)
17968 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17969 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17970 Elements may no longer be nil.
17971 (calendar-day-name, calendar-month-name):
17972 Update for changed nature of abbrev arrays.
17973 * calendar/diary-lib.el (diary-name-pattern):
17974 Update for changed nature of abbrev arrays.
17975 (diary-mark-entries-1): Update calendar-make-alist calls.
17976 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17977 * calendar/cal-html.el (cal-html-day-abbrev-array):
17978 Simply inherit from calendar-day-abbrev-array.
17979
17980 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17981
17982 * progmodes/grep.el (grep-mode): Disable default
17983 compilation-directory-matcher setting (bug#8684).
17984
17985 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
17986
17987 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17988 instead of "head" and "tail". There were problems with SunOS 5.9,
17989 and it performs better.
17990
17991 2011-05-17 Glenn Morris <rgm@gnu.org>
17992
17993 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17994
17995 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17996 Replace obsolete function.
17997
17998 * shell.el (pcomplete-parse-arguments-function): Declare.
17999
18000 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18001 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18002 (appt-check): Doc fixes.
18003 (appt-disp-window-function, appt-delete-window-function):
18004 Remove needless special case in custom :type.
18005 (appt-display-count): Default to 0, not nil.
18006 (appt-check): Reset appt-display-count to 0, not nil.
18007
18008 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18009
18010 * progmodes/python.el (python-font-lock-keywords):
18011 Add the Python 3.X keyword "nonlocal" (bug#8639).
18012
18013 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18014
18015 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18016
18017 2011-05-16 Kevin Ryde <user42@zip.com.au>
18018
18019 * info-look.el (makefile-automake-mode): New setups, looking in
18020 automake manual, then makefile-mode.
18021 (makefile-mode): Remove automake manual, have it just in
18022 makefile-automake-mode since there's various things different or
18023 not relevant to plain make.
18024 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18025 believe a hypothetical automake-mode would go to makefile-mode,
18026 not the other way around.
18027
18028 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18029
18030 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18031 hunk-end tags (Bug#8672).
18032
18033 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18034 vc-annotate-show-diff-revision-at-line (Bug#8671).
18035
18036 2011-05-14 Glenn Morris <rgm@gnu.org>
18037
18038 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18039 in the middle of an existing one with multiple authors. (Bug#8645)
18040 (change-log-font-lock-keywords): Also handle multiple author lines
18041 with leading tabs. (Bug#8644)
18042
18043 * calendar/appt.el (appt-check): Rename some local variables.
18044 Some simplification/reordering.
18045
18046 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18047 (feedmail-sendmail-f-doesnt-sell-me-out)
18048 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18049 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18050 (feedmail-queue-runner-message-sender): Set :version.
18051 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18052 (bbdb-dwim-net-address, vm-mail): Declare.
18053 (feedmail-binmail-gnulinuxish-template):
18054 Rename from feedmail-binmail-linuxish-template.
18055 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18056 Use insert-buffer-substring.
18057
18058 2011-05-14 Bill Carpenter <bill@carpenter.org>
18059
18060 * mail/feedmail.el (feedmail-patch-level): Increase.
18061 (feedmail-debug): New custom group.
18062 (feedmail-confirm-outgoing-timeout)
18063 (feedmail-sendmail-f-doesnt-sell-me-out)
18064 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18065 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18066 (feedmail-sender-line, feedmail-from-line)
18067 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18068 (feedmail-spray-this-address)
18069 (feedmail-spray-address-fiddle-plex-list)
18070 (feedmail-queue-use-send-time-for-date)
18071 (feedmail-queue-use-send-time-for-message-id)
18072 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18073 (feedmail-buffer-eating-function):
18074 Doc fixes.
18075 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18076 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18077 (feedmail-message-action-scroll-down): New functions.
18078 (feedmail-queue-directory, feedmail-queue-draft-directory):
18079 Use expand-file-name.
18080 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18081 Remove C-v help entry.
18082 (feedmail-queue-buffer-file-name): New variable.
18083 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18084 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18085 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18086 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18087 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18088 (feedmail-message-action-toggle-spray)
18089 (feedmail-run-the-queue-no-prompts)
18090 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18091 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18092 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18093 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18094 (feedmail-envelope-deducer, feedmail-fiddle-from)
18095 (feedmail-fiddle-sender, feedmail-default-date-generator)
18096 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18097 (feedmail-fiddle-spray-address)
18098 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18099 (feedmail-fiddle-list-of-fiddle-plexes)
18100 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18101 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18102 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18103 Change default. Doc fix.
18104 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18105 (feedmail-binmail-linuxish-template): New constant.
18106 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18107 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18108 (feedmail-send-it): Add debug call.
18109 Use feedmail-queue-buffer-file-name, and
18110 feedmail-send-it-immediately-wrapper.
18111 (feedmail-message-action-send): Add debug call.
18112 Use feedmail-send-it-immediately-wrapper.
18113 (feedmail-queue-express-to-queue): Add debug call.
18114 Run feedmail-queue-express-hook.
18115 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18116 (feedmail-message-action-help-blat):
18117 Rename from feedmail-queue-send-edit-prompt-help-first.
18118 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18119 Check line-endings. Handle errors better.
18120 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18121 Doc fix. Add debug call.
18122 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18123 Use feedmail-queue-send-edit-prompt-inner.
18124 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18125 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18126 from feedmail-queue-send-edit-prompt.
18127 (feedmail-queue-send-edit-prompt-help)
18128 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18129 (feedmail-tidy-up-slug): Add debug call.
18130 Respect feedmail-queue-slug-suspect-regexp.
18131 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18132 (feedmail-dump-message-to-queue): Add debug call.
18133 Expand queue-directory.
18134 (feedmail-dump-message-to-queue): Change message slightly.
18135 Use feedmail-say-chatter.
18136 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18137 (feedmail-send-it-immediately-wrapper): New function.
18138 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18139 Insert empty string rather than newline. Handle full-frame case.
18140 Use catch/throw. Use feedmail-say-chatter.
18141 (feedmail-fiddle-from): Try mail-host-address.
18142 (feedmail-default-message-id-generator): Doc fix.
18143 Bind system-time-locale. Handle missing end.
18144 (feedmail-fiddle-x-mailer): Add debug call.
18145 Handle feedmail-x-mailer-line being nil.
18146 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18147 Add debug call. Use buffer-substring-no-properties.
18148 (feedmail-say-debug, feedmail-say-chatter): New functions.
18149 (feedmail-find-eoh): Give an explicit error.
18150
18151 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18152
18153 * net/newst-treeview.el (newsticker-treeview-face): Change default
18154 family from helvetica to sans.
18155 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18156 etc/images/newsticker.
18157
18158 * net/newst-reader.el (newsticker-feed-face): Change default
18159 family from helvetica to sans.
18160
18161 * net/newst-plainview.el (newsticker-new-item-face)
18162 (newsticker-old-item-face, newsticker-immortal-item-face)
18163 (newsticker-obsolete-item-face, newsticker-date-face)
18164 (newsticker-statistics-face): Change default family from
18165 helvetica to sans.
18166 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18167 etc/images/newsticker.
18168
18169 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18170 (newsticker--process-auto-mark-filter-match): Tell user about
18171 auto-marking.
18172
18173 2011-05-13 Didier Verna <didier@xemacs.org>
18174
18175 Common Lisp indentation improvements on defmethod and lambda-lists.
18176 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18177 TODO entries.
18178 (lisp-lambda-list-keyword-parameter-indentation)
18179 (lisp-lambda-list-keyword-parameter-alignment)
18180 (lisp-lambda-list-keyword-alignment): New customizable user options.
18181 (lisp-indent-defun-method): Improve docstring.
18182 (extended-loop-p): Fix comment.
18183 (lisp-indent-lambda-list-keywords-regexp): New variable.
18184 (lisp-indent-lambda-list): New function.
18185 (lisp-indent-259): Use it.
18186 (lisp-indent-defmethod): Support for more than one
18187 method qualifier and properly indent methods lambda-lists.
18188 (defgeneric): Provide a missing common-lisp-indent-function property.
18189
18190 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18191
18192 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18193 bounds for the empty string (bug#8667).
18194
18195 2011-05-13 Glenn Morris <rgm@gnu.org>
18196
18197 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18198
18199 * mail/sendmail.el (sendmail-program): Try executable-find first.
18200 (sendmail-send-it): `sendmail-program' cannot be unbound.
18201
18202 * calendar/appt.el (appt-make-list): Simplify.
18203 (appt-time-msg-list): Doc fix.
18204 (appt-check): Change mode-line message at the time of the appointment.
18205
18206 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18207
18208 * progmodes/ld-script.el (ld-script-keywords)
18209 (ld-script-builtins): Update keywords list.
18210
18211 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18212
18213 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18214
18215 * shell.el (shell-completion-vars): New function.
18216 (shell-mode):
18217 * simple.el (read-shell-command): Use it.
18218 (blink-matching-open): No need for " [...]" in minibuffer-message.
18219
18220 2011-05-12 Glenn Morris <rgm@gnu.org>
18221
18222 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18223 (appt-check): Simplify.
18224
18225 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18226
18227 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18228 literal "/dev/null".
18229
18230 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18231
18232 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18233 Fix typo.
18234
18235 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18236
18237 * progmodes/which-func.el (which-function):
18238 Use add-log-current-defun instead of add-log-current-defun-function,
18239 which might not be defined (Bug#8260).
18240
18241 2011-05-12 Glenn Morris <rgm@gnu.org>
18242
18243 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18244 Let byte-compile-initial-macro-environment always take precedence.
18245
18246 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18247
18248 * net/rcirc.el: Add support for SSL/TLS connections.
18249 (rcirc-server-alist): New field `encryption'.
18250 (rcirc): Check `encryption' settings.
18251 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18252 Merge make-local-variable into `set'.
18253 (rcirc--connection-open-p): New function.
18254 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18255 the process is not a network process (e.g. running gnutls-cli).
18256 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18257 Make rcirc-(en|de)code-coding-system local here.
18258 (rcirc-mode): Merge make-local-variable into `set'.
18259 (rcirc-parent-buffer): Make permanent buffer-local.
18260 (rcirc-multiline-minor-mode): Don't do it here.
18261 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18262 there's no server buffer.
18263
18264 2011-05-11 Glenn Morris <rgm@gnu.org>
18265
18266 * newcomment.el (comment-kill): Prefix "unused" local.
18267
18268 * term/w32console.el (get-screen-color): Declare.
18269
18270 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18271 Handle symbol elements of byte-compile-initial-macro-environment.
18272
18273 2011-05-10 Leo Liu <sdl.web@gmail.com>
18274
18275 * bookmark.el (bookmark-bmenu-mode-map):
18276 Bind bookmark-bmenu-search to `/'.
18277
18278 * mail/footnote.el: Convert to utf-8 encoding.
18279 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18280 (Footnote-unicode): New function.
18281 (footnote-style-alist): Add unicode style to the list.
18282 (footnote-style): Doc fix.
18283
18284 2011-05-10 Jim Meyering <meyering@redhat.com>
18285
18286 Fix doubled-word typos.
18287 * international/quail.el (quail-insert-kbd-layout): and and -> and
18288 * kermit.el: and and -> and
18289 * net/ldap.el (ldap-search-internal): to to -> to
18290 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18291 * progmodes/js.el (js-mode): and and -> and
18292 * textmodes/artist.el (artist-move-to-xy): at at -> at
18293 (artist-draw-region-trim-line-endings): if if -> if
18294 And Safetyc -> Safety.
18295 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18296
18297 2011-05-10 Glenn Morris <rgm@gnu.org>
18298 Stefan Monnier <monnier@iro.umontreal.ca>
18299
18300 * files.el (hack-one-local-variable-eval-safep):
18301 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18302
18303 2011-05-10 Glenn Morris <rgm@gnu.org>
18304
18305 * calendar/diary-lib.el (diary-list-entries-hook)
18306 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18307 (diary-nongregorian-marking-hook, diary-list-entries)
18308 (diary-include-other-diary-files, diary-mark-entries)
18309 (diary-mark-included-diary-files): Doc fixes.
18310
18311 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18312
18313 * misc.el: Require tabulated-list.el during compilation.
18314
18315 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18316
18317 * progmodes/compile.el (compilation-start):
18318 Run compilation-filter-hook for the async case too.
18319 (compilation-filter-hook): Doc fix.
18320
18321 2011-05-09 Deniz Dogan <deniz@dogan.se>
18322
18323 * wdired.el: Remove outdated installation comment. Fix usage
18324 comment.
18325
18326 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18327
18328 * misc.el: Implement new command `list-dynamic-libraries'.
18329 (list-dynamic-libraries--loaded-only-p): New variable.
18330 (list-dynamic-libraries--refresh): New function.
18331 (list-dynamic-libraries): New command.
18332
18333 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18334
18335 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18336 Fix the ant regexp to handle end-line and end-column info from jikes.
18337 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18338 higher priority to avoid clobbering by gnu.
18339
18340 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18341
18342 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18343 if the face has existing theme settings (Bug#8454).
18344
18345 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18346
18347 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18348 Only match variables declared via `my' or `our' (Bug#8261).
18349
18350 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18351 special file names `.' and `..' (Bug#8259).
18352
18353 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18354
18355 * progmodes/grep.el (grep-mode-font-lock-keywords):
18356 Remove buffer-changing entries.
18357 (grep-filter): New function.
18358 (grep-mode): Add it to compilation-filter-hook.
18359
18360 * progmodes/compile.el (compilation-filter-hook)
18361 (compilation-filter-start): New defvars.
18362 (compilation-filter): Call compilation-filter-hook prior to
18363 updating the process mark.
18364
18365 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18366
18367 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18368
18369 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18370
18371 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18372 mailclient-send-it even if window-system is nil. (Bug#8595)
18373
18374 * term/w32console.el (terminal-init-w32console):
18375 Call get-screen-color and use its output to set the frame
18376 background-mode. (Bug#8597)
18377
18378 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18379
18380 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18381 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18382 New functions.
18383 (defgeneric, eieio--defmethod): Use them.
18384 (eieio-defgeneric): Remove.
18385 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18386
18387 2011-05-07 Glenn Morris <rgm@gnu.org>
18388
18389 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18390 Use let rather than let*.
18391 (timeclock-find-discrep): Remove unused local.
18392
18393 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18394
18395 * calendar/appt.el (appt-time-msg-list): Doc fix.
18396
18397 2011-05-06 Noah Friedman <friedman@splode.com>
18398
18399 * apropos.el (apropos-print-doc): Only use
18400 emacs-lisp-docstring-fill-column when it is bound to an integer,
18401 per that variable's documentation.
18402
18403 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18404
18405 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18406 and warnings are not silently discarded (e.g. use -d instead of -P).
18407
18408 2011-05-06 Glenn Morris <rgm@gnu.org>
18409
18410 * calendar/appt.el (appt-message-warning-time): Doc fix.
18411 (appt-warning-time-regexp): New option.
18412 (appt-make-list): Respect appt-message-warning-time.
18413
18414 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18415 New options.
18416 (diary-add-to-list): Strip comments from the displayed string.
18417 (diary-mode): Set comment-start and comment-end.
18418
18419 * vc/diff-mode.el (smerge-refine-subst): Declare.
18420 (diff-refine-hunk): Don't require smerge-mode when compiling.
18421
18422 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18423
18424 * simple.el (list-processes): Return nil as the docstring says.
18425
18426 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18427
18428 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18429 to "".
18430 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18431 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18432 determining of binary transfer. (Bug#7383)
18433
18434 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18435
18436 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18437 Fix port computation bug. (Bug#8618)
18438
18439 2011-05-05 Glenn Morris <rgm@gnu.org>
18440
18441 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18442
18443 * simple.el (shell-dynamic-complete-functions)
18444 (comint-dynamic-complete-functions): Declare.
18445
18446 * net/network-stream.el (gnutls-negotiate):
18447 * simple.el (tabulated-list-print): Fix declarations.
18448
18449 * progmodes/gud.el (syntax-symbol, syntax-point):
18450 Remove unnecessary and incorrect declarations.
18451
18452 * emacs-lisp/check-declare.el (check-declare-scan):
18453 Handle byte-compile-initial-macro-environment in bytecomp.el.
18454
18455 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18456
18457 Fix earlier half-done eieio-defmethod change (bug#8338).
18458 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18459 Streamline and change calling convention.
18460 (defmethod): Adjust accordingly and simplify.
18461 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18462 new eieio--defmethod.
18463 (slot-boundp): Minor CSE simplification.
18464
18465 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18466
18467 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18468 (glasses-make-readable): Use glasses-separate-capital-groups.
18469
18470 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18471
18472 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18473 (warning-series): Doc fix.
18474 (display-warning): Don't try to create the buffer if we just found it.
18475
18476 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18477
18478 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18479 (autoload-find-generated-file): New function.
18480 (generate-file-autoloads): Bind generated-autoload-file to
18481 buffer-file-name.
18482 (update-file-autoloads, update-directory-autoloads):
18483 Use autoload-find-generated-file. If called interactively, prompt for
18484 output file (Bug#7989).
18485 (batch-update-autoloads): Doc fix.
18486
18487 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18488
18489 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18490
18491 2011-05-04 Glenn Morris <rgm@gnu.org>
18492
18493 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18494 function, so it follows changes in calendar-date-style.
18495 (diary-fancy-date-matcher): New function.
18496 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18497 (diary-fancy-font-lock-fontify-region-function):
18498 Use diary-fancy-date-pattern as a function.
18499
18500 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18501 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18502
18503 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18504
18505 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18506 instead of positional arguments. Allow :keylist and :crlfiles
18507 arguments.
18508 (open-gnutls-stream): Call it.
18509
18510 * net/network-stream.el (network-stream-open-starttls): Adjust to
18511 call `gnutls-negotiate' with :process and :hostname arguments.
18512
18513 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18514
18515 * minibuffer.el (completion--message): New function.
18516 (completion--do-completion, minibuffer-complete)
18517 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18518 (completion--do-completion): Don't ignore completion-auto-help when in
18519 icomplete-mode.
18520
18521 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18522 internal encoding (e.g. tibetan zero is not whitespace).
18523 (global-whitespace-mode): Prefer save-current-buffer.
18524 (whitespace-trailing-regexp): Remove useless save-match-data.
18525 (whitespace-empty-at-bob-regexp): Minor simplification.
18526
18527 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18528
18529 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18530
18531 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18532
18533 * textmodes/ispell.el (ispell-add-per-file-word-list):
18534 Use `concat' to create string for insertion.
18535
18536 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18537
18538 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18539 Avoid open-line which runs post-self-insert-hook.
18540 (bibtex-fill-entry): Remove unused `end' var.
18541
18542 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18543
18544 * textmodes/ispell.el (ispell-add-per-file-word-list):
18545 Protect against `nil' value of `comment-start' (Bug#8579).
18546
18547 2011-05-03 Leo Liu <sdl.web@gmail.com>
18548
18549 * isearch.el (isearch-yank-pop): New command.
18550 (isearch-mode-map): Bind it to `M-y'.
18551 (isearch-forward): Mention it.
18552
18553 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18554
18555 * simple.el (minibuffer-complete-shell-command): Remove.
18556 (minibuffer-local-shell-command-map): Use completion-at-point.
18557 (read-shell-command): Setup completion vars here instead.
18558 (read-expression-map): Bind TAB to symbol completion.
18559
18560 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18561 error directly rather via storing it into `results'.
18562
18563 2011-05-02 Leo Liu <sdl.web@gmail.com>
18564
18565 * vc/diff.el: Fix description.
18566
18567 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18568
18569 * server.el (server-eval-at): New function.
18570
18571 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18572
18573 * net/network-stream.el (open-network-stream): Take a :nowait
18574 parameter and pass it on to `make-network-process'.
18575 (network-stream-open-plain): Ditto.
18576
18577 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18578
18579 * faces.el (face-spec-set-match-display): Don't match toolkit
18580 options on terminal frames.
18581
18582 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18583
18584 * progmodes/pascal.el: Use lexical binding.
18585 (pascal-mode-map): Remove author preferences.
18586
18587 * pcomplete.el (pcomplete-std-complete): Don't abuse
18588 completion-at-point.
18589
18590 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18591
18592 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18593 removing code that has been dead since 1991 or so.
18594
18595 * startup.el (command-line): When warning about "_emacs", use a
18596 delayed warning to allow the user to filter it out.
18597
18598 2011-04-28 Deniz Dogan <deniz@dogan.se>
18599
18600 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18601 user has not joined.
18602
18603 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18604
18605 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18606 aren't any completions at point.
18607
18608 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18609
18610 * subr.el (display-delayed-warnings): New function.
18611 (delayed-warnings-hook): New variable.
18612
18613 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18614
18615 * minibuffer.el (completion-at-point, completion-help-at-point):
18616 Don't presume that a given completion-at-point-function will always
18617 use the same calling convention.
18618
18619 * pcomplete.el (pcomplete-completions-at-point):
18620 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18621 pcomplete-seen is non-nil.
18622 (pcomplete-comint-setup): Also recognize the new comint/shell
18623 completion functions.
18624 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18625 pcomplete-seen is non-nil.
18626
18627 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18628
18629 * calendar/icalendar.el (diary-lib): Add require statement.
18630 (icalendar--create-uid): Read out a uid from a text-property on
18631 the first character in the entry. This allows for code to add its
18632 own uid to the entry.
18633 (icalendar--convert-float-to-ical): Add export of
18634 `diary-float'-entries save for those with the optional DAY
18635 argument.
18636
18637 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18638
18639 * subr.el (shell-quote-argument): Use alternate escaping strategy
18640 when we spot a variable reference in a string.
18641
18642 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18643
18644 * cus-start.el (all): Define customization for debug-on-event.
18645
18646 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18647
18648 * subr.el (shell-quote-argument): Escape correctly under Windows.
18649
18650 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18651
18652 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18653
18654 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18655
18656 * net/tramp.el (tramp-process-actions): Add POS argument.
18657 Delete region between POS and (pos).
18658
18659 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18660 Use `nil' position in `tramp-process-actions' call.
18661 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18662
18663 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18664 position in `tramp-process-actions' call.
18665
18666 * net/trampver.el: Update release number.
18667
18668 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18669
18670 * custom.el (defcustom): Obey lexical-binding.
18671
18672 Fix octave-inf completion problems reported by Alexander Klimov.
18673 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18674 Inherit from octave-mode-syntax-table.
18675 (inferior-octave-mode): Set info-lookup-mode.
18676 (inferior-octave-completion-at-point): New function.
18677 (inferior-octave-complete): Use it and completion-in-region.
18678 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18679 comint-filename-completion.
18680 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18681 symbol elements which shouldn't be word elements.
18682 (octave-font-lock-keywords, octave-beginning-of-defun)
18683 (octave-function-header-regexp): Adjust regexps accordingly.
18684 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18685
18686 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18687
18688 * net/gnutls.el (gnutls-errorp): Declare before first use.
18689
18690 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18691
18692 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18693 verify-error, and verify-hostname-error parameters. Check whether
18694 default trustfile exists before going to use it. Add missing
18695 argument to gnutls-message-maybe call. Return value.
18696 Reported by Claudio Bley <claudio.bley@gmail.com>.
18697 (open-gnutls-stream): Add usage example.
18698
18699 * net/network-stream.el (network-stream-open-starttls): Give host
18700 parameter to `gnutls-negotiate'.
18701 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18702 * subr.el (shell-quote-argument): Escape correctly under Windows.
18703
18704 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18705
18706 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18707 Use correct match group (bug#8438).
18708
18709 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18710
18711 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18712 (package-menu--generate): New arg specifying packages to show.
18713 (package-menu-refresh, package-menu-execute, list-packages):
18714 Callers changed.
18715 (package-show-package-list): New function, replacing deleted
18716 package--list-packages (renamed because it is non-internal).
18717
18718 * finder.el (finder-list-matches): Use package-show-package-list
18719 instead of deleted package--list-packages.
18720
18721 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18722 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18723 (vc-annotate-mode-map): Bind it to RET.
18724
18725 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18726
18727 * progmodes/etags.el (next-file): Don't use set-buffer to change
18728 buffers (Bug#8478).
18729
18730 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18731
18732 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18733
18734 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18735 (apropos-accumulator): Doc fix.
18736 (apropos-function, apropos-macro, apropos-command)
18737 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18738 (apropos-plist): Add face property.
18739 (apropos-symbols-internal): Fix indentation.
18740 (apropos-print): Simplify help, and recognize apropos-multi-type.
18741 (apropos-print-doc): Use button-type-get to extract the button's
18742 face property. Fill docstring (Bug#8352).
18743
18744 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18745
18746 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18747
18748 * play/mpuz.el (mpuz-silent): Doc fix.
18749 (mpuz-mode-map): Use mapc.
18750 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18751 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18752 Fix typos in docstrings.
18753
18754 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18755 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18756
18757 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18758
18759 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18760
18761 * minibuffer.el (completion--do-completion): Avoid the "Next char
18762 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18763
18764 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18765 mouse-2 into unread-command-events, it is interpreted correctly.
18766
18767 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18768 (image-toggle-display): Doc fix.
18769
18770 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18771
18772 * textmodes/page.el (what-page): Use line-number-at-pos to
18773 calculate line number (Bug#6825).
18774
18775 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18776
18777 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18778 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18779 Pass argument NO-DEFAULT to `find-tag-interactive'.
18780
18781 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18782
18783 Lexical-binding cleanup.
18784
18785 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18786 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18787 * progmodes/ada-prj.el (ada-prj-initialize-values)
18788 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18789 (ada-prj-show-value):
18790 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18791 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18792 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18793 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18794 * progmodes/bug-reference.el (bug-reference-push-button):
18795 * progmodes/fortran.el (fortran-line-length):
18796 * progmodes/glasses.el (glasses-change):
18797 * progmodes/octave-mod.el (octave-fill-paragraph):
18798 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18799 (python-pdbtrack-grub-for-buffer, python-sentinel):
18800 * progmodes/sql.el (sql-save-connection):
18801 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18802 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18803 Mark unused parameters.
18804
18805 * progmodes/compile.el (compilation--flush-directory-cache)
18806 (compilation--flush-parse, compile-internal): Mark unused parameters.
18807 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18808 (compilation-next-error-function): Remove unused variable `timestamp'.
18809
18810 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18811 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18812
18813 * progmodes/dcl-mode.el (dcl-end-of-command):
18814 Remove unused variable `start'.
18815 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18816 (dcl-option-value-basic, dcl-option-value-offset)
18817 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18818 Mark unused parameters.
18819 (dcl-save-local-variable): Remove unused variable `val'.
18820 (mode): Declare.
18821
18822 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18823 Mark unused parameters.
18824 (delphi-ignore-changes): Move before first use.
18825 (delphi-charset-token-at): Remove unused variable `start'.
18826 (delphi-else-start): Remove unused variable `if-count'.
18827 (delphi-comment-block-start, delphi-comment-block-end):
18828 Remove unused variable `kind'.
18829 (delphi-indent-line): Remove unused variable `new-point'.
18830
18831 * progmodes/ebrowse.el (ebrowse-files-list)
18832 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18833 Mark unused parameters. Don't quote `lambda'.
18834 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18835 Don't quote `lambda'.
18836 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18837 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18838 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18839 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18840 Use `ignore-errors'.
18841 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18842 (ebrowse-view/find-file-and-search-pattern)
18843 (ebrowse-view/find-member-declaration/definition):
18844 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18845 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18846 Rename parameter PREFIX-ARG to PREFIX.
18847 (ebrowse-tags-read-name): Remove unused variables `start' and
18848 `member-info'.
18849 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18850 to `tags-file'.
18851
18852 * progmodes/etags.el (local-find-tag-hook): Declare.
18853 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18854 Mark unused parameters.
18855
18856 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18857 (executable-interpret): Mark unused parameter.
18858
18859 * progmodes/flymake.el (flymake-process-sentinel)
18860 (flymake-after-change-function)
18861 (flymake-create-temp-with-folder-structure)
18862 (flymake-get-include-dirs-dot): Mark unused parameters.
18863 (flymake-safe-delete-directory): Remove unused variable `err'.
18864
18865 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18866 (speedbar-timer-fn, speedbar-line-text)
18867 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18868 (speedbar-center-buffer-smartly): Declare functions.
18869 (gdb-find-watch-expression): Remove unused variable `array'.
18870 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18871 (gdb-starting): Mark unused parameters.
18872 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18873 (gdb-table-string): Remove unused variable `res'.
18874 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18875 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18876 (gdb-display-buffer): Remove unused variable `cur-size'.
18877
18878 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18879 allow lexical-binding compilation.
18880 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18881 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18882 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18883 Mark unused parameters.
18884 (gud-gdb-marker-filter): Remove unused variable `match'.
18885 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18886 lambda expressions and funcall them, instead of using `fset'.
18887
18888 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18889 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18890
18891 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18892 variable `header-beg'; use `let'.
18893
18894 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18895 `restart', `last-sexp' and `at-do'.
18896
18897 * progmodes/js.el (js--debug): Mark unused parameter.
18898 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18899 (js--splice-into-items): Remove unused variable `item'.
18900 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18901
18902 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18903 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18904 (makefile-complete): Remove unused variable `try'.
18905 (makefile-fill-paragraph, makefile-match-function-end):
18906 Mark unused parameters.
18907
18908 * progmodes/octave-inf.el (inferior-octave-complete):
18909 Remove unused variable `proc'.
18910 (inferior-octave-output-digest): Mark unused parameter.
18911
18912 * progmodes/perl-mode.el (perl-calculate-indent):
18913 Remove unused variable `err'.
18914
18915 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18916 (prolog-indent-line): Mark unused parameters.
18917 (prolog-indent-line): Remove unused variable `beg'.
18918
18919 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18920 (reporter-dont-compact-list): Declare.
18921
18922 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18923 Remove unused variable `char'.
18924 (sh-debug): Mark unused parameter.
18925 (sh-get-indent-info): Remove unused variable `start'.
18926 (sh-calculate-indent): Remove unused variable `var'.
18927
18928 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18929 (simula-electric-keyword): Remove unused variable `null'.
18930 (simula-search-backward, simula-search-forward): Remove unused
18931 variables `begin' and `end'.
18932
18933 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18934 Remove unused variable `pos'.
18935 (vera-electric-tab, vera-comment-uncomment-region):
18936 Mark unused parameters.
18937 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18938
18939 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18940
18941 * emacs-lisp/package.el (package--builtins, package-alist)
18942 (package-load-descriptor, package-built-in-p, package-activate)
18943 (define-package, package-installed-p)
18944 (package-compute-transaction, package-buffer-info)
18945 (package--push): Doc fix. Distinguish more clearly between
18946 version strings and version lists.
18947
18948 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18949
18950 Lexical-binding cleanup.
18951
18952 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18953 (5x5-make-mutate-best):
18954 * play/fortune.el (fortune-in-buffer):
18955 * play/gomoku.el (gomoku-init-display):
18956 * play/solitaire.el (solitaire, solitaire-do-check):
18957 * play/tetris.el (tetris-default-update-speed-function):
18958 Mark unused parameters.
18959
18960 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18961 (bubbles--shift): Remove unused variable `char-org'.
18962 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18963 (bubbles--show-images): Remove unused variable `char'.
18964
18965 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18966 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18967 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18968 (decipher-analyze-buffer): Use ?\s.
18969 (decipher-make-checkpoint): Remove unused variable `mapping'.
18970
18971 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18972
18973 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18974 Remove unused variable `result'; use `let'.
18975
18976 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18977 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18978 (gametree-children-shown-p, gametree-compute-reduced-score):
18979 Use `ignore-errors'.
18980
18981 * play/handwrite.el (ps-lpr-switches): Declare.
18982 (handwrite): Remove unused variables `pmin' and `lastp'.
18983
18984 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18985
18986 * play/landmark.el (landmark-init-display)
18987 (landmark-update-naught-weights): Mark unused parameters.
18988 (landmark-y): Remove unused variable `noise'. Simplify.
18989 (landmark-human-plays): Remove unused variable `score'.
18990
18991 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18992 (mpuz-try-proposal): Remove unused variable `game'.
18993
18994 * play/zone.el (life-patterns): Declare.
18995
18996 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
18997
18998 * vc/vc.el (ediff-vc-internal): Declare function.
18999
19000 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19001
19002 * shell.el: Use lexical-binding and std completion UI.
19003 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19004 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19005 comint-preoutput-filter-functions rather than on
19006 comint-output-filter-functions.
19007 (shell-command-completion, shell--command-completion-data)
19008 (shell-filename-completion, shell-environment-variable-completion)
19009 (shell-c-a-p-replace-by-expanded-directory): New functions.
19010 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19011 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19012 (shell-dynamic-complete-environment-variable): Use them.
19013 (shell-dynamic-complete-as-environment-variable)
19014 (shell-dynamic-complete-as-command): Remove.
19015 (shell-match-partial-variable): Match past point.
19016 * comint.el: Clean up use of completion-at-point-functions.
19017 (comint-completion-at-point): New function.
19018 (comint-mode): Use it completion-at-point-functions.
19019 (comint-dynamic-complete): Make it obsolete.
19020 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19021 (comint-c-a-p-replace-by-expanded-history): New function.
19022 (comint-dynamic-complete-functions)
19023 (comint-replace-by-expanded-history): Use it.
19024 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19025 termination strings. Try harder to avoid second try-completion.
19026 (completion-in-region-mode-map): Disable bindings that don't work yet.
19027
19028 * comint.el: Use lexical-binding. Require CL.
19029 (comint-dynamic-complete-functions): Use comint-filename-completion.
19030 (comint-completion-addsuffix): Tweak custom type.
19031 (comint-filename-completion, comint--common-suffix)
19032 (comint--common-quoted-suffix, comint--table-subvert)
19033 (comint--complete-file-name-data): New functions.
19034 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19035 (comint-dynamic-list-filename-completions): Use them.
19036 (comint-dynamic-simple-complete): Make obsolete.
19037
19038 * minibuffer.el (completion-in-region-mode):
19039 Keep completion-in-region-mode--predicate global.
19040 (completion-in-region--postch):
19041 Assume completion-in-region-mode--predicate is not null.
19042
19043 * progmodes/flymake.el (flymake-start-syntax-check-process):
19044 Obey `dir'. Simplify.
19045
19046 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19047 we're in VC after all.
19048
19049 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19050
19051 * vc/vc.el (vc-diff-build-argument-list-internal)
19052 (vc-version-ediff, vc-ediff): New commands.
19053 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19054
19055 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19056
19057 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19058 add sanity check.
19059
19060 * obsolete/erc-hecomplete.el: Make obsolete.
19061 * obsolete/: Standardize obsolescence info in the header.
19062
19063 2011-04-20 Glenn Morris <rgm@gnu.org>
19064
19065 * calendar/solar.el (solar-horizontal-coordinates):
19066 Use the longitude argument rather than `calendar-longitude'.
19067 (solar-date-next-longitude): Remove unused locals.
19068
19069 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19070
19071 * whitespace.el: New version 13.2.1.
19072
19073 2011-04-20 felix <EmacsWiki> (tiny change)
19074
19075 * whitespace.el (global-whitespace-mode): Keep highlight when
19076 switching between major modes on a file.
19077
19078 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19079
19080 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19081 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19082 multi-line comments as well.
19083
19084 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19085
19086 Lexical-binding cleanup.
19087
19088 * arc-mode.el (archive-mode-revert):
19089 * cmuscheme.el (scheme-interactively-start-process):
19090 * custom.el (custom-initialize-delay):
19091 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19092 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19093 * emacs-lock.el (emacs-lock-clear-sentinel):
19094 * ezimage.el (defezimage):
19095 * follow.el (follow-avoid-tail-recenter):
19096 * fringe.el (set-fringe-mode-1):
19097 * generic-x.el (bat-generic-mode-compile):
19098 * help-mode.el (help-info-variable, help-do-xref)
19099 (help-mode-revert-buffer):
19100 * help.el (view-emacs-todo):
19101 * iswitchb.el (iswitchb-completion-help):
19102 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19103 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19104 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19105 * locate.el (locate-update):
19106 * longlines.el (longlines-encode-region)
19107 (longlines-after-change-function):
19108 * outline.el (outline-isearch-open-invisible):
19109 * ps-def.el (declare-function, charset-dimension, char-width)
19110 (encode-char):
19111 * ps-mule.el (ps-mule-plot-string):
19112 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19113 (recentf-edit-list-select, recentf-edit-list-validate)
19114 (recentf-open-files-action):
19115 * rect.el (delete-whitespace-rectangle-line)
19116 (rectangle-number-line-callback):
19117 * register.el (window-configuration-to-register)
19118 (frame-configuration-to-register):
19119 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19120 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19121 (xselect-convert-to-targets, xselect-convert-to-delete)
19122 (xselect-convert-to-filename, xselect-convert-to-charpos)
19123 (xselect-convert-to-lineno, xselect-convert-to-colno)
19124 (xselect-convert-to-os, xselect-convert-to-host)
19125 (xselect-convert-to-user, xselect-convert-to-class)
19126 (xselect-convert-to-name, xselect-convert-to-integer)
19127 (xselect-convert-to-atom, xselect-convert-to-identity):
19128 * subr.el (declare, ignore, process-kill-without-query)
19129 (text-clone-maintain):
19130 * terminal.el (te-get-char, te-tic-sentinel):
19131 * tool-bar.el (tool-bar-make-keymap):
19132 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19133 * type-break.el (type-break-mode, type-break-noninteractive-query):
19134 * view.el (View-back-to-mark):
19135 * wid-browse.el (widget-browse-action, widget-browse-widget)
19136 (widget-browse-widgets, widget-browse-sexp):
19137 * widget.el (define-widget-keywords):
19138 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19139 Mark unused parameters.
19140
19141 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19142 (align-areas): Remove unused variable `look'.
19143 (align-region): Remove unused variables `real-end' and `pos-list'.
19144
19145 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19146
19147 * bindings.el (mode-line-modified, mode-line-remote):
19148 Mark unused parameters.
19149 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19150
19151 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19152 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19153
19154 * comint.el (comint-history-isearch-pop-state)
19155 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19156 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19157 (comint-substitute-in-file-name): Doc fix.
19158
19159 * completion.el (cmpl-statistics-block): Mark unused parameter.
19160 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19161 (save-completions-to-file, load-completions-from-file):
19162 Remove unused local variable `e'.
19163
19164 * composite.el (compose-chars): Remove unused variable `len'.
19165 (lgstring-insert-glyph): Remove unused variable `g'.
19166 (compose-glyph-string): Remove unused variables `ascent',
19167 `descent', `lbearing' and `rbearing'.
19168 (compose-glyph-string-relative): Remove unused variables
19169 `lbearing', `rbearing' and `wadjust'.
19170 (compose-gstring-for-graphic): Remove unused variables `header',
19171 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19172 (compose-gstring-for-terminal): Remove unused variables `header'
19173 and `nchars'. Use `let', not `let*'.
19174
19175 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19176 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19177 (Custom-buffer-done, custom-buffer-create-internal)
19178 (custom-browse-visibility-action, custom-browse-group-tag-action)
19179 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19180 (widget-magic-mouse-down-action, custom-toggle-parent)
19181 (custom-add-parent-links, custom-toggle-hide-variable)
19182 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19183 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19184 (custom-face-menu-create, custom-variable-menu-create, get)
19185 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19186 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19187 (customize-apropos): Remove unused variable `tests'.
19188 (custom-group-value-create): Remove unused variable `hidden-p'.
19189 (sort-fold-case): Declare.
19190
19191 * cus-theme.el (custom-reset-standard-faces-list)
19192 (custom-reset-standard-variables-list): Declare.
19193 (customize-create-theme, custom-theme-revert, custom-theme-write)
19194 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19195 Mark unused parameters.
19196
19197 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19198
19199 * delim-col.el (delimit-columns-max): Move defvar before first use.
19200
19201 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19202 (describe-char): Don't quote `lambda'. Mark unused parameter.
19203
19204 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19205 (auto-insert): Declare.
19206 (desktop-restore-file-buffer): Rename desktop-* parameters;
19207 mark unused ones.
19208 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19209 (desktop-buffer): Rename desktop-* parameters.
19210
19211 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19212 (dframe-reposition-frame-xemacs, dframe-help-echo)
19213 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19214 Mark unused parameters.
19215
19216 * dired-aux.el (backup-extract-version-start, overwrite-query)
19217 (overwrite-backup-query, rename-regexp-query)
19218 (rename-non-directory-query): Declare.
19219 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19220 (dired-add-entry): Remove unused variable `orig-file-name'.
19221 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19222 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19223 `dired-copy-preserve-time' directly.
19224 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19225 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19226
19227 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19228 (dired-virtual-revert, dired-make-relative-symlink):
19229 Mark unused parameters.
19230 (manual-program): Declare.
19231 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19232 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19233 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19234
19235 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19236
19237 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19238
19239 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19240 Declare.
19241
19242 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19243
19244 * electric.el (Electric-command-loop): Rename parameter
19245 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19246
19247 * expand.el (expand-in-literal): Remove unused variable `here'.
19248
19249 * facemenu.el (facemenu-add-new-color):
19250 Remove unused variable `docstring'.
19251
19252 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19253 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19254 (face-attr-construct): Mark unused parameter. Doc fix.
19255 (read-color): Remove unused variable `hex-string'.
19256
19257 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19258 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19259 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19260 (display-buffer-other-frame): Remove unused variable `old-window'.
19261 (kill-buffer-hook): Declare.
19262 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19263 Mark unused parameters.
19264 (after-find-file): Pass 1 to `auto-save-mode', not t.
19265
19266 * files-x.el (auto-insert): Declare.
19267 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19268
19269 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19270 variable `buf'. Mark unused parameter.
19271 (find-lisp-insert-directory): Mark unused parameter.
19272
19273 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19274 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19275 (format-common-tail): Remove, unused.
19276 (format-deannotate-region): Remove unused variable `loc'.
19277 (format-annotate-region): Remove unused variable `p'.
19278 (format-annotate-single-property-change): Remove unused variables
19279 `default' and `tail'.
19280
19281 * forms.el (read-file-filter): Declare.
19282 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19283
19284 * frame.el (frame-creation-function-alist): Mark unused parameter.
19285 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19286
19287 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19288 Remove unused parameters.
19289 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19290 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19291
19292 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19293 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19294 (hfy-prepare-tag-map): Mark unused parameters.
19295 (htmlfontify-buffer): Use `called-interactively-p'.
19296
19297 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19298 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19299 (ibuffer-do-occur): Mark unused parameters.
19300 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19301 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19302
19303 * ibuffer.el: Don't quote `lambda'.
19304 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19305 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19306 Mark unused parameters.
19307
19308 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19309 (ido-completing-read): Mark unused parameters.
19310 (ido-copy-current-word): Mark unused parameters;
19311 remove unused variable `name'.
19312 (ido-sort-merged-list): Remove unused parameter `dirs'.
19313
19314 * ielm.el (ielm-input-sender): Mark unused parameter.
19315 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19316 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19317 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19318 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19319 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19320
19321 * image-dired.el (image-dired-display-thumbs): Remove unused
19322 variables `curr-file' and `count'.
19323 (image-dired-remove-tag): Remove unused variable `start'.
19324 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19325 variable `curr-file'
19326 (image-dired-rotate-original): Remove unused variable `temp-file'.
19327 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19328 Remove unused variable `file'.
19329 (image-dired-gallery-generate): Remove unused variable `curr'.
19330 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19331
19332 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19333
19334 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19335
19336 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19337
19338 * isearch.el (minibuffer-history-symbol): Declare.
19339 (isearch-edit-string): Remove unused variable `err'.
19340 (isearch-message-prefix, isearch-message-suffix):
19341 Mark unused parameters.
19342
19343 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19344
19345 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19346
19347 * makesum.el (double-column): Remove unused variable `cnt'.
19348
19349 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19350 (ido-ignore-item-temp-list): Declare.
19351
19352 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19353 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19354 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19355 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19356 `mouse-col-delta'.
19357
19358 * mouse-sel.el (mouse-extend-internal):
19359 Remove unused variable `orig-window-frame'.
19360
19361 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19362 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19363 Move declarations before first use.
19364 (pcomplete-opt): Mark unused parameters; doc fix.
19365
19366 * proced.el (proced-revert): Mark unused parameter.
19367 (proced-send-signal): Remove unused variable `err'.
19368
19369 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19370 Rename parameter PREFIX-ARG to ARG.
19371 (ps-basic-plot-string, ps-basic-plot-whitespace):
19372 Mark unused parameters.
19373
19374 * replace.el (replace-count): Define.
19375 (occur-revert-function): Mark unused parameters.
19376 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19377 (isearch-case-fold-search, isearch-string): Declare.
19378 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19379 bind `case-fold-search'. Remove unused variables `beg' and `end',
19380 and simplify.
19381 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19382 COUNT and bind `replace-count'.
19383 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19384 to COUNT.
19385
19386 * savehist.el (print-readably, print-string-length): Declare.
19387
19388 * shadowfile.el (shadow-expand-cluster-in-file-name):
19389 Remove unused variable `cluster'.
19390 (shadow-copy-file): Remove unused variable `i'.
19391 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19392 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19393 (shadow-define-literal-group, shadow-define-regexp-group)
19394 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19395
19396 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19397 (shell): Use `called-interactively-p'.
19398 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19399
19400 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19401 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19402 (delete-backward-char): Remove unused variable `ocol'.
19403 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19404 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19405 (event-apply-hyper-modifier, event-apply-shift-modifier)
19406 (event-apply-control-modifier, event-apply-meta-modifier):
19407 Mark unused parameters.
19408 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19409 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19410
19411 * speedbar.el (speedbar-ignored-directory-expressions)
19412 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19413 (speedbar-find-file, speedbar-dir-follow)
19414 (speedbar-directory-buttons-follow, speedbar-tag-find)
19415 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19416 (speedbar-buffers-line-directory, speedbar-buffer-click):
19417 Mark unused parameters.
19418 (speedbar-tag-file): Remove unused variable `mode'.
19419 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19420
19421 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19422
19423 * talk.el (talk): Remove unused variable `display'.
19424
19425 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19426 (tar-write-region-annotate): Mark unused parameter.
19427
19428 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19429 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19430 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19431 warning by another.
19432
19433 * time-stamp.el (time-stamp-string-preprocess):
19434 Remove unused variable `require-padding'.
19435
19436 * tree-widget.el (widget-glyph-enable): Declare.
19437 (tree-widget-action): Mark unused parameter.
19438
19439 * w32-fns.el (x-get-selection): Mark unused parameter.
19440 (autoload-make-program, generated-autoload-file): Declare.
19441
19442 * wdired.el (wdired-revert): Mark unused parameters.
19443 (wdired-xcase-word): Remove unused variable `err'.
19444
19445 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19446 (whitespace-help-scroll): Remove unused variable `data-help'.
19447
19448 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19449 (widget-image-insert, widget-after-change, default)
19450 (widget-default-format-handler, widget-default-notify)
19451 (widget-default-prompt-value, widget-info-link-action)
19452 (widget-url-link-action, widget-function-link-action)
19453 (widget-variable-link-action, widget-file-link-action)
19454 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19455 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19456 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19457 (widget-insert-button-action, widget-delete-button-action, visibility)
19458 (widget-documentation-link-action, widget-documentation-string-action)
19459 (widget-const-prompt-value, widget-regexp-match, symbol)
19460 (widget-coding-system-prompt-value)
19461 (widget-key-sequence-value-to-external, sexp)
19462 (widget-sexp-value-to-internal, character, vector, cons)
19463 (widget-choice-prompt-value, widget-boolean-prompt-value)
19464 (widget-color--choose-action): Mark unused parameters.
19465 (widget-item-match-inline, widget-choice-match-inline)
19466 (widget-checklist-match, widget-checklist-match-inline)
19467 (widget-group-match): Rename parameter VALUES to VALS.
19468 (widget-field-value-set): Remove unused variable `size'.
19469 (widget-color-action): Remove unused variables `value' and `start'.
19470
19471 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19472 variable `dir'. Doc fix.
19473 (windmove-find-other-window): Don't pass it.
19474
19475 * window.el (count-windows): Mark unused parameter.
19476 (bw-adjust-window): Remove unused variable `err'.
19477
19478 * woman.el (woman-file-name): Remove unused variable `default'.
19479 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19480 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19481 (global-font-lock-mode): Declare.
19482 (woman-decode-region): Mark unused parameter.
19483 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19484
19485 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19486 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19487 (x-dnd-handle-moz-url): Remove unused variable `title'.
19488 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19489
19490 * xml.el (xml-parse-tag, xml-parse-attlist):
19491 Remove unused variable `pos'.
19492
19493 2011-04-19 Glenn Morris <rgm@gnu.org>
19494
19495 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19496 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19497 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19498 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19499 * calendar/cal-html.el (cal-html-insert-minical):
19500 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19501 (calendar-mark-date-pattern):
19502 Prefix "unused" locals.
19503
19504 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19505 optional argument `style'.
19506
19507 * calendar/appt.el (appt-make-list):
19508 * calendar/cal-china.el (calendar-chinese-date-string):
19509 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19510 (diary-hebrew-yahrzeit):
19511 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19512 * calendar/calendar.el (calendar-generate-window):
19513 * calendar/time-date.el (time-to-days):
19514 Remove unused local variables.
19515
19516 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19517
19518 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19519 glyphless-char-display table.
19520 (tabulated-list-glyphless-char-display): New var.
19521
19522 2011-04-18 Sam Steingold <sds@gnu.org>
19523
19524 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19525 to acknowledgments.
19526
19527 2011-04-17 Glenn Morris <rgm@gnu.org>
19528
19529 * calendar/diary-lib.el (diary-sexp-entry):
19530 * calendar/holidays.el (holiday-sexp):
19531 Set debug-on-error rather than the removed stack-trace-on-error.
19532
19533 2011-04-16 Glenn Morris <rgm@gnu.org>
19534
19535 * progmodes/f90.el: Use lexical-binding.
19536 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19537
19538 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19539
19540 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19541 (mail-mode): Setup mailalias completion here instead.
19542 * mail/mailalias.el: Use lexical-binding.
19543 (pattern, mailalias-done): Declare dynamic.
19544 (mail-completion-at-point-function): New function, from mail-complete.
19545 (mail-complete): Use it.
19546 (mail-completion-expand): New function.
19547 (mail-get-names): Use it.
19548 (mail-directory, mail-directory-process, mail-directory-stream):
19549 Don't use `pattern' for lexically bound arg.
19550
19551 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19552
19553 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19554 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19555 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19556
19557 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19558 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19559 (byte-interactive-p): Define them again, for use when inlining
19560 old code.
19561
19562 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19563
19564 * loadup.el: Use `string-to-number', not `string-to-int'.
19565
19566 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19567
19568 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19569 gud-gdb-complete-command.
19570 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19571 (gud-gdb-completion-at-point): New function.
19572 (gud-gdb-completions): Remove.
19573
19574 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19575
19576 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19577 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19578 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19579 whether `executable-find' is bound.
19580
19581 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19582
19583 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19584
19585 * minibuffer.el (completion-in-region-mode-predicate)
19586 (completion-in-region-mode--predicate): New vars.
19587 (completion-in-region, completion-in-region--postch)
19588 (completion-in-region-mode): Use them.
19589 (completion--capf-wrapper): Also return the hook function.
19590 (completion-at-point, completion-help-at-point):
19591 Adjust and provide a predicate.
19592
19593 Preserve arg names for advice of subr and lexical functions (bug#8457).
19594 * help-fns.el (help-function-arglist): Consolidate the subr and
19595 new-byte-code cases. Add argument `preserve-names' to extract names
19596 from the docstring when needed.
19597 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19598 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19599 (ad-arglist): Use help-function-arglist's new arg.
19600 (ad-definition-type): Use cond.
19601
19602 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19603
19604 * autorevert.el (auto-revert-handler):
19605 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19606 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19607 Don't quote lambda.
19608
19609 * image-mode.el (image-transform-set-scale):
19610 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19611
19612 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19613
19614 * net/network-stream.el (network-stream-open-starttls): Only do
19615 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19616 Upgrades via gnutls-cli are too slow to be done opportunistically.
19617
19618 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19619
19620 * dframe.el (dframe-current-frame): Remove spurious quote.
19621
19622 2011-04-12 Glenn Morris <rgm@gnu.org>
19623
19624 * calendar/cal-tex.el (cal-tex-end-document):
19625 Try to automatically use latin1 input if needed.
19626
19627 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19628 Don't try to cons a mark onto an empty element.
19629
19630 2011-04-11 Leo Liu <sdl.web@gmail.com>
19631
19632 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19633 buffers.
19634 (ido-kill-buffer-at-head): Support killing virtual buffers.
19635
19636 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19637
19638 * minibuffer.el (completion-show-inline-help): New var.
19639 (completion--do-completion, minibuffer-complete)
19640 (minibuffer-force-complete, minibuffer-complete-word):
19641 Inhibit minibuffer messages if completion-show-inline-help is nil.
19642
19643 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19644 to avoid interference from inline help (Bug#5849).
19645
19646 2011-04-10 Leo Liu <sdl.web@gmail.com>
19647
19648 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19649 Fix typo.
19650
19651 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19652
19653 * image-mode.el (image-toggle-display-image): Signal an error if
19654 not in Image mode.
19655 (image-transform-mode, image-transform-resize)
19656 (image-transform-set-rotation): Doc fix.
19657 (image-transform-set-resize): Delete.
19658 (image-transform-set-scale, image-transform-fit-to-height)
19659 (image-transform-fit-to-width): Handle image-toggle-display-image
19660 and image-transform-resize directly.
19661
19662 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19663
19664 * doc-view.el (doc-view-fit-width-to-window)
19665 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19666 New functions for fitting the shown image to the Emacs window size.
19667 (doc-view-mode-map): Add bindings for the new functions.
19668
19669 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19670
19671 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19672 Fix typo in docstring.
19673
19674 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19675
19676 * files.el (file-size-human-readable): Produce one digit after
19677 decimal, like "ls -lh" does.
19678
19679 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19680 the file size representation.
19681
19682 * simple.el (list-processes): If async subprocesses are not
19683 available, error out with a clear error message.
19684
19685 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19686
19687 * help.el (help-form-show): New function, to be called from C.
19688 Put help-form output in a buffer named differently than *Help*.
19689
19690 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19691
19692 * files.el (file-size-human-readable): New function.
19693
19694 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19695 computing the representation inline. Don't require `cl'.
19696
19697 2011-04-08 Glenn Morris <rgm@gnu.org>
19698
19699 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19700
19701 * net/browse-url.el (browse-url-firefox):
19702 Test system-type, not system-configuration.
19703
19704 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19705 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19706 Use log-edit-empty-buffer-p. (Bug#7598)
19707
19708 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19709 (rlogin-mode-map): Initialize in the defvar.
19710 (rlogin): Use ignore-errors.
19711
19712 * replace.el (occur-mode-map): Some fixes for menu items.
19713
19714 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19715
19716 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19717
19718 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19719
19720 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19721 issuing unused warnings.
19722
19723 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19724 macro directly.
19725
19726 * simple.el: Lisp reimplement of list-processes. Based on an
19727 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19728 (process-menu-mode): New major mode.
19729 (list-processes--refresh, list-processes):
19730 (process-menu-visit-buffer): New functions.
19731
19732 * files.el (save-buffers-kill-emacs): Don't assume any return
19733 value of list-processes, which is undocumented anyway.
19734
19735 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19736
19737 * emacs-lisp/tabulated-list.el: New file.
19738
19739 * emacs-lisp/package.el: Use Tabulated List mode.
19740 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19741 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19742 table format using Tabulated List mode variables.
19743 (package--push): New macro, replacing package-list-maybe-add.
19744 (package-menu--generate): Use package--push. Renamed from
19745 package--generate-package-list.
19746 (package-menu-refresh, list-packages): Use it.
19747 (package-menu--print-info): Rename from package-print-package.
19748 Return insertion data instead of inserting it directly.
19749 (package-menu-describe-package, package-menu-execute):
19750 Use tabulated-list-get-id.
19751 (package-menu-mark-delete, package-menu-mark-install)
19752 (package-menu-mark-unmark, package-menu-backup-unmark)
19753 (package-menu-mark-obsolete-for-deletion):
19754 Use tabulated-list-put-tag.
19755 (package--list-packages, package-menu-revert)
19756 (package-menu-get-package, package-menu-get-version)
19757 (package-menu-sort-by-column): Functions deleted.
19758 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19759 (package-menu--status-predicate, package-menu--version-predicate)
19760 (package-menu--name-predicate)
19761 (package-menu--description-predicate): Handle arguments in the
19762 Tabulated List format.
19763 (package-list-packages-no-fetch): Call list-packages.
19764
19765 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19766
19767 * files.el (after-find-file-from-revert-buffer): Remove variable.
19768 (after-find-file): Don't bind it.
19769 (revert-buffer-in-progress-p): New variable.
19770 (revert-buffer): Bind it.
19771 Pass nil for `after-find-file-from-revert-buffer'.
19772
19773 * saveplace.el (save-place-find-file-hook): Use new variable
19774 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19775
19776 2011-04-06 Glenn Morris <rgm@gnu.org>
19777
19778 * Makefile.in (AUTOGEN_VCS): New variable.
19779 (autoloads): Use $AUTOGEN_VCS.
19780
19781 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19782 * calendar/calendar.el (calendar-mode-map):
19783 Check for toolkit scroll bars. (Bug#8305)
19784
19785 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19786
19787 * minibuffer.el (completion-in-region--postch)
19788 (completion-in-region-mode): Remove unnecessary messages.
19789
19790 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19791
19792 * font-lock.el (font-lock-refresh-defaults):
19793 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19794 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19795
19796 * info.el (Info-directory-list, Info-read-node-name-2)
19797 (Info-split-parameter-string): Doc fixes.
19798 (Info-virtual-nodes): Reflow docstring.
19799 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19800 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19801 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19802 Fix typos in docstrings.
19803 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19804 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19805 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19806 (Info-restore-desktop-buffer): Mark unused parameters.
19807 (Info-directory-find-file, Info-directory-find-node)
19808 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19809 (Info-virtual-index-find-node, Info-apropos-find-file)
19810 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19811 Mark unused parameters; fix typos in docstrings.
19812 (Info-virtual-index): Remove unused local variable `nodename'.
19813
19814 2011-04-05 Deniz Dogan <deniz@dogan.se>
19815
19816 * net/rcirc.el: Update my e-mail address.
19817 (rcirc-mode-map): Remove M-o binding.
19818
19819 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19820
19821 * startup.el (command-line): Save the cursor's theme-face
19822 directly, instead of using face-override-spec.
19823
19824 * custom.el (load-theme): Minor optimization in assigning faces.
19825
19826 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19827
19828 * help-fns.el (describe-variable): Complete all variables having
19829 documentation, including keywords.
19830 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19831
19832 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19833
19834 Convert to lexical-binding.
19835
19836 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19837 (bs--get-marked-string, bs--get-modified-string)
19838 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19839 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19840 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19841
19842 * ehelp.el (electric-help-execute-extended)
19843 (electric-help-ctrl-x-prefix):
19844 * hexl.el (hexl-revert-buffer-function):
19845 * linum.el (linum-after-change, linum-after-scroll):
19846 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19847
19848 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19849
19850 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19851
19852 * epa-dired.el:
19853 * epa-mail.el:
19854 * epa-hook.el:
19855 * epa-file.el:
19856 * epa.el:
19857 * epg.el: Use lexical binding.
19858
19859 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19860
19861 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19862
19863 * textmodes/flyspell.el (flyspell-word): Recognize default
19864 dictionary case for flyspell-mark-duplications-exceptions.
19865 Use regexp matching for languages.
19866 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19867 default dictionary (Bug#7926).
19868
19869 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19870
19871 * emacs-lisp/package.el (package--with-work-buffer):
19872 Recognize https URLs.
19873
19874 * net/network-stream.el: Move from gnus/proto-stream.el.
19875 Change prefix to network-stream throughout.
19876 (open-protocol-stream): Merge into open-network-stream, leaving
19877 open-protocol-stream as an alias. Handle nil BUFFER args.
19878
19879 * subr.el (open-network-stream): Move to net/network-stream.el.
19880
19881 2011-04-02 Glenn Morris <rgm@gnu.org>
19882
19883 * find-dired.el (find-exec-terminator): New option.
19884 (find-ls-option): Test for -ls support.
19885 (find-ls-subdir-switches): Test for -b in find-ls-option.
19886 (find-dired, find-grep-dired): Doc fixes.
19887 (find-dired): Use find-exec-terminator.
19888
19889 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19890 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19891 (find-name-arg): Remove purecopy.
19892
19893 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19894 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19895 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19896 accordingly. Don't add the null-device if not needed.
19897
19898 * files.el (save-some-buffers): Doc fix.
19899
19900 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19901
19902 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19903
19904 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19905
19906 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19907 Use `dolist' rather than `mapcar'.
19908
19909 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19910
19911 Add lexical binding.
19912
19913 * subr.el (apply-partially): Use new closures rather than CL.
19914 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19915 (dolist, dotimes): Use slightly different expansion for lexical code.
19916 (functionp): Move to C.
19917 (letrec): New macro.
19918 (with-wrapper-hook): Use it and apply-partially instead of CL.
19919 (eval-after-load): Preserve lexical-binding.
19920 (save-window-excursion, with-output-to-temp-buffer): Turn them
19921 into macros.
19922
19923 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19924
19925 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19926 than the arglist.
19927 (help-add-fundoc-usage): Don't add `Not documented'.
19928 (help-function-arglist): Handle closures, subroutines, and new
19929 byte-code-functions.
19930 (help-make-usage): Remove leading underscores.
19931 (describe-function-1): Handle closures.
19932 (describe-variable): Use special-variable-p for completion.
19933
19934 * files.el (lexical-binding): Declare safe.
19935
19936 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19937 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19938 (pcase): Add `let' pattern.
19939 Change memoization so it actually works.
19940 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19941 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19942 <let>: New case.
19943
19944 * emacs-lisp/macroexp.el: Use lexical binding.
19945 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19946 Don't convert ' to #' without checking that it's indeed quoting
19947 a lambda.
19948
19949 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19950 Use eval-sexp-add-defvars.
19951 (eval-sexp-add-defvars): New fun.
19952
19953 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19954
19955 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19956 Don't autoload.
19957 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19958 than the internal `byte-compile-lambda'.
19959 (defmethod): Don't hide code under quotes.
19960 (eieio-defmethod): New `code' argument.
19961
19962 * emacs-lisp/eieio-comp.el: Remove.
19963
19964 * emacs-lisp/edebug.el (edebug-eval-defun)
19965 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19966 (edebug-toggle): Avoid `eval'.
19967
19968 * emacs-lisp/disass.el (disassemble-internal): Handle new
19969 `closure' objects.
19970 (disassemble-1): Handle new byte codes.
19971
19972 * emacs-lisp/cl.el (pushnew): Silence warning.
19973
19974 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19975 (cl-byte-compile-throw): Remove.
19976 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19977
19978 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19979 closures.
19980
19981 * emacs-lisp/cconv.el: New file.
19982
19983 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19984 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19985 (byte-compile-initial-macro-environment):
19986 Handle declare-function here.
19987 (byte-compile--lexical-environment): New var.
19988 (byte-stack-ref, byte-stack-set, byte-discardN)
19989 (byte-discardN-preserve-tos): New lap codes.
19990 (byte-interactive-p): Don't use any more.
19991 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19992 New macros.
19993 (byte-compile-lapcode): Use them and handle new lap codes.
19994 (byte-compile-obsolete): Remove.
19995 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19996 (byte-compile-arglist-warn): Check late def of inlinable funs.
19997 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19998 since they should have been expanded by now.
19999 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20000 (byte-compile-from-buffer): Remove unused second arg.
20001 (byte-compile-preprocess): New function.
20002 (byte-compile-toplevel-file-form): New function to distinguish
20003 file-form calls from outside from file-form calls from hunk-handlers.
20004 (byte-compile-file-form): Simplify.
20005 (byte-compile-file-form-defsubst): Remove.
20006 (byte-compile-file-form-defmumble): Simplify now that
20007 byte-compile-lambda always returns a byte-code-function.
20008 (byte-compile): Preprocess.
20009 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20010 Remove, not used any more.
20011 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20012 (byte-compile-make-args-desc): New funs.
20013 (byte-compile-lambda): Handle lexical functions. Always return
20014 a byte-code-function.
20015 (byte-compile-reserved-constants): New var, to make up room for
20016 closed-over variables.
20017 (byte-compile-constants-vector): Obey it.
20018 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20019 (byte-compile-macroexpand-declare-function): New function.
20020 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20021 byte-code-functions.
20022 (byte-compile-form): Check obsolescence here.
20023 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20024 (byte-compile-variable-ref): Remove.
20025 (byte-compile-dynamic-variable-op): New fun.
20026 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20027 (byte-compile-variable-set): New funs.
20028 (byte-compile-discard): Add 2 args.
20029 (byte-compile-stack-ref, byte-compile-stack-set)
20030 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20031 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20032 macroexpand-all instead.
20033 (byte-compile-quote-form): Remove.
20034 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20035 (byte-compile-bind, byte-compile-unbind): New funs.
20036 (byte-compile-let): Handle let* and lexical binding.
20037 (byte-compile-let*): Remove.
20038 (byte-compile-catch, byte-compile-unwind-protect)
20039 (byte-compile-track-mouse, byte-compile-condition-case):
20040 Handle a new :fun-body form, used for lexical scoping.
20041 (byte-compile-save-window-excursion)
20042 (byte-compile-with-output-to-temp-buffer): Remove.
20043 (byte-compile-defun): Simplify.
20044 (byte-compile-stack-adjustment): New fun.
20045 (byte-compile-out): Use it.
20046 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20047
20048 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20049 handler any more.
20050
20051 * emacs-lisp/byte-opt.el: Use lexical binding.
20052 (byte-inline-lapcode): Remove (to bytecomp).
20053 (byte-compile-inline-expand): Pay attention to inlining to/from
20054 lexically bound code.
20055 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20056 any more.
20057 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20058 any more and don't call compiler-macros.
20059 (byte-compile-splice-in-already-compiled-code): Remove.
20060 (byte-code): Don't inline any more.
20061 (disassemble-offset): Receive `bytes' as argument rather than via
20062 dynamic scoping.
20063 (byte-compile-tag-number): Declare before first use.
20064 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20065 `return' even if make-spliceable.
20066 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20067 obsolete interactive-p.
20068 (byte-optimize-lapcode): Optimize new lap-codes.
20069 Don't trip up on new form of `byte-constant' lap code.
20070
20071 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20072
20073 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20074
20075 * custom.el (custom-initialize-default, custom-declare-variable):
20076 Use `defvar'.
20077
20078 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20079 New variables.
20080 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20081 (COMPILE_FIRST): Add macroexp and cconv.
20082 * makefile.w32-in: Mirror changes in Makefile.in.
20083
20084 * vc/cvs-status.el:
20085 * vc/diff-mode.el:
20086 * vc/log-edit.el:
20087 * vc/log-view.el:
20088 * vc/smerge-mode.el:
20089 * textmodes/bibtex-style.el:
20090 * textmodes/css-mode.el:
20091 * startup.el:
20092 * uniquify.el:
20093 * minibuffer.el:
20094 * newcomment.el:
20095 * reveal.el:
20096 * server.el:
20097 * mpc.el:
20098 * emacs-lisp/smie.el:
20099 * doc-view.el:
20100 * dired.el:
20101 * abbrev.el: Use lexical binding.
20102
20103 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20104
20105 * info.el (info-display-manual): New function.
20106
20107 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20108
20109 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20110
20111 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20112
20113 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20114 an entry for that server in rcirc-authinfo. (Bug#8385)
20115
20116 2011-03-31 Glenn Morris <rgm@gnu.org>
20117
20118 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20119
20120 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20121
20122 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20123
20124 * progmodes/python.el (python-default-interpreter)
20125 (python-python-command-args, python-jython-command-args)
20126 (python-which-shell, python-which-args, python-which-bufname)
20127 (python-file-queue, python-comint-output-filter-function)
20128 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20129 variables and functions.
20130
20131 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20132
20133 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20134 (completion-in-region-mode): New minor mode.
20135 (completion-in-region): Use it.
20136 (completion-in-region--data, completion-in-region-mode-map): New vars.
20137 (completion-in-region--postch): New function.
20138 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20139 New vars.
20140 (completion--capf-wrapper): New function.
20141 (completion-at-point): Use it to track well-behavedness of
20142 hook functions.
20143 (completion-help-at-point): New command.
20144
20145 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20146
20147 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20148 syntax class to search for whitespace on a single line
20149 (Message-ID: <4D938140.4030905@redhat.com>).
20150
20151 2011-03-30 Leo Liu <sdl.web@gmail.com>
20152
20153 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20154 New commands.
20155 (edit-abbrevs-map): Bind them here.
20156 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20157
20158 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20159
20160 * allout.el (allout-hide-by-annotation, allout-flag-region):
20161 Reduce possibility of overlay leakage by making them volatile.
20162
20163 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20164 hash is not shared between buffers. Mode initialization is
20165 responsible for giving it a useful starting value.
20166 (allout-item-span): Reduce possibility of overlay leakage by
20167 making them volatile.
20168 (allout-widgets-count-buttons-in-region): Add diagnostic function
20169 for tracking down button overlay leaks.
20170
20171 2011-03-29 Leo Liu <sdl.web@gmail.com>
20172
20173 * ido.el (ido-read-internal): Use the default history var
20174 minibuffer-history if no HISTORY is specified.
20175
20176 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20177
20178 * net/imap.el (imap-shell-open, imap-process-connection-type):
20179 Use imap-process-connection-type for 'shell' streams as well as
20180 Kerberos, SSL, other subprocesses.
20181
20182 2011-03-28 Leo Liu <sdl.web@gmail.com>
20183
20184 * abbrev.el (abbrev-table-empty-p): New function.
20185 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20186 nonempty ones. (Bug#5937)
20187
20188 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20189
20190 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20191
20192 2011-03-27 Leo Liu <sdl.web@gmail.com>
20193
20194 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20195 for foreground and background colors.
20196 (ansi-color-make-color-map): Adapt.
20197
20198 2011-03-25 Leo Liu <sdl.web@gmail.com>
20199
20200 * midnight.el (midnight-time-float): Remove. Note it calculates
20201 the microsecond component incorrectly and seconds-to-time does the
20202 same job.
20203 Remove redundant (require 'timer).
20204
20205 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20206 (ido-completions): Remove unused arguments. (Bug#8329)
20207
20208 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20209
20210 * minibuffer.el (completion--flush-all-sorted-completions):
20211 Remove itself from hook.
20212 (completion-at-point): Let the functions perform the completion
20213 immediately and return nil or t.
20214 * comint.el (comint-dynamic-complete-functions): Now identical to
20215 completion-at-point-functions.
20216 (comint-dynamic-list-input-ring): Remove unused var `index'.
20217 (comint--match-partial-filename, comint--unquote&expand-filename):
20218 New funs, split from comint-match-partial-filename.
20219 (comint-dynamic-complete): Use completion-at-point.
20220 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20221
20222 2011-03-24 Drew Adams <drew.adams@oracle.com>
20223
20224 * thingatpt.el: Support `defun'.
20225
20226 2011-03-23 Leo Liu <sdl.web@gmail.com>
20227
20228 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20229
20230 * help-mode.el (help-mode-finish): Tweak regexp.
20231
20232 2011-03-23 Glenn Morris <rgm@gnu.org>
20233
20234 * eshell/esh-opt.el (eshell-eval-using-options):
20235 Do not bind unused local variable `eshell-option-stub'.
20236
20237 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20238
20239 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20240
20241 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20242 keymap variable in `with-no-warnings' to avoid a warning when the
20243 keymap has been already `defconst'ed.
20244
20245 2011-03-22 Leo Liu <sdl.web@gmail.com>
20246
20247 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20248 encode all chars in abbrevs; otherwise use emacs-mule or
20249 utf-8-emacs. (Bug#8308)
20250
20251 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20252
20253 * simple.el (backward-delete-char-untabify):
20254 Avoid warning about using `delete-backward-char'.
20255
20256 * image.el (image-type-file-name-regexps): Make it variable.
20257 `imagemagick-register-types' modifies it, and the user may want
20258 to add new extensions for known image types.
20259 (imagemagick-register-types): Throw error if not using ImageMagick.
20260
20261 2011-03-22 Leo Liu <sdl.web@gmail.com>
20262
20263 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20264 located before rcirc-prompt-end-marker.
20265 (rcirc-complete): Error if point is not after rcirc prompt.
20266 Handle the case when table is nil.
20267 (rcirc-user-authenticated): Define to fix compiler warning.
20268
20269 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20270
20271 * custom.el (custom--inhibit-theme-enable): Make it affect only
20272 custom-theme-set-variables and custom-theme-set-faces.
20273 (provide-theme): Ignore custom--inhibit-theme-enable.
20274 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20275 (custom-enabling-themes): Delete variable.
20276 (enable-theme): Accept only loaded themes as arguments.
20277 Ignore the special custom-enabled-themes variable.
20278 (custom-enabled-themes): Forbid themes from setting this.
20279 Eliminate use of custom-enabling-themes.
20280 (custom-push-theme): Quote "changed" custom var entry.
20281
20282 2011-03-21 Leo Liu <sdl.web@gmail.com>
20283
20284 * ido.el (ido-read-internal): Add ido-selected to history instead
20285 of user input.
20286
20287 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20288
20289 * subr.el (deferred-action-list, deferred-action-function):
20290 Mark obsolete.
20291
20292 2011-03-21 Leo Liu <sdl.web@gmail.com>
20293
20294 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20295 change on 2011-02-13 (bug#8309).
20296
20297 * minibuffer.el (read-file-name-function): Change default value.
20298 (read-file-name--defaults): Rename from read-file-name-defaults.
20299 (read-file-name-default): Rename from read-file-name.
20300 (read-file-name): Call read-file-name-function.
20301
20302 2011-03-21 Glenn Morris <rgm@gnu.org>
20303
20304 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20305 Doc fixes.
20306
20307 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20308
20309 * cus-theme.el: Add missing provide statement.
20310 (customize-create-theme): Extract theme value correctly.
20311 (custom-theme-visit-theme): Autoload.
20312 (customize-create-theme): Prompt before inserting default faces.
20313
20314 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20315
20316 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20317 units and musical notes.
20318
20319 2011-03-20 Leo Liu <sdl.web@gmail.com>
20320
20321 * ido.el (ido-read-internal): Use completing-read-default.
20322 (ido-completing-read): Fix compatibility with completing-read.
20323
20324 2011-03-20 Christian Ohler <ohler@gnu.org>
20325
20326 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20327 (ert-delete-all-tests): Use `called-interactively-p' rather than
20328 `interactive-p'.
20329 (ert--make-xrefs-region): Respect END.
20330
20331 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20332
20333 * dired-aux.el (dired-create-directory): Signal an error if the
20334 directory already exists (Bug#8246).
20335
20336 * facemenu.el (list-colors-display): Call list-faces-display
20337 inside with-help-window.
20338 (list-colors-print): Use display property to align the final
20339 column, instead of checking window-width.
20340
20341 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20342
20343 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20344 windows-nt systems.
20345 (emerge-protect-metachars): Quote correctly for ms-dos and
20346 windows-nt systems.
20347
20348 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20349
20350 * info.el (info-initialize): Replace all uses of `:' with
20351 path-separator for compatibility with non-Unix systems.
20352 Cache quoting of path-separator. (Bug#8258)
20353
20354 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20355
20356 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20357 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20358 (mouse-avoidance-mode): Fix typos in docstrings.
20359
20360 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20361
20362 * startup.el (package-subdirectory-regexp): Move from package.el.
20363 Omit \\` and \\', and let callers add them.
20364
20365 * emacs-lisp/package.el (package-strip-version)
20366 (package-load-all-descriptors): Add \\` and \\' to
20367 package-subdirectory-regexp before using it.
20368 (package-untar-buffer): New arg DIR; ensure that file untars only
20369 into this expected directory. Remove superfluous delete-region.
20370 (package-unpack): Caller changed.
20371 (package-tar-file-info): Use package-subdirectory-regexp.
20372
20373 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20374
20375 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20376 diff-mode-shared-map (bug#8284).
20377 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20378
20379 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20380
20381 * calendar/time-date.el (format-seconds): Use assoc instead of
20382 assoc-string, since assoc-string doesn't exist in XEmacs.
20383
20384 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20385
20386 * custom.el (custom-known-themes): Reflow docstring.
20387 (custom-theme-load-path): Fix typo in docstring.
20388 (load-theme): Fix typo in error message.
20389 (custom-available-themes, custom-variable-theme-value):
20390 Use `let', not `let*'.
20391
20392 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20393
20394 * calc/README: Mention inclusion of musical notes.
20395
20396 * calc/calc-units.el (calc-lu-quant): Rename from
20397 `calc-logunits-quantity'.
20398 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20399 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20400 (calc-db): Rename from `calc-dblevel'.
20401 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20402 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20403 (calc-np): Rename from `calc-nplevel'.
20404 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20405 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20406 (calc-lu-plus): Rename from `calc-logunits-add'.
20407 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20408 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20409 (calc-lu-minus): Rename from `calc-logunits-sub'.
20410 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20411 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20412 (calc-lu-times): Rename from `calc-logunits-mul'.
20413 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20414 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20415 (calc-lu-divide): Rename from `calc-logunits-div'.
20416 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20417 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20418
20419 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20420 functions being autoloaded.
20421
20422 * calc/calc.el (calc-lu-power-reference): Rename from
20423 `calc-logunits-power-reference'.
20424 (calc-lu-field-reference): Rename from
20425 `calc-logunits-field-reference'.
20426
20427 * calc/calc-help.el (calc-l-prefix-help):
20428 Mention musical note functions.
20429
20430 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20431
20432 * minibuffer.el (completion-all-sorted-completions):
20433 Use :completion-cycle-penalty text property if present.
20434
20435 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20436
20437 * allout.el (allout-yank-processing): Adjust for new rebulleting
20438 regime so bullet being yanked is used without prompting the user
20439 for a choice.
20440
20441 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20442
20443 * startup.el (command-line): Warn the user that _emacs is deprecated.
20444
20445 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20446
20447 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20448 (delphi-verbose, delphi-comment-face, delphi-string-face)
20449 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20450 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20451 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20452 (delphi-new-comment-line, delphi-font-lock-defaults)
20453 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20454 Fix typos in docstrings.
20455
20456 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20457
20458 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20459 Invert the roles of character and string values for INSTEAD, so a
20460 string is used for the more common case of a defaulting prompt.
20461
20462 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20463
20464 * progmodes/ruby-mode.el (ruby-backward-sexp):
20465 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20466 * play/gamegrid.el (gamegrid-make-face):
20467 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20468 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20469 * notifications.el (notifications-notify):
20470 * net/xesam.el (xesam-search-engines):
20471 * net/quickurl.el (quickurl-list-insert):
20472 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20473
20474 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20475
20476 * startup.el (command-line): Update package subdirectory regexp.
20477
20478 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20479
20480 * allout.el (allout-abbreviate-flattened-numbering)
20481 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20482
20483 * subr.el (read-char-choice): Only show the cursor after the prompt,
20484 not after the answer.
20485
20486 2011-03-15 Kevin Ryde <user42@zip.com.au>
20487
20488 * help-fns.el (variable-at-point): Skip leading quotes, if any
20489 (bug#8253).
20490
20491 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20492
20493 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20494 warning message.
20495
20496 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20497
20498 * shell.el (shell): When called interactively, offer to change the
20499 shell file name on remote hosts.
20500
20501 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20502
20503 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20504 integration for LDAP parameters. The host, base, user or binddn,
20505 and secret tokens can be specified in a netrc file, for instance.
20506 This is optional because an `auth-source' parameter must be
20507 specified in the search attributes.
20508
20509 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20510
20511 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20512
20513 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20514
20515 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20516 into declaration. Remove redundant and harmful binding.
20517
20518 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20519
20520 * files.el (file-ownership-preserved-p): Pass `integer' as an
20521 explicit 2nd argument to `file-attributes'. If the file's owner
20522 is the Administrators group on Windows, and the current user is
20523 Administrator, consider that a match.
20524
20525 * server.el (server-ensure-safe-dir): Consider server directory
20526 safe on MS-Windows if its owner is the Administrators group while
20527 the current Emacs user is Administrator. Use `=' to compare
20528 numerical UIDs, since they could be integers or floats.
20529
20530 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20531
20532 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20533
20534 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20535
20536 Sync with Tramp 2.2.1.
20537
20538 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20539
20540 * net/trampver.el: Update release number.
20541
20542 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20543
20544 * progmodes/compile.el (compilation--previous-directory): Fix up
20545 various nil/dead-marker mismatches (bug#8014).
20546 (compilation-directory-properties, compilation-error-properties):
20547 Don't call it at a position past the one we're about to change.
20548
20549 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20550 Disable obsolescence warnings in the file that declares it.
20551
20552 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20553
20554 * allout-widgets.el (allout-widgets-tally):
20555 Initialize allout-widgets-tally as a hash table rather than nil to
20556 prevent mode-line redisplay warnings. Also, clarify the module
20557 description and fix a comment typo.
20558
20559 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20560
20561 * help-fns.el (describe-variable): Don't complete keywords.
20562 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20563
20564 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20565
20566 * emacs-lisp/package.el (package-version-join): Impose a standard
20567 string representation for pre/alpha/beta version lists.
20568 (package-unpack-single): Standardize the directory name by passing
20569 it through package-version-join.
20570 (package-strip-rcs-id): Accept any version string that does not
20571 signal an error in version-to-list.
20572
20573 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20574
20575 * simple.el (delete-trailing-whitespace): Return nil for the
20576 benefit of `write-file-functions'.
20577
20578 2011-03-10 Glenn Morris <rgm@gnu.org>
20579
20580 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20581
20582 * vc/vc-git.el (vc-git-program): New option.
20583 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20584 (vc-git--call): Use it.
20585
20586 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20587
20588 * cus-edit.el (Custom-newline): If no button at point, look
20589 for a subgroup button at start-of-line. (Bug#2298)
20590
20591 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20592
20593 2011-03-10 Julien Danjou <julien@danjou.info>
20594
20595 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20596 `cursor-type' is nil.
20597
20598 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20599
20600 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20601
20602 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20603
20604 * allout.el: Change so yank of distinctive-bullet items
20605 preserves the existing header prefix, rebulleting it if necessary,
20606 rather than replacing it. This is necessary for proper operation
20607 of cooperative addons like allout-widgets.
20608 (allout-make-topic-prefix, allout-rebullet-heading):
20609 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20610 value as alternate bullet to be used, instead of prompting the user
20611 for a bullet character.
20612
20613 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20614
20615 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20616 Do not use `tramp-file-name-port', because this returns also
20617 `tramp-default-port'.
20618
20619 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20620
20621 * net/rcirc.el (rcirc-handler-001): Remove useless
20622 with-rcirc-process-buffer.
20623 (rcirc-check-auth-status): Swap arguments to string-match.
20624
20625 2011-03-09 Glenn Morris <rgm@gnu.org>
20626
20627 * shell.el (shell-mode):
20628 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20629
20630 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20631 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20632
20633 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20634
20635 * emacs-lisp/package.el (package-refresh-contents)
20636 (package-menu-execute): Use condition-case-no-debug.
20637
20638 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20639
20640 * simple.el (shell-command-to-string): Use `process-file'.
20641
20642 * emacs-lisp/package.el (package-tar-file-info): Handle also
20643 remote files.
20644
20645 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20646 Use `equal' for upload base check.
20647
20648 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20649
20650 * textmodes/texinfo.el (texinfo-environments):
20651 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20652
20653 2011-03-08 Glenn Morris <rgm@gnu.org>
20654
20655 * cus-start.el (cursor-in-non-selected-windows):
20656 Fix :set quoting oddness. (Bug#8192)
20657
20658 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20659 in some setf expressions. (Bug#2159)
20660
20661 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20662
20663 * custom.el (custom-available-themes): Return themes in
20664 alphabetical order.
20665
20666 See ChangeLog.15 for earlier changes.
20667
20668 ;; Local Variables:
20669 ;; coding: utf-8
20670 ;; End:
20671
20672 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20673
20674 This file is part of GNU Emacs.
20675
20676 GNU Emacs is free software: you can redistribute it and/or modify
20677 it under the terms of the GNU General Public License as published by
20678 the Free Software Foundation, either version 3 of the License, or
20679 (at your option) any later version.
20680
20681 GNU Emacs is distributed in the hope that it will be useful,
20682 but WITHOUT ANY WARRANTY; without even the implied warranty of
20683 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20684 GNU General Public License for more details.
20685
20686 You should have received a copy of the GNU General Public License
20687 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.