Fix help-echo text in profiler-report-make-entry-part.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2
3 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4 text to match the real keybindings.
5
6 2012-10-27 Juri Linkov <juri@jurta.org>
7
8 * wdired.el (wdired-keep-marker-rename): New defcustom.
9 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
10 (Bug#11795)
11
12 * dired.el (dired-keep-marker-rename): Add reference to
13 `wdired-keep-marker-rename' in the docstring.
14 Add default character value ?R to display initially in
15 Customization UI instead of ?@.
16
17 2012-10-27 Martin Rudalics <rudalics@gmx.at>
18
19 * window.el (display-buffer): In doc-string describe
20 window-height and window-width alist entries.
21
22 * time.el (display-time-world): Restore fit-window-to-buffer
23 behavior.
24
25 2012-10-27 Chong Yidong <cyd@gnu.org>
26
27 * subr.el (insert-buffer-substring-as-yank): Doc fix.
28
29 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
30
31 * minibuffer.el (completion-category-overrides): New completion
32 category `bookmark' (bug#11131).
33
34 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
35
36 * emacs-lisp/advice.el (ad-assemble-advised-definition):
37 Silence bogus compiler warnings for ad-do-it.
38
39 * bookmark.el (bookmark-completing-read): Set the completion category
40 to `bookmark' (bug#11131).
41
42 2012-10-26 Bastien <bzg@altern.org>
43 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * face-remap.el: Use lexical-binding.
46 (text-scale-adjust): Improve docstring. Use itself for the temporary
47 overlay-map bindings, so as to repeat the "Use..." message each time.
48
49 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * emacs-lisp/macroexp.el (macroexp--expand-all):
52 Obey byte-compile-warning-enabled-p (bug#12486).
53
54 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
55 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
56
57 2012-10-26 Martin Rudalics <rudalics@gmx.at>
58
59 * mouse.el (mouse-drag-line): Move last form into preceding when
60 clause (Bug#12731).
61
62 * help.el (resize-temp-buffer-window): Fix doc-string.
63
64 2012-10-25 David Engster <deng@randomsample.de>
65
66 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
67 Remove. This feature is already integrated in imenu.
68
69 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
70 always loaded. Require `speedbar' unconditionally.
71
72 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
75
76 * minibuffer.el (minibuffer-force-complete): Fix thinko.
77
78 * net/ldap.el (ldap-search-internal): The official ldif format starts
79 with a "version: 1" header (bug#12724).
80
81 * emacs-lisp/package.el (package-installed-p): Warn if not ready
82 (bug#12721).
83
84 2012-10-25 Glenn Morris <rgm@gnu.org>
85
86 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
87
88 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
89
90 * minibuffer.el (minibuffer-force-complete): Use one more marker
91 for the temporary-overlay-map command (bug#12619).
92
93 2012-10-24 Chong Yidong <cyd@gnu.org>
94
95 * time.el (display-time-world-mode): Derive from special-mode.
96 (display-time-world): Use display-buffer (Bug#12708).
97 (display-time-world-mode-map): Variable deleted.
98 (display-time-world-display): Wrap the final delete-char inside
99 inhibit-read-only.
100
101 2012-10-24 Chong Yidong <cyd@gnu.org>
102
103 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
104 Doc fix.
105
106 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
107
108 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * minibuffer.el (completion--all-sorted-completions-location): New var.
111 (completion--cache-all-sorted-completions)
112 (completion--flush-all-sorted-completions): Use it.
113 (completion-in-region, completion-in-region--postch)
114 (completion-at-point, completion-help-at-point): Use markers in
115 completion-in-region--data (bug#12619).
116
117 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * progmodes/compile.el (compilation-start): Try to handle common
120 quoting of `cd' argument (bug#12640).
121
122 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
123 (bug#12671).
124
125 2012-10-23 Glenn Morris <rgm@gnu.org>
126
127 * progmodes/gud.el (gud-menu-map):
128 Check gdb-active-process is bound. (Bug#12358)
129
130 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * repeat.el (repeat): Set real-this-command (bug#12232).
133
134 * htmlfontify.el (hfy-post-html-hook):
135 * filesets.el (filesets-cache-fill-content-hook):
136 * arc-mode.el (archive-extract-hook):
137 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
138 * net/rcirc.el (rcirc-sentinel-functions)
139 (rcirc-receive-message-functions, rcirc-activity-functions)
140 (rcirc-print-functions):
141 * net/dbus.el (dbus-event-error-functions):
142 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
143 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
144 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
145 * term/sun.el (sun-raw-prefix-hooks):
146 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
147
148 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
149
150 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
151 Set `tramp-chunksize' to 1. This improves the performance.
152 (tramp-smb-wait-for-output): Add timeout to
153 `tramp-accept-process-output' calls.
154
155 2012-10-23 Chong Yidong <cyd@gnu.org>
156
157 * faces.el (font-list-limit): Define as an obsolete variable.
158
159 * startup.el (command-line):
160 * cus-start.el: Don't refer to font-list-limit.
161
162 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
163
164 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * subr.el (internal-temp-output-buffer-show): Rename from
167 temp-output-buffer-show, since previously compiled files expect this name.
168
169 2012-10-23 Glenn Morris <rgm@gnu.org>
170
171 * image.el (image-type-from-file-name): If multiple types match,
172 return the first one that is supported. (Bug#9045)
173
174 2012-10-22 Glenn Morris <rgm@gnu.org>
175
176 * image.el (imagemagick-enabled-types): Doc fix.
177
178 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
179
180 * progmodes/which-func.el (which-func-current): The hash-table may have
181 an explicit nil (bug#12338).
182
183 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * electric.el (electric-pair-delete-selection-self-insert-function):
186 Rename to electric-pair-will-use-region, return a boolean.
187 (electric-pair-mode): Adjust accordingly. Don't require delsel.
188
189 * delsel.el (delete-selection-helper): Use a function instead of a hook.
190 (delete-selection-pre-hook): Use use-region-p.
191 (delete-selection-self-insert-function): Remove.
192 (self-insert-command): Obey self-insert-uses-region-functions.
193 (self-insert-iso): Revert to previous setting, since we don't actually
194 know what that command does.
195 (delete-selection-self-insert-hooks): Remove.
196
197 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
198
199 * delsel.el (delete-selection-helper): New function, extracted from
200 delete-selection-pre-hook.
201 (delete-selection-pre-hook): Use it.
202 (delete-selection-self-insert-function): New function.
203 (delete-selection-self-insert-hooks): New hook.
204 (self-insert-command, self-insert-iso): Use it.
205 * electric.el (electric-pair-syntax): New function, extracted from
206 electric-pair-post-self-insert-function.
207 (electric-pair-post-self-insert-function): Use it.
208 (electric-pair-delete-selection-self-insert-function): New function.
209 (electric-pair-mode): Require delsel and setup
210 delete-selection-self-insert-hooks (bug#11520).
211
212 2012-10-20 Chong Yidong <cyd@gnu.org>
213
214 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
215 no changes to show (Bug#12586).
216
217 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
218 list explicitly (Bug#12571).
219
220 2012-10-20 Arne Jørgensen <arne@arnested.dk>
221
222 * progmodes/flymake.el (flymake-create-temp-inplace):
223 Use file-truename.
224
225 2012-10-20 Eli Zaretskii <eliz@gnu.org>
226
227 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
228
229 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
230
231 * calc/calc-units.el (math-extract-units): Properly extract powers
232 of units.
233
234 2012-10-20 Daniel Colascione <dancol@dancol.org>
235
236 * frame.el (make-frame): Set x-display-name as we used to in order
237 to unbreak creating an X11 frame from an Emacs daemon started
238 without a display.
239
240 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
241
242 * minibuffer.el (minibuffer-force-complete): Make the next completion use
243 the same completion-field (bug@12221).
244
245 2012-10-19 Martin Rudalics <rudalics@gmx.at>
246
247 * emacs-lisp/debug.el (debug): Record height of debugger window
248 also when debugger will be back (Bug#8789).
249
250 2012-10-18 Chong Yidong <cyd@gnu.org>
251
252 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
253 Convert to defcustom.
254 (gdb-get-source-file): Don't bind pop-up-windows.
255
256 * progmodes/gud.el (gud-display-line): Don't specially re-use
257 other frames for the gdb-mi case (Bug#12648).
258
259 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
260
261 * emacs-lisp/advice.el: Clean up commentary a bit.
262 (ad-do-advised-functions, ad-with-originals): Use `declare'.
263 (byte-code-function-p): Never redefine.
264
265 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
266
267 2012-10-18 Glenn Morris <rgm@gnu.org>
268
269 * dired.el (dired-sort-toggle): Some ls implementations only allow
270 a single option string. (Bug#12666)
271
272 * minibuffer.el (completion-cycle-threshold): Doc fix.
273
274 2012-10-17 Kenichi Handa <handa@gnu.org>
275
276 * international/mule.el (set-keyboard-coding-system):
277 Recover input meta mode when the new coding system doesn not use 8-bit.
278 Supply TERMINAL arg to set-input-meta-mode.
279
280 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
281
282 * wdired.el (wdired-old-marks): New variable.
283 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
284 (wdired-do-renames): Move point with renamed file and don't lose
285 mark status (Bug#11795).
286
287 2012-10-16 Juri Linkov <juri@jurta.org>
288
289 * replace.el (query-replace-help): Mention multi-buffer replacement
290 keys in the Help message. (Bug#12655)
291
292 2012-10-15 Chong Yidong <cyd@gnu.org>
293
294 * emacs-lisp/byte-run.el (defsubst): Doc fix.
295
296 2012-10-14 Eli Zaretskii <eliz@gnu.org>
297
298 * window.el (display-buffer): Doc fix.
299
300 * progmodes/compile.el (compilation-error-regexp-alist-alist):
301 Adjust the msft regexp to the output of Studio 2010, and move msft
302 before edg-1. See the discussion on emacs-devel,
303 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
304 for the details.
305
306 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
307
308 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
309 (oset): Move uses of object-class-fast macro after its definition.
310
311 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
312
313 2012-10-13 Chong Yidong <cyd@gnu.org>
314
315 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
316 enabled, re-enable it (Bug#11963).
317
318 2012-10-13 Martin Rudalics <rudalics@gmx.at>
319
320 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
321 non-nil, restore window configuration (Bug#12623).
322
323 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
324
325 * help-fns.el (describe-variable, describe-function-1):
326 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
327
328 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
329
330 2012-10-12 Glenn Morris <rgm@gnu.org>
331
332 * mail/rmailsum.el (rmail-header-summary):
333 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
334
335 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
336
337 * progmodes/python.el (python-mode-map):
338 Replace subtitute-key-definition with proper command remapping.
339 (python-nav--up-list): Fix behavior for blocks on the same level.
340
341 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
344
345 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
346 changes to the format of load-history.
347
348 * international/mule-cmds.el (read-char-by-name): Move let-binding of
349 completion-ignore-case in case that var is buffer-local (bug#12615).
350
351 2012-10-11 Kenichi Handa <handa@gnu.org>
352
353 * international/eucjp-ms.el: Re-generated.
354
355 2012-10-10 Kenichi Handa <handa@gnu.org>
356
357 * select.el (xselect--encode-string): If a coding is specified for
358 selection, and that is compatible with COMPOUND_TEXT, use it.
359
360 2012-10-10 Martin Rudalics <rudalics@gmx.at>
361
362 * window.el (switch-to-buffer-preserve-window-point): New option.
363 (switch-to-buffer):
364 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
365
366 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
367
368 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
369 Don't document nil as a useful value (bug#12583).
370
371 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
372
373 * net/tramp.el (tramp-debug-message):
374 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
375 (with-tramp-progress-reporter): Rename from
376 `tramp-with-progress-reporter'.
377 (with-tramp-file-property, with-tramp-connection-property):
378 Move from tramp-cache.el, rename from `with-file-property' and
379 `with-connection-property', respectively.
380
381 * net/tramp-cache.el: Remove `with-file-property' and
382 `with-connection-property'.
383
384 * net/tramp.el:
385 * net/tramp-gvfs.el:
386 * net/tramp-sh.el:
387 * net/tramp-smb.el: Adapt callees.
388
389 * net/trampver.el: Update release number.
390
391 2012-10-09 Glenn Morris <rgm@gnu.org>
392
393 * w32-fns.el (set-message-beep):
394 * term/w32-win.el (set-message-beep): Update declarations.
395
396 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
397
398 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
399 (mode-line-widen, mode-line-input-method-map)
400 (mode-line-coding-system-map, mode-line-remote)
401 (mode-line-unbury-buffer, mode-line-bury-buffer)
402 (mode-line-next-buffer, mode-line-previous-buffer):
403 Replace save-selected-window+select-window => with-selected-window.
404
405 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
406 * progmodes/cc-vars.el (bq-process): Remove, unused.
407
408 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
409
410 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
411
412 Implemented `backward-up-list'-like navigation.
413 * progmodes/python.el (python-nav-up-list)
414 (python-nav-backward-up-list): New functions.
415 (python-mode-map): Define substitute key for backward-up-list to
416 python-nav-backward-up-list.
417
418 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
419
420 * progmodes/python.el (python-fill-paragraph): Rename from
421 python-fill-paragraph-function. Fixed fill-paragraph for
422 decorators (Bug#12605).
423
424 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
425
426 * progmodes/python.el (python-shell-output-filter): Handle extra
427 carriage return in OSX (Bug#12409).
428
429 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
430
431 Fix shell handling of unbalanced quotes and parens in output.
432 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
433 (python-syntax-propertize-function): Use it.
434 (python-shell-output-syntax-table): New var.
435 (inferior-python-mode): Prevent unbalanced parens/quotes from
436 previous output mess with current input context.
437
438 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
439
440 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
441 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
442
443 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
444
445 * ffap.el (ffap-replace-file-component): Support Tramp file name
446 syntax, not only ange-ftp's one.
447
448 2012-10-08 Glenn Morris <rgm@gnu.org>
449
450 * cus-start.el (message-log-max): Set :version.
451
452 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
453
454 2012-10-08 Martin Rudalics <rudalics@gmx.at>
455
456 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
457 the minibuffer window (Bug#10851).
458
459 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
460
461 Enhancements on forward-sexp movement.
462 * progmodes/python.el (python-nav-beginning-of-statement)
463 (python-nav-end-of-statement): Return point-marker.
464 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
465 (python-info-current-symbol)
466 (python-info-statement-starts-block-p): Rename from
467 python-info-beginning-of-block-p.
468 (python-info-statement-ends-block-p): Rename from
469 python-info-end-of-block-p.
470 (python-info-beginning-of-statement-p)
471 (python-info-end-of-statement-p)
472 (python-info-beginning-of-block-p, python-info-end-of-block-p):
473 New functions.
474
475 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
476
477 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
478 frame-selected-windows.
479
480 2012-10-08 Daniel Colascione <dancol@dancol.org>
481
482 * battery.el (battery-status-function): Check for
483 w32-battery-status itself, not system-time windows-nt.
484
485 * frame.el: Require cl-lib.
486 (display-format-alist): New variable mapping frame types to
487 functions that initialize them.
488 (window-system-for-display): New function: interprets
489 display-format-alist.
490 (make-frame-on-display): Remove existing display-selection logic
491 and just forward to make-frame, which will now DTRT.
492 (make-frame): Restructure to use window-system-for-display to
493 figure out how to create a frame on a given display.
494 (display-mouse-p): Look for frame-type w32, not a particular
495 system-type.
496
497 * loadup.el: Load w32 lisp code when we have the w32 feature.
498
499 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
500 system-type windows-nt.
501
502 * server.el (server-create-window-system-frame): Look for window
503 type.
504 (server-proces-filter): Only force a window system when windows-nt
505 _and_ w32. Explain why.
506
507 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
508 of window systems we configure for the mode.
509
510 * startup.el (command-line): Mark window system is initialized
511 after we've done it.
512
513 * common-win.el (x-select-text): Look for w32, not windows-nt.
514
515 * ns-win.el: Require cl-lib. Add ourselves to
516 display-format-alist.
517 (ns-initialize-window-system): Assert we're not initialized twice.
518
519 * w32-win.el: Enable lexical binding; require cl-lib; add
520 ourselves to display-format-alist.
521 (w32-handle-dropped-file): Convert incoming dropped files from
522 Windows paths to Cygwin ones before passing them on to the rest of
523 Emacs.
524 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
525 (w32-initialize-window-system): Assert we're not initialized twice.
526
527 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
528 (x-initialize-window-system): Assert we're not initialized twice.
529
530 * w32-common-fns.el: New File.
531 (w32-version, w32-using-nt, w32-get-clipboard-data)
532 (w32-set-clipboard-data, x-set-selection, x-get-selection)
533 (w32-charset-info-alist, x-last-selected, text)
534 (x-get-selection-value, x-selection-value): Move here.
535
536 * w32-fns.el: Require w32-common-fns.
537 (w32-version, w32-using-nt, w32-get-clipboard-data)
538 (w32-set-clipboard-data, x-set-selection, x-get-selection)
539 (w32-charset-info-alist, x-last-selected, text)
540 (x-get-selection-value, x-selection-value): Move to
541 w32-common-fns.
542
543 * w32-vars.el:
544 (w32-allow-system-shell, w32-system-shells): Define only in
545 non-cygwin case.
546
547 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
550 (read-passwd): Remove a few more potential sources of leaks.
551
552 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
553
554 * progmodes/python.el (inferior-python-mode)
555 (python-shell-make-comint): Fix initialization of local
556 variables copied from parent buffer.
557
558 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
559
560 * term/ns-win.el (ns-read-file-name): Update declaration to match
561 nsfns.m.
562 (ns-respond-to-change-font): Change fontsize separatly so we are sure
563 it is set when font is acted upon.
564
565 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
566
567 Enhancements to indentation.
568 * progmodes/python.el (python-indent-context): Give priority to
569 inside-string context. Make comments indentation markers.
570 (python-indent-region): Do not mess with strings, unless it's the
571 enclosing set of quotes.
572
573 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * window.el (internal--before-save-selected-window)
576 (internal--after-save-selected-window): New functions extracted from
577 save-selected-window. Make sure we return the `alist' we construct.
578 (save-selected-window): Use them.
579
580 * textmodes/tex-mode.el (tex-recenter-output-buffer):
581 Use with-selected-window.
582
583 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
584 forms that define macros (bug#12593).
585
586 2012-10-07 Kenichi Handa <handa@gnu.org>
587
588 * international/mule-conf.el (compound-text-with-extensions):
589 Add :mime-charset property as x-ctext.
590
591 2012-10-07 Stefan Merten <smerten@oekonux.de>
592
593 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
594 (rst-indent-literal-normal, rst-indent-literal-minimized)
595 (rst-indent-comment): Correct :version tag.
596 (rst-official-cvs-rev): Correct version string.
597
598 2012-10-07 Glenn Morris <rgm@gnu.org>
599
600 * mail/rmailmm.el (rmail-mime-process-multipart):
601 Do not confuse a multipart message with an epilogue
602 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
603
604 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
605
606 Fix shell output retrieval and comint-prompt-regexp init.
607 * progmodes/python.el (inferior-python-mode):
608 (python-shell-make-comint): Fix initialization of
609 comint-prompt-regexp from copied file local variables.
610 (python-shell-fetched-lines): Remove var.
611 (python-shell-output-filter-in-progress): Rename from
612 python-shell-fetch-lines-in-progress.
613 (python-shell-output-filter-buffer): Rename from
614 python-shell-fetch-lines-string.
615 (python-shell-fetch-lines-filter): Delete function.
616 (python-shell-output-filter): New function.
617 (python-shell-send-string-no-output): Use them.
618
619 2012-10-07 Glenn Morris <rgm@gnu.org>
620
621 * hi-lock.el (hi-lock-process-phrase):
622 Try to make it less fragile. (Bug#7161)
623
624 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
625
626 2012-10-06 Glenn Morris <rgm@gnu.org>
627
628 * ehelp.el (electric-help-mode): Use help-mode rather than
629 non-existent mode `help'.
630 (electric-help-map): Use button-buffer-map. (Bug#10917)
631
632 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
633 (reftex-create-bibtex-footer): Fix custom types.
634
635 * progmodes/sh-script.el (sh-indent-after-continuation):
636 Add explicit :group.
637
638 * textmodes/rst.el (rst-preferred-decorations)
639 (rst-shift-basic-offset): Clarify obsolescence versions.
640
641 * profiler.el (profiler): Add missing group :version tag.
642 * avoid.el (mouse-avoidance-banish-position):
643 * proced.el (proced-renice-command):
644 * calc/calc.el (calc-ensure-consistent-units):
645 * calendar/icalendar.el (icalendar-import-format-uid):
646 * net/tramp.el (tramp-save-ad-hoc-proxies):
647 * progmodes/bug-reference.el (bug-reference-bug-regexp):
648 * progmodes/flymake.el (flymake-error-bitmap)
649 (flymake-warning-bitmap, flymake-fringe-indicator-position):
650 * progmodes/sh-script.el (sh-indent-after-continuation):
651 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
652 (verilog-before-save-font-hook, verilog-after-save-font-hook):
653 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
654 (vhdl-array-index-record-field-in-sensitivity-list)
655 (vhdl-indent-comment-like-next-code-line):
656 * textmodes/reftex-vars.el (reftex-ref-style-alist)
657 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
658 (reftex-cite-key-separator, reftex-create-bibtex-header)
659 (reftex-create-bibtex-footer):
660 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
661 (rst-indent-literal-normal, rst-indent-literal-minimized)
662 (rst-indent-comment): Add missing custom :version tags.
663
664 * calendar/timeclock.el (timeclock-modeline-display):
665 Add missing obsolete alias for renamed user option.
666
667 * strokes.el (strokes-modeline-string):
668 * emulation/crisp.el (crisp-mode-modeline-string):
669 * eshell/esh-mode.el (eshell-status-in-modeline):
670 Aliases to defcustoms must come before the defcustom.
671
672 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
673 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
674 (cal-tex-cursor-week-monday): Doc fixes.
675 (cal-tex-cursor-week2-summary): Doc fix.
676 Rename from cal-tex-cursor-week-at-a-glance.
677
678 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
679 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
680
681 * calendar/calendar.el (calendar-mode-map):
682 Add cal-tex-cursor-week2-summary.
683
684 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
687
688 * subr.el (read-passwd-map): New var.
689 (read-passwd): Use `read-string' again.
690 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
691
692 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
693
694 * register.el (append-to-register, prepend-to-register):
695 Deactivate mark, as does `copy-to-register' (bug#12389).
696
697 2012-10-06 Chong Yidong <cyd@gnu.org>
698
699 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
700
701 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
702
703 * international/characters.el: Fix simple mistake ((car chars) ->
704 elt), delete duplicated code.
705
706 2012-10-06 Glenn Morris <rgm@gnu.org>
707
708 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
709
710 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
711
712 * color.el (color-hsl-to-rgb): Fix incorrect results for
713 small and large hue values. (Bug#12559)
714
715 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
716
717 Enhancements to docstring formatting when filling paragraphs.
718 * progmodes/python.el (python-fill-docstring-style): Rename from
719 python-fill-string-style. Added new style.
720 (python-fill-string): Use new style. Better checks for
721 docstrings.
722
723 2012-10-05 Glenn Morris <rgm@gnu.org>
724
725 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
726
727 * color.el (color-name-to-rgb, color-rgb-to-hex)
728 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
729 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
730 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
731 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
732
733 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
734
735 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
736
737 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
738 to get the correct size across symlinks.
739
740 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
741
742 2012-10-04 Juri Linkov <juri@jurta.org>
743
744 * replace.el (query-replace-interactive): Declare obsolete.
745 (query-replace-read-from): Add the last incremental search string
746 to the list of default values accessible via M-n.
747 (map-query-replace-regexp): Use `read-regexp'.
748 (query-replace, query-replace-regexp, query-replace-regexp-eval)
749 (map-query-replace-regexp, replace-string, replace-regexp):
750 Fix docstrings to replace mentions of `query-replace-interactive'
751 with alternatives. (Bug#12526)
752
753 2012-10-04 Juri Linkov <juri@jurta.org>
754
755 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
756 (dired-pop-to-buffer): Declare obsolete.
757 (dired-mark-pop-up): Doc fix.
758
759 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
760
761 Allow user to set docstring style for fill-paragraph.
762 * progmodes/python.el
763 (python-fill-comment-function, python-fill-string-function)
764 (python-fill-decorator-function, python-fill-paren-function):
765 Remove :safe for defcustoms.
766 (python-fill-string-style): New defcustom
767 (python-fill-paragraph-function): Enhance context detection.
768 (python-fill-string): Honor python-fill-string-style settings.
769
770 2012-10-04 Martin Rudalics <rudalics@gmx.at>
771
772 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
773 after setting its buffer (Bug#10805).
774
775 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
776
777 Fix cornercase for string syntax.
778 * progmodes/python.el (python-syntax-propertize-function):
779 Simplify and enhance the regexp for unescaped quotes. Now it also
780 matches quotes in weird situations like the single quote in
781 "something\"'".
782 (python-syntax-stringify): Simplify num-quotes detecting code.
783
784 2012-10-03 Glenn Morris <rgm@gnu.org>
785
786 * help-macro.el (three-step-help):
787 Revert 2012-09-29 change. (Bug#12567)
788
789 2012-10-03 Martin Rudalics <rudalics@gmx.at>
790
791 * menu-bar.el (kill-this-buffer): Don't do anything when
792 `menu-frame' is not alive or visible (Bug#8184).
793
794 * emacs-lisp/debug.el (debug): When quitting the debugger window
795 restore current buffer (Bug#12502).
796
797 2012-10-02 Chong Yidong <cyd@gnu.org>
798
799 * progmodes/hideif.el (hif-lookup, hif-defined):
800 Handle semantic-c-takeover-hideif.
801
802 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
803
804 Change sampling interval units from ms to ns.
805 * profiler.el (profiler-sampling-interval): Change units
806 from ms to ns, multiplying the default by 1000000 so that
807 it remains 1 ms.
808 (profiler-report-cpu-line-format): Give enough room for
809 the maximum counters on 64-bit hosts.
810 (profiler-report-render-calltree-1): Call them "CPU samples",
811 not "Time (ms)", since they are not milliseconds now (and
812 never really were).
813
814 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
815
816 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
817 Fix querying BBDB for entries without a last name (Bug#11580).
818
819 2012-10-02 Chong Yidong <cyd@gnu.org>
820
821 * emacs-lisp/eieio.el: Restore Version header.
822
823 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * vc/diff-mode.el (diff--auto-refine-data): New var.
826 (diff-hunk): Use it to delay refinement.
827 (diff-mode): Remove overlays when we turn off font-lock.
828
829 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
830 (table-initialize-table-fixed-width-mode)
831 (table-set-table-fixed-width-mode): Remove functions.
832 (table-command-list): Move initialization into declaration.
833 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
834 (table-with-cache-buffer): Use `declare'.
835 (table-span-cell): Simplify via CSE.
836 (table-fixed-width-mode): Use define-minor-mode.
837 (table-call-interactively, table-funcall, table-apply): Remove.
838 (table-function): New function, to replace them.
839
840 * bookmark.el (bookmark-search-pattern): Remove var.
841 (bookmark-read-search-input): Remove function.
842 (bookmark-bmenu-search): Reimplement using a minibuffer.
843
844 * faces.el (modeline): Remove obsolete face name.
845
846 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
847 and give a non-nil default value.
848 (add-change-log-entry): Simplify accordingly.
849
850 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
851
852 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
853 (vc-git-log-edit-toggle-amend): New function.
854 (vc-git-log-edit-toggle-signoff): New function.
855 (vc-git-log-edit-mode): New major mode.
856 (vc-git-log-edit-mode-map): Keymap for it.
857 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
858
859 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
860 header names.
861 (log-edit-toggle-header): New function.
862 (log-edit-extract-headers): Accept function values in HEADERS alist.
863
864 2012-10-01 David Engster <deng@randomsample.de>
865
866 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
867 from symbol property and change message to be more consistent with
868 Emacs proper.
869 (eieio-describe-generic): Add filename for each implementation.
870 Fix indices for generic and normal methods.
871 (eieio-method-def, eieio-class-def): New buttons.
872 (eieio-help-find-method-definition)
873 (eieio-help-find-class-definition): New functions.
874 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
875 class, constructor and method definitions.
876
877 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
878 information in symbol property.
879 (scoped-class): Remove.
880 (eieio-slot-name-index, call-next-method): Check if it is bound.
881
882 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
883
884 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
885 (eieio-custom-mode): New major mode.
886 (eieio-customize-object): Use it.
887
888 2012-10-01 Eric Ludlam <zappo@gnu.org>
889
890 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
891 specifying the expected class, and whether subclassing is allowed.
892 (eieio-persistent-convert-list-to-object):
893 (eieio-persistent-validate/fix-slot-value)
894 (eieio-persistent-slot-type-is-class-p): New functions.
895 (eieio-named::slot-missing): Doc fix.
896
897 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
898 Stop using unused publd variable.
899
900 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
901 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
902 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
903 (eieio-speedbar-handle-click): Do not specify a class for the
904 method. Fixes method invocation order problems with EDE.
905
906 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
909 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
910
911 2012-10-01 Karl Fogel <kfogel@red-bean.com>
912
913 * bookmark.el (bookmark-version-control): Give tags in the
914 :type choices (Bug#12309), and improve doc string.
915 (bookmark-write-file): Bind `print-circle' to `t' to allow
916 circular custom bookmark types. (Bug#12503)
917
918 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
919
920 Revert the FOLLOW-SYMLINKS change for file-attributes.
921 * files.el (remote-file-name-inhibit-cache, after-find-file):
922 * time.el (display-time-file-nonempty-p): Undo last change.
923
924 * profiler.el (profiler-sampling-interval): Change default back to 1.
925 See Stefan Monnier in
926 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
927
928 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
929
930 Shell output catching a la gud-gdb.
931 * progmodes/python.el (python-shell-fetch-lines-in-progress)
932 (python-shell-fetch-lines-string, python-shell-fetched-lines):
933 New Vars.
934 (python-shell-fetch-lines-filter): New function.
935 (python-shell-send-string-no-output): Use them.
936
937 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
938
939 * profiler.el (profiler-sampling-interval): Rename from
940 profiler-sample-interval.
941 (profiler-sampling-interval): Default to 10.
942 (profiler-find-profile): New command (was profiler-find-log).
943 (profiler-find-profile-other-window): New command.
944 (profiler-find-profile-other-frame): New command.
945 (profiler-profile): Introduce API-level data structure.
946
947 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
948
949 file-attributes has a new optional arg FOLLOW-SYMLINKS.
950 * files.el (remote-file-name-inhibit-cache):
951 * time.el (display-time-file-nonempty-p): Use it.
952 * files.el (after-find-file): Don't chase links before calling
953 file-exists-p, as file-exists-p already does the right thing.
954
955 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
956
957 Merge from standalone RefTeX repository.
958
959 The following ChangeLog entries are shortened versions of the
960 original ones with file paths adapted. A not so strongly edited
961 version of the original ChangeLog can be found in the commit log.
962
963 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
964 (reftex-arg-cite): Use `reftex-cite-key-separator'.
965 Correctly handle new value type returned by `reftex-citation'.
966
967 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
968 that entries with whitespace at various places are found.
969 Doc fix. Include entries that are cross-referenced from cited entries.
970 Include @String definitions in the resulting bib file. Add header
971 and footer defined in `reftex-create-bibtex-header' and
972 `reftex-create-bibtex-footer'.
973 (reftex-do-citation): Make it possible again to insert
974 non-existent entries. Save match data when asking for optional
975 arguments. Return all keys, not just the first one.
976 (reftex-all-used-citation-keys): Fix regexp to correctly extract
977 all citations in the same line.
978 (reftex-parse-bibtex-entry): Accept additional optional argument
979 `raw' and keep quotes or braces if it is non-nil. Match fields
980 containing hyphens besides word constituents.
981 (reftex-get-string-refs): New function.
982 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
983 and ask if it should be reread in case it did.
984 (reftex-pop-to-bibtex-entry)
985 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
986 entries with spaces or tabs in front of arguments.
987 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
988 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
989 Match entries containing numbers and symbol constituents.
990 (reftex-do-citation, reftex-figure-out-cite-format):
991 Use `reftex-cite-key-separator'.
992
993 * textmodes/reftex-dcr.el: Move provide statement to end of file.
994 (reftex-mouse-view-crossref): Explain why point is set.
995
996 * textmodes/reftex-global.el: Whitespace changes.
997
998 * textmodes/reftex-index.el: Move provide statement to end of
999 file.
1000 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1001 (reftex-index-visit-phrases-buffer): Set marker when visiting
1002 buffer. This allows for returning from the phrases file to the
1003 file one was just editing instead of the file where the last
1004 phrases was added from.
1005 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1006 punctuation syntax as it usually is not used as string quote in
1007 TeX-related modes and may occur unmatched. The change also
1008 prevents fontification of quoted content.
1009 (reftex-index-phrases-mode): Use it.
1010
1011 * textmodes/reftex-parse.el (reftex-parse-from-file):
1012 Move backward one char if a `\' was matched after a section macro.
1013 (reftex-parse-from-file): Use beginning of match instead of end as
1014 bound.
1015
1016 * textmodes/reftex-ref.el: Adapt creation of
1017 `reftex-<package>-<macro>' functions to new structure of
1018 `reftex-ref-style-alist'.
1019 (reftex-reference): Use `reftex-ref-style-list' function.
1020 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
1021 reference macro if `reftex-ref-macro-prompt' is non-nil.
1022 (reftex-reference): Pass refstyle to `reftex-format-special'.
1023 Determine reference macro by looking at
1024 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1025 Use only one special format function.
1026 (reftex-varioref-vref, reftex-fancyref-fref)
1027 (reftex-fancyref-Fref): Remove definitions. The functions are now
1028 generated from `reftex-ref-style-alist'.
1029 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1030 Remove.
1031 (reftex-format-special): New function.
1032
1033 * textmodes/reftex-sel.el
1034 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1035 of `reftex-ref-style-alist'. Remove code for testing macro type.
1036 (reftex-select-toggle-varioref)
1037 (reftex-select-toggle-fancyref): Remove.
1038 (reftex-select-cycle-ref-style-internal)
1039 (reftex-select-cycle-ref-style-forward)
1040 (reftex-select-cycle-ref-style-backward): New functions.
1041 (reftex-select-label-map): Use `v' and `V' for general cycling
1042 through reference styles. Add `p' for switching between number
1043 and page reference types.
1044
1045 * textmodes/reftex-toc.el (reftex-re-enlarge):
1046 Call `enlarge-window' only if there is something to do because in Emacs
1047 the horizontal version throws an error even if the parameter is 0.
1048
1049 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1050 (reftex-plug-into-AUCTeX): Doc fix.
1051 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1052 string. Adapt to new name.
1053 (reftex-ref-style-alist): Change structure so that it is not
1054 possible to use multiple different package names within a style.
1055 Remove the symbols for symbols for macro type distinction.
1056 Add characters for macro selection.
1057 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1058 (reftex-create-bibtex-footer): New variables.
1059 (reftex-format-ref-function): Mention third argument of special
1060 format function.
1061 (reftex-ref-style-alist, reftex-ref-style-default-list):
1062 New variables.
1063 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1064 to new implementation. Mark as obsolete. Add compatibility code
1065 for honoring the variable values in case they are set.
1066 (reftex-cite-format-builtin, reftex-bibliography-commands):
1067 Add support for ConTeXt.
1068 (reftex-format-ref-function, reftex-format-cite-function):
1069 Fix custom type.
1070 (reftex-cite-key-separator): New variable.
1071
1072 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1073 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1074 `reftex-syntax-table' because parens have to retain their paren
1075 syntax in order for parsing of BibTeX entries like @book(...) to
1076 work.
1077 (reftex-in-comment): Do not error out if `comment-start-skip' is
1078 not set. Deal correctly with escaped comment characters.
1079 (reftex-tie-multifile-symbols): Add doc string.
1080 Initialize `reftex-ref-style-list'.
1081 (reftex-untie-multifile-symbols): Add doc string.
1082 (reftex-add-index-macros): Doc fix.
1083 (reftex-ref-style-activate, reftex-ref-style-toggle)
1084 (reftex-ref-style-list): New functions.
1085 (reftex-mode-menu): Use them. Adapt to new structure of
1086 `reftex-ref-style-alist'.
1087 (reftex-select-with-char): Kill the RefTeX Select buffer when
1088 done.
1089 (reftex-remove-if): New function.
1090 (reftex-erase-all-selection-and-index-buffers)
1091 (reftex-mode-menu): Reference styles are now computed from
1092 `reftex-ref-style-alist'. Fix typo.
1093 (reftex-report-bug): New function.
1094 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1095 algorithms with O(n log n). Introduce optional argument SORT (not
1096 yet used).
1097
1098 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1099
1100 Enhancements for triple-quote string syntax.
1101 * progmodes/python.el (python-syntax-propertize-function):
1102 Match both quote cases in one regexp.
1103 (python-syntax-stringify): Handle matches properly.
1104
1105 2012-09-30 Juri Linkov <juri@jurta.org>
1106
1107 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1108 to nil around the call to `insert' to prevent
1109 directory time modification by lock_file. (Bug#2295)
1110 * tar-mode.el (tar-summarize-buffer): Idem.
1111
1112 2012-09-30 Juri Linkov <juri@jurta.org>
1113
1114 * facemenu.el (list-colors-sort): Add option "Luminance".
1115 (list-colors-sort-key): Implement it.
1116
1117 * vc/diff-mode.el (diff-refine-removed):
1118 * vc/ediff-init.el (ediff-fine-diff-A):
1119 * vc/smerge-mode.el (smerge-refined-removed):
1120 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1121
1122 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1123
1124 * term/ns-win.el (x-file-dialog): New function.
1125
1126 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
1127
1128 * ido.el (ido-max-directory-size): Default to nil; the current
1129 default is small for POSIX systems, and impractical on Windows 7
1130 now that lstat returns directory sizes for NTFS.
1131
1132 2012-09-30 Martin Rudalics <rudalics@gmx.at>
1133
1134 In buffer display functions handle window-height/window-width
1135 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
1136 * window.el (window--display-buffer): New argument ALIST.
1137 Obey window-height and window-width alist entries.
1138 (window--try-to-split-window): New argument ALIST.
1139 Bind window-combination-limit to t when the window's size shall be
1140 changed and window-combination-limit equals `window-size'.
1141 (display-buffer-in-atom-window)
1142 (display-buffer-in-major-side-window)
1143 (display-buffer-in-side-window, display-buffer-same-window)
1144 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1145 (display-buffer-pop-up-window, display-buffer-below-selected)
1146 (display-buffer-at-bottom, display-buffer-in-previous-window)
1147 (display-buffer-use-some-window): Adjust all callers of
1148 window--display-buffer and window--try-to-split-window.
1149 (fit-frame-to-buffer): New option.
1150 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1151 is non-nil.
1152 (display-buffer-in-major-side-window): Evaluate window-height /
1153 window-width alist entries.
1154
1155 * help.el (temp-buffer-resize-frames)
1156 (temp-buffer-resize-regexps): Remove options.
1157 (temp-buffer-resize-mode): Adjust doc-string.
1158 (resize-temp-buffer-window): Don't consult
1159 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1160 temp-buffer-resize-frames.
1161
1162 * dired.el (dired-mark-pop-up):
1163 Call display-buffer-below-selected with a fit-window-to-buffer alist
1164 entry.
1165
1166 2012-09-30 Chong Yidong <cyd@gnu.org>
1167
1168 * server.el (server-host): Document the security implications.
1169 (server-auth-key): Doc fix.
1170
1171 * startup.el (initial-buffer-choice): Doc fix.
1172
1173 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1174
1175 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1176 restriction change.
1177
1178 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1179
1180 * help-fns.el (help-fns--obsolete): Fix last change.
1181
1182 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1185 (minor-mode-map-alist): Remove redundant code.
1186
1187 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1188 visited in a buffer.
1189 (cvs-insert-visited-file): New function.
1190 (find-file-hook): Use it.
1191
1192 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1193
1194 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1195 chose face.
1196 (log-edit-empty-buffer-p): Don't require a space after a header.
1197
1198 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1199
1200 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1201
1202 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1203 a proper minor-mode.
1204
1205 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1206
1207 2012-09-29 Glenn Morris <rgm@gnu.org>
1208
1209 * winner.el (winner-mode): Remove variable (let define-minor-mode
1210 handle it).
1211 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1212 Doc fixes.
1213 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1214 (winner-mode): Use define-minor-mode.
1215
1216 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1217 the full definition in loaddefs, rather than duplicating it.
1218
1219 * help-macro.el (three-step-help): No need to autoload defcustom.
1220
1221 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1222 (inferior-lisp-program, inferior-lisp-load-command)
1223 (inferior-lisp-prompt, inferior-lisp-mode-hook):
1224 No need to autoload defcustoms.
1225
1226 * hippie-exp.el (hippie-expand-try-functions-list)
1227 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1228 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1229 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1230 (hippie-expand-only-buffers): No need to autoload defcustoms.
1231 * progmodes/vhdl-mode.el (vhdl-line-expand):
1232 Explicitly load hippie-exp, so it does not get autoloaded
1233 while hippie-expand-try-functions-list is let-bound.
1234
1235 2012-09-28 Glenn Morris <rgm@gnu.org>
1236
1237 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1238
1239 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1240 Only "cl.el" counts as cl these days.
1241
1242 2012-09-28 Juri Linkov <juri@jurta.org>
1243
1244 Display archive errors in the echo area instead of inserting
1245 to the file buffer.
1246
1247 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1248 to STDERR-TEST that can be a regexp matching a successful output.
1249 Create a temporary file and redirect stderr to it. Search for
1250 STDERR-TEST in the stderr output and display it in the echo area
1251 if no match is found.
1252 (archive-extract-by-file): New function like
1253 `archive-extract-by-stdout' but extracting archives to files
1254 and looking for successful matches in stdout. Function body is
1255 mostly copied from `archive-rar-extract'.
1256 (archive-rar-extract): Use `archive-extract-by-file'.
1257 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1258
1259 2012-09-28 Leo Liu <sdl.web@gmail.com>
1260
1261 * pcomplete.el (pcomplete-show-completions):
1262 Use minibuffer-message to make pcomplete usable in minibuffer.
1263
1264 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1265
1266 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * type-break.el: Use lexical-binding.
1269 (type-break-mode): Use define-minor-mode.
1270
1271 * emacs-lisp/pcase.el (pcase--mark-used): New.
1272 (pcase--u1): Use it (bug#12512).
1273
1274 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1275 in load-history with the right file name.
1276
1277 2012-09-28 Tassilo Horn <tsdh@gnu.org>
1278
1279 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1280 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1281 (doc-view-get-bounding-box): Make bounding box slicing work for
1282 ODF and DVI documents.
1283
1284 2012-09-28 Glenn Morris <rgm@gnu.org>
1285
1286 * type-break.el (type-break-mode, type-break-interval)
1287 (type-break-good-rest-interval, type-break-keystroke-threshold):
1288 No need to autoload.
1289 (type-break-good-rest-interval, type-break-keystroke-threshold):
1290 Add :set-after.
1291
1292 2012-09-28 Chong Yidong <cyd@gnu.org>
1293
1294 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1295 Add :version tag.
1296
1297 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1300
1301 2012-09-27 Glenn Morris <rgm@gnu.org>
1302
1303 * faces.el (x-display-name): Declare (for without-x builds).
1304
1305 * linum.el (linum-format): Don't autoload it. Improve :type.
1306
1307 * progmodes/tcl.el: Don't require outline when compiling.
1308 (outline-regexp, outline-level): Declare.
1309 * textmodes/sgml-mode.el: Don't require outline when compiling.
1310 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1311
1312 * term.el (term-ansi-reset):
1313 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1314
1315 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1316 files for RCS and SCCS. (Bug#9781)
1317
1318 2012-09-27 Chong Yidong <cyd@gnu.org>
1319
1320 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1321 change; value should be t.
1322
1323 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1324
1325 * image-mode.el: Use lexical-binding.
1326 (image-mode-winprops): Use t to stand for the window of
1327 a buffer that's not displayed.
1328 * doc-view.el (doc-view-new-window-function): Handle the new
1329 t in winprops.
1330 (doc-view-enlarge): Make it a real nop if the size is not changed.
1331 (doc-view-display): Handle the case where the buffer is not (yet?)
1332 displayed in any window.
1333 (doc-view-saved-settings): New var.
1334 (doc-view-mode): Use it.
1335 (doc-view-fallback-mode): Set it.
1336
1337 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1338 Set lexical-binding.
1339 (minibuffer-eldef-shorten-default): New var.
1340 (minibuffer-default-in-prompt-regexps): Use it for new default.
1341 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1342
1343 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1344
1345 * international/uni-bidi.el:
1346 * international/uni-category.el:
1347 * international/uni-name.el:
1348 * international/uni-numeric.el: Regenerate.
1349
1350 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1351 Stefan Monnier <monnier@iro.umontreal.ca>
1352
1353 * profiler.el: New file.
1354
1355 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1356
1357 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1358 (testcover-reinstrument): Simplify with CSE.
1359
1360 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
1361
1362 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1363
1364 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1365
1366 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1367 (verilog-auto-input, verilog-auto-insert-lisp)
1368 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1369 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1370 (verilog-auto-unused, verilog-auto-wire)
1371 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1372 newline. Reported by Andrew Jones.
1373 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1374 Reported by Brad Dobbie.
1375 (verilog-batch-delete-trailing-whitespace):
1376 Create verilog-batch-delete-trailing-whitespace.
1377 Reported by Brad Dobbie.
1378 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1379 parameters from another module. Reported by Dan Katz.
1380 (verilog-auto, verilog-auto-assign-modport)
1381 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1382 AUTOINOUTMODPORT for UVM interface module shell generation.
1383 Reported by Brad Dobbie.
1384 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1385 standard behavior.
1386 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1387 Reported by Matt Martin.
1388
1389 2012-09-25 Martin Rudalics <rudalics@gmx.at>
1390
1391 * window.el (window--resize-child-windows): When resizing child
1392 windows proportionally, process them in reverse order to
1393 preserve the "when splitting a window the new one gets the odd
1394 line" behavior.
1395 (window--resize-root-window-vertically): When resizing the
1396 minibuffer window try to affect only windows at the bottom of the
1397 frame. (Bug#12419)
1398
1399 2012-09-25 Chong Yidong <cyd@gnu.org>
1400
1401 * subr.el (declare): Doc fix.
1402
1403 * help-fns.el (help-fns--obsolete): Handle macros properly.
1404
1405 2012-09-25 Chong Yidong <cyd@gnu.org>
1406
1407 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1408 this function obsolete.
1409
1410 * calendar/cal-x.el (calendar-two-frame-setup)
1411 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1412 * calendar/calendar.el (american-calendar, european-calendar)
1413 (calendar-for-loop):
1414 * comint.el (comint-dynamic-simple-complete)
1415 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1416 * desktop.el (desktop-load-default):
1417 * dired-x.el (dired-omit-here-always)
1418 (dired-hack-local-variables, dired-default-directory):
1419 * emacs-lisp/derived.el (derived-mode-class):
1420 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1421 * emacs-lock.el (toggle-emacs-lock):
1422 * epa.el (epa-display-verify-result):
1423 * epg.el (epg-sign-keys, epg-start-sign-keys)
1424 (epg-passphrase-callback-function):
1425 * eshell/esh-util.el (eshell-for):
1426 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1427 (eshell-add-to-window-buffer-names):
1428 * files.el (locate-file-completion):
1429 * imenu.el (imenu-example--create-c-index)
1430 (imenu-example--create-lisp-index)
1431 (imenu-example--lisp-extract-index-name)
1432 (imenu-example--name-and-position):
1433 * international/mule-cmds.el (princ-list):
1434 * international/mule-diag.el (decode-codepage-char):
1435 * international/mule-util.el (detect-coding-with-priority):
1436 * iswitchb.el (iswitchb-read-buffer):
1437 * mail/mailalias.el (mail-complete):
1438 * mail/sendmail.el (mail-sent-via):
1439 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1440 (mouse-major-mode-menu):
1441 * password-cache.el (password-read-and-add):
1442 * pcomplete.el (pcomplete-parse-comint-arguments):
1443 * progmodes/sh-script.el (sh-maybe-here-document):
1444 * replace.el (query-replace-regexp-eval):
1445 * savehist.el (savehist-load):
1446 * simple.el (choose-completion-delete-max-match):
1447 * term.el (term-dynamic-simple-complete):
1448 * vc/ediff-init.el (ediff-check-version):
1449 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1450 * vc/vc.el (vc-diff-switches-list):
1451 * view.el (view-return-to-alist-update): Likewise.
1452
1453 * subr.el (eval-next-after-load, makehash, insert-string)
1454 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1455 mark obsolete.
1456 (mode-line-inverse-video): Variable deleted.
1457
1458 * international/mule-util.el (string-to-sequence): Remove.
1459
1460 * calendar/calendar.el (calendar-version):
1461 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1462 (icalendar-convert-diary-to-ical):
1463 * cus-edit.el (custom-mode):
1464 * ansi-color.el (ansi-color-unfontify-region):
1465 * international/latin1-disp.el (latin1-char-displayable-p):
1466 * progmodes/cwarn.el (turn-on-cwarn-mode):
1467 * progmodes/which-func.el (which-func-update-1):
1468 Use define-obsolete-function-alias.
1469
1470 * net/newst-backend.el (newsticker-cache-filename):
1471 * net/newst-treeview.el (newsticker-groups-filename):
1472 Fix incorrect obsolescence declaration.
1473
1474 * allout.el (allout-passphrase-hint-string): Likewise.
1475 (allout-init): Use a declare form to mark obsolete.
1476
1477 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1478 this applies to functions.
1479
1480 * iswitchb.el (iswitchb-read-buffer): Move code of
1481 iswitchb-define-mode-map here, and delete that obsolete function.
1482
1483 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1484 font-lock-reference-face.
1485
1486 2012-09-25 Glenn Morris <rgm@gnu.org>
1487
1488 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1489 Doc fixes.
1490
1491 * eshell/em-term.el (eshell-term-name):
1492 Default to term-term-name. (Bug#12485)
1493
1494 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1495
1496 * progmodes/python.el (python-shell-send-buffer): Better handling
1497 of "if __name__ == '__main__':" conditionals when sending the buffer.
1498
1499 2012-09-24 Glenn Morris <rgm@gnu.org>
1500
1501 * eshell/esh-cmd.el (eshell-find-alias-function):
1502 Tighten up file-name regexp. (Bug#12499)
1503
1504 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1505
1506 Enhancements for triple-quote string syntax.
1507 * progmodes/python.el (python-quote-syntax): Remove.
1508 (python-syntax-propertize-function): New value.
1509 (python-syntax-count-quotes, python-syntax-stringify):
1510 New functions.
1511
1512 2012-09-24 Chong Yidong <cyd@gnu.org>
1513
1514 * mail/supercite.el (sc-version): Remove obsolete function.
1515 (sc-describe): Don't mark as obsolete, since it is bound.
1516 (sc-submit-bug-report): Remove.
1517
1518 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1519 (cvs-commit-buffer-require-final-newline): Remove.
1520 (log-edit-require-final-newline)
1521 (log-edit-changelog-full-paragraphs): Default to t.
1522
1523 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1524 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1525 * vc/vc.el (vc-checkout-carefully): Likewise.
1526
1527 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1528 (emerge-version): Remove.
1529
1530 * progmodes/compile.el (compile-internal): Remove.
1531 (compilation-parse-errors-function): Fix typo.
1532
1533 * international/mule.el (set-char-table-default): Remove.
1534 (set-coding-priority, make-coding-system, generic-char-p)
1535 (charset-list, charset-bytes, charset-id): Use declare to mark
1536 functions as obsolete.
1537
1538 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1539 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1540 * vc/vc-hooks.el (vc-default-registered): Don't use
1541 vc-master-templates.
1542
1543 * font-lock.el (font-lock-reference-face):
1544 Use define-obsolete-variable-alias.
1545
1546 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1547 * calendar/calendar.el (calendar-font-lock-keywords):
1548 * calendar/diary-lib.el (diary-font-lock-keywords)
1549 (diary-fancy-font-lock-keywords):
1550 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1551 * textmodes/reftex-index.el (reftex-insert-index):
1552 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1553 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1554 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1555 * progmodes/prolog.el (prolog-font-lock-keywords):
1556 * progmodes/idlwave.el (idlwave-idl-keywords):
1557 * progmodes/ada-mode.el (ada-font-lock-keywords):
1558 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1559
1560 2012-09-24 Glenn Morris <rgm@gnu.org>
1561
1562 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1563
1564 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1565
1566 * progmodes/python.el (python-indent-line): More consistent cursor
1567 movement behavior.
1568
1569 2012-09-23 Stefan Merten <smerten@oekonux.de>
1570
1571 * textmodes/rst.el: Fix compiler warning.
1572
1573 2012-09-23 Roland Winkler <winkler@gnu.org>
1574
1575 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1576 Transcribe also LaTeX hyphenation.
1577 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1578 bibtex-reformat-previous-options.
1579
1580 2012-09-23 Roland Winkler <winkler@gnu.org>
1581
1582 * proced.el (proced-renice-command): New variable.
1583 (proced-marked-processes): New function.
1584 (proced-with-processes-buffer): New macro.
1585 (proced-send-signal): Use them.
1586 (proced-renice): New command bound to r.
1587
1588 2012-09-23 Roland Winkler <winkler@gnu.org>
1589
1590 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1591 ibuffer-saved-filter-groups has one element, shortcut the call of
1592 completing-read. (Bug#12331)
1593
1594 2012-09-23 Chong Yidong <cyd@gnu.org>
1595
1596 * bindings.el (mode-line-toggle-read-only):
1597 * bs.el (bs-toggle-readonly):
1598 * buff-menu.el (Buffer-menu-toggle-read-only):
1599 * dired.el (dired-toggle-read-only):
1600 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1601
1602 2012-09-23 Chong Yidong <cyd@gnu.org>
1603
1604 * image.el (image-type-available-p): Adapt to init-image-library
1605 argument changes.
1606
1607 2012-09-22 Juri Linkov <juri@jurta.org>
1608
1609 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1610 `dired-toggle-read-only'. (Bug#12462)
1611
1612 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1613
1614 * subr.el (temp-output-buffer-show): New function.
1615 (with-output-to-temp-buffer): Call temp-output-buffer-show
1616 instead of internal-temp-output-buffer-show.
1617
1618 2012-09-22 Chong Yidong <cyd@gnu.org>
1619
1620 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1621 (Bug#12462).
1622
1623 * repeat.el (repeat): Doc fix (Bug#12348).
1624
1625 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1626 (Bug#10909).
1627
1628 * simple.el (shell-command-on-region): Doc fix.
1629 (read-only-mode): Doc fix.
1630
1631 2012-09-22 Eli Zaretskii <eliz@gnu.org>
1632
1633 * emacs-lisp/timer.el (run-with-idle-timer)
1634 (timer-activate-when-idle): Warn against reinvoking an idle timer
1635 from within its own timer action. (Bug#12447)
1636
1637 2012-09-22 Martin Rudalics <rudalics@gmx.at>
1638
1639 * cus-start.el (window-combination-limit): Add new optional
1640 values.
1641 * window.el (temp-buffer-window-show)
1642 (window--try-to-split-window): Handle new values of
1643 window-combination-limit (Bug#1806).
1644 (split-window): Test window-combination-limit for t instead of
1645 non-nil.
1646 (display-buffer-at-bottom): New buffer display action function.
1647 * help.el (temp-buffer-resize-regexps): New option.
1648 (temp-buffer-resize-mode): Rewrite doc-string.
1649 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1650 Don't resize reused window. Suggested by Glenn Morris.
1651
1652 2012-09-22 Stefan Merten <smerten@oekonux.de>
1653
1654 * textmodes/rst.el: Revamp section title faces.
1655 (rst-official-version)
1656 (rst-package-emacs-version-alist): Sync with official version
1657 V1.4.0.
1658 (rst-faces-defaults, rst-set-level-default)
1659 (rst-level-face-max, rst-level-face-base-color)
1660 (rst-level-face-base-light, rst-level-face-format-light)
1661 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1662 (rst-adornment-faces-alist): Match new setup.
1663 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1664 (rst-level-5, rst-level-6): New faces.
1665
1666 2012-09-22 Chong Yidong <cyd@gnu.org>
1667
1668 * simple.el (undo): Handle indirect buffers (Bug#8207).
1669
1670 2012-09-21 Leo Liu <sdl.web@gmail.com>
1671
1672 IDO: Disable match re-ordering for buffer switching.
1673 * ido.el (ido-buffer-disable-smart-matches): New variable.
1674 (ido-set-matches-1): Use it. (Bug#2042)
1675
1676 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
1677
1678 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1679 Fix 2011-05-17 change. (Bug#12418)
1680
1681 2012-09-21 Leo Liu <sdl.web@gmail.com>
1682
1683 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1684
1685 2012-09-21 Glenn Morris <rgm@gnu.org>
1686
1687 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1688 Be more robust about locating simple.el.
1689
1690 2012-09-21 Glenn Morris <rgm@gnu.org>
1691
1692 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1693
1694 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1695
1696 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1697
1698 2012-09-20 Juri Linkov <juri@jurta.org>
1699
1700 * replace.el (query-replace-read-from): Use `read-regexp' instead
1701 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1702 (occur-read-primary-args): Use `read-regexp' instead of
1703 `read-string'.
1704 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1705 `read-from-minibuffer'.
1706 * isearch.el (isearch-occur): Use `read-regexp' instead of
1707 `read-string'.
1708 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1709 `read-from-minibuffer'.
1710 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1711 of `read-string'. (Bug#7567)
1712
1713 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1714 and allow accepting a list of strings prepended to a list of
1715 standard default values. Doc fix. (Bug#12321)
1716
1717 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1718
1719 * replace.el (read-regexp): Don't add ": " when PROMPT already
1720 ends with a colon and space. (Bug#12321)
1721
1722 2012-09-20 Tassilo Horn <tsdh@gnu.org>
1723
1724 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1725 error.
1726
1727 2012-09-20 Stefan Merten <smerten@oekonux.de>
1728
1729 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1730 Fixes feature request bug#11711.
1731 (rst-mode): Create `imenu-create-index-function'.
1732 (rst-get-stripped-line): Delete after refactoring.
1733 (rst-section-tree, rst-section-tree-rec)
1734 (rst-section-tree-point): Refactor and document properly.
1735 (rst-imenu-find-adornments-for-position)
1736 (rst-imenu-convert-cell, rst-imenu-create-index):
1737 New function.
1738
1739 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1742 (macroexp--expand-all): Use it.
1743 (macroexp--funcall-and-return): Remove by folding it into its sole
1744 caller (macroexp--warn-and-return).
1745 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1746 Use macroexp--obsolete-warning.
1747
1748 * calc/calc.el: Fix last change by removing the whole chunk, since it
1749 was only needed back when Calc was not bundled.
1750
1751 2012-09-20 Martin Rudalics <rudalics@gmx.at>
1752
1753 * emacs-lisp/debug.el (debug): Restore assignment to
1754 debugger-old-buffer removed on 2012-09-08.
1755
1756 2012-09-20 Juri Linkov <juri@jurta.org>
1757
1758 * dired-aux.el (dired-diff): Remove (require 'diff) since
1759 `diff-latest-backup-file' is now autoloaded.
1760
1761 2012-09-20 Chong Yidong <cyd@gnu.org>
1762
1763 * vc/diff.el (diff-latest-backup-file): Autoload.
1764
1765 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * calc/calc.el: Remove redundant autoload shape check.
1768 (sel-mode): Don't defvar.
1769 (calc-get-stack-element): Add `sel-mode' arg instead.
1770 (calc-top, calc-top-list): Pass it this additional argument.
1771 * calc/calc-store.el (calc-store-map):
1772 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1773 (calc-map-equation, calc-outer-product, calc-inner-product):
1774 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1775
1776 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1777
1778 2012-09-19 Juri Linkov <juri@jurta.org>
1779
1780 * dired-aux.el (dired-diff): Add (require 'diff) because
1781 `diff-latest-backup-file' is not autoloaded.
1782 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1783 of `dired-get-filename' to t to not report error when there is
1784 no default file on the current line.
1785
1786 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1789 macroexp--eval-if-compile.
1790 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1791 (macroexp--expand-all): Use them (bug#12371).
1792
1793 * doc-view.el (doc-view-guess-paper-size)
1794 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1795
1796 2012-09-19 Tassilo Horn <tsdh@gnu.org>
1797
1798 New feature: set optimal slice from BoundingBox information.
1799 * doc-view.el (doc-view-mode-map): Add keybinding.
1800 (doc-view-menu): Add menu entry.
1801 (doc-view-set-slice): Adapt docstring.
1802 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1803 (doc-view-scale-bounding-box)
1804 (doc-view-set-slice-from-bounding-box): New functions.
1805 (doc-view-paper-sizes): New defvar.
1806
1807 2012-09-19 Glenn Morris <rgm@gnu.org>
1808
1809 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1810 (byte-compile-log-warning): Autoload. (Bug#12371)
1811
1812 * calendar/calendar.el (calendar-american-month-header)
1813 (calendar-european-month-header, calendar-iso-month-header)
1814 (calendar-month-header): New options.
1815 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1816 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1817
1818 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1819
1820 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1821
1822 2012-09-18 Juri Linkov <juri@jurta.org>
1823
1824 * dired-aux.el (dired-diff): Restore original functionality of
1825 getting the default value, but keep new feature of using the
1826 latest existing backup file (`diff-latest-backup-file').
1827
1828 2012-09-18 Juri Linkov <juri@jurta.org>
1829
1830 * dired.el (dired-mark): If the region is active in Transient Mark
1831 mode, mark all files in the active region. Doc fix.
1832 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1833 Doc fix. (Bug#10624)
1834
1835 2012-09-18 Juri Linkov <juri@jurta.org>
1836
1837 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1838 attributes for M-n are pulled from the file at point.
1839 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1840 Suggested by Drew Adams. (Bug#10624)
1841
1842 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1843
1844 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1845 whitespace after "end".
1846 (ruby-do-end-to-brace): Collapse block to one line if it fits
1847 within fill-column.
1848
1849 2012-09-18 Martin Rudalics <rudalics@gmx.at>
1850
1851 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1852 value.
1853 (debug): Don't remove debugger window when debugger is expected
1854 to be back.
1855
1856 2012-09-18 Chong Yidong <cyd@gnu.org>
1857
1858 * custom.el (defface): Doc fix.
1859
1860 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1861
1862 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1863
1864 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1865 to initialize query-on-exit; then test that instead (bug#12288).
1866
1867 2012-09-17 Stefan Merten <smerten@oekonux.de>
1868
1869 * textmodes/rst.el: Add support for `testcover'.
1870 (rst-defcustom-testcover, rst-testcover-add-compose)
1871 (rst-testcover-add-1value): New functions.
1872 (rst-portable-mark-active-p): Replace by `use-region-p'.
1873 (rst-update-section, rst-classify-adornment)
1874 (rst-find-title-line): Mark `1value' forms.
1875 (rst-classify-adornment): Remove superfluous form.
1876 (rst-update-section, rst-get-adornments-around)
1877 (rst-adornment-complete-p, rst-get-next-adornment)
1878 (rst-adjust, rst-promote-region)
1879 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1880 (rst-find-pfx-in-region, rst-section-tree-rec)
1881 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1882 (rst-toc-node, rst-toc, rst-forward-section)
1883 (rst-iterate-leftmost-paragraphs)
1884 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1885 (rst-bullet-list-region)
1886 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1887 (rst-compile-find-conf, rst-compile)
1888 (rst-repeat-last-character): Fix style.
1889
1890 2012-09-17 Chong Yidong <cyd@gnu.org>
1891
1892 * comint.el (comint--complete-file-name-data): Don't add a space
1893 if the status is `sole'; that adds a gratuitous space in the
1894 completion-cycling case (Bug#12092).
1895
1896 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1897
1898 2012-09-17 Richard Stallman <rms@gnu.org>
1899
1900 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1901 only in the mime-shown mode, not in raw mode.
1902 (rmail-mime): Toggle off mime by displaying the message without
1903 mime processing. (Bug#12305)
1904
1905 * mail/rmail.el (rmail-retry-failure):
1906 Turn off mime processing first. (Bug#12037)
1907
1908 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1909
1910 2012-09-17 Chong Yidong <cyd@gnu.org>
1911
1912 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1913 (shell-dynamic-complete-functions): Convert to defcustom.
1914 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1915
1916 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1917 * comint.el (comint-prompt-read-only):
1918 * custom.el (defcustom):
1919 * hi-lock.el (hi-lock-mode):
1920 * ibuffer.el (ibuffer-formats):
1921 * ielm.el (ielm-prompt-read-only):
1922 * novice.el (disable-command):
1923 * saveplace.el (toggle-save-place):
1924 * speedbar.el (speedbar-supported-extension-expressions):
1925 * startup.el (auto-save-list-file-prefix, init-file-user)
1926 (after-init-hook, inhibit-startup-echo-area-message):
1927 * strokes.el (strokes-help):
1928 * time-stamp.el (time-stamp):
1929 * calendar/calendar.el (calendar, diary-file):
1930 * calendar/diary-lib.el (diary-mail-entries, diary)
1931 (diary-list-entries-hook):
1932 * calendar/holidays.el (holidays, calendar-holidays):
1933 * calendar/lunar.el (lunar-phases):
1934 * calendar/solar.el (sunrise-sunset):
1935 * emulation/edt.el (edt-load-keys):
1936 * emulation/viper.el (viper-mode):
1937 * eshell/em-alias.el (eshell-command-aliases-list):
1938 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1939 * international/ogonek.el (ogonek-information):
1940 * net/tramp-cmds.el (tramp-bug):
1941 * net/quickurl.el (quickurl-reread-hook-postfix):
1942 * play/decipher.el (decipher-font-lock-keywords):
1943 * progmodes/cc-styles.el (c-set-style):
1944 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1945 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1946 * progmodes/octave-mod.el (octave-mode):
1947 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1948 * progmodes/verilog-mode.el (verilog-read-defines):
1949 * textmodes/two-column.el (2C-mode): Likewise.
1950
1951 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1952
1953 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1954 that holds many addresses.
1955
1956 2012-09-16 Chong Yidong <cyd@gnu.org>
1957
1958 * align.el (align-areas): Call the indication function with
1959 positions instead of markers for arguments (Bug#12343).
1960
1961 * files.el (parse-colon-path): Use split-string (Bug#12351).
1962
1963 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1964 (display-buffer-function): Mark as obsolete.
1965
1966 * progmodes/compile.el (compilation-parse-errors): Accept list
1967 values similar to font-lock-keywords (Bug#12136).
1968 Suggested by Oleksandr Manzyuk.
1969 (compilation-error-regexp-alist): Doc fix.
1970
1971 2012-09-15 Glenn Morris <rgm@gnu.org>
1972
1973 * version.el (emacs-bzr-version-bzr): New function.
1974 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1975
1976 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1977 checkouts, check the parent dirstate matches the branch.
1978 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1979 empty string.
1980
1981 * version.el (emacs-bzr-version): Doc fix.
1982 (emacs-bzr-version-dirstate): New function.
1983 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1984 is local try and check that it matches the branch. If not, just
1985 use dirstate information. (Bug#12441)
1986
1987 2012-09-14 Juri Linkov <juri@jurta.org>
1988
1989 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1990 (Bug#12399)
1991
1992 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1995
1996 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1997 Remove obsolete byte-compiler hack that tried to silence some warnings.
1998 (edebug-submit-bug-report): Remove.
1999 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2000 Remove aliases, use the un-prefixed name instead.
2001 (edebug-pop-to-buffer): Consider other frames.
2002 (edebug-original-read):: Make it more obvious that it's always defined.
2003 (edebug--make-form-data-entry, edebug--form-data-name)
2004 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2005 single-dashed name, and implement with cl-defstruct.
2006 (edebug-set-form-data-entry): Use the standard accessors.
2007 (edebug-make-top-form-data-entry): Use push.
2008 (edebug-no-match): Drop useless `funcall'.
2009 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2010 to functions.
2011 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2012 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2013 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2014 (easy-menu-define, with-custom-print): Remove redundant specs.
2015 (edebug-outside-overriding-local-map)
2016 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2017 (edebug--display): Bind unread-command-events directly to nil rather
2018 than binding it to unread-command-events and later setting it to nil.
2019 (edebug--display): Kill edebug-eval-buffer here...
2020 (edebug--recursive-edit): ...rather than here.
2021 Bind standard-output and standard-input.
2022 (edebug-eval): Check cl-macroexpand-all is fboundp.
2023 (edebug-temp-display-freq-count): Fix last change.
2024
2025 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2026 * subr.el (noreturn, 1value): Add `debug' spec.
2027 * emacs-lisp/advice.el: Require cl-lib.
2028 (ad-copy-tree): Remove, use copy-tree instead.
2029 (ad-dolist): Remove use dolist or cl-dolist instead.
2030 (ad-do-return): Remove, use cl-return instead.
2031 (defadvice): Add `debug' spec.
2032
2033 2012-09-13 Juri Linkov <juri@jurta.org>
2034
2035 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2036 (Bug#12399)
2037
2038 2012-09-13 Glenn Morris <rgm@gnu.org>
2039
2040 * calc/calc.el (math-compose-expr):
2041 * calc/calc-ext.el (math-compose-expr):
2042 * progmodes/cc-defs.el (cl-macroexpand-all):
2043 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2044 (cl-macroexpand-all): Update declarations.
2045
2046 * vc/vc.el: No need to require ediff.
2047 (ediff-load-version-control): Declare.
2048 (ediff-vc-internal): Fix declaration.
2049 (vc-version-ediff): Require ediff.
2050
2051 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2052
2053 Use a more backwards-compatible timer format (Bug#12430).
2054 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2055 being right after USECS, as that better supports old code that
2056 inadvisedly looked directly at the timer vector.
2057
2058 2012-09-13 Kenichi Handa <handa@gnu.org>
2059
2060 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2061 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2062 `coding-priority' property of these language environment.
2063
2064 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2065
2066 Fix glitches caused by addition of psec to timers (Bug#12430).
2067 * image.el (image-animate-timer):
2068 * time.el (display-time-world-timer):
2069 Use timer--function and timer--args rather than raw access to
2070 timer vector.
2071
2072 2012-09-13 Glenn Morris <rgm@gnu.org>
2073
2074 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2075 If not compiling a file, try using load-file-name.
2076
2077 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2078
2079 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2080 Fix last change.
2081 (edebug-update-eval-list): Use `push'.
2082
2083 * emacs-lisp/edebug.el: Use lexical-binding.
2084 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2085 Mark unused args with underscore.
2086 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2087 (edebug-form-data): Use defvar-local.
2088 (edebug-make-before-and-after-form, edebug-make-after-form):
2089 Use backquote.
2090 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2091 Not dynamically scoped any more.
2092 (edebug--enter-trace): Add arguments `function' and `args'.
2093 Rename from edebug-enter-trace.
2094 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2095 (edebug--update-coverage): Add `after-index' and `value' args.
2096 Rename from edebug-update-coverage.
2097 (edebug-slow-after): Call it accordingly.
2098 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2099 edebug-recursive-edit.
2100 (edebug--display): Call it accordingly. Add args `value',
2101 `offset-index', and `arg-mode'. Rename from edebug-display.
2102 (edebug-debugger, edebug): Call it accordingly.
2103 (edebug-eval-display-list): Use dolist.
2104
2105 2012-09-12 Juri Linkov <juri@jurta.org>
2106
2107 * info.el (Info-search): Don't check for isearch-mode and
2108 isearch-regexp before let-binding search-spaces-regexp to
2109 Info-search-whitespace-regexp.
2110 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2111 search-whitespace-regexp if isearch-lax-whitespace or
2112 isearch-regexp-lax-whitespace is non-nil.
2113 (Info-mode): Don't set local variable search-whitespace-regexp.
2114 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2115
2116 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2119 (debugger-env-macro): Remove support for unread-command-char.
2120
2121 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2122 the temporary map re-appearing on emulation-mode-map-alists.
2123
2124 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2125 since 22.1.
2126
2127 * ehelp.el (with-electric-help): Accept functions in
2128 electric-help-form-to-execute.
2129 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2130 And replace unread-command-char -> unread-command-events.
2131
2132 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
2133
2134 Sync with Tramp 2.2.6.
2135
2136 * net/tramp.el (tramp-accept-process-output): Don't use
2137 JUST-THIS-ONE in the XEmacs case.
2138
2139 * net/trampver.el: Update release number.
2140
2141 2012-09-12 Martin Rudalics <rudalics@gmx.at>
2142
2143 * emacs-lisp/debug.el (debugger-previous-window-height):
2144 New variable.
2145 (debug): When debugger-jumping-flag is non-nil try to restore
2146 height of debugger window. (Bug#8789)
2147
2148 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2151 overriding-local-map and pre/post-command-hook here.
2152 (edebug-recursive-edit): Do it here instead (bug#12345).
2153 (edebug-outside-unread-command-char): Remove all uses of
2154 unread-command-char.
2155
2156 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2157 inhibit-debugger is bound instead.
2158
2159 2012-09-11 Bastien Guerry <bzg@gnu.org>
2160
2161 * subr.el (set-temporary-overlay-map): Add a docstring.
2162 (Bug#12346)
2163
2164 2012-09-11 Bastien Guerry <bzg@gnu.org>
2165
2166 * minibuffer.el (completion-table-subvert): Fix docstring.
2167 (Bug#12347)
2168
2169 2012-09-11 Bastien Guerry <bzg@gnu.org>
2170
2171 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
2172
2173 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2174
2175 * progmodes/sql.el: Version 3.1
2176 (sql-db2-escape-newlines): New variable.
2177 (sql-escape-newlines-filter): Use it.
2178
2179 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
2180
2181 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2182
2183 2012-09-10 Dan Nicolaescu <dann@gnu.org>
2184
2185 * vc/diff-mode.el (diff-mode-menu):
2186 Bind diff-remove-trailing-whitespace.
2187
2188 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2191 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2192 (emacs-lisp-byte-code-mode): New functions.
2193 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2194 (eval-defun-2): Remove bogus interactive spec.
2195 (lisp-indent-line): Remove redundant whole-exp code, now done in
2196 indent-according-to-mode.
2197 (save-match-data): Remove redundant indent data.
2198
2199 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2200 Use `declare'.
2201
2202 2012-09-09 Juri Linkov <juri@jurta.org>
2203
2204 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2205 (replace-lax-whitespace, query-replace-regexp)
2206 (query-replace-regexp-eval, replace-regexp): Doc fix.
2207 (perform-replace, replace-highlight): Let-bind
2208 isearch-lax-whitespace to replace-lax-whitespace and
2209 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2210
2211 * isearch.el (isearch-query-replace): Let-bind
2212 replace-lax-whitespace to isearch-lax-whitespace and
2213 replace-regexp-lax-whitespace to
2214 isearch-regexp-lax-whitespace. (Bug#10885)
2215
2216 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2217
2218 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2219
2220 2012-09-09 Alan Mackenzie <acm@muc.de>
2221
2222 * progmodes/cc-engine.el (c-state-cache-init):
2223 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2224 (c-record-parse-state-state):
2225 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2226
2227 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2228
2229 * register.el (register-separator): Rename from
2230 separator-register. All uses changed. Doc fix.
2231 (register): Fix version.
2232
2233 2012-09-09 Chong Yidong <cyd@gnu.org>
2234
2235 * replace.el (query-replace-map): Bind four new symbols for
2236 requesting window scrolling.
2237
2238 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2239 query-replace-map (Bug#8948).
2240
2241 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2242
2243 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2244 since they are now in query-replace-map.
2245
2246 * window.el (scroll-other-window-down): Make the arg optional.
2247
2248 2012-09-09 Chong Yidong <cyd@gnu.org>
2249
2250 * files.el (hack-local-variables-confirm): Use quit-window to kill
2251 the *Local Variables* buffer.
2252
2253 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2254
2255 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2256 not just expect to be at its beginning. Adjust callees.
2257 Succeed when do-end block has no space before the pipe character.
2258 (ruby-brace-to-do-end): When the original block is one-liner,
2259 convert to multiline. Reindent the result.
2260
2261 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
2262
2263 * register.el (register): New group.
2264 (separator-register): New user option.
2265 (increment-register): Route it to `append-to-register', if
2266 register contains text. Implication is that `C-x r +' can now be
2267 used for appending to a text register (bug#12217).
2268 (append-to-register, prepend-to-register): Add separator based on
2269 `separator-register'.
2270
2271 2012-09-08 Alan Mackenzie <acm@muc.de>
2272
2273 AWK Mode: make auto-newline work when there's "==" in the pattern.
2274 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2275 correctly.
2276 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2277 Test more rigorously for "=" token.
2278
2279 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2280
2281 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2282 Only fail when reached LIMIT.
2283
2284 2012-09-08 Chong Yidong <cyd@gnu.org>
2285
2286 * dired.el (dired-mode-map): Don't bind M-=.
2287
2288 * dired-aux.el (dired-diff): Use backup file as default.
2289
2290 2012-09-08 Drew Adams <drew.adams@oracle.com>
2291
2292 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2293
2294 2012-09-08 Chong Yidong <cyd@gnu.org>
2295
2296 * subr.el (syntax-after, syntax-class): Doc fix.
2297
2298 2012-09-08 Martin Rudalics <rudalics@gmx.at>
2299
2300 * window.el (display-buffer-in-previous-window): New buffer
2301 display action function.
2302
2303 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2304 (debugger-previous-window): New variable.
2305 (debug): Rewrite using display-buffer-in-previous-window,
2306 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2307
2308 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2309
2310 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2311
2312 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2313
2314 * progmodes/python.el (python-shell-send-string):
2315 When default-directory is remote, create temp file on remote
2316 filesystem.
2317 (python-shell-send-file): When file is remote, pass local view of
2318 file paths to remote Python interpreter. (Bug#12340)
2319
2320 2012-09-07 Chong Yidong <cyd@gnu.org>
2321
2322 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2323
2324 * files.el (after-find-file): Don't fail on a read-only buffer if
2325 require-final-newline is `visit' or `visit-save' (Bug#11156).
2326
2327 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2328
2329 * userlock.el (ask-user-about-supersession-threat):
2330 Use read-char-choice (Bug#12093).
2331
2332 2012-09-07 Chong Yidong <cyd@gnu.org>
2333
2334 * subr.el (buffer-narrowed-p): New function.
2335
2336 * ses.el (ses-widen):
2337 * simple.el (count-words--buffer-message):
2338 * net/browse-url.el (browse-url-of-buffer): Use it.
2339
2340 * simple.el (count-words-region): Don't signal an error if there
2341 is a non-nil prefix arg and the mark is not set.
2342
2343 * help.el (describe-key-briefly): Allow the message to be seen
2344 when invoked from the minibuffer (Bug#7014).
2345
2346 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2347
2348 * progmodes/ruby-mode.el (ruby-end-of-defun)
2349 (ruby-beginning-of-defun): Simplify, allow indentation before
2350 block beginning and end keywords.
2351 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2352 (ruby-end-of-defun): Expect that the point is at the beginning of
2353 the defun.
2354
2355 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2356
2357 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2358 (bug#12367).
2359 (cl--make-usage-args): Strip _ from argument names.
2360
2361 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2362
2363 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2364 obsolete alias speedbar-key-map.
2365 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2366 (vhdl-index-menu-init): Don't use obsolete variable
2367 font-lock-maximum-size.
2368
2369 2012-09-06 Chong Yidong <cyd@gnu.org>
2370
2371 * frame.el (window-system-version): Mark as obsolete.
2372
2373 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2374 of obsolete variable speedbar-key-map.
2375
2376 2012-09-06 Juri Linkov <juri@jurta.org>
2377
2378 * replace.el (replace-lax-whitespace): New defcustom.
2379 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2380 (replace-string, replace-regexp): Mention it in docstrings.
2381 (perform-replace, replace-highlight): Let-bind
2382 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2383 to the values of replace-lax-whitespace and regexp-flag.
2384 Don't let-bind search-whitespace-regexp. (Bug#10885)
2385
2386 * isearch.el (isearch-query-replace): Let-bind
2387 replace-lax-whitespace instead of let-binding
2388 replace-search-function and replace-re-search-function.
2389 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2390 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2391 (isearch-toggle-symbol): Set isearch-regexp to nil
2392 in isearch-word mode (like in isearch-toggle-word).
2393
2394 2012-09-06 Juri Linkov <juri@jurta.org>
2395
2396 * replace.el (replace-search-function)
2397 (replace-re-search-function): Set default values to nil.
2398 (perform-replace): Let-bind isearch-related variables based on
2399 replace-related values, call `isearch-search-fun' and let-bind
2400 the result to `search-function'. Remove code that sets
2401 `search-function' and `search-string' separately for
2402 `delimited-flag'.
2403 (replace-highlight): Add new argument `delimited-flag' and
2404 rename other arguments to the names used in `perform-replace'.
2405 Let-bind `isearch-word' to the argument `delimited-flag'.
2406 (Bug#10885, bug#10887)
2407
2408 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2409
2410 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2411 ruby-beginning-of-indent, simplify, allow all keywords to have
2412 indentation before them.
2413 (ruby-beginning-of-indent): Adjust for above. Search until the
2414 found point is not inside a string or comment.
2415 (ruby-font-lock-keywords): Allow symbols to start with "@"
2416 character, give them higher priority than variables.
2417 (ruby-syntax-propertize-function)
2418 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2419 matchers. Expression expansions are not comments when inside a
2420 string, and there comment syntax status is irrelevant.
2421 (ruby-match-expression-expansion): New function. Check that
2422 expression expansion is inside a string, and it's not escaped.
2423 (ruby-font-lock-keywords): Use it.
2424
2425 2012-09-05 Martin Rudalics <rudalics@gmx.at>
2426
2427 * help.el (temp-buffer-max-height): New default value.
2428 (temp-buffer-resize-frames): New option.
2429 (resize-temp-buffer-window): Optionally resize frame.
2430
2431 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2432 (fit-frame-to-buffer): New function.
2433
2434 2012-09-05 Glenn Morris <rgm@gnu.org>
2435
2436 * emulation/cua-rect.el (cua--init-rectangles):
2437 * textmodes/picture.el (picture-mode-map):
2438 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2439 like forward-char and backward-char. (Bug#12317)
2440
2441 2012-09-05 Leo Liu <sdl.web@gmail.com>
2442
2443 * progmodes/flymake.el (flymake-warning-re): New variable.
2444 (flymake-parse-line): Use it.
2445
2446 2012-09-05 Glenn Morris <rgm@gnu.org>
2447
2448 * calendar/holidays.el (holiday-christian-holidays):
2449 Rename an entry. (Bug#12289)
2450
2451 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2452
2453 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2454 (bug#12222).
2455
2456 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2457
2458 * loadup.el: Load macroexp. Remove hack.
2459 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2460 (macroexp--expand-all): Use it to get better warnings.
2461 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2462 (internal-macroexpand-for-load): New functions.
2463 (macroexp--pending-eager-loads): New var.
2464 (emacs-startup-hook): New hack to replace one in loadup.el.
2465 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2466 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2467 (cl-psetf): Simplify.
2468 (cl-defstruct): Add indent rule.
2469
2470 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2471
2472 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2473 over `user-mail-address' for the SMTP MAIL FROM envelope.
2474 (smtpmail-via-smtp): Ditto.
2475
2476 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2477
2478 * progmodes/ruby-mode.el: Clean up keybindings.
2479 (ruby-mode-map): Don't bind ruby-electric-brace,
2480 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2481 backward-kill-word, reindent-then-newline-and-indent.
2482 (ruby-mark-defun): Remove.
2483 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2484 (ruby-mode): Set local beginning-of-defun-function and
2485 end-of-defun-function values.
2486
2487 2012-09-03 Martin Rudalics <rudalics@gmx.at>
2488
2489 * window.el (temp-buffer-window-setup-hook)
2490 (temp-buffer-window-show-hook): New hooks.
2491 (temp-buffer-window-setup, temp-buffer-window-show)
2492 (with-temp-buffer-window): New functions.
2493 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2494 (special-display-popup-frame): Make sure the window used shows BUFFER.
2495
2496 * help.el (temp-buffer-resize-mode): Fix doc-string.
2497 (resize-temp-buffer-window): New optional argument WINDOW.
2498
2499 * files.el (recover-file, save-buffers-kill-emacs):
2500 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2501
2502 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
2503
2504 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2505 remote definition of `default-directory', ensure we can connect.
2506
2507 2012-09-02 Juri Linkov <juri@jurta.org>
2508
2509 Toggle whitespace matching mode with M-s SPC.
2510 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2511
2512 * isearch.el (search-whitespace-regexp): Doc fix.
2513 Remove cons cell customization.
2514 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2515 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2516 New variables.
2517 (isearch-forward, isearch-forward-regexp): Doc fix.
2518 (isearch-toggle-lax-whitespace): New command.
2519 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2520 (re-search-forward-lax-whitespace)
2521 (re-search-backward-lax-whitespace): New functions.
2522 (isearch-whitespace-regexp): Remove function.
2523 (isearch-query-replace): Let-bind replace-search-function and
2524 replace-re-search-function.
2525 (isearch-occur): Let-bind search-spaces-regexp according to the
2526 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2527 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2528 condition for C-q SPC.
2529 (isearch-search-fun-default): Use new functions mentioned above.
2530 (isearch-search-forward, isearch-search-backward): Remove functions.
2531 (isearch-search): Don't let-bind search-spaces-regexp.
2532 (isearch-lazy-highlight-space-regexp): Remove variable.
2533 (isearch-lazy-highlight-lax-whitespace)
2534 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2535 (isearch-lazy-highlight-new-loop): Use them.
2536 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2537
2538 2012-09-02 Chong Yidong <cyd@gnu.org>
2539
2540 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2541
2542 2012-09-02 Glenn Morris <rgm@gnu.org>
2543
2544 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2545
2546 2012-09-01 Glenn Morris <rgm@gnu.org>
2547
2548 * term.el: Tidy up menu definitions.
2549 (term-mode-map): Use easymenu for In/Out, Complete menus.
2550 (term-pager-break-map): Initialize in the defvar.
2551 (term-terminal-menu, term-signals-menu): Define with easymenu.
2552 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2553 (term-pager-menu): New, extracted from term-process-pager.
2554 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2555 (term-update-mode-line): Propertize line/char and page items.
2556 (term-process-pager): Move keymap initialization elsewhere.
2557
2558 2012-09-01 Martin Rudalics <rudalics@gmx.at>
2559
2560 * window.el (switch-to-prev-buffer): Handle additional values of
2561 BURY-OR-KILL argument. Don't switch in minibuffer window.
2562 (switch-to-next-buffer): Don't switch in minibuffer window.
2563 (quit-restore-window): New function based on quit-window.
2564 Handle additional values of former KILL argument.
2565 (quit-window): Call quit-restore-window with appropriate
2566 interpretation of KILL argument.
2567 (display-buffer-below-selected): New buffer display action
2568 function.
2569
2570 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * minibuffer.el (completion-at-point-functions): Complete docstring
2573 (bug#12254).
2574
2575 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2576
2577 Better seed support for (random).
2578 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2579 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2580 * play/mpuz.el, play/tetris.el, play/zone.el:
2581 * calc/calc-comb.el (math-init-random-base):
2582 * play/blackbox.el (bb-init-board):
2583 * play/life.el (life):
2584 * server.el (server-use-tcp):
2585 * type-break.el (type-break):
2586 Remove unnecessary call to (random t).
2587 * net/sasl.el (sasl-unique-id-function):
2588 Change (random t) to (random), now that the latter is more random.
2589 * play/life.el (life-initialized): Remove no-longer-needed var.
2590
2591 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2592
2593 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2594 Consider frame's buffer predicate when choosing the buffer.
2595 (Bug#12081)
2596
2597 2012-08-30 Richard Stallman <rms@gnu.org>
2598
2599 * simple.el (special-mode-map): Delete binding for `z'.
2600
2601 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2602
2603 * progmodes/compile.el (compilation-always-kill): Doc fix.
2604
2605 2012-08-30 Chong Yidong <cyd@gnu.org>
2606
2607 * window.el (display-buffer-reuse-frames): Make the obsolescence
2608 message more informative.
2609
2610 2012-08-30 Glenn Morris <rgm@gnu.org>
2611
2612 * paren.el (show-paren-delay):
2613 Add a :set function. Doc fix. (Bug#12297)
2614
2615 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2616
2617 * progmodes/compile.el (compilation-always-kill): New var.
2618 (compilation-start): Use it.
2619
2620 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2621
2622 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2623 * files.el (read-only-mode): Move to simple.el.
2624
2625 * files.el (read-only-mode): New minor mode.
2626 (toggle-read-only): Use it and mark obsolete.
2627 (find-file--read-only):
2628 * vc/vc.el (vc-next-action, vc-checkout):
2629 * vc/vc-cvs.el (vc-cvs-checkout):
2630 * obsolete/vc-mcvs.el (vc-mcvs-update):
2631 * ffap.el (ffap--toggle-read-only): Update callers.
2632
2633 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
2634
2635 * eshell/esh-ext.el (eshell-external-command): Do not examine
2636 remote shell scripts.
2637 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2638
2639 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2640 "/usr/local/sbin".
2641
2642 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2643
2644 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2645
2646 2012-08-28 Leo Liu <sdl.web@gmail.com>
2647
2648 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2649 completion-at-point. (Bug#12220)
2650
2651 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2652
2653 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2654
2655 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2656
2657 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2658 be buffer-local; add delete-trailing-whitespace (bug#12259).
2659
2660 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
2661
2662 * progmodes/hideif.el (hif-compress-define-list):
2663 Fix typo. (Bug#11951)
2664
2665 2012-08-28 Dan Nicolaescu <dann@gnu.org>
2666
2667 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2668 buffer local setting.
2669
2670 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2671 rcirc-encode-coding-system.
2672
2673 2012-08-28 Leo Liu <sdl.web@gmail.com>
2674
2675 * net/rcirc.el (rcirc-split-message): New function.
2676 (rcirc-send-message): Use it. (Bug#12051)
2677
2678 2012-08-28 Juri Linkov <juri@jurta.org>
2679
2680 * info.el (Info-fontify-node): Hide empty lines at the end of
2681 the node. (Bug#12272)
2682
2683 2012-08-27 Drew Adams <drew.adams@oracle.com>
2684
2685 * dired.el (dired-pop-to-buffer): Make window start at beginning
2686 of buffer (Bug#12281).
2687
2688 2012-08-26 Chong Yidong <cyd@gnu.org>
2689
2690 * window.el (special-display-regexps, special-display-frame-alist)
2691 (special-display-buffer-names, special-display-function)
2692 (display-buffer-reuse-frames): Mark as obsolete.
2693
2694 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2695
2696 * help.el (help-print-return-message): Don't treat
2697 display-buffer-reuse-frames specially.
2698
2699 2012-08-26 Chong Yidong <cyd@gnu.org>
2700
2701 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2702 New variable, replacing gdb-frame-parameters.
2703 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2704 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2705 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2706 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2707 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2708 the functions directly with gdb-display-buffer-other-frame-action.
2709 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2710 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2711 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2712 (gdb-display-registers-buffer): Define directly.
2713 (def-gdb-display-buffer): Macro deleted.
2714 (gdb-display-buffer): Remove second and third args, callers don't
2715 use them. Defer to the default display-buffer behavior, apart
2716 from making windows dedicated.
2717 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2718
2719 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2720
2721 * window.el (display-buffer-pop-up-frame): Handle a
2722 pop-up-frame-parameters alist entry.
2723 (display-buffer): Document it.
2724
2725 2012-08-26 Chong Yidong <cyd@gnu.org>
2726
2727 * isearch.el (search-whitespace-regexp): Make string and nil
2728 values apply to both ordinary and regexp search. Allow a cons
2729 cell value to distinguish between the two.
2730 (isearch-whitespace-regexp, isearch-search-forward)
2731 (isearch-search-backward): New functions.
2732 (isearch-occur, isearch-search-fun-default, isearch-search)
2733 (isearch-lazy-highlight-new-loop): Use them.
2734 (isearch-forward, isearch-forward-regexp): Doc fix.
2735
2736 2012-08-26 Chong Yidong <cyd@gnu.org>
2737
2738 * faces.el (help-argument-name): Always inherit from italic
2739 (Bug#12213).
2740
2741 2012-08-25 Martin Rudalics <rudalics@gmx.at>
2742
2743 * window.el (window--even-window-heights): Even heights when
2744 WINDOW and the selected window form a vertical combination.
2745 (display-buffer-use-some-window): Provide that window used gets
2746 sized back by quit-window. (Bug#11880) and (Bug#12091)
2747
2748 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2749
2750 Fix file time stamp problem with bzr and CVS (Bug#12001).
2751 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2752 in the file's time stamp, since the version control system loses
2753 that information.
2754
2755 2012-08-22 Juri Linkov <juri@jurta.org>
2756
2757 * info.el (Info-fontify-node): Hide the suffix of the
2758 Info file name in the header line. (Bug#12187)
2759
2760 2012-08-22 Glenn Morris <rgm@gnu.org>
2761
2762 * calendar/cal-tex.el (cal-tex-weekly-common):
2763 Restore leading blank page.
2764
2765 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
2766
2767 * misc.el (forward-to-word, backward-to-word): Activate or extend
2768 the region under `shift-select-mode'. (Bug#12231)
2769
2770 2012-08-22 Bastien Guerry <bzg@gnu.org>
2771
2772 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2773 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2774 gives details on why the space is never needed.
2775
2776 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2777
2778 * window.el (walk-window-tree, window-with-parameter):
2779 New optional argument MINIBUF to control whether these functions
2780 should run on the minibuffer window.
2781 (window-at-side-list): Don't operate on minibuffer window.
2782 (window-in-direction): Simplify and rewrite doc-string.
2783 (window--size-ignore): Rename to window--size-ignore-p.
2784 Update callers.
2785 (display-buffer-in-atom-window, window--major-non-side-window)
2786 (window--major-side-window, display-buffer-in-major-side-window)
2787 (delete-side-window, display-buffer-in-side-window):
2788 New functions.
2789 (window--side-check, window-deletable-p, delete-window)
2790 (delete-other-windows, split-window): Handle side windows and
2791 atomic windows appropriately.
2792 (window--display-buffer): Call display-buffer-record-window also
2793 when the window buffer did not change.
2794
2795 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2796
2797 * help-fns.el (help-fns--key-bindings):
2798 Abbreviate non-symbol remap targets. (Bug#12174)
2799
2800 2012-08-22 Martin Rudalics <rudalics@gmx.at>
2801
2802 * dired.el (dired-mark-remembered): Don't clobber point.
2803 (Bug#11795)
2804
2805 2012-08-22 Glenn Morris <rgm@gnu.org>
2806
2807 * progmodes/bug-reference.el (bug-reference): New custom group.
2808 (bug-reference-bug-regexp): Make it a defcustom.
2809
2810 2012-08-22 Daiki Ueno <ueno@unixuser.org>
2811
2812 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2813 (js-paren-indent-offset, js-square-indent-offset)
2814 (js-curly-indent-offset): Add :safe (Bug#12257).
2815
2816 2012-08-22 Edward O'Connor <hober0@gmail.com>
2817
2818 * json.el (json-key-format): Add error properties.
2819 (json-encode-key): New function.
2820 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2821 Use json-encode-key.
2822
2823 2012-08-22 Glenn Morris <rgm@gnu.org>
2824
2825 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2826 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2827 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2828 Update for above change.
2829
2830 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2831
2832 * cus-face.el (custom-face-attributes): Fix customize type for the
2833 :underline attribute. (Bug#11805)
2834
2835 2012-08-21 Martin Rudalics <rudalics@gmx.at>
2836
2837 * window.el (window-point-1, set-window-point-1): Remove.
2838 (window-in-direction, record-window-buffer)
2839 (set-window-buffer-start-and-point, split-window-below)
2840 (window--state-get-1, display-buffer-record-window):
2841 Replace calls to window-point-1 and set-window-point-1 by calls to
2842 window-point and set-window-point respectively.
2843
2844 2012-08-21 Glenn Morris <rgm@gnu.org>
2845
2846 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2847 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2848 Use it.
2849
2850 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2851 (cal-tex-shortday): New function.
2852 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2853 (cal-tex-cursor-filofax-daily): Use the above.
2854
2855 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2856 New functions.
2857 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2858 (cal-tex-cursor-filofax-week): Use them.
2859
2860 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2861 New constants.
2862 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2863 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2864
2865 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2866 (cal-tex-end-document): Don't rely on buffer name.
2867
2868 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2869 Use cal-tex-vspace.
2870 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2871 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2872 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2873 Use cal-tex-arg.
2874
2875 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2876 (cal-tex-cursor-week, cal-tex-cursor-week2)
2877 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2878 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2879 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2880 (cal-tex-insert-preamble, cal-tex-b-document)
2881 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2882 Improve cal-tex-cmd usage.
2883
2884 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2885 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2886 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2887 (cal-tex-weekly-paper): New function.
2888 (cal-tex-cursor-week, cal-tex-cursor-week2)
2889 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2890 (cal-tex-cursor-day): Use it.
2891
2892 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2893 (cal-tex-cursor-filofax-week): Remove leading blank page.
2894
2895 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2896 Add autoload cookie. For now at least, don't use color, since
2897 no other cal-tex function does.
2898
2899 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2900 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2901 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2902
2903 2012-08-21 Juri Linkov <juri@jurta.org>
2904
2905 * info.el (Info-file-attributes): New variable.
2906 (info-insert-file-contents): Add file attributes to
2907 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2908 `Info-toc-nodes' when previous modtime of the Info file is less
2909 than new modtime.
2910 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2911 of info.el. (Bug#12230)
2912
2913 2012-08-20 Glenn Morris <rgm@gnu.org>
2914
2915 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2916 * calendar/holidays.el (calendar-holiday-list):
2917 Report errors with display-warning rather than beep'n'sleep.
2918
2919 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
2920
2921 * net/tramp.el (tramp-accept-process-output): Accept only output
2922 from PROC. Otherwise, process filters and sentinels might be
2923 confused. (Bug#12145)
2924
2925 2012-08-20 Chong Yidong <cyd@gnu.org>
2926
2927 * descr-text.el (describe-text-properties-1): Use overlays-in to
2928 report on empty overlays (Bug#3322).
2929
2930 2012-08-20 Glenn Morris <rgm@gnu.org>
2931
2932 * mail/rmailout.el (rmail-output-read-file-name):
2933 Trap and report errors in rmail-output-file-alist elements.
2934
2935 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2936 since most non-font-lock faces are not also variables).
2937
2938 2012-08-20 Edward Reingold <reingold@iit.edu>
2939
2940 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2941 New function. (Bug12160)
2942
2943 2012-08-19 Glenn Morris <rgm@gnu.org>
2944
2945 * mail/rmailout.el (rmail-output-read-file-name):
2946 Fix previous change (when the alist is nil or does not match).
2947
2948 2012-08-19 Chong Yidong <cyd@gnu.org>
2949
2950 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2951 (Bug#12228).
2952
2953 2012-08-18 Chong Yidong <cyd@gnu.org>
2954
2955 * simple.el (yank-handled-properties): New defcustom.
2956 (yank-excluded-properties): Add font-lock-face and category.
2957 (yank): Doc fix.
2958
2959 * subr.el (remove-yank-excluded-properties):
2960 Obey yank-handled-properties. The special handling of font-lock-face
2961 and category is now done this way, instead of being hard-coded.
2962 (insert-for-yank-1): Remove font-lock-face handling.
2963 (yank-handle-font-lock-face-property)
2964 (yank-handle-category-property): New function.
2965
2966 2012-08-17 Glenn Morris <rgm@gnu.org>
2967
2968 * mail/rmailout.el (rmail-output-read-file-name):
2969 Check rmail-output-file-alist against the full message body
2970 in the correct rmail buffer. (Bug#12214)
2971
2972 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
2973
2974 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2975 Eliminate superfluous prompt. (Bug#12203)
2976
2977 2012-08-17 Chong Yidong <cyd@gnu.org>
2978
2979 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2980 font spec, set the font directly (Bug#3228).
2981
2982 2012-08-17 Martin Rudalics <rudalics@gmx.at>
2983
2984 * window.el (delete-window): Fix last fix.
2985
2986 2012-08-16 Martin Rudalics <rudalics@gmx.at>
2987
2988 * window.el (window-valid-p): Move to window.c.
2989 (window-child, window-child-count, window-last-child)
2990 (window-normalize-window, window-combined-p)
2991 (window-combinations, window-atom-root, window-min-size)
2992 (window-sizable, window-sizable-p, window-size-fixed-p)
2993 (window-min-delta, window-max-delta, window--resizable)
2994 (window--resizable-p, window-resizable, window-total-size)
2995 (window-full-height-p, window-full-width-p, window-body-size)
2996 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2997 (minimize-window, window-deletable-p, delete-window)
2998 (delete-other-windows, set-window-buffer-start-and-point)
2999 (next-buffer, previous-buffer, split-window, balance-windows-2)
3000 (set-window-text-height, window-buffer-height)
3001 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3002 (truncated-partial-width-window-p): Minor code adjustments.
3003 In doc-strings state whether the argument window has to denote a
3004 live, valid or any window.
3005
3006 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3007
3008 * progmodes/subword.el (subword-forward-function)
3009 (subword-backward-function, subword-forward-regexp)
3010 (subword-backward-regexp): New variables.
3011 (subword-forward, subword-forward-internal, subword-backward-internal):
3012 Use new variables, eg so that different "word" definitions
3013 can be easily used. (Bug#11411)
3014
3015 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3018 for composite selectors.
3019 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3020 operation just because we can't find a previous revision.
3021
3022 2012-08-15 Chong Yidong <cyd@gnu.org>
3023
3024 * frame.el (set-frame-font): Accept font objects.
3025
3026 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3029
3030 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3031
3032 * man.el (Man-overstrike-face, Man-underline-face)
3033 (Man-reverse-face): Remove variables.
3034 (Man-overstrike, Man-underline, Man-reverse): New faces.
3035 (Man-fontify-manpage): Use them instead of the variables.
3036 (Man-cleanup-manpage): Comment change.
3037 (Man-ansi-color-map): New variable.
3038 (Man-fontify-manpage): Use it.
3039 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3040
3041 Implement ANSI SGR parameters 22-27 (bug#12146).
3042 * ansi-color.el (ansi-colors): Doc fix.
3043 (ansi-color-context, ansi-color-context-region): Doc fix.
3044 (ansi-color--find-face): New function.
3045 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3046 Rename the local variable `face' to `codes' since it is now a list of
3047 ansi codes. Doc fix.
3048 (ansi-color-get-face): Remove.
3049 (ansi-color-parse-sequence): New function, derived from
3050 ansi-color-get-face.
3051 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3052 codes 22-27.
3053
3054 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3055
3056 * subr.el (read-passwd): Allow use from a minibuffer.
3057
3058 2012-08-14 Eli Zaretskii <eliz@gnu.org>
3059
3060 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3061 inside comments and strings as identifiers.
3062
3063 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3064 expression to evaluate. This allows to evaluate expressions with
3065 embedded whitespace.
3066 (gud-tooltip-tips): Add a blank before the newline in the
3067 message-box text, for the benefit of message-box emulation on
3068 MS-Windows.
3069
3070 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3071 messages from GDB, pop them up in a tooltip to give feedback to
3072 user.
3073 (gdb-tooltip-print-1): Quote the expression to evaluate.
3074 This allows to evaluate expressions with embedded whitespace.
3075 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3076 if the TTY name is nil or empty (which happens when communicating
3077 with the inferior via pipes, e.g. on MS-Windows).
3078 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3079 don't send that to the GUD buffer.
3080
3081 2012-08-14 Glenn Morris <rgm@gnu.org>
3082
3083 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3084 Optimize away setq-default with no args, as for setq. (Bug#12195)
3085
3086 2012-08-14 Chong Yidong <cyd@gnu.org>
3087
3088 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3089
3090 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3091 (Bug#12085).
3092
3093 2012-08-14 Glenn Morris <rgm@gnu.org>
3094
3095 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3096
3097 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
3098
3099 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3100 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3101 Use cached shell name.
3102
3103 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3104
3105 * progmodes/python.el (python-shell-send-string):
3106 (python-shell-send-setup-code): Do not use `format' with `message'.
3107
3108 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3109
3110 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3111 (ruby-percent-literal-beg-re): New constant.
3112 (ruby-syntax-general-delimiters-goto-beg): Rename to
3113 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3114 (ruby-syntax-propertize-general-delimiters): Rename to
3115 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3116 popular term. Adjust comments everywhere.
3117 (ruby-syntax-propertize-percent-literal): Only propertize when not
3118 inside a simple string or comment. When the literal is unclosed,
3119 leave the text after it unpropertized.
3120 (ruby-syntax-methods-before-regexp): New constant.
3121 (ruby-syntax-propertize-function): Use it to recognize regexps.
3122 Don't look at the text after regexp, just use the whitelist.
3123
3124 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3125
3126 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3127 non-nil always load the compiled file if it exists. (Bug#12197)
3128
3129 2012-08-14 Chong Yidong <cyd@gnu.org>
3130
3131 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3132 (hi-lock-set-pattern): When deciding whether to use font lock or
3133 overlays, look at font-lock-mode instead of font-lock-fontified
3134 (Bug#12168).
3135 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3136 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3137
3138 2012-08-14 Daiki Ueno <ueno@unixuser.org>
3139
3140 * subr.el (internal--after-with-selected-window): Fix typo
3141 (Bug#12193).
3142
3143 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3144
3145 Use `completion-table-dynamic' for completion functions.
3146 * progmodes/python.el
3147 (python-shell-completion--do-completion-at-point)
3148 (python-shell-completion--get-completions):
3149 Remove functions.
3150 (python-shell-completion-complete-at-point): New function.
3151 (python-completion-complete-at-point): Use it.
3152
3153 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
3154
3155 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3156 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3157
3158 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3159
3160 * subr.el (function-get): Refine `autoload' arg so it can also
3161 autoload functions for gv.el (bug#12191).
3162 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3163 autoloads macros.
3164
3165 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3166 Prefer pcase-let over destructuring-bind.
3167 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3168 Also, remove whitespace as we go, rather than after accumulating the
3169 various places.
3170
3171 * subr.el (internal--before-with-selected-window)
3172 (internal--after-with-selected-window): Fix typo seleted->selected.
3173 (with-selected-window): Adjust callers.
3174 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3175
3176 2012-08-13 Bastien Guerry <bzg@gnu.org>
3177
3178 * window.el (special-display-popup-frame): Minor docstring
3179 enhancement. (Bug#12172)
3180
3181 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3182
3183 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3184 type 1-6.
3185 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3186 extended headers.
3187
3188 * files.el (hack-local-variables-filter): Remove useless eval.
3189
3190 2012-08-13 Martin Rudalics <rudalics@gmx.at>
3191
3192 * subr.el (with-selected-window): Fix last change.
3193
3194 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * subr.el (internal--before-with-seleted-window)
3197 (internal--after-with-seleted-window): New functions.
3198 (with-selected-window): Use them, to replace dependency on
3199 tty-top-frame.
3200
3201 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3202
3203 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3204 binding for `newline'.
3205 (ruby-move-to-block): When moving backward, stop at block opening,
3206 not indentation.
3207 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3208 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3209 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3210 `ruby-toggle-block'.
3211
3212 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * ibuffer.el (ibuffer-do-toggle-read-only):
3215 * dired.el (dired-toggle-read-only):
3216 * buff-menu.el (Buffer-menu-toggle-read-only):
3217 * bindings.el (mode-line-toggle-read-only):
3218 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3219
3220 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3221
3222 * descr-text.el (describe-char): Put the overlays over the
3223 "displayed as" character.
3224
3225 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3226
3227 * calc/calc-units.el (math-default-units-table): Give an
3228 initial value.
3229 (math-put-default-units): Add options to put composite units and
3230 unit systems in the default units table.
3231 (calc-convert-units): Send composite units to
3232 `math-put-default-units' when appropriate.
3233
3234 2012-08-11 Glenn Morris <rgm@gnu.org>
3235
3236 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3237
3238 * tutorial.el (help-with-tutorial):
3239 * emacs-lisp/copyright.el (copyright-update-directory):
3240 * emacs-lisp/autoload.el (autoload-find-generated-file)
3241 (autoload-find-file): Disable local eval: (for insurance).
3242
3243 * files.el (hack-local-variables-filter): If an eval: form is not
3244 known to be safe, and enable-local-variables is :safe, then ignore
3245 the form totally, as is done for non-eval forms. (Bug#12155)
3246 This is CVE-2012-3479.
3247
3248 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3251 (rx-form): Simplify.
3252
3253 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3254
3255 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3256 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3257 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3258 (ruby-syntax-propertize-function): Adjust for changes in
3259 `ruby-syntax-propertize-heredoc'.
3260
3261 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3262
3263 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3264 binding (use `M-;' instead).
3265 (ruby-singleton-class-p): New function.
3266 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3267
3268 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3269
3270 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3271
3272 2012-08-10 Chong Yidong <cyd@gnu.org>
3273
3274 * progmodes/python.el (python-shell-get-process-name): Don't mess
3275 with same-window-buffer-names.
3276
3277 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3278 (eshell-remove-from-window-buffer-names): Make obsolete.
3279 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3280 (eshell): Just use pop-to-buffer-same-window instead.
3281
3282 2012-08-10 Chong Yidong <cyd@gnu.org>
3283
3284 * bindings.el: Bind M-= back to count-words-region.
3285
3286 * simple.el (count-words-region): Accept a prefix arg for acting
3287 on the entire buffer.
3288 (count-words--buffer-message): New helper function.
3289
3290 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3293 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3294 (event-start, event-end): Use posn-at-point to return a more
3295 informative posn.
3296 (posnp): New function.
3297 * mouse.el (popup-menu-normalize-position): Use it.
3298
3299 2012-08-10 Masatake YAMATO <yamato@redhat.com>
3300
3301 * mouse.el (popup-menu-normalize-position): New function.
3302 (popup-menu): Use `popup-menu-normalize-position' to normalize
3303 the form for POSITION argument.
3304
3305 * term/x-win.el (x-menu-bar-open):
3306 Use the value returend from (posn-at-point) as position
3307 passed to `popup-menu'.
3308
3309 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3310
3311 * calc/calccomp.el (math-compose-expr): Add extra argument
3312 indicating that parentheses should be put around products in
3313 denominators. Give multiplication precedence over division during
3314 composition.
3315
3316 2012-08-09 Chong Yidong <cyd@gnu.org>
3317
3318 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3319 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3320 (Man-untabify-command, manual-program): Convert to defcustom
3321 (Bug#10429).
3322
3323 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3324
3325 * descr-text.el (describe-char): Don't insert extra newlines
3326 (Bug#10127).
3327
3328 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3329 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3330
3331 * align.el (align-region): Delete temporary markers (Bug#10047).
3332 Plus some code cleanups.
3333
3334 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3335
3336 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3337 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3338 (python-shell-internal-last-output): Use make-local-variable
3339 instead of make-variable-buffer-local.
3340
3341 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3342
3343 * progmodes/python.el: Enhancements to forward-sexp.
3344 (python-nav-forward-sexp): Rename from
3345 python-nav-forward-sexp-function.
3346 (python-nav--forward-sexp, python-nav--backward-sexp):
3347 New functions.
3348
3349 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3350
3351 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3352 modes and simplification modes.
3353
3354 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3355
3356 * delsel.el (delete-selection-pre-hook): Don't propagate the
3357 file-supersession signals (bug#12161).
3358
3359 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3362 (cl-map-extents): Add compatibility aliases (bug#12135).
3363
3364 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
3365
3366 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3367 tests by `ignore-error'.
3368 (tramp-find-shell): Open also a new shell, when cache is already
3369 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3370
3371 2012-08-08 Juri Linkov <juri@jurta.org>
3372
3373 * bookmark.el: Add `defaults' property to the bookmark record.
3374 (bookmark-current-buffer): Doc fix.
3375 (bookmark-make-record): Add `defaults' property with default values
3376 to the bookmark record.
3377 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3378 with `bookmark-insert-current-bookmark'.
3379 (bookmark-set): Get `defaults' property from the bookmark record
3380 and use it in `read-from-minibuffer'.
3381 (bookmark-insert-current-bookmark): Remove function.
3382
3383 * info.el (Info-bookmark-make-record): Add `defaults' property
3384 with values of canonical Info node name, the current Info file
3385 name and the current Info node name. (Bug#12107)
3386
3387 2012-08-08 Juri Linkov <juri@jurta.org>
3388
3389 * files.el (basic-save-buffer): Use `buffer-name' as the default
3390 of `read-file-name' when buffer is not visiting a file (bug#12128).
3391
3392 2012-08-08 Juri Linkov <juri@jurta.org>
3393
3394 * info.el (Info-isearch-search): Doc fix.
3395 (Info-search): Change search-failed message from "initial node" to
3396 "end of node" (bug#12078).
3397 (Info-isearch-search): Change `isearch-string-state' to
3398 `isearch--state-string'.
3399
3400 2012-08-08 Glenn Morris <rgm@gnu.org>
3401
3402 * language/persian.el: Remove file.
3403 * language/misc-lang.el: Move unique part of persian.el here.
3404 * loadup.el: Remove language/persian.
3405
3406 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3407
3408 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3409
3410 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3411
3412 * progmodes/python.el Fixed defsubst warning.
3413 (python-syntax-context) Rename from python-info-ppss-context.
3414 (python-syntax-context-type): Rename from
3415 python-info-ppss-context-type.
3416 (python-syntax-comment-or-string-p): Rename from
3417 python-info-ppss-comment-or-string-p.
3418
3419 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3420
3421 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3422
3423 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3424
3425 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3426 a defcustom that is quoted with backquote.
3427
3428 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3429 Fix handling of interactive spec when the body uses return.
3430 (math-do-arg-check, math-define-function-body): Use backquote forms.
3431 * calc/calc-ext.el (math-defcache): Likewise.
3432 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3433 * allout.el (allout-new-exposure): Likewise.
3434 * calc/calcalg2.el (math-tracing-integral): Likewise.
3435 * info.el (Info-last-menu-item): Likewise.
3436 * emulation/vip.el (vip-loop): Likewise.
3437 * textmodes/artist.el (artist-funcall): Likewise.
3438 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3439 Construct menu-item directly.
3440
3441 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3442 Don't declare.
3443
3444 2012-08-07 Chong Yidong <cyd@gnu.org>
3445
3446 * simple.el (deactivate-mark): Preserve text properties when
3447 saving the primary selection (Bug#8384).
3448
3449 2012-08-07 Kevin Ryde <user42@zip.com.au>
3450
3451 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3452 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3453 and continue processing (Bug#12110).
3454
3455 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3458 syntax-propertize-function (bug#10095).
3459
3460 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3463 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3464 describe-function-1.
3465 (describe-function-1): Use them. Move compiler macro after sig.
3466 (help-fns--compiler-macro): Use function-get. Assume we're already in
3467 standard-output. Adjust layout to new call order.
3468
3469 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3470 re-binding a symbol that has a symbol-macro (bug#12119).
3471
3472 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3473
3474 * language/persian.el: New file. (Bug#11812)
3475 * loadup.el: Add language/persian.el.
3476
3477 2012-08-06 Chong Yidong <cyd@gnu.org>
3478
3479 * window.el (window--maybe-raise-frame): New function.
3480 (window--display-buffer): Split off from here.
3481 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3482 (display-buffer-pop-up-window, display-buffer-use-some-window):
3483 Obey an inhibit-switch-frame action alist entry.
3484 (display-buffer): Update doc.
3485
3486 * replace.el (occur-after-change-function): Avoid losing focus by
3487 using the inhibit-switch-frame display parameter (Bug#12139).
3488
3489 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3490
3491 Make internal shell process buffer names start with space.
3492 * progmodes/python.el (python-shell-make-comint): Add optional
3493 argument INTERNAL.
3494 (run-python-internal): Use it.
3495 (python-shell-internal-get-or-create-process): Check for new
3496 internal buffer names.
3497
3498 2012-08-06 Glenn Morris <rgm@gnu.org>
3499
3500 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3501 Do less getting and setting of environment variables.
3502
3503 2012-08-05 Chong Yidong <cyd@gnu.org>
3504
3505 * proced.el (proced): Add substitution string to docstring to
3506 trigger autoloading of the proced library on C-h f (Bug#1768).
3507
3508 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3509 Don't show defvars which have no second argument (Bug#8638).
3510
3511 * imenu.el (imenu-generic-expression): Move documentation here
3512 from imenu--generic-function.
3513 (imenu--generic-function): Refer to imenu-generic-expression.
3514
3515 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
3516
3517 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3518 indentation declaration.
3519 (viper-loop): Add indentation declaration (Bug#7025).
3520
3521 2012-08-05 Chong Yidong <cyd@gnu.org>
3522
3523 * help-fns.el (describe-variable): Add hyperlink for
3524 directory-local variables files. Improve buffer-local and
3525 permanent-local reporting; suggested by MON KEY (Bug#6644).
3526
3527 * help-mode.el (help-dir-local-var-def): New button type.
3528
3529 * files.el (kill-buffer-hook): Provide a defvar.
3530
3531 2012-08-05 Glenn Morris <rgm@gnu.org>
3532
3533 * eshell/esh-ext.el (eshell/addpath):
3534 Also update eshell-path-env. (Bug#12013)
3535
3536 2012-08-05 Chong Yidong <cyd@gnu.org>
3537
3538 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3539
3540 * fringe.el (fringe-styles): Add docstring.
3541 (fringe--check-mode): New function.
3542 (set-fringe-mode, set-fringe-style): Use it.
3543 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3544
3545 * files.el (set-auto-mode): Fix invalid setq call.
3546
3547 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * isearch.el: Misc simplification; use defstruct.
3550 (isearch-mode-map): Dense maps now work like sparse ones.
3551 (isearch--state): New defstruct.
3552 (isearch-string-state, isearch-message-state, isearch-point-state)
3553 (isearch-success-state, isearch-forward-state)
3554 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3555 (isearch-wrapped-state, isearch-barrier-state)
3556 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3557 replaced by defstruct's accessors.
3558 (isearch--set-state): Rename from isearch-top-state and change
3559 calling convention.
3560 (isearch-push-state): Use new isearch--get-state.
3561 (isearch-toggle-word): Disable regexp when enabling word.
3562 (isearch-message-prefix): Remove unused arg _c-q-hack.
3563 (isearch-message-suffix): Remove unused arg _ellipsis.
3564
3565 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3566
3567 * simple.el (list-processes--refresh): For a server use :host or
3568 :local as the address.
3569 (list-processes): Doc fix.
3570
3571 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
3572
3573 * lisp/mpc.el: Support password in host argument.
3574 (mpc--proc-connect): Parse and use new password element.
3575 Set mpc-proc variable instead of returning process.
3576 (mpc-proc): Adjust accordingly.
3577
3578 2012-08-03 Eli Zaretskii <eliz@gnu.org>
3579
3580 * whitespace.el (whitespace-display-mappings): Use Unicode
3581 codepoints, instead of emacs-mule codepoints. See
3582 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3583 for the details.
3584
3585 * files.el (file-truename): Don't skip symlink-chasing part on
3586 windows-nt. Incorporate the resolution of 8+3 short aliases on
3587 Windows into the loop that recursively chases symlinks.
3588 Compare directory and its parent case-insensitively on MS-Windows and
3589 MS-DOS.
3590
3591 2012-08-03 Chong Yidong <cyd@gnu.org>
3592
3593 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3594
3595 * sort.el (sort-regexp-fields): Doc fix.
3596
3597 2012-08-03 Tassilo Horn <tsdh@gnu.org>
3598
3599 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3600 labels regex position point at the expected place.
3601
3602 2012-08-03 MON KEY <monkey@sandpframing.com>
3603
3604 * net/imap.el (imap-interactive-login, imap-authenticate)
3605 (imap-mailbox-lsub, imap-mailbox-list)
3606 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3607 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3608 (imap-parse-response): Doc fix.
3609
3610 2012-08-03 João Távora <joaotavora@gmail.com>
3611
3612 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3613 if sexp scanning does not move point (Bug#5734).
3614
3615 2012-08-02 Tassilo Horn <tsdh@gnu.org>
3616
3617 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3618 Add listings, minted, and ctable packages.
3619 (reftex-label-alist-builtin): Move listings, minted, and ctable
3620 entries before LaTeX.
3621 (reftex-label-alist): Docfix.
3622
3623 2012-08-02 Bastien Guerry <bzg@gnu.org>
3624
3625 * replace.el (occur): Fix docstring (bug#12122).
3626
3627 2012-08-02 Glenn Morris <rgm@gnu.org>
3628
3629 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3630
3631 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3632
3633 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3634 * international/mule-cmds.el: Create
3635 inactivate-current-input-method-function as an obsolete alias for
3636 deactivate-current-input-method-function. See Katsumi Yamaoka in
3637 <http://bugs.gnu.org/10150#46>.
3638
3639 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3640
3641 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3642 of nested `if's.
3643
3644 2012-08-01 Glenn Morris <rgm@gnu.org>
3645
3646 * progmodes/autoconf.el (autoconf-definition-regexp):
3647 Add AH_TEMPLATE, adjust submatch numbering.
3648 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3649 (autoconf-current-defun-function): Update for above change.
3650 (autoconf-current-defun-function): First skip to end of current word.
3651
3652 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3653
3654 * calendar/cal-html.el (cal-html-insert-agenda-days):
3655 Fix typo. (Bug#12018)
3656
3657 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3658
3659 Shell processes: enhancements to startup and CEDET compatibility.
3660 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3661 (python-shell-make-comint): accept-process-output at startup.
3662 (run-python-internal): Set inferior-python-mode-hook to nil.
3663 (python-shell-internal-get-or-create-process): call sit-for.
3664 (python-preoutput-result): Add obsolete alias.
3665 (python-shell-internal-send-string): Use it.
3666 (python-shell-send-setup-code): Remove call to
3667 accept-process-output.
3668
3669 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3670
3671 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3672 (Bug#12108)
3673
3674 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3675
3676 * calc-mode.el (calc-basic-simplification-mode): Rename from
3677 `calc-limited-simplification-mode'.
3678 (calc-alg-simplification-mode): New function.
3679 (calc-set-simplify-mode): Adjust message.
3680
3681 * calc.el (calc-set-mode-line): Adjust mode line display for
3682 basic simplification mode.
3683
3684 * calc-help.el (calc-m-prefix-help): Update help message.
3685
3686 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3687 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3688
3689 2012-07-31 Bastien Guerry <bzg@gnu.org>
3690
3691 * man.el (man): Fix comment. (bug#12101)
3692
3693 2012-07-31 Martin Rudalics <rudalics@gmx.at>
3694
3695 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3696 Don't return a non-nil value when no suitable buffer was found.
3697
3698 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3699
3700 * progmodes/python.el (run-python-internal): Disable font lock for
3701 internal shells.
3702
3703 2012-07-30 Stefan Merten <smerten@oekonux.de>
3704
3705 * textmodes/rst.el: Silence `checkdoc-ispell'.
3706 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3707 (rst-official-version, rst-official-cvs-rev)
3708 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3709 (rst-mode-map): New key binding.
3710
3711 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3712
3713 Update .PHONY listings in makefiles.
3714 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3715 autoloads, update-subdirs, updates, bzr-update, update-authors,
3716 compile-onefile, compile-calc, backup-compiled-files,
3717 compile-after-backup, compile-one-process, mh-autoloads,
3718 bootstrap-clean, distclean, maintainer-clean.
3719
3720 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3721
3722 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3723 (calc-set-mode-line): Don't display "AlgSimp ".
3724
3725 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3726 (calc-lim-simplify-mode): New function.
3727 (calc-set-simplify-mode): Default to 'alg.
3728 (calc-default-simplify-mode): Make algebraic simplifications
3729 the default.
3730
3731 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3732 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3733
3734 * calc/calc-help.el (calc-m-prefix-help): Change messages to
3735 indicate new simplification modes.
3736
3737 * calc/README: Mention new default simplification mode.
3738
3739 * calc/calc.el (math-normalize-error): New variable.
3740 (math-normalize): Set `math-normalize-error' to t
3741 when there's an error.
3742
3743 * calc/calc-alg.el (math-simplify): Don't simplify when
3744 `math-normalize' returns an error.
3745
3746 2012-07-29 Eli Zaretskii <eliz@gnu.org>
3747
3748 * international/mule-cmds.el (set-locale-environment): Revert last
3749 change, since display-graphic-p returns nil when this function is
3750 called during startup. Instead...
3751
3752 * term/w32console.el (terminal-init-w32console): ...setup the
3753 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3754
3755 2012-07-29 Juri Linkov <juri@jurta.org>
3756
3757 * simple.el (goto-line): Don't display default line number in the
3758 prompt because it should be displayed by `read-number' (bug#9952).
3759 Add the current line number to the defaults of `goto-line' to
3760 allow its easier modification by users with `M-n' (bug#9201).
3761
3762 * subr.el (read-number): Support multiple default values like in
3763 other minibuffer reading functions. Replace `read' with
3764 `string-to-number' for consistency with `number-to-string'.
3765
3766 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3767
3768 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3769 * emulation/viper-init.el (viper-deactivate-input-method-action):
3770 Rename from viper-inactivate-input-method-action.
3771 (viper-deactivate-input-method):
3772 Rename from viper-inactivate-input-method.
3773 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3774 * international/mule-cmds.el (deactivate-input-method):
3775 Rename from inactivate-input-method.
3776 Also run input-method-deactivate-hook.
3777 (deactivate-current-input-method-function):
3778 Rename from inactivate-current-input-method-function.
3779 (input-method-deactivate-hook): New hook.
3780 (input-method-inactivate-hook): Mark obsolete.
3781 (inactivate-input-method): Mark obsolete.
3782
3783 * international/quail.el (quail-activate):
3784 Also run quail-deactivate-hook.
3785 (quail-deactivate): Rename from quail-inactivate.
3786 * international/robin.el (robin-activate):
3787 Also run robin-deactivate-hook.
3788 (robin-deactivate): Rename from robin-inactivate.
3789
3790 2012-07-29 Chong Yidong <cyd@gnu.org>
3791
3792 * simple.el (indicate-copied-region): New function.
3793 (kill-ring-save): Split off from here.
3794
3795 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3796 (kill-rectangle): Set deactivate-mark to t on read-only error.
3797
3798 * register.el (copy-to-register, copy-rectangle-to-register):
3799 Deactivate the mark, and use indicate-copied-region (Bug#10056).
3800 (append-to-register, prepend-to-register): Call indicate-copied-region.
3801
3802 2012-07-29 Juri Linkov <juri@jurta.org>
3803
3804 * simple.el (async-shell-command-buffer): New defcustom.
3805 (shell-command): Use it. (Bug#4719)
3806
3807 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3808
3809 * international/mule-cmds.el (set-locale-environment): In a
3810 console session on MS-Windows, set up keyboard and terminal
3811 encoding from the OEM codepage, not the ANSI codepage.
3812 (Bug#12055)
3813
3814 2012-07-28 Chong Yidong <cyd@gnu.org>
3815
3816 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3817 gdb-get-location.
3818
3819 2012-07-28 Leo Liu <sdl.web@gmail.com>
3820
3821 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3822 the alist (bug#12029).
3823
3824 2012-07-28 Eli Zaretskii <eliz@gnu.org>
3825
3826 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3827 (compile-always, compile-first)
3828 ($(lisp)/calendar/cal-loaddefs.el)
3829 ($(lisp)/calendar/diary-loaddefs.el)
3830 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3831 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3832 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3833 instead of on update-subdirs.
3834 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3835
3836 2012-07-28 Chong Yidong <cyd@gnu.org>
3837
3838 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3839 directory if vc-deduce-backend returns nil (Bug#7350).
3840
3841 * simple.el (delete-trailing-lines): New option.
3842 (delete-trailing-whitespace): Obey it (Bug#11879).
3843
3844 2012-07-28 David Engster <deng@randomsample.de>
3845
3846 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3847 Explanation of new 'symbol-qnames feature in doc-strings.
3848 (xml-maybe-do-ns): Return expanded names as plain symbols if
3849 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3850 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3851
3852 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3853
3854 Consistent completion in inferior python with emacs -nw.
3855 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3856 binding in inferior-python-mode-map with "\t".
3857 (python-shell-completion-complete-at-point)
3858 (python-completion-complete-at-point): Remove interactive spec.
3859
3860 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3861
3862 * calc/calccomp.el (math-compose-expr): Undo previous change.
3863
3864 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3865
3866 * progmodes/python.el (python-mode-map): Add keybinding for
3867 run-python.
3868 (python-shell-make-comint): Fix pop-to-buffer call.
3869 (run-python): Autoload. New arg SHOW.
3870 (python-shell-get-or-create-process): Do not pop python process
3871 buffer.
3872
3873 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
3874
3875 * notifications.el (notifications-on-action-signal)
3876 (notifications-on-closed-signal): Use also the bus address for the map.
3877 (notifications-notify, notifications-close-notification)
3878 (notifications-get-capabilities): Add optional argument BUS.
3879
3880 2012-07-27 Tassilo Horn <tsdh@gnu.org>
3881
3882 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3883 Add support for the lstlisting and minted environments, and for the
3884 ctable macro.
3885 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3886 labels written in keyvals syntax.
3887
3888 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3889
3890 * calc/calccomp.el (math-compose-expr): Use parentheses when
3891 there is a product in the denominator of a fraction.
3892
3893 2012-07-26 Eli Zaretskii <eliz@gnu.org>
3894
3895 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3896 ($(lisp)/calendar/diary-loaddefs.el)
3897 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3898 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3899 Fixes failures in parallel bootstrap because subdirs.el is being
3900 rewritten while the autoload files are built at the same time,
3901 which needs to load subdirs.el.
3902
3903 2012-07-26 Martin Rudalics <rudalics@gmx.at>
3904
3905 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3906 (mouse-drag-line): Don't exit tracking when a switch-frame or
3907 switch-window event occurs (Bug#12006).
3908
3909 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3910
3911 * mouse.el (popup-menu): Fix last change.
3912
3913 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 Autoload from Lisp with more care. Follow aliases when looking for
3916 function properties.
3917 * subr.el (autoloadp): New function.
3918 (symbol-file): Use it.
3919 (function-get): New function.
3920 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3921 autoload-do-load.
3922 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3923 (lisp-indent-function):
3924 * emacs-lisp/gv.el (gv-get):
3925 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3926 * emacs-lisp/byte-opt.el (byte-optimize-form):
3927 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3928 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3929 Use function-get.
3930 * emacs-lisp/cl.el: Don't propagate function properties any more.
3931
3932 * speedbar.el (speedbar-add-localized-speedbar-support):
3933 * emacs-lisp/disass.el (disassemble-internal):
3934 * desktop.el (desktop-load-file):
3935 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3936 (describe-function-1):
3937 * emacs-lisp/find-func.el (find-function-noselect):
3938 * emacs-lisp/elp.el (elp-instrument-function):
3939 * emacs-lisp/advice.el (ad-has-proper-definition):
3940 * apropos.el (apropos-safe-documentation, apropos-macrop):
3941 * emacs-lisp/debug.el (debug-on-entry):
3942 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3943 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3944 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3945
3946 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3947
3948 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3949 function, not an obsolete variable (Bug#12046).
3950
3951 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3952
3953 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3954
3955 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3956
3957 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3958 window only if it is still live (Bug#12034).
3959
3960 2012-07-25 Martin Rudalics <rudalics@gmx.at>
3961
3962 * subr.el (redirect-frame-focus): Add advertised calling
3963 convention (Bug#12030).
3964
3965 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3966
3967 Prefer typical American spelling for "acknowledgment".
3968 * vc/add-log.el (change-log-acknowledgment): Rename from
3969 change-log-acknowledgement, with an alias for the old name.
3970
3971 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3972
3973 * calc-alg.el (math-simplify-divide): Don't cross multiply
3974 in an equation when the lhs is a variable.
3975
3976 2012-07-24 Julien Danjou <julien@danjou.info>
3977
3978 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3979 Remove, unused.
3980
3981 2012-07-23 Eli Zaretskii <eliz@gnu.org>
3982
3983 * startup.el (command-line): Don't display an empty user name in
3984 the error message about non-existent home directory, when
3985 init-file-user was set to an empty string. See
3986 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3987 for the details and context.
3988
3989 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3990
3991 * ses.el (ses-cell-formula-aset): New macro.
3992 (ses-cell-references-aset): New macro.
3993 (ses-cell-p): New function.
3994 (ses-rename-cell): Do no longer rely on complex operations like
3995 ses-cell-set-formula or ses-set-cell to change the cell and handle
3996 the undo at the same time, but rather use lower level new macros
3997 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3998 the undo directly. Refresh the mode line.
3999
4000 2012-07-21 Leo Liu <sdl.web@gmail.com>
4001
4002 * progmodes/cc-cmds.el (c-defun-name):
4003 Use match-string-no-properties instead for consistency.
4004
4005 2012-07-20 Leo Liu <sdl.web@gmail.com>
4006
4007 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4008 (Bug#7879)
4009
4010 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4011
4012 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4013
4014 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4015 * progmodes/bug-reference.el, misearch.el: Provide themselves
4016 (bug#11915).
4017
4018 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4019 of narrowed buffer (bug#11966).
4020
4021 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4022
4023 * ses.el (ses-rename-cell): Set new name also in reference list of
4024 cells of which the renamed cell depends.
4025
4026 2012-07-20 Masatake YAMATO <yamato@redhat.com>
4027
4028 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4029 to check whether menu-bar is shown or not. If not shown,
4030 show the menu-bar as a popup menu instead of using tmm.
4031 * mouse.el (popup-menu): Accept `point' as `position' argument.
4032
4033 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4034
4035 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4036 up inside string symbol literal (bug#11923).
4037
4038 2012-07-20 Eli Zaretskii <eliz@gnu.org>
4039
4040 * startup.el (fancy-startup-text): Read the whole tutorial, not
4041 just its first 256 bytes. Prevents gibberish in display of the
4042 tutorial title.
4043
4044 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4045
4046 Drop idle buffer compaction due to an absence of the
4047 proved efficiency.
4048 * compact.el: Remove.
4049
4050 2012-07-19 Sam Steingold <sds@gnu.org>
4051
4052 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4053 vc-bzr-pull & vc-bzr-merge-branch.
4054 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4055 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4056 for consistency with compilation-error-regexp-alist.
4057 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4058 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4059 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4060 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4061
4062 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4063
4064 * emacs-lisp/chart.el: Use lexical-binding.
4065 (chart-emacs-storage): Don't hardcode the list of entries.
4066
4067 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4068
4069 Next round of tweaks caused by Fgarbage_collect changes.
4070 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4071
4072 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4073
4074 Compact buffers when idle.
4075 * compact.el: New file.
4076
4077 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4078
4079 * subr.el (eventp): Presume that if it looks vaguely like an event,
4080 it's an event (bug#10190).
4081
4082 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4083
4084 Enhancements to ppss related code (thanks Stefan).
4085 * progmodes/python.el (python-indent-context)
4086 (python-indent-calculate-indentation, python-indent-dedent-line)
4087 (python-indent-electric-colon, python-nav-forward-block)
4088 (python-mode-abbrev-table)
4089 (python-info-assignment-continuation-line-p): Simplify checks
4090 for ppss context.
4091 (python-info-continuation-line-p): Cleanup.
4092 (python-info-ppss-context): Do not catch 'quote.
4093 (python-info-ppss-context-type)
4094 (python-info-ppss-comment-or-string-p): Simplify.
4095
4096 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4097
4098 * progmodes/python.el: Enhancements to eldoc support.
4099 (python-info-current-symbol): New function.
4100 (python-eldoc-at-point): Use python-info-current-symbol.
4101 (python-info-current-defun): Fix cornercase on first defun scan.
4102 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4103 and signal error when no inferior python process is available.
4104
4105 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4106
4107 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4108 assume it's always t.
4109 (vc-git-registered): Remove caching, the function is only called
4110 once.
4111 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4112
4113 2012-07-18 Chong Yidong <cyd@gnu.org>
4114
4115 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4116
4117 * simple.el (count-words): Report on narrowing (Bug#9959).
4118
4119 * bindings.el: Bind M-= to count-words.
4120
4121 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4122
4123 2012-07-18 Masatake YAMATO <yamato@redhat.com>
4124
4125 * progmodes/sh-script.el (sh-imenu-generic-expression):
4126 Capture a function with `function' keyword and without parentheses
4127 like "function FOO" (bug#11856).
4128
4129 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4130
4131 * window.el (split-window-sensibly): Make WINDOW argument
4132 optional.
4133
4134 2012-07-18 Chong Yidong <cyd@gnu.org>
4135
4136 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4137
4138 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4139 and make C-x 8 RET exit isearch (Bug#11439).
4140
4141 * international/iso-transl.el: Move isearch-mode-map key
4142 definitions to isearch.el.
4143
4144 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4147 (eieio-defclass): Use gv-define-setter when possible.
4148
4149 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4150
4151 Reflect recent changes in Fgarbage_collect.
4152 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4153 reflect new format of data returned by Fgarbage_collect.
4154
4155 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4156
4157 New utility functions + python-info-ppss-context fix (Bug#11910).
4158 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4159 (python-info-ppss-comment-or-string-p): New functions.
4160 (python-info-ppss-context): Small fix for string check.
4161
4162 2012-07-17 Juri Linkov <juri@jurta.org>
4163
4164 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4165 (dired-do-async-shell-command): Don't add `*' at the end of the
4166 command (Bug#11815).
4167 (dired-do-shell-command): Doc fix.
4168 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4169 Join the individual commands using either "&" or ";" as the
4170 separator depending on the values of these trailing characters.
4171 At the end re-add the trailing "&". (Bug#10598)
4172
4173 * simple.el (async-shell-command): Sync the interactive spec with
4174 `shell-command'. Doc fix.
4175 (shell-command): Doc fix.
4176
4177 2012-07-17 Juri Linkov <juri@jurta.org>
4178
4179 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4180
4181 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4182
4183 Final renames and doc fixes for movement commands (bug#11899).
4184 * progmodes/python.el (python-nav-beginning-of-statement):
4185 Rename from python-nav-statement-start.
4186 (python-nav-end-of-statement): Rename from
4187 python-nav-statement-end.
4188 (python-nav-beginning-of-block): Rename from
4189 python-nav-block-start.
4190 (python-nav-end-of-block): Rename from python-nav-block-end.
4191
4192 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4193
4194 * progmodes/python.el (python-shell-send-string-no-output):
4195 Allow accept-process-output to quit, keeping shell process ready for
4196 future interactions (Bug#11868).
4197
4198 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4201
4202 * emacs-lisp/elint.el (elint-find-args-in-code):
4203 Use help-function-arglist, so as to handle lexical byte-code.
4204
4205 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4206 change (bug#11826).
4207
4208 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4211 Avoid spuriously marking the buffer as modified because of c-is-sws.
4212
4213 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4214 as not-a-comment (bug#11946).
4215
4216 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4217 for uninterned vars.
4218
4219 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4220 Use read-event since we don't really want to read chars but bytes.
4221
4222 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4223 $$..$$ but also $..$ using regexps (bug#11953).
4224 Use tex-verbatim for \url and \path.
4225 (tex-font-lock-keywords): Define as defconst like the others.
4226 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4227
4228 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4229
4230 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4231 alias for insert-char.
4232
4233 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4234
4235 * progmodes/python.el: Simplified imenu implementation.
4236 (python-nav-jump-to-defun): Remove command.
4237 (python-mode-map): Use `imenu' instead.
4238 (python-nav-list-defun-positions-cache)
4239 (python-imenu-include-defun-type, python-imenu-make-tree)
4240 (python-imenu-subtree-root-label, python-imenu-index-alist):
4241 Remove vars.
4242 (python-nav-list-defun-positions, python-nav-read-defun)
4243 (python-imenu-tree-assoc, python-imenu-make-element-tree)
4244 (python-imenu-make-tree, python-imenu-create-index):
4245 Remove functions.
4246 (python-mode): Update to interact with imenu by setting
4247 `imenu-extract-index-name-function' only.
4248
4249 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4250
4251 * progmodes/python.el: Enhancements to navigation commands.
4252 (python-nav-backward-sentence)
4253 (python-nav-forward-sentence): Remove.
4254 (python-nav-backward-statement, python-nav-forward-statement)
4255 (python-nav-statement-start, python-nav-statement-end)
4256 (python-nav-backward-block, python-nav-forward-block)
4257 (python-nav-block-start, python-nav-block-end)
4258 (python-nav-forward-sexp-function)
4259 (python-info-current-line-comment-p)
4260 (python-info-current-line-empty-p): New functions.
4261 (python-indent-context): Use `python-nav-statement-start'.
4262
4263 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
4264
4265 * eshell/em-ls.el (eshell/ls): Use `apply'.
4266
4267 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4268 multi-hops, instead of Tramp internals.
4269
4270 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4271
4272 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4273 when F1 and F2 are located on different hosts.
4274
4275 2012-07-14 Chong Yidong <cyd@gnu.org>
4276
4277 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4278 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4279 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4280 (xterm-mouse--read-event-sequence-1000)
4281 (xterm-mouse--read-event-sequence-1006): New functions. For old
4282 mouse protocol, handle M-mouse-X events correctly.
4283 (xterm-mouse-event): New arg specifying mouse protocol.
4284 (turn-on-xterm-mouse-tracking-on-terminal)
4285 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4286 sequence to toggle extended coordinates on newer XTerms.
4287 This appears to be harmless on terminals which do not support this.
4288
4289 2012-07-14 Leo Liu <sdl.web@gmail.com>
4290
4291 Add fringe bitmap indicators for flymake. (Bug#11253)
4292 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4293 (flymake-make-overlay): New arg BITMAP.
4294 (flymake-error-bitmap, flymake-warning-bitmap)
4295 (flymake-fringe-indicator-position): New user variables.
4296
4297 * fringe.el: New bitmap exclamation-mark.
4298
4299 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4300
4301 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4302 also (Bug#7879).
4303
4304 2012-07-14 Chong Yidong <cyd@gnu.org>
4305
4306 * electric.el (electric-pair-post-self-insert-function): Fix pair
4307 insertion in empty-region case (Bug#11520).
4308
4309 2012-07-14 Chong Yidong <cyd@gnu.org>
4310
4311 * bindings.el: Consolidate ctl-x-r-map bindings.
4312 Bind copy-rectangle-as-kill to C-x r w.
4313
4314 * rect.el, register.el: Move bindings to bindings.el.
4315
4316 2012-07-14 Reuben Thomas <rrt@sc3d.org>
4317
4318 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4319
4320 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4321
4322 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4323
4324 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
4325
4326 * bindings.el (top): Use `mapc' instead of `mapcar'.
4327
4328 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4329
4330 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
4331
4332 * progmodes/sql.el (sql-comint): Suppress the check for program on
4333 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4334 (Bug#11908)
4335
4336 2012-07-13 Chong Yidong <cyd@gnu.org>
4337
4338 * bindings.el: Assign a non-nil permanent-local property to
4339 per-buffer variables which lack a default value (Bug#11930).
4340
4341 * help-fns.el (describe-variable): In the "automatically becomes
4342 local" notice, take note of permanent-local variables.
4343
4344 2012-07-13 Chong Yidong <cyd@gnu.org>
4345
4346 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4347 to allow printing the message when called from Lisp.
4348
4349 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4350 Remove toggle-read-only.
4351
4352 * bs.el (bs-toggle-readonly):
4353 * buff-menu.el (Buffer-menu-toggle-read-only):
4354 Remove with-no-warnings around toggle-read-only.
4355
4356 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4357 Remove with-no-warnings around toggle-read-only.
4358 (ffap-read-only, ffap-read-only-other-window)
4359 (ffap-read-only-other-frame): Callers changed.
4360
4361 * help-mode.el: Don't require view package.
4362 (help-mode-finish): Set buffer-read-only instead of calling
4363 toggle-read-only.
4364
4365 * bindings.el (mode-line-toggle-read-only):
4366 * dired.el (dired-toggle-read-only):
4367 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4368 with non-nil second arg.
4369
4370 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4371 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4372 directly.
4373
4374 2012-07-12 Eli Zaretskii <eliz@gnu.org>
4375
4376 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4377 not incf.
4378
4379 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4380
4381 More CL cleanups and reduction of use of cl.el.
4382 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4383 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4384 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4385 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4386 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4387 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4388 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4389 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4390 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4391 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4392 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4393 * eshell/em-cmpl.el, eshell/em-banner.el:
4394 * calendar/parse-time.el: Use cl-lib.
4395 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4396 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4397 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4398 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4399 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4400 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4401 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4402 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4403 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4404 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4405 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4406 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4407 `lambda' rather than with `quote'.
4408 (eshell-do-opt): Adjust accordingly.
4409 (eshell-process-option): Simplify.
4410 * eshell/esh-var.el:
4411 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4412 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4413 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4414 to `pcase--dontcare'.
4415 * emacs-lisp/cl.el (labels): Mark obsolete.
4416 (cl--letf, letf): Move to cl-lib.
4417 (cl--letf*, letf*): Remove.
4418 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4419 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4420 (cl-progv): Rewrite.
4421 (cl--letf, cl-letf): Move from cl.el.
4422 (cl-letf*): New macro.
4423 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4424
4425 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
4426
4427 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4428
4429 2012-07-11 Chong Yidong <cyd@gnu.org>
4430
4431 * vc/log-edit.el (log-edit-vc-backend): New variable.
4432 (log-edit): Doc fix.
4433
4434 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4435 argument of log-edit to set up all local variables.
4436 (vc-start-logentry): New optional arg specifying VC backend.
4437
4438 * vc/vc.el (vc-checkin): Use it.
4439 (vc-deduce-fileset): Handle Log Edit buffers.
4440 (vc-diff): Make first argument optional too.
4441
4442 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4443
4444 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
4445
4446 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4447 command, just in case. The function is not needed anymore.
4448 (eshell-external-command): Do not call `eshell-remote-command'.
4449
4450 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 Reduce use of (require 'cl).
4453 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4454 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4455 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4456 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4457 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4458 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4459 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4460 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4461 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4462 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4463 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4464 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4465 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4466 (byte-compile-unfold-bcf, byte-compile-check-variable):
4467 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4468 (byte-compile-nilconstp):
4469 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4470 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4471
4472 * emacs-lisp/gv.el (cond): Make it a valid place.
4473 (if): Simplify slightly.
4474
4475 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4476 (pcase--self-quoting-p): New function.
4477 (pcase--u1): Use it.
4478
4479 2012-07-10 Glenn Morris <rgm@gnu.org>
4480
4481 * emacs-lisp/authors.el (authors-fixed-entries):
4482 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4483
4484 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4485
4486 Rename configure.in to configure.ac (Bug#11603).
4487 * emacs-lisp/authors.el (authors-canonical-file-name):
4488 * progmodes/autoconf.el (autoconf-mode):
4489 Prefer configure.ac to configure.in.
4490
4491 2012-07-08 Chong Yidong <cyd@gnu.org>
4492
4493 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4494 Implement the mouse-1-click-follows-link handling properly.
4495
4496 * info.el (Info-link-keymap): Use follow-link mechanism for
4497 header-line links (Bug#374).
4498
4499 * simple.el (deactivate-mark): Do not set the primary selection
4500 if another program has acquired it (Bug#11772).
4501
4502 2012-07-07 Kevin Ryde <user42@zip.com.au>
4503
4504 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4505 (woman-decode-region): Replace escaped-escapes without destroying
4506 bold or underline (Bug#11552).
4507 (woman2-process-escapes): Handle nofill regions (Bug#11591).
4508
4509 2012-07-07 Chong Yidong <cyd@gnu.org>
4510
4511 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4512 (interprogram-cut-function, interprogram-paste-function):
4513 Mention that we typically mean the clipboard.
4514
4515 2012-07-06 Glenn Morris <rgm@gnu.org>
4516
4517 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4518
4519 * files.el (toggle-read-only): Restrict message to interactive use.
4520
4521 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
4522
4523 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4524
4525 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4526
4527 2012-07-06 Glenn Morris <rgm@gnu.org>
4528
4529 * Makefile.in (compile-one-process): Rename from "recompile".
4530
4531 * Makefile.in (bzr-update): "compile" is the same as "recompile
4532 autoloads", but parallelizable, so use that instead.
4533
4534 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4535
4536 * window.el (quit-window): Always restore window height when
4537 it's saved in quit-restore parameter (Bug#11810).
4538
4539 2012-07-06 Glenn Morris <rgm@gnu.org>
4540
4541 * simple.el (kill-whole-line): Doc tweak.
4542
4543 2012-07-06 Eli Zaretskii <eliz@gnu.org>
4544
4545 * files.el (file-relative-name): Compare file names
4546 case-insensitively if on MS-Windows or MS-DOS, or if
4547 read-file-name-completion-ignore-case is non-nil. Don't use
4548 case-fold-search for this purpose. (Bug#11827)
4549
4550 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4551
4552 * calendar/cal-dst.el (calendar-current-time-zone):
4553 Return calendar-current-time-zone-cache if non-nil.
4554
4555 2012-07-17 Masatake YAMATO <yamato@redhat.com>
4556 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
4557
4558 * calendar/cal-dst.el (calendar-current-time-zone):
4559 Return calendar-current-time-zone-cache if non-nil.
4560
4561 2012-07-06 Glenn Morris <rgm@gnu.org>
4562
4563 * Makefile.in (cvs-update): Remove old alias.
4564
4565 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
4566
4567 Sync with Tramp 2.2.6-pre.
4568
4569 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4570 compatible declaration.
4571
4572 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4573 Protect `list-load-path-shadows' call.
4574
4575 * net/tramp-compat.el (top): Require packages, which aren't
4576 autoloaded anymore for XEmacs. Protect call of
4577 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4578 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4579 it hurts at least for SXEmacs.
4580 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4581 standard-value for `temporary-file-directory'.
4582
4583 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4584 Redirect stderr to /dev/null.
4585 (tramp-sh-handle-write-region): uid and gid can be floats.
4586 Reported by Russell Sim <russell.sim@gmail.com>.
4587 (tramp-sh-handle-vc-registered): Hide errors.
4588 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4589 and `start-file-process'.
4590 (tramp-maybe-open-connection): Check also whether `non-essential'
4591 is bound.
4592
4593 2012-07-04 Chong Yidong <cyd@gnu.org>
4594
4595 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4596 (xml-parse-tag): Likewise, and avoid changing entity tables.
4597 (xml-syntax-table): Define from scratch, making sure not to give
4598 x2000 and other Unicode spaces whitespace syntax, since those are
4599 not spaces in XML.
4600 (xml-parse-fragment): Delete unused function.
4601 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4602 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4603 (xml-entity-ref, xml-pe-reference-re)
4604 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4605 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4606 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4607 (xml-entity-value-re): Use syntax references in regexps where
4608 possible; no need to define inside a let-binding.
4609 (xml-parse-dtd): Use xml-pe-reference-re.
4610 (xml-entity-or-char-ref-re): New defconst.
4611 (xml-parse-string, xml-substitute-special): Use it.
4612
4613 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4614
4615 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4616 (find-file--read-only): New function.
4617 (find-file-read-only, find-file-read-only-other-window)
4618 (find-file-read-only-other-frame): Use it.
4619 (insert-file-contents-literally): Don't `fset'.
4620 (get-free-disk-space): Use locate-dominating-file.
4621
4622 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4623 function is already compiled.
4624
4625 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4626
4627 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
4628
4629 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4630 files on the same host.
4631
4632 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4633
4634 * help-fns.el (describe-function-1): Only call
4635 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4636
4637 2012-07-03 Chong Yidong <cyd@gnu.org>
4638
4639 * xml.el: Protect parser against XML bombs.
4640 (xml-entity-expansion-limit): New variable.
4641 (xml-parse-string, xml-substitute-special): Use it.
4642 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4643
4644 2012-07-03 Glenn Morris <rgm@gnu.org>
4645
4646 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4647 Allow linking to specific messages in debbugs reports (eg 123#5).
4648
4649 2012-07-02 Chong Yidong <cyd@gnu.org>
4650
4651 * xml.el: Fix entity and character reference expansion, allowing
4652 them to expand into markup as per XML spec.
4653 (xml-default-ns): New variable.
4654 (xml-entity-alist): Use XML spec definitions for lt and amp.
4655 (xml-parse-region): Make first two arguments optional.
4656 Discard text properties.
4657 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4658 All callers changed.
4659 (xml-parse-tag): Call xml-parse-tag-1. For backward
4660 compatibility, this function should not modify buffer contents.
4661 (xml-parse-tag-1): Fix opening-tag regexp.
4662 (xml-parse-string): Rewrite, handling entity and character
4663 references properly.
4664 (xml--entity-replacement-text): Signal an error if a parameter
4665 entity is undefined.
4666
4667 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4668
4669 * comint.el (comint-output-filter): Filter out repeated prompts.
4670
4671 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4672 and file-name-absolute-p.
4673 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4674 internal calls.
4675
4676 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4677
4678 Spelling fixes.
4679 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4680 Rename from byte-compile--refiy-function. All uses changed.
4681
4682 2012-07-01 Chong Yidong <cyd@gnu.org>
4683
4684 * xml.el (xml--parse-buffer): New function. Move most of
4685 xml-parse-region here.
4686 (xml-parse-region): Copy region into a temporary buffer, since
4687 parameter entity substitution requires changing buffer contents.
4688 Use xml--parse-buffer.
4689 (xml-parse-file): Use xml--parse-buffer.
4690 (xml-parse-dtd): Make parameter entity substitution work right.
4691 Use proper regexps for ELEMENT declarations (Bug#7172).
4692
4693 2012-06-30 Glenn Morris <rgm@gnu.org>
4694
4695 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4696
4697 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4698 Remove outdated and unnecessary dbus declarations.
4699
4700 2012-06-30 Eli Zaretskii <eliz@gnu.org>
4701
4702 * emacs-lisp/timer.el (timer-until): Subtract results of
4703 float-time, instead of taking float-time of the result of
4704 time-subtract, since float-time signals an error for negative time
4705 arguments.
4706
4707 2012-06-30 Chong Yidong <cyd@gnu.org>
4708
4709 * xml.el (xml-*-re): Convert defvars into defconsts, and
4710 eval-and-compile them so eval-and-compile works on derivatives.
4711 (xml--entity-replacement-text): Use eval-and-comple.
4712
4713 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
4714
4715 * vc/vc-git.el (vc-git-registered): Use cache property
4716 `git-registered'.
4717 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4718 `vc-git-working-revision' in order to benefit from the cache.
4719 (vc-git-root): Use cache property `git-root'. (Bug#11757)
4720
4721 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4722
4723 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4724 removed (likely outside Emacs). (Bug#11757)
4725
4726 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4727
4728 * emacs-lisp/cl-lib.el: Require macroexp.
4729
4730 2012-06-30 Chong Yidong <cyd@gnu.org>
4731
4732 * xml.el: Implement XML parameter entities.
4733 (xml-parameter-entity-alist): New variable.
4734 (xml-parse-region, xml-parse-fragment): Preserve previous values
4735 of xml-entity-alist and xml-parameter-entity-alist, so that
4736 repeated calls on different documents do not change them.
4737 (xml-parse-tag): Fix doctype regexp.
4738 (xml--entity-replacement-text): New function.
4739 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4740 properly requires url retrieval which is unimplemented.
4741 (xml-escape-string): Doc fix.
4742
4743 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4744
4745 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4746
4747 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4748
4749 * fringe.el (fringe-mode): Doc fix.
4750
4751 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
4752
4753 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4754 is non-nil.
4755 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4756 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4757
4758 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
4759
4760 * calendar/cal-dst.el (calendar-current-time-zone):
4761 Return calendar-current-time-zone-cache if non-nil.
4762
4763 2012-06-29 Masatake YAMATO <yamato@redhat.com>
4764
4765 * progmodes/which-func.el (which-func-format):
4766 Add mouse-face. (Bug#11698)
4767
4768 2012-06-29 Leo Liu <sdl.web@gmail.com>
4769
4770 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4771
4772 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4773
4774 * minibuffer.el (minibuffer-confirm-exit-commands):
4775 Add completion-at-point (bug#11725).
4776
4777 2012-06-29 Glenn Morris <rgm@gnu.org>
4778
4779 * progmodes/f90.el (f90-font-lock-keywords-2):
4780 Add some preprocessor elements. (Bug#10499)
4781
4782 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4783
4784 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4785 Use syntax-propertize (bug#11739).
4786
4787 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
4788
4789 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4790
4791 2012-06-28 Julien Danjou <julien@danjou.info>
4792
4793 * term.el (term-handle-colors-array): Use a set of new faces to
4794 color the terminal. Also uses :inverse-video property.
4795 (term-default-fg-color): Set to nil by default, deprecate in favor
4796 of `term-face'.
4797 (term-default-bg-color): Set to nil by default, deprecate in favor
4798 of `term-face'.
4799 (term-current-face): Use `term-face' by default.
4800 (term-bold-attribute): Variable deleted.
4801
4802 2012-06-28 Glenn Morris <rgm@gnu.org>
4803
4804 * simple.el (completion-list-mode-finish):
4805 Don't use toggle-read-only. (Since completion-list-mode has
4806 a special mode-class, it wasn't doing anything extra anyway.)
4807
4808 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 Make inlining of other-mode interpreted functions work (bug#11799).
4811 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4812 (byte-compile): Use it to fix compilation of lexical-binding closures.
4813 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4814 function, if needed.
4815
4816 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * help-mode.el (help-make-xrefs): Don't just withstand
4819 cyclic-variable-indirection but any error in documentation-property.
4820
4821 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4822 memory use.
4823 * bindings.el (bindings--define-key): New function.
4824 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4825 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4826 * bindings.el: Use it to purecopy define-key bindings.
4827
4828 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4829
4830 * emacs-lisp/cl.el (flet): Mark obsolete.
4831 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4832 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4833 * progmodes/js.el (js-c-fill-paragraph):
4834 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4835 (ebrowse-switch-member-buffer-to-derived-class):
4836 * play/5x5.el (5x5-solver): Use cl-flet.
4837
4838 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4839 (cl--symbol-function): New macro.
4840 (cl--letf, cl--letf*): Use it.
4841
4842 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4843 Strip "toggle-" if any.
4844
4845 2012-06-27 Glenn Morris <rgm@gnu.org>
4846
4847 * info.el (Info-default-directory-list): Move here from paths.el.
4848 * paths.el: Remove file, which is now empty.
4849 * loadup.el: No longer load "paths".
4850
4851 * custom.el (custom-initialize-delay): Doc fix.
4852
4853 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4854 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4855 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4856 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4857 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4858 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4859 * eshell/eshell.el (eshell-defgroup): Remove alias.
4860
4861 2012-06-27 Chong Yidong <cyd@gnu.org>
4862
4863 * help.el (help-enable-auto-load): New variable.
4864
4865 * help-fns.el (help-fns--autoloaded-p): New function.
4866 (describe-function-1): Refer to a function as "autoloaded" if it
4867 was autoloaded at any time in the past. Perform autoloading if
4868 help-enable-auto-load is non-nil.
4869
4870 2012-06-26 Eli Zaretskii <eliz@gnu.org>
4871
4872 * makefile.w32-in (compile, compile-always): Depend on
4873 update-subdirs, not on subdirs.el. Otherwise, several different
4874 sub-targets of 'bootstrap' running in parallel could
4875 simultaneously write to subdirs.el, producing a garbled file.
4876
4877 2012-06-26 Sam Steingold <sds@gnu.org>
4878
4879 * files.el (file-name-base): New convenience function.
4880 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4881 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4882 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4883 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4884 * textmodes/ispell.el, textmodes/reftex-ref.el:
4885 * textmodes/tex-mode.el: Use it.
4886 Did not touch cedet and org because they are maintained elsewhere.
4887
4888 2012-06-26 Martin Rudalics <rudalics@gmx.at>
4889
4890 * calendar/calendar.el (calendar-exit): Don't try to delete or
4891 iconify last frame. See:
4892 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4893
4894 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4895
4896 * server.el (server-process-filter): Remember dir in the
4897 process's `server-client-directory' properties.
4898
4899 2012-06-24 Chong Yidong <cyd@gnu.org>
4900
4901 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4902 non-tag text.
4903
4904 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
4905
4906 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4907
4908 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * help-fns.el (describe-variable): Don't croak when doc is not found.
4911 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4912 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4913 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4914 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4915 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4916 ((lambda ..) ..).
4917 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4918
4919 2012-06-23 Chong Yidong <cyd@gnu.org>
4920
4921 * info.el (Info-mouse-follow-link): Accept symbol values of
4922 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
4923 (Info-fontify-node): Use Info-link-keymap for all navigation
4924 buttons, with link-args property to perform the desired action.
4925 (Info-link-keymap): Doc fix.
4926 (Info-next-link-keymap, Info-prev-link-keymap)
4927 (Info-up-link-keymap): Delete now-unused keymaps.
4928
4929 2012-06-23 Chong Yidong <cyd@gnu.org>
4930
4931 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4932
4933 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4934 system abbrevs.
4935
4936 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4937
4938 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4941 (bug#11719).
4942
4943 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4944 the requote function doesn't work properly (bug#11714).
4945
4946 2012-06-23 Glenn Morris <rgm@gnu.org>
4947
4948 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4949
4950 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 Further GV/CL cleanups.
4953 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4954 gv-expander.
4955 (gv--defun-declaration): New function.
4956 (defun-declarations-alist): Use it.
4957 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4958 (gv-place): Autoload.
4959 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4960 original definition of dotimes and dolist.
4961 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4962 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4963 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4964 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4965 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4966 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4967 to the function's definition.
4968 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4969 * window.el:
4970 * files.el:
4971 * faces.el:
4972 * env.el: Don't use CL.
4973
4974 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4975
4976 Support higher-resolution time stamps (Bug#9000).
4977
4978 * calendar/time-date.el (with-decoded-time-value): New arg
4979 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4980 (encode-time-value): New optional arg PICO. New type 3.
4981 (time-to-seconds) [!float-time]: Support the new picoseconds
4982 component if it's used.
4983 (seconds-to-time, time-subtract, time-add):
4984 Support ps-resolution time stamps as well.
4985
4986 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4987 (timerp): Timer vectors now have length 9, not 8.
4988 (timer--time): Support new-style (4-part) time stamps.
4989 (timer-next-integral-multiple-of-time): Time stamps now have
4990 picosecond resolution, so take a bit more care about rounding.
4991 (timer-relative-time, timer-inc-time): New optional arg psecs.
4992 (timer-set-time-with-usecs): Set psecs to 0.
4993 (timer--activate): Check psecs component, too.
4994
4995 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4996
4997 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5000 Move the non-essential binding to the post/pre-command-hook where it is
5001 more obviously correct.
5002
5003 * subr.el (read-passwd): Don't use a history at all.
5004 * savehist.el (savehist-save): Remove password saved accidentally
5005 because of the above bug.
5006
5007 2012-06-22 Bastien Guerry <bzg@gnu.org>
5008
5009 * files.el (toggle-read-only): Display a message telling whether
5010 the buffer is read-only or not (bug#11726).
5011
5012 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5013
5014 * emacs-lisp/gv.el: New file.
5015 * subr.el (push, pop): Extend to generalized variables.
5016 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5017 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5018 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5019 gv-define-simple-setter, and gv-define-expander.
5020 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5021 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5022 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5023 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5024 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5025 gv-letplace.
5026 (cl-defstruct): Don't define setf-method any more.
5027 * emacs-lisp/cl.el (flet): Don't autoload.
5028 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5029 (define-setf-expander, defsetf, define-modify-macro)
5030 (cl-struct-setf-expander): Move from cl-lib.el.
5031 * emacs-lisp/syntax.el:
5032 * emacs-lisp/ewoc.el:
5033 * emacs-lisp/smie.el:
5034 * emacs-lisp/cconv.el:
5035 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5036 (timer--time): Use gv-define-simple-setter.
5037 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5038 to avoid coding-system problems in subr.el. Adjust all users.
5039 (macroexp--maxsize, macroexp-small-p): New functions.
5040 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5041 * scroll-bar.el (scroll-bar-mode):
5042 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5043 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5044 * winner.el (winner-configuration, winner-make-point-alist)
5045 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5046 * files.el (locate-file-completion-table): Avoid list*.
5047
5048 2012-06-22 Chong Yidong <cyd@gnu.org>
5049
5050 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5051 (dired-create-files): Doc fix (Bug#11329).
5052 (dired-do-copy): Doc fix (Bug#11334).
5053 (dired-mark-read-string): Doc fix (Bug#11553).
5054
5055 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5056 Doc fix (Bug#11326).
5057 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5058 (dired-dwim-target): Doc fix.
5059
5060 * wdired.el (wdired-mode): Doc fix.
5061
5062 2012-06-22 Glenn Morris <rgm@gnu.org>
5063
5064 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5065 (pcmpl-rpm-cache-stamp-file): New constant.
5066 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5067 (pcmpl-rpm-packages): Optionally cache list of packages.
5068
5069 * pcmpl-rpm.el (pcmpl-rpm): New group.
5070 (pcmpl-rpm-query-options): New option.
5071 (pcmpl-rpm-packages): No need to inline it.
5072 Use pcmpl-rpm-query-options.
5073
5074 * calendar/calendar.el (calendar-in-read-only-buffer):
5075 Avoid some needless mode changes.
5076
5077 2012-06-21 Chong Yidong <cyd@gnu.org>
5078
5079 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5080 (desktop-path): Remove . from the default value (Bug#10977).
5081 (desktop-read): Use user-emacs-directory if desktop-path is nil.
5082
5083 2012-06-20 Chong Yidong <cyd@gnu.org>
5084
5085 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5086
5087 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5088
5089 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5090 (bug#11201).
5091
5092 2012-06-20 Chong Yidong <cyd@gnu.org>
5093
5094 * term.el (term-window-width): Handle the case of a missing right
5095 fringe (Bug#8837).
5096 (term-check-size): Use window-text-height (Bug#5445).
5097 (term-mode): Use define-derived-mode. Minor cleanups.
5098 Set font-lock-defaults (Bug#7692).
5099 (term-move-columns, term-insert-char, term-emulate-terminal)
5100 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5101
5102 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
5103
5104 * net/ange-ftp.el (ange-ftp-get-passwd):
5105 Bind `enable-recursive-minibuffers'.
5106 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5107
5108 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5109
5110 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5111
5112 2012-06-19 Glenn Morris <rgm@gnu.org>
5113
5114 * progmodes/python.el (python-mode): Derive from prog-mode.
5115
5116 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5117
5118 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5119 (edt-user-menu-bar-update-buffers): New functions.
5120 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5121
5122 2012-06-19 Chong Yidong <cyd@gnu.org>
5123
5124 * subr.el (with-selected-window): Preserve the selected window's
5125 terminal's top-frame (Bug#4702).
5126
5127 * window.el (save-selected-window): Likewise.
5128
5129 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5130
5131 * progmodes/python.el (python-rx-constituents): Move backquote.
5132 (python-skeleton-define, python-define-auxiliary-skeleton):
5133 Use `declare'.
5134
5135 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
5136
5137 * minibuffer.el (read-file-name-default): Revert the patch from
5138 2012-06-17.
5139
5140 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5141
5142 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5143 (pcase--u1, pcase--q1): Don't use apply-partially.
5144
5145 2012-06-18 Glenn Morris <rgm@gnu.org>
5146
5147 * progmodes/python.el (python-proc, python-buffer)
5148 (python-send-receive, python-send-string): Fix obsolete versions.
5149
5150 2012-06-18 Martin Rudalics <rudalics@gmx.at>
5151
5152 * window.el (special-display-p): Completely remove stringp
5153 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5154
5155 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
5156
5157 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5158
5159 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5160
5161 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5162 * net/tramp-sh.el (tramp-maybe-open-connection):
5163 Throw if `non-essential' is non-nil.
5164
5165 2012-06-17 Martin Rudalics <rudalics@gmx.at>
5166
5167 * window.el (special-display-p): Signal an error if BUFFER-NAME
5168 is not a string (Bug#11713).
5169
5170 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5171
5172 * progmodes/python.el (python-info-beginning-of-backslash):
5173 Rename from python-info-beginning-of-backlash, as a spelling fix.
5174
5175 2012-06-17 Chong Yidong <cyd@gnu.org>
5176
5177 * term.el (term-emulate-terminal): If term-check-size is called,
5178 move point to the process mark without resetting point (Bug#4635).
5179
5180 2012-06-17 Glenn Morris <rgm@gnu.org>
5181
5182 * international/mule-cmds.el (mule-menu-keymap)
5183 (set-language-environment, set-locale-environment): Doc tweaks.
5184
5185 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5186
5187 * cus-face.el (custom-face-attributes): Add wave-style underline
5188 attribute.
5189 * faces.el (set-face-attribute): Update docstring to describe
5190 wave-style underline attribute.
5191
5192 2012-06-16 Chong Yidong <cyd@gnu.org>
5193
5194 * term/xterm.el (terminal-init-xterm): Discard input before
5195 querying background mode (Bug#10959).
5196
5197 2012-06-16 Stefan Merten <smerten@oekonux.de>
5198
5199 * textmodes/rst.el: Added and corrected some comments.
5200 (rst-re-alist-def): Improve symbol syntax.
5201 (rst-mode-syntax-table): Correct syntax entries.
5202 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5203 (rst-official-version, rst-official-cvs-rev): Update version
5204 information.
5205
5206 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
5207
5208 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5209 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5210
5211 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5212
5213 * progmodes/python.el: New python.el merge.
5214 (python-guess-indent): Obsolete var.
5215 (python-indent-guess-indent-offset): New defcustom.
5216 (python-indent): Obsolete var.
5217 (python-indent-offset): New defcustom.
5218 (python-python-command, python-jython-command): Delete var.
5219 (python-shell-interpreter): New defcustom.
5220 (python-pdbtrack-do-tracking-p): Delete var.
5221 (python-pdbtrack-activate): New defcustom.
5222 (python-use-skeletons): Obsolete var.
5223 (python-skeleton-autoinsert): New defcustom.
5224 (inferior-python-filter-regexp, python-continuation-offset)
5225 (python-honour-comment-indentation, python-indent-string-contents)
5226 (python-jython-packages, python-mode-hook)
5227 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5228 (python-shell-prompt-alist)
5229 (python-source-modes): Delete defcustoms.
5230 (python-check-buffer-name, python-eldoc-setup-code)
5231 (python-eldoc-string-code, python-ffap-setup-code)
5232 (python-ffap-string-code, python-fill-comment-function)
5233 (python-fill-decorator-function, python-fill-paren-function)
5234 (python-fill-string-function, python-imenu-include-defun-type)
5235 (python-imenu-make-tree, python-imenu-subtree-root-label)
5236 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5237 (python-shell-compilation-regexp-alist)
5238 (python-shell-completion-module-string-code)
5239 (python-shell-completion-pdb-string-code)
5240 (python-shell-completion-setup-code)
5241 (python-shell-completion-string-code)
5242 (python-shell-enable-font-lock, python-shell-exec-path)
5243 (python-shell-extra-pythonpaths)
5244 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5245 (python-shell-process-environment)
5246 (python-shell-prompt-block-regexp)
5247 (python-shell-prompt-output-regexp)
5248 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5249 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5250 (python-shell-virtualenv-path): New defcustoms.
5251 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5252 (inferior-python-mode-syntax-table, python--prompt-regexp)
5253 (python-buffer, python-command python-python-command)
5254 (python-default-template, python-imports, python-indent-index)
5255 (python-indent-list, python-indent-list-length)
5256 (python-mode-running, python-pdbtrack-is-tracking-p)
5257 (python-preoutput-continuation, python-preoutput-leftover)
5258 (python-preoutput-result, python-preoutput-skip-next-prompt)
5259 (python-prev-dir/file, python-recursing)
5260 (python-saved-check-command, python-version-checked)
5261 (python-which-func-length-limit)
5262 (view-return-to-alist): Delete vars.
5263 (python-check-custom-command, python-dotty-syntax-table)
5264 (python-imenu-index-alist, python-indent-current-level)
5265 (python-indent-dedenters, python-indent-levels)
5266 (python-nav-beginning-of-defun-regexp)
5267 (python-nav-list-defun-positions-cache)
5268 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5269 (python-shell-internal-buffer)
5270 (python-skeleton-available): New vars.
5271 (def-python-skeleton): Delete macro.
5272 (python-skeleton-define): New macro.
5273 (python-define-auxiliary-skeleton, python-rx): New macros.
5274 (python-insert-class): Delete command.
5275 (python-skeleton-class): New command.
5276 (python-insert-def): Delete command.
5277 (python-skeleton-def): New command.
5278 (python-insert-for): Delete command.
5279 (python-skeleton-for): New command.
5280 (python-insert-if): Delete command.
5281 (python-skeleton-if): New command.
5282 (python-insert-try/except, python-insert-try/finally): Delete commands.
5283 (python-skeleton-try): New command.
5284 (python-insert-while): Delete command.
5285 (python-skeleton-while): New command.
5286 (python-backspace): Delete command.
5287 (python-indent-dedent-line-backspace): New command.
5288 (python-electric-colon): Delete command.
5289 (python-indent-electric-colon): New command.
5290 (python-guess-indent): Delete command.
5291 (python-indent-guess-indent-offset): New command.
5292 (python-shift-left): Delete command.
5293 (python-indent-shift-left): New command.
5294 (python-shift-right): Delete command.
5295 (python-indent-shift-right): New command.
5296 (python-find-function): Delete command.
5297 (python-nav-jump-to-defun): New command.
5298 (python-next-statement): Delete command.
5299 (python-nav-forward-sentence): New command.
5300 (python-previous-statement): Delete command.
5301 (python-nav-backward-sentence): New command.
5302 (python-fill-paragraph): Delete command.
5303 (python-fill-paragraph-function): New command.
5304 (python-send-buffer): Delete command.
5305 (python-shell-send-buffer): New command.
5306 (python-send-defun): Delete command.
5307 (python-shell-send-defun): New command.
5308 (python-send-region, python-send-region-and-go): Delete commands.
5309 (python-shell-send-region)
5310 (python-shell-switch-to-shell): New commands.
5311 (python-send-string): Delete command.
5312 (python-shell-send-string): New command.
5313 (python-switch-to-python): Delete command.
5314 (python-shell-switch-to-shell): New command.
5315 (python-describe-symbol): Delete command.
5316 (python-eldoc-at-point): New command.
5317 (python--set-prompt-regexp, python-args-to-list)
5318 (python-after-info-look, python-check-version)
5319 (python-check-comint-prompt, python-find-imports)
5320 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5321 (python-unload-function, python-expand-template)
5322 (python-maybe-jython, python-preoutput-filter)
5323 (python-pdbtrack-get-source-buffer)
5324 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5325 (python-pdbtrack-toggle-stack-tracking)
5326 (python-pdbtrack-track-stack-file, python-initial-text)
5327 (python-first-word, python-comment-line-p, python-send-command)
5328 (python-setup-brm, python-sentinel, python-set-proc)
5329 (python-skip-out, python-input-filter, python-outdent-p)
5330 (python-outline-level, python-backslash-continuation-line-p)
5331 (python-end-of-block, python-end-of-statement, python-mark-block)
5332 (python-beginning-of-block, python-beginning-of-statement)
5333 (python-blank-line-p, python-beginning-of-string)
5334 (python-open-block-statement-p): Delete functions.
5335 (python-indent-line, python-indent-line-1): Delete functions.
5336 (python-indent-line): New function.
5337 (python-indentation-levels): Delete function.
5338 (python-indent-calculate-levels): New function.
5339 (python-proc): Delete function.
5340 (python-shell-get-process): New function.
5341 (python-send-receive): Delete function.
5342 (python-shell-send-string-no-output): New function.
5343 (python-module-path): Delete function.
5344 (python-ffap-module-path): New function.
5345 (python-completion-at-point)
5346 (python-symbol-completions): Delete functions.
5347 (python-completion-complete-at-point): New function.
5348 (python-load-file): Delete function.
5349 (python-shell-send-file): New function.
5350 (python-calculate-indentation): Delete function.
5351 (python-indent-calculate-indentation): New function.
5352 (python-skip-comments/blanks): Delete function.
5353 (python-util-forward-comment): New function.
5354 (python-continuation-line-p): Delete function.
5355 (python-info-continuation-line-p): New function.
5356 (python-which-func, python-current-defun): Delete function.
5357 (python-info-current-defun): New function.
5358 (python-beginning-of-defun): Delete function.
5359 (python-nav-beginning-of-defun): New function.
5360 (python-close-block-statement-p)
5361 (python-block-end-p): Delete function.
5362 (python-info-closing-block): New function.
5363 (python-comint-output-filter-function)
5364 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5365 (python-fill-comment, python-fill-decorator, python-fill-paren)
5366 (python-fill-string, python-imenu-make-element-tree)
5367 (python-imenu-make-tree, python-imenu-tree-assoc)
5368 (python-indent-context, python-indent-dedent-line)
5369 (python-indent-line-function)
5370 (python-indent-post-self-insert-function)
5371 (python-indent-toggle-levels)
5372 (python-info-assignment-continuation-line-p)
5373 (python-info-beginning-of-backlash)
5374 (python-info-block-continuation-line-p)
5375 (python-info-closing-block-message)
5376 (python-info-line-ends-backslash-p)
5377 (python-info-looking-at-beginning-of-defun)
5378 (python-info-ppss-context, python-info-ppss-context-type)
5379 (python-nav-list-defun-positions, python-nav-read-defun)
5380 (python-nav-sentence-end, python-nav-sentence-start)
5381 (python-pdbtrack-comint-output-filter-function)
5382 (python-pdbtrack-set-tracked-buffer)
5383 (python-shell-calculate-exec-path)
5384 (python-shell-calculate-process-environment)
5385 (python-shell-completion--do-completion-at-point)
5386 (python-shell-completion--get-completions)
5387 (python-shell-completion-complete-at-point)
5388 (python-shell-completion-complete-or-indent)
5389 (python-shell-get-or-create-process)
5390 (python-shell-get-process-name)
5391 (python-shell-internal-get-or-create-process)
5392 (python-shell-internal-get-process-name)
5393 (python-shell-internal-send-string, python-shell-make-comint)
5394 (python-shell-parse-command, python-shell-send-setup-code)
5395 (python-skeleton-add-menu-items)
5396 (python-util-clone-local-variables, python-util-position)
5397 (run-python-internal, python-indentation-levels)
5398 (python-nav-beginning-of-defun)
5399 (python-completion-complete-at-point): New functions.
5400 (run-python): Change arguments. New API requirements.
5401
5402 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5405 (bug#11649).
5406
5407 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5408 (macroexp--expand-all): Use it.
5409
5410 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5411 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5412 Use `cl-function' instead.
5413
5414 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
5415
5416 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5417 Suggested by Stefan Monnier while discussing bug#11657.
5418
5419 2012-06-14 Sam Steingold <sds@gnu.org>
5420
5421 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5422
5423 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5424
5425 * play/doctor.el (doctor-doc): Remove parameter and use
5426 doctor-sent instead of sent.
5427 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5428
5429 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * files.el: Require cl-lib.
5432 (file-name-non-special): Replace case -> cl-case.
5433
5434 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5435
5436 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5437 mapping from #' to function*.
5438
5439 2012-06-13 Chong Yidong <cyd@gnu.org>
5440
5441 * mouse.el (mouse-drag-track): Do not set the mark if the user
5442 releases the mouse without selecting anything (Bug#11588).
5443
5444 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5447 as well (bug#11646).
5448
5449 * loadup.el: Count byte-code functions as well.
5450
5451 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5452 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5453
5454 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5455 (bug#11649). Add cl-defun and cl-defmacro.
5456
5457 2012-06-13 Drew Adams <drew.adams@oracle.com>
5458
5459 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5460 Fix last change.
5461
5462 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
5463
5464 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5465 Otherwise, it blocks in batch mode.
5466
5467 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
5468
5469 * help-mode.el (bookmark-make-record-default): Declare.
5470
5471 2012-06-13 Chong Yidong <cyd@gnu.org>
5472
5473 * emacs-lisp/package.el (list-packages): Compute a list of
5474 packages that are newly-available since the last list-packages
5475 invocation.
5476 (package-menu--new-package-list): New var.
5477 (package-menu--generate, package-menu--print-info)
5478 (package-menu--status-predicate, package-menu-mark-install):
5479 Handle new status label "new".
5480
5481 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5482
5483 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5484 conversion to backquotes.
5485
5486 2012-06-12 Chong Yidong <cyd@gnu.org>
5487
5488 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5489 Rename from gud-inhibit-global-bindings.
5490
5491 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5492
5493 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5494 hook from nxml-glyph-set-hook.
5495
5496 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5497 declaration.
5498
5499 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5500
5501 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5502 Convert to defcustom.
5503
5504 2012-06-12 Drew Adams <drew.adams@oracle.com>
5505
5506 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5507 New functions.
5508 (help-mode): Use them.
5509
5510 2012-06-11 Glenn Morris <rgm@gnu.org>
5511
5512 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5513 Use preprocessor face for directives.
5514 (fortran-directive-re): Doc fix.
5515
5516 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5517
5518 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5519 conversion to backquotes (bug#11652).
5520
5521 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5522 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5523 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5524 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5525 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5526 (cl-ninth, cl-tenth): Mark them as inlinable.
5527 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5528 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5529 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5530 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5531 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5532 (cl-list*, cl-adjoin): Don't put an autoload manually.
5533 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5534 (cl--compiler-macro-list*): Add autoload cookie.
5535 (cl--compiler-macro-cXXr): New function.
5536
5537 * help-fns.el (help-fns--compiler-macro): New function extracted from
5538 describe-function-1; follow aliases and use `compiler-macro' property.
5539 (describe-function-1): Use it.
5540
5541 2012-06-11 Chong Yidong <cyd@gnu.org>
5542
5543 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5544 is uninstalled, if imagemagick is installed.
5545
5546 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * emacs-lisp/cl-lib.el: Use lexical-binding.
5549 (cl-map-extents, cl-maclisp-member): Remove.
5550 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5551 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5552 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5553 * emacs-lisp/cl-extra.el: Use lexical-binding.
5554 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5555 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5556 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5557 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5558 * emacs-lisp/cl-seq.el: Use lexical-binding.
5559 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5560 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5561 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5562 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5563 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5564 CL's internals.
5565
5566 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
5567
5568 Sync with Tramp 2.2.6-pre.
5569
5570 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5571 `print-length' and `print-level' to nil, in order to avoid
5572 truncation. Reported by Christopher Schmidt
5573 <christopher@ristopher.com>.
5574
5575 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5576
5577 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5578 New defmacro.
5579 (tramp-compat-copy-directory): Add optional argument
5580 COPY-CONTENTS. It is not handled yet.
5581
5582 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5583 (tramp-ftp-file-name-p): Simplify.
5584
5585 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5586 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5587 connection vector.
5588
5589 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5590 (tramp-methods): Do not use `tramp-password-end-of-line'.
5591 (tramp-completion-function-alist-putty): Handle UNIX case.
5592 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5593 (tramp-do-file-attributes-with-stat)
5594 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5595 gid as real numbers. They could run out of integer range on cygwin.
5596 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5597 (tramp-sh-handle-expand-file-name): Handle hops.
5598 (tramp-open-connection-setup-interactive-shell):
5599 Use `tramp-cleanup'. Move check for busyboxes ...
5600 (tramp-find-shell): ... here. Simplify implementation.
5601 Set "remote-shell" property also for alternative shells.
5602 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5603 If failing, a regular file would be written otherwise.
5604 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5605 (tramp-find-inline-encoding): Cache the coding commands in the
5606 process cache. Apply test command on the remote side, if defined.
5607 (tramp-find-inline-compress): Cache the compress commands in the
5608 process cache.
5609 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5610 when requested. Handle hops.
5611 (tramp-current-connection): New defvar.
5612 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5613 Throw `suppress', if there was a failed connection shortly before.
5614 Handle user interrupt. (Bug#10187)
5615 (tramp-get-inline-compress, tramp-get-inline-coding):
5616 Read connection properties from the process cache.
5617
5618 * net/tramp-smb.el (tramp-smb-server-version)
5619 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5620 New defconsts.
5621 (tramp-smb-prompt): Extend for powershell prompt.
5622 (tramp-smb-file-name-handler-alist): Add handlers for
5623 `process-file', `shell-command' and `start-file-process'.
5624 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5625 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5626 (tramp-smb-file-name-p): Simplify.
5627 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5628 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5629 (tramp-smb-shell-quote-argument): New defuns.
5630 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5631 Implement using "tar". By this, time-stamps are preserved.
5632 (tramp-smb-handle-copy-file): Handle also the case of directories.
5633 (tramp-smb-do-file-attributes-with-stat)
5634 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5635 Use `tramp-get-connection-buffer').
5636 (tramp-smb-handle-rename-file): Use "rename", when source and
5637 target are on the same share.
5638 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5639 Use `tramp-smb-server-version'.
5640 (tramp-smb-wait-for-output): Remove prompt.
5641
5642 * net/tramp.el (top): Require 'cl.
5643 (tramp-methods, tramp-rsh-end-of-line):
5644 Remove `tramp-password-end-of-line' from docstring.
5645 (tramp-save-ad-hoc-proxies): New defcustom.
5646 (tramp-completion-function-alist): Adapt docstring.
5647 (tramp-default-password-end-of-line): Remove defcustom.
5648 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5649 (tramp-user-regexp, tramp-file-name-regexp-unified)
5650 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5651 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5652 (tramp-remote-file-name-spec-regexp): New defconst.
5653 (tramp-file-name-structure): Extend structure for hops.
5654 (tramp-get-method-parameter): Move up.
5655 (tramp-file-name-p, tramp-dissect-file-name)
5656 (with-parsed-tramp-file-name): Handle hops.
5657 (tramp-file-name-hop): New defun.
5658 (tramp-make-tramp-file-name): New optional arg HOP.
5659 (tramp-message-show-progress-reporter-message): New defvar.
5660 (tramp-with-progress-reporter): Use it. We cannot use
5661 `tramp-message-show-message' here, because this suppresses also
5662 error buffers.
5663 (tramp-error-with-buffer): Suppress buffer view, if
5664 `tramp-message-show-message' is nil.
5665 Use `tramp-get-connection-buffer'.
5666 (tramp-cleanup): New defun.
5667 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5668 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5669 an error unchanged.
5670 (tramp-completion-handle-file-name-all-completions): Handle hops.
5671 Fix an error when called from ido.
5672 (tramp-completion-dissect-file-name): Use better local variable
5673 name. Add hop to the vector.
5674 (tramp-handle-insert-file-contents): Use progress-reporter for the
5675 whole scenario.
5676 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5677 to `t'.
5678 (tramp-check-for-regexp): Simplify search.
5679 (tramp-enter-password): Remove it. Move implementation ...
5680 (tramp-action-password): ... here.
5681 (tramp-mode-string-to-int, tramp-local-host-p)
5682 (tramp-make-tramp-temp-file, tramp-read-passwd)
5683 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5684 Set tramp-autoload cookie.
5685
5686 * net/trampver.el: Update release number.
5687
5688 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5689 Michael Albinus <michael.albinus@gmx.de>
5690
5691 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5692 (tramp-parse-group, tramp-parse-file)
5693 (tramp-parse-shostkeys-sknownhosts): New defuns.
5694 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5695 (tramp-parse-shosts-group, tramp-parse-sconfig)
5696 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5697 (tramp-parse-sknownhosts, tramp-parse-hosts)
5698 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5699 Use them.
5700 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5701 (tramp-parse-putty-group): Don't narrow.
5702 (tramp-parse-putty): Make a loop.
5703 (tramp-file-name-handler): Catch the `suppress' signal.
5704
5705 2012-06-11 Chong Yidong <cyd@gnu.org>
5706
5707 * image.el (imagemagick-register-types): Put the ImageMagick entry
5708 at the end of image-type-file-name-regexps.
5709
5710 2012-06-11 Johan Bockgård <bojohan@gnu.org>
5711
5712 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5713 (pcase, pcase-let*, pcase-dolist): Use them.
5714
5715 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * emacs-lisp/pcase.el (pcase--let*): New function.
5718 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5719 (pcase--expand): Use macroexp-let².
5720
5721 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5724 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5725 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5726 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5727 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5728 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5729
5730 2012-06-10 Glenn Morris <rgm@gnu.org>
5731
5732 * mail/rmail.el (rmail-yank-current-message): Leave point at
5733 correct position. (Bug#11660)
5734
5735 2012-06-10 Chong Yidong <cyd@gnu.org>
5736
5737 * allout-widgets.el: Fix code header.
5738
5739 2012-06-10 Chong Yidong <cyd@gnu.org>
5740
5741 * cus-edit.el (customize-changed-options-previous-release):
5742 Bump to 24.1.
5743
5744 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5745
5746 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5747
5748 2012-06-09 Chong Yidong <cyd@gnu.org>
5749
5750 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5751
5752 2012-06-09 Martin Rudalics <rudalics@gmx.at>
5753
5754 * window.el (special-display-popup-frame): Don't use
5755 window--display-buffer (Bug#11651).
5756
5757 2012-06-09 Eli Zaretskii <eliz@gnu.org>
5758
5759 Fix parallel builds: make sure loaddefs.el is not being written
5760 while Lisp files are compiled.
5761 (compile): Don't depend on 'mh-autoloads'.
5762 (compile-CMD, compile-SH): Depend on 'autoloads'.
5763 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5764
5765 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5766
5767 2012-06-09 Chong Yidong <cyd@gnu.org>
5768
5769 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5770 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5771 Doc fixes (Bug#11225).
5772
5773 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5776 a function if there's a clear indication that it has a compiler-macro.
5777 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5778 (macro-declarations-alist): Add arglist to declaration functions.
5779 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5780 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5781 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5782 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5783 Also add autoload to find the compiler macro.
5784 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5785 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5786 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5787 (cl--compiler-macro-get): New functions, replacing calls to
5788 cl-define-compiler-macro.
5789 (cl-typep) [compiler-macro]: Use macroexp-let².
5790
5791 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
5792
5793 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5794 string properly, fixes Bug#11473.
5795
5796 2012-06-08 Chong Yidong <cyd@gnu.org>
5797
5798 * faces.el (set-face-attribute): Doc fix.
5799 (modify-face): Don't use :bold and :italic.
5800 (error, warning, success): Tweak definitions.
5801
5802 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5803 (custom-modified, custom-set, custom-changed, custom-themed)
5804 (custom-saved, custom-button, custom-button-mouse)
5805 (custom-button-pressed, custom-state, custom-comment-tag)
5806 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5807 (custom-group-subtitle): Use new-style face specs.
5808 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5809 (custom-set-face, custom-changed-face, custom-saved-face)
5810 (custom-button-face, custom-button-pressed-face)
5811 (custom-documentation-face, custom-state-face)
5812 (custom-comment-face, custom-comment-tag-face)
5813 (custom-variable-tag-face, custom-variable-button-face)
5814 (custom-face-tag-face, custom-group-tag-face-1)
5815 (custom-group-tag-face): Remove obsolete face alias.
5816
5817 * epa.el (epa-validity-high, epa-validity-medium)
5818 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5819 (epa-field-name, epa-field-body):
5820 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5821 (font-lock-keyword-face, font-lock-builtin-face)
5822 (font-lock-function-name-face, font-lock-variable-name-face)
5823 (font-lock-type-face, font-lock-constant-face):
5824 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5825 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5826 * speedbar.el (speedbar-button-face, speedbar-file-face)
5827 (speedbar-directory-face, speedbar-tag-face)
5828 (speedbar-selected-face, speedbar-highlight-face)
5829 (speedbar-separator-face):
5830 * whitespace.el (whitespace-newline, whitespace-space)
5831 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5832 (whitespace-line, whitespace-space-before-tab)
5833 (whitespace-space-after-tab, whitespace-indentation)
5834 (whitespace-empty):
5835 * emulation/cua-base.el (cua-global-mark):
5836 * eshell/em-prompt.el (eshell-prompt):
5837 * net/newst-plainview.el (newsticker-new-item-face)
5838 (newsticker-old-item-face, newsticker-immortal-item-face)
5839 (newsticker-obsolete-item-face, newsticker-date-face)
5840 (newsticker-statistics-face, newsticker-default-face):
5841 * net/newst-reader.el (newsticker-feed-face)
5842 (newsticker-extra-face, newsticker-enclosure-face):
5843 * net/newst-treeview.el (newsticker-treeview-face)
5844 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5845 (newsticker-treeview-immortal-face)
5846 (newsticker-treeview-obsolete-face)
5847 (newsticker-treeview-selection-face):
5848 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5849 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5850 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5851 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5852 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5853 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5854 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5855 (mpuz-text):
5856 * progmodes/vera-mode.el (vera-font-lock-number)
5857 (vera-font-lock-function, vera-font-lock-interface):
5858 * textmodes/table.el (table-cell): Use new-style face specs, and
5859 don't use the old :bold and :italic attributes.
5860
5861 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5862 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5863 (ebrowse-member-class, ebrowse-progress): Likewise.
5864 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5865 (ebrowse-file-name-face, ebrowse-default-face)
5866 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5867 (ebrowse-progress-face): Remove obsolete faces.
5868
5869 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5870 Inherit from error and warning faces respectively.
5871
5872 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5873 Likewise.
5874 (flyspell-incorrect-face, flyspell-duplicate-face):
5875 Remove obsolete aliases.
5876
5877 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
5878
5879 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5880 Avoid infloop.
5881
5882 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5883
5884 * startup.el (argv, argi): Make lexically scoped.
5885 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5886 * emacs-lisp/cl-macs.el: Use lexical-binding.
5887 Rename cl-bind-* to cl--bind-*.
5888 * files.el: Don't require `cl' since it doesn't use it.
5889 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5890
5891 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
5892
5893 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5894 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5895 instead of calling external sort utility.
5896 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5897
5898 2012-06-08 Eli Zaretskii <eliz@gnu.org>
5899
5900 * descr-text.el (describe-char): Mention how to insert the
5901 character, if the current input method doesn't support it.
5902 See the discussion in this thread for the details:
5903 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5904
5905 2012-06-08 Sam Steingold <sds@gnu.org>
5906
5907 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5908 XF86Back to previous-buffer.
5909 (minibuffer-local-map): Bind them to next-history-element and
5910 previous-history-element respectively.
5911 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5912 help-go-back respectively.
5913 * info.el (Info-mode-map): Bind them to Info-history-forward and
5914 Info-history-back respectively.
5915 These are the keys next to Up on the ThinkPad keyboard.
5916
5917 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5918
5919 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5920 * emacs-lisp/cl-macs.el: Provide itself.
5921 (cl--labels-convert-cache): New var.
5922 (cl--labels-convert): New function.
5923 (cl-flet, cl-labels): New implementation with new semantics, relying on
5924 lexical-binding.
5925 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5926 (cl-closure-vars, cl--function-convert-cache)
5927 (cl--function-convert): Move from cl-macs.el.
5928 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5929 rename by removing the "cl-" prefix.
5930 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5931
5932 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5933
5934 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5935 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5936 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5937 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5938 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5939 (cl-hash-table-count): Add old compatibility aliases.
5940
5941 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5942 Use macroexpand-all-environment instead.
5943 (cl--old-macroexpand): New var.
5944 (cl--sm-macroexpand): New function.
5945 (cl-symbol-macrolet): Use it during macro expansion.
5946 (cl--function-convert-cache): New var.
5947 (cl--function-convert): New function, extracted from
5948 cl-macroexpand-all.
5949 (cl-lexical-let): Use it.
5950
5951 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5952 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5953 (cl-member): Remove old alias.
5954
5955 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5956 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5957 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5958 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5959 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5960 (cl-macroexpand-cmacs): Remove var.
5961 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5962 Use macroexpand-all instead.
5963
5964 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5965
5966 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5967 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5968 (macroexp-copyable-p): New functions and macros.
5969 * emacs-lisp/edebug.el (edebug-unwrap):
5970 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5971 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5972 (pcase--let*): Remove.
5973 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5974 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5975 macroexp-const-p instead.
5976 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5977
5978 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5979 instead of "cl-" for internal definitions. Use macroexp-const-p.
5980 (cl-old-bc-file-form): Remove var.
5981 (cl-const-exprs-p): Remove fun.
5982 (cl-labels, cl-macrolet): Use backquote.
5983 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5984 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5985 (cl-define-setf-expander): Rename from cl-define-setf-method.
5986 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5987
5988 * international/mule-cmds.el: Don't require CL.
5989 (view-hello-file): Don't use `letf'.
5990
5991 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5992
5993 * tmm.el (tmm-prompt): Use string-prefix-p.
5994 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5995 (tmm-add-prompt): Use minibuffer-completion-help.
5996 (tmm-delete-map): Remove.
5997
5998 * subr.el (kbd): Make it its own function.
5999
6000 2012-06-07 Stefan Merten <smerten@oekonux.de>
6001
6002 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6003 Silence compiler warnings. Fix versions.
6004 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6005 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6006 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6007 (rst-package-emacs-version-alist): Correct Emacs version to
6008 represent major merge with upstream.
6009 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6010
6011 2012-06-06 Glenn Morris <rgm@gnu.org>
6012
6013 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6014 Only print environment variables if set.
6015
6016 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6017
6018 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6019 (macroexp--cons): Rename from maybe-cons.
6020 (macroexp--accumulate): Rename from macroexp-accumulate.
6021 (macroexp--all-forms): Rename from macroexpand-all-forms.
6022 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6023 (macroexp--expand-all): Rename from macroexpand-all-1.
6024
6025 2012-06-06 Sam Steingold <sds@gnu.org>
6026
6027 * calendar/calendar.el (calendar-in-read-only-buffer):
6028 Call `special-mode' to enable the standard read-only keybindings.
6029
6030 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6031
6032 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6033 with "loading" messages (bug#11635).
6034
6035 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
6036
6037 * files.el (enable-remote-dir-locals): New option.
6038 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6039
6040 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6041 Ensure, that the temp directory is local.
6042
6043 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6044 `temporary-file-directory'.
6045
6046 * progmodes/python.el (python-send-region): Ensure, that the
6047 temporary file is created also in the remote case.
6048
6049 2012-06-06 Glenn Morris <rgm@gnu.org>
6050
6051 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6052 (vc-rcs-update-changelog): Use it.
6053
6054 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6055
6056 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6057 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6058 (vc-sccs-diff): Replace use of the external vcdiff script.
6059
6060 2012-06-05 Glenn Morris <rgm@gnu.org>
6061
6062 * ledit.el: Move to obsolete/.
6063
6064 2012-06-05 Sam Steingold <sds@gnu.org>
6065
6066 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6067 patch (Bug#11140).
6068
6069 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6070
6071 * emacs-lisp/cust-print.el: Move to obsolete.
6072
6073 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6074 compiler-macro expansion.
6075
6076 Add native compiler-macro support.
6077 * emacs-lisp/macroexp.el (macroexpand-all-1):
6078 Support compiler-macros directly. Properly follow aliases and apply
6079 the compiler macros more thoroughly.
6080 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6081 macroexpand now properly follows aliases.
6082 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6083 (cl-compiler-macroexpand): Use new prop.
6084 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6085
6086 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6087
6088 2012-06-05 Martin Rudalics <rudalics@gmx.at>
6089
6090 * window.el (get-lru-window, get-mru-window, get-largest-window):
6091 New argument NOT-SELECTED to avoid picking the selected window.
6092 (window--display-buffer-1, window--display-buffer-2): Replace by
6093 new function window--display-buffer
6094 (display-buffer-same-window, display-buffer-reuse-window)
6095 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6096 Use window--display-buffer.
6097 (display-buffer-use-some-window): Remove temporary dedication
6098 hack by calling get-lru-window and get-largest-window with
6099 NOT-SELECTED argument non-nil. Call window--display-buffer.
6100
6101 2012-06-05 Glenn Morris <rgm@gnu.org>
6102
6103 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6104 Replace external vcdiff script.
6105
6106 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6109
6110 2012-06-04 Chong Yidong <cyd@gnu.org>
6111
6112 * image.el (imagemagick-types-inhibit): Revert last change.
6113 Add INFO and M.
6114 (imagemagick-enabled-types): Remove CIN and EPS*.
6115
6116 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 * emacs-lisp/cl-lib.el: Rename from cl.el.
6119 * emacs-lisp/cl.el: New compatibility file.
6120 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6121 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6122 to obey the "cl-" prefix.
6123 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6124
6125 2012-06-03 Glenn Morris <rgm@gnu.org>
6126
6127 * emacs-lisp/authors.el (authors-aliases): Addition.
6128
6129 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6130 Fix :version.
6131
6132 2012-06-03 Stefan Merten <smerten@oekonux.de>
6133
6134 * textmodes/rst.el: Add comments.
6135 (rst-transition, rst-adornment): New faces.
6136 (rst-adornment-faces-alist): Make default safe to reevaluate.
6137 Fixes
6138 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6139 Improve customization tags.
6140 (rst-define-level-faces): Clarify meaning.
6141
6142 2012-06-03 Chong Yidong <cyd@gnu.org>
6143
6144 * progmodes/compile.el (compilation-mode-line-fail)
6145 (compilation-mode-line-run, compilation-mode-line-exit):
6146 New faces.
6147 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6148
6149 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6150
6151 * progmodes/which-func.el (which-func-update-ediff-windows):
6152 New function. Use it in ediff-select-hook (Bug#11478).
6153
6154 2012-06-03 Chong Yidong <cyd@gnu.org>
6155
6156 * bindings.el: Remove explicit help text from format-mode-line.
6157 It is now supplied by mode-line-default-help-echo.
6158 (mode-line-front-space, mode-line-end-spaces)
6159 (mode-line-misc-info): New variables.
6160 (mode-line-modes, mode-line-position): Move the default value to
6161 the variable definition.
6162 (mode-line-default-help-echo): New defcustom.
6163 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6164 (mode-line-modified-help-echo): New functions.
6165 (mode-line-mule-info, mode-line-modified): Use them.
6166 (mode-line-eol-desc, propertized-buffer-identification):
6167 Consistency fixes for help text.
6168 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6169 set-buffer-file-coding-system (Bug#289).
6170 (mode-line-mule-info-help-echo): Update help text.
6171
6172 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * simple.el (execute-extended-command): Set real-this-command
6175 (bug#11506).
6176
6177 2012-06-02 Chong Yidong <cyd@gnu.org>
6178
6179 Remove incorrect uses of "modeline" in comments, docstrings, and
6180 function/variable names (Bug#10329).
6181
6182 * cus-edit.el (mode-line):
6183 * dframe.el (dframe-mouse-hscroll):
6184 * emacs-lisp/re-builder.el:
6185 * emacs-lisp/easy-mmode.el (define-minor-mode):
6186 * frame.el (set-frame-name):
6187 * help.el (lookup-minor-mode-from-indicator):
6188 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6189 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6190 (c-toggle-hungry-state):
6191 * progmodes/antlr-mode.el (antlr-language-alist):
6192 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6193 * progmodes/vhdl-mode.el (vhdl-mode):
6194 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6195 * term/ns-win.el (ns-face-at-pos):
6196 * term/sup-mouse.el (sup-mouse-report):
6197 * textmodes/flyspell.el (flyspell-mode-line-string):
6198 * textmodes/ispell.el (ispell-highlight-face):
6199 * textmodes/reftex-global.el:
6200 * vc/vc-arch.el (vc-arch-mode-line-string):
6201 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6202 * vc/vc-git.el (vc-git-mode-line-string):
6203 * vc/vc-hooks.el (vc-display-status)
6204 (vc-default-mode-line-string):
6205 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6206
6207 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6208
6209 * dired.el (dired-sort-set-mode-line): Rename from
6210 dired-sort-set-modeline. All callers changed.
6211
6212 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6213 eshell-status-in-modeline.
6214
6215 * foldout.el (foldout-mode-line-string): Rename from
6216 foldout-modeline-string. All callers changed.
6217 (foldout-update-mode-line): Rename from foldout-update-modeline.
6218
6219 * subr.el (redraw-modeline): Make into obsolete alias.
6220
6221 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6222 timeclock-modeline-display. Make old name an alias.
6223 (timeclock-update-mode-line): Likewise. All callers changed.
6224 (timeclock-mode-line-display): No need to check before using
6225 add-hook.
6226 (timeclock-relative, timeclock-day-over-hook)
6227 (timeclock-use-elapsed, timeclock-mode-string)
6228 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6229
6230 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6231 crisp-mode-modeline-string.
6232
6233 * play/solitaire.el (solitaire-build-mode-line): Rename from
6234 solitaire-build-modeline. All callers changed.
6235
6236 * play/zone.el (zone-hiding-mode-line): Rename from
6237 zone-hiding-modeline. All callers changed.
6238 (zone): Remove unusued `modeline-hidden-level' property.
6239
6240 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6241 xscheme-modeline-initialize. All callers changed.
6242
6243 * strokes.el (strokes-lighter): Rename from
6244 strokes-modeline-string.
6245
6246 * textmodes/sgml-mode.el (html-face-tag-alist)
6247 (html-tag-face-alist): Use mode-line face instead of obsolete
6248 alias modeline.
6249
6250 2012-06-02 Stefan Merten <smerten@oekonux.de>
6251
6252 * textmodes/rst.el: Always require `cl'.
6253 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6254
6255 2012-06-02 Chong Yidong <cyd@gnu.org>
6256
6257 * image.el (imagemagick-enabled-types): Rename from
6258 imagemagick-types-enable. Add many more types.
6259 (imagemagick-types-inhibit): Change default to nil.
6260 (imagemagick-filter-types): Caller changed.
6261
6262 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6263
6264 * emacs-lisp/cl-macs.el: Use backquotes.
6265 (cl-transform-function-property): Use eval-and-compile rather than
6266 abusing `require'.
6267 (defstruct): Use declare-function instead of with-no-warnings.
6268
6269 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6270 (byte-compile-output-docform): Re-add the print-circle bindings.
6271 (byte-compile-fix-header): Use #$ just because it's shorter.
6272 (byte-compile-output-file-form): Remove defun/defmacro.
6273
6274 2012-06-01 Martin Rudalics <rudalics@gmx.at>
6275
6276 * simple.el (choose-completion): Remove now obsolete binding for
6277 owindow.
6278
6279 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
6280
6281 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6282 in order to avoid "Stack overflow in regexp matcher".
6283
6284 2012-05-31 Glenn Morris <rgm@gnu.org>
6285
6286 * image.el: For clarity, call imagemagick-register-types at
6287 top-level, rather than relying on a custom :initialize.
6288 (imagemagick-types-enable): New option. (Bug#11557)
6289 (imagemagick-filter-types): New function. (Bug#7406)
6290 (imagemagick-register-types): Use imagemagick-filter-types.
6291 If disabling support, remove elements altogether rather
6292 than using an impossible regexp.
6293 (imagemagick-types-inhibit): Give it the default init function.
6294
6295 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6298 Handle arbitrary file name lengths (Bug#11585).
6299
6300 2012-05-31 Martin Rudalics <rudalics@gmx.at>
6301
6302 * desktop.el (desktop-read): Clear previous and next buffers for
6303 all windows and bury *Messages* buffer (bug#11556).
6304
6305 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 Add `declare' for `defun'. Align `defmacro's with it.
6308 * emacs-lisp/easy-mmode.el (define-minor-mode)
6309 (define-globalized-minor-mode): Don't autoload the var definitions.
6310 * emacs-lisp/byte-run.el: Use lexical-binding.
6311 (defun-declarations-alist, macro-declarations-alist): New vars.
6312 (defmacro, defun): Use them.
6313 (make-obsolete, define-obsolete-function-alias)
6314 (make-obsolete-variable, define-obsolete-variable-alias):
6315 Use `declare'.
6316 (macro-declaration-function): Mark obsolete.
6317 * emacs-lisp/autoload.el: Use lexical-binding.
6318 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6319
6320 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6321
6322 * textmodes/ispell.el (ispell-with-no-warnings):
6323 Define as a macro.
6324 (ispell-kill-ispell, ispell-change-dictionary):
6325 Use `called-interactively-p' for Emacs instead of obsolete
6326 `interactive-p'.
6327
6328 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6329
6330 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6331 (macro-declaration-function): Move var from C code.
6332 (macro-declaration-function): Define function with defalias.
6333 * emacs-lisp/macroexp.el (macroexpand-all-1):
6334 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6335 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6336 defun/defmacro any more.
6337 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6338 Provide fallback for unknown arglist.
6339 (byte-compile-arglist-warn): Change calling convention.
6340 (byte-compile-output-file-form): Move print-vars binding.
6341 (byte-compile-output-docform): Simplify accordingly.
6342 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6343 (byte-compile-defmacro-declaration): Remove.
6344 (byte-compile-file-form-defmumble): Generalize to defalias.
6345 (byte-compile-output-as-comment): Return byte-positions.
6346 Simplify callers accordingly.
6347 (byte-compile-lambda): Use `assert'.
6348 (byte-compile-defun, byte-compile-defmacro): Remove.
6349 (byte-compile-file-form-defalias):
6350 Use byte-compile-file-form-defmumble.
6351 (byte-compile-defalias-warn): Remove.
6352
6353 2012-05-29 Stefan Merten <smerten@oekonux.de>
6354
6355 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6356 possible. Fix authors. Improve comments. Improve loading of `cl'.
6357
6358 (rst-mode-abbrev-table): Merge definition.
6359 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6360 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6361
6362 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
6363
6364 * calendar/icalendar.el
6365 (icalendar-export-region): Export UID properly.
6366
6367 2012-05-29 Leo Liu <sdl.web@gmail.com>
6368 * calendar/icalendar.el (icalendar-import-format):
6369 Add `icalendar-import-format-uid' (Bug#11525).
6370 (icalendar-import-format-uid): New.
6371 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6372 Export UID.
6373
6374 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6377 different alternative patterns.
6378 (pcase-codegen): Be more careful to preserve identity.
6379 (pcase--u1): Don't forget to mark vars as used.
6380
6381 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6382 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6383 (byte-compile-from-buffer): ...rather than here.
6384
6385 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6386 functions from byte-compile-function-environment.
6387
6388 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
6389
6390 * window.el (window-deletable-p): Avoid deleting the root window
6391 of a frame with an active minibuffer.
6392
6393 2012-05-29 Martin Rudalics <rudalics@gmx.at>
6394
6395 * simple.el (choose-completion): Use quit-window (Bug#11567).
6396
6397 2012-05-29 Chong Yidong <cyd@gnu.org>
6398
6399 * whitespace.el (whitespace-cleanup): Fix usage of
6400 whitespace-empty-at-bob-regexp (Bug#11492).
6401
6402 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6403
6404 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6405 revert (Bug#11488).
6406
6407 2012-05-29 Juri Linkov <juri@jurta.org>
6408
6409 * isearch.el (isearch-mode-map): Bind `M-s _' to
6410 `isearch-toggle-symbol'. Bind `M-s c' to
6411 `isearch-toggle-case-fold'.
6412 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6413 (isearch-forward): Add `M-s _' to the docstring.
6414 (isearch-forward-symbol, isearch-toggle-case-fold)
6415 (isearch-symbol-regexp): New functions. (Bug#11381)
6416
6417 2012-05-29 Juri Linkov <juri@jurta.org>
6418
6419 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6420 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6421 a function, call it to get the regexp.
6422 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6423 property `isearch-message-prefix' instead of the string "word ".
6424 (isearch-search-fun-default): For the case of `isearch-word',
6425 return a lambda that calls re-search-forward/re-search-backward
6426 with a regexp returned by `word-search-regexp' or by the function
6427 in `isearch-word'.
6428
6429 2012-05-29 Juri Linkov <juri@jurta.org>
6430
6431 * isearch.el (isearch-search-fun-default): New function.
6432 (isearch-search-fun): Move default part to the new function
6433 `isearch-search-fun-default'.
6434 (isearch-search-fun-function): Set the default value to
6435 `isearch-search-fun-default'. (Bug#11381)
6436
6437 * comint.el (comint-history-isearch-end):
6438 Use `isearch-search-fun-default'.
6439 (comint-history-isearch-search): Use `isearch-search-fun-default'
6440 and remove spacial case for `isearch-word'.
6441 (comint-history-isearch-wrap): Remove spacial case for
6442 `isearch-word'.
6443
6444 * hexl.el (hexl-isearch-search-function):
6445 Use `isearch-search-fun-default'.
6446
6447 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6448 Use `word-search-regexp' for `isearch-word'.
6449
6450 * misearch.el (multi-isearch-search-fun):
6451 Use `isearch-search-fun-default'.
6452
6453 * simple.el (minibuffer-history-isearch-search):
6454 Use `isearch-search-fun-default' and remove spacial case for
6455 `isearch-word'.
6456 (minibuffer-history-isearch-wrap): Remove spacial case for
6457 `isearch-word'.
6458
6459 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6460 Remove spacial case for `isearch-word'.
6461 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6462
6463 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6464
6465 Decrease XEmacs incompatibilities.
6466 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6467 Use `string-match'.
6468 (flyspell-delete-region-overlays): Use alternative definition for
6469 XEmacs.
6470 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6471 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6472 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6473 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6474 `define-obsolete-face-alias' under XEmacs, but old method.
6475
6476 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6477 `with-no-warnings' definition or Emacs alias.
6478 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6479 (ispell-word): Do not use `region-p' if XEmacs.
6480
6481 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6482
6483 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6484 Check for `ispell-dictionary-base-alist' instead of full
6485 `ispell-dictionary-alist'.
6486 (ispell-init-process): Show spellchecker when starting new Ispell
6487 process.
6488
6489 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6492 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6493
6494 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
6495
6496 * version.el (motif-version-string, gtk-version-string)
6497 (ns-version-string): Declare.
6498
6499 2012-05-27 Juri Linkov <juri@jurta.org>
6500
6501 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6502 after the `eval-defun-1' specialcaseing
6503 like in `edebug-eval-defun' (bug#10181).
6504
6505 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6506 like in `eval-defun-1'.
6507
6508 2012-05-27 Eli Zaretskii <eliz@gnu.org>
6509
6510 * mail/sendmail.el (mail-yank-region):
6511 Recognize rmail-yank-current-message in addition to insert-buffer.
6512 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6513 a *mail* buffer created through rmail-start-mail with sendmail as
6514 mail-user-agent.
6515
6516 2012-05-27 Chong Yidong <cyd@gnu.org>
6517
6518 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6519 Default to 256 (Bug#11267).
6520
6521 * help.el (describe-mode): Doc fix.
6522
6523 2012-05-26 Glenn Morris <rgm@gnu.org>
6524
6525 * w32-fns.el (w32-init-info): Remove.
6526 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6527
6528 * info.el (info-initialize): For self-contained NS builds, put the
6529 included info/ directory at the front. (Bug#2791)
6530
6531 * paths.el (Info-default-directory-list): Make it a defcustom,
6532 mainly so that we can use custom-initialize-delay.
6533
6534 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6535
6536 * subr.el (buffer-has-markers-at): Mark obsolete.
6537
6538 * subr.el (lambda): Use declare.
6539
6540 * emacs-lisp/lisp-mode.el (lambda):
6541 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6542
6543 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6544
6545 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6546
6547 2012-05-26 Glenn Morris <rgm@gnu.org>
6548
6549 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6550
6551 2012-05-25 Glenn Morris <rgm@gnu.org>
6552
6553 * paths.el: Remove no-byte-compile.
6554 * loadup.el: No need to load paths.el uncompiled.
6555
6556 * image.el (imagemagick-types-inhibit): Doc fix.
6557
6558 * version.el: Remove no-byte-compile and associated formatting.
6559 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6560 is ancient code from when there was an "inc-vers.el".
6561
6562 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * progmodes/gdb-mi.el: Minor style changes.
6565 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6566 Turn into minor modes.
6567 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6568 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6569 (gdb-shell): Remove unneeded let-binding.
6570 (gdb-get-many-fields): Eliminate O(n²) behavior.
6571
6572 2012-05-25 Eli Zaretskii <eliz@gnu.org>
6573
6574 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6575 platforms that don't link in fontset.c.
6576
6577 2012-05-25 Juri Linkov <juri@jurta.org>
6578
6579 Use the same diff color scheme as in modern VCSes (bug#10181).
6580
6581 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6582 to avoid confusion with `diff-added' that now uses green colors.
6583 (diff-removed): Use shades of red.
6584 (diff-added): Use shades of green.
6585 (diff-changed): Leave just the yellow color.
6586 (diff-use-changed-face): New variable.
6587 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6588 how to highlight context diff changes.
6589 (diff-refine-change): Use shades of yellow.
6590 (diff-refine-removed): New face that uses shades of red.
6591 (diff-refine-added): New face that uses shades of green.
6592 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6593 `diff-refine-removed' in the call to `smerge-refine-subst'
6594 depending on the value of `diff-use-changed-face'.
6595
6596 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6597 (smerge-other): Use shades of green.
6598 (smerge-base): Use shades of yellow.
6599 (smerge-refined-change): Empty face.
6600 (smerge-refined-removed): New face that uses shades of red.
6601 (smerge-refined-added): New face that uses shades of green.
6602 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6603 args `props-r' and `props-a', and use them. Doc fix.
6604 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6605 on its value use different faces `smerge-refined-change',
6606 `smerge-refined-removed', `smerge-refined-added' in the call to
6607 `smerge-refine-subst'.
6608
6609 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6610 Add face condition `min-colors 88' with shades of red.
6611 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6612 `min-colors 88' with shades of green.
6613 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6614 `min-colors 88' with shades of yellow.
6615
6616 2012-05-24 Glenn Morris <rgm@gnu.org>
6617
6618 * paths.el (prune-directory-list, remote-shell-program): Move to...
6619 * files.el (prune-directory-list, remote-shell-program): ...here.
6620 For the latter, delay initialization, prefer ssh, just search PATH.
6621
6622 * paths.el (term-file-prefix): Move to faces.el (the only user).
6623 * faces.el (term-file-prefix): Move here, make it a defcustom.
6624
6625 * paths.el (news-directory, news-path, news-inews-program):
6626 Move to gnus/nnspool.el.
6627
6628 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6629
6630 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6631 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6632 Make the latter a defcustom, with a delayed initialization.
6633
6634 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6635 These were deleted from Gnus itself late 2010.
6636
6637 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
6638
6639 * progmodes/which-func.el (which-func-ff-hook):
6640 Check against user-error, not error.
6641
6642 * emacs-lisp/edebug.el (top): Do not load or set up loading of
6643 cl-specs.el, which no longer exists.
6644
6645 2012-05-22 Glenn Morris <rgm@gnu.org>
6646
6647 * info.el (info-emacs-bug): New command.
6648 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6649 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6650
6651 2012-05-21 Glenn Morris <rgm@gnu.org>
6652
6653 * makefile.w32-in (update-subdirs-SH):
6654 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6655
6656 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6659
6660 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6661 Simplify Maven regexp, and make sure the file can't start with a space
6662 (bug#11517).
6663
6664 2012-05-21 Glenn Morris <rgm@gnu.org>
6665
6666 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6667 Scrap superfluous subshells.
6668
6669 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6670
6671 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6672 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6673
6674 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6675
6676 * calc/calc.el (calc-ensure-consistent-units): New variable.
6677
6678 * calc/calc-units.el (math-consistent-units-p)
6679 (math-check-unit-consistency): New functions.
6680 (calc-quick-units, calc-convert-units):
6681 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6682 is non-nil.
6683 (calc-extract-units): Fix typo.
6684
6685 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6688
6689 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6690 (flyspell-default-deplacement-commands): Don't spell check after
6691 repeated window/frame switches (e.g. triggered by mouse-movement).
6692 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6693 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6694 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6695 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6696 Remove unused vars.
6697 (flyspell-get-casechars, flyspell-get-not-casechars):
6698 Simplify; Don't bother removing a ] just to add it back.
6699 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6700
6701 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6702
6703 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6704 New functions.
6705 (math-function-table): Add support for more C functions.
6706
6707 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6708
6709 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6710 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6711 Protect delay handling for otherchars against empty otherchars.
6712
6713 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6716 their respective macro declarations.
6717 * skeleton.el (define-skeleton):
6718 * progmodes/compile.el (define-compilation-mode):
6719 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6720 (define-ibuffer-filter):
6721 * emacs-lisp/generic.el (define-generic-mode):
6722 * emacs-lisp/easy-mmode.el (define-minor-mode)
6723 (define-globalized-minor-mode):
6724 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6725 * emacs-lisp/byte-run.el (defsubst):
6726 * custom.el (deftheme): Add doc-string metadata.
6727
6728 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6729
6730 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6731
6732 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6735
6736 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6737 * emacs-lisp/cl-macs.el: Idem.
6738 * emacs-lisp/cl-specs.el: Remove.
6739
6740 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6741
6742 Minor renaming of internal CL functions and variables.
6743 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6744 (cl--position): Rename from cl-position.
6745 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6746 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6747 (cl--random-state): Rename from *random-state*.
6748
6749 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6750
6751 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6752 parens around the arg list (bug#11499).
6753
6754 2012-05-17 Juri Linkov <juri@jurta.org>
6755
6756 * isearch.el (word-search-regexp, word-search-backward)
6757 (word-search-forward, word-search-backward-lax)
6758 (word-search-forward-lax): Move functions from search.c
6759 (bug#10145, bug#11381).
6760
6761 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6762
6763 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6764 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6765 Delay for otherchars as for normal word components.
6766
6767 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6768
6769 * minibuffer.el (completion--sifn-requote): Fix last change.
6770 (minibuffer-local-must-match-filename-map):
6771 Move define-obsolete-variable-alias before its var.
6772
6773 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6774
6775 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6776
6777 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6778 behavior.
6779 (completion--string-equal-p): New function.
6780 (completion--twq-all): Use it to get better assertion failure data.
6781
6782 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6783 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6784 (shell--requote-argument): New functions.
6785 (shell-completion-vars): Use them.
6786 (shell--parse-pcomplete-arguments): Rename from
6787 shell-parse-pcomplete-arguments.
6788 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6789 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6790 Obey comint-file-name-quote-list.
6791
6792 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6793 (smie-indent-keyword): Use it.
6794
6795 2012-05-14 Stefan Merten <smerten@oekonux.de>
6796
6797 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6798
6799 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6800
6801 * net/rlogin.el (rlogin-mode-map): Fix last change.
6802
6803 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
6804
6805 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6806 the following \r\n using a single `process-send-string', since the
6807 Lotus SMTP server refuses to accept any commands if they are sent
6808 with two `process-send-string's (Bug#11444).
6809
6810 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
6811
6812 * shell.el (shell-parse-pcomplete-arguments):
6813 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6814
6815 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6816
6817 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6818 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6819 (image-transform-width, image-transform-fit-width): New functions.
6820 (image-transform-properties): Use them.
6821 (image-transform-check-size): New function.
6822 (image-toggle-display-image): Use it (for testing).
6823 (image-transform-set-rotation): Reduce angle mod 360.
6824 Delete obsolete comment.
6825
6826 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6827
6828 * image-mode.el: Fix scaling (bug#11399).
6829 (image-transform-resize): Doc fix.
6830 (image-transform-properties): Default scale is 1 and height should
6831 be an integer.
6832
6833 2012-05-13 Johan Bockgård <bojohan@gnu.org>
6834
6835 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6836 than hard-coding `car', to fix misbehavior when moving forward.
6837
6838 2012-05-13 Chong Yidong <cyd@gnu.org>
6839
6840 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6841 (tabulated-list-entries, tabulated-list-padding)
6842 (tabulated-list-sort-key): Make permanent-local.
6843
6844 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6845 (electric-buffer-list): Put electric buffer menu
6846 command descriptions in this docstring, instead of the docstring
6847 of electric-buffer-menu-mode. Code cleanups.
6848 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6849 Electric-buffer-menu-mode.
6850 (electric-buffer-update-highlight): Minor code cleanup.
6851
6852 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
6853
6854 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6855 (Bug#11447)
6856
6857 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6858
6859 Move define-obsolete-variable-alias before the var's definition.
6860 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6861 * tooltip.el (tooltip-hook):
6862 * textmodes/reftex-toc.el (reftex-toc-map):
6863 * textmodes/reftex-sel.el (reftex-select-label-map)
6864 (reftex-select-bib-map):
6865 * textmodes/reftex-index.el (reftex-index-map)
6866 (reftex-index-phrases-map):
6867 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6868 * progmodes/meta-mode.el (meta-mode-map):
6869 * novice.el (disabled-command-hook):
6870 * loadhist.el (unload-hook-features-list):
6871 * frame.el (blink-cursor):
6872 * files.el (find-file-not-found-hooks, write-file-hooks)
6873 (write-contents-hooks):
6874 * emulation/tpu-edt.el (GOLD-map):
6875 * emacs-lock.el (emacs-lock-from-exiting):
6876 * emacs-lisp/generic.el (generic-font-lock-defaults):
6877 * emacs-lisp/chart.el (chart-map):
6878 * dos-fns.el (register-name-alist):
6879 * dired-x.el (dired-omit-files-p):
6880 * desktop.el (desktop-enable):
6881 * cus-edit.el (custom-mode-hook):
6882 * buff-menu.el (buffer-menu-mode-hook):
6883 * bookmark.el (bookmark-read-annotation-text-func)
6884 (bookmark-exit-hooks):
6885 * allout.el (allout-mode-deactivate-hook)
6886 (allout-exposure-change-hook, allout-structure-added-hook)
6887 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6888 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6889 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6890 comes before the corresponding variable's definition.
6891
6892 2012-05-12 Chong Yidong <cyd@gnu.org>
6893
6894 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6895 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6896 (Buffer-menu-mode-map): Bind it.
6897 (Buffer-menu--pretty-name): Add a mouse-face property.
6898
6899 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6902 (prolog-upper-case-string, prolog-lower-case-string)
6903 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6904 (prolog-use-smie, prolog-smie-grammar): New vars.
6905 (prolog-smie-forward-token, prolog-smie-backward-token)
6906 (prolog-smie-rules): New funs.
6907 (prolog-comment-indent): Remove.
6908 (prolog-mode-variables): Use default comment indentation instead.
6909 Setup SMIE.
6910 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6911 (prolog-mode): Don't call them any more.
6912 (prolog-electric-colon, prolog-electric-dash)
6913 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6914
6915 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6916
6917 * minibuffer.el (completion--twq-all): Again, allow case differences.
6918
6919 * term.el: Move keymap initialization code to be more idiomatic.
6920 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6921 (term-terminal-menu): Move initialization into declaration.
6922 (term-escape-char): Let the user set it in her .emacs.
6923
6924 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6925 Provide SMIE-based indentation (not enabled by default yet).
6926 (sh-mode-map): Don't bind electric keys.
6927 Use electric-pair-mode instead of skeleton-pair.
6928 (sh-assignment-regexp): Fit within 80 columns.
6929 (sh-indent-supported): Specify actual shell name instead of boolean.
6930 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6931 (sh-maybe-here-document): Use it. Make obsolete.
6932 (sh-electric-here-document-mode) New minor mode.
6933 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6934 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6935 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6936 (sh-smie-rc-grammar, sh-use-smie): New vars.
6937 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6938 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6939 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6940 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6941 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6942 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6943 (sh-set-shell): Use smie-setup if requested.
6944
6945 * term.el (term-set-escape-char): Properly set term-escape-char.
6946 See http://stackoverflow.com/questions/10524656.
6947
6948 2012-05-10 Chong Yidong <cyd@gnu.org>
6949
6950 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6951 Use url-generic-parse-url, and handle host names and Windows
6952 filenames properly.
6953 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6954 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6955 URL schemes to work on.
6956 (ffap--toggle-read-only): New function.
6957 (ffap-read-only, ffap-read-only-other-window)
6958 (ffap-read-only-other-frame): Use it.
6959 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6960 necessary for ffap-url-unwrap-remote.
6961
6962 2012-05-10 Dave Abrahams <dave@boostpro.com>
6963
6964 * cus-start.el (create-lockfiles): Add it.
6965
6966 2012-05-09 Chong Yidong <cyd@gnu.org>
6967
6968 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6969 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6970
6971 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6972
6973 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6974
6975 2012-05-09 Chong Yidong <cyd@gnu.org>
6976
6977 * ansi-color.el (ansi-color-process-output): Check for validity of
6978 comint-last-output-start before using it. This avoids a bad
6979 interaction with gdb-mi's input/output buffer.
6980
6981 2012-05-09 Glenn Morris <rgm@gnu.org>
6982
6983 * files.el (dir-locals-read-from-file):
6984 Mention dir-locals in any error message.
6985
6986 2012-05-09 Chong Yidong <cyd@gnu.org>
6987
6988 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6989 package (Bug#11410).
6990
6991 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6992 variables into description.
6993
6994 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6997 shell-delimiter-argument-list (bug#11348).
6998 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6999
7000 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
7001
7002 * textmodes/rst.el: Silence byte-compiler warnings.
7003 (rst-re-alist, rst-reset-section-caches): Move around.
7004 (rst-re): Use `characterp', not `char-valid-p'.
7005 (font-lock-beg, font-lock-end): Declare.
7006
7007 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7008 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7009
7010 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7011
7012 2012-05-08 Glenn Morris <rgm@gnu.org>
7013
7014 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7015
7016 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * vc/log-edit.el: Add GNU coding standards highlighting.
7019 (log-edit-font-lock-gnu-style)
7020 (log-edit-font-lock-gnu-keywords): New vars.
7021 (log-edit-font-lock-keywords): New fun.
7022 (log-edit-mode): Don't fold case in font-lock.
7023 (log-edit-font-lock-keywords): Do not assume case-folding.
7024
7025 * imenu.el: Misc cleanup. Make docstrings out of comments.
7026 Use lexical-binding.
7027 (imenu--index-alist, imenu--last-menubar-index-alist)
7028 (imenu-menubar-modified-tick): Use defvar-local.
7029 (imenu--split-menu): Remove unused var.
7030 (imenu--cleanup-seen): Declare as global.
7031 (imenu--cleanup): Use dolist.
7032
7033 * subr.el (defvar-local): Add debug spec and doc-string position.
7034
7035 2012-05-08 Glenn Morris <rgm@gnu.org>
7036
7037 * language/burmese.el, language/cham.el, language/czech.el:
7038 * language/english.el, language/georgian.el, language/greek.el:
7039 * language/japanese.el, language/khmer.el, language/korean.el:
7040 * language/lao.el, language/misc-lang.el, language/romanian.el:
7041 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7042 * language/thai.el, language/utf-8-lang.el:
7043 Remove no-byte-compile setting.
7044
7045 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7046
7047 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7048
7049 * progmodes/make-mode.el (makefile-browse):
7050 Remove unnecessary interactive. (Bug#11324)
7051
7052 2012-05-07 Glenn Morris <rgm@gnu.org>
7053
7054 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7055
7056 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7057
7058 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7059
7060 * loadup.el: Preload newcomment.el.
7061 * newcomment.el: Move autoload-only code to toplevel.
7062
7063 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7064 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7065 Handle new :right-align column property.
7066 (tabulated-list-print-col): Idem, plus use `display' text-property to
7067 try and preserve alignment for variable pitch fonts.
7068
7069 2012-05-07 Chong Yidong <cyd@gnu.org>
7070
7071 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7072 (tabulated-list-use-header-line): New var.
7073 (tabulated-list-init-header): Use it.
7074 (tabulated-list-print-fake-header): New function.
7075 (tabulated-list-print): Use it.
7076 (tabulated-list-sort-button-map): Add non-header-line commands.
7077 (tabulated-list-init-header): Add column name property to basic
7078 labels as well.
7079 (tabulated-list-col-sort): Handle non-header-line button case.
7080 (tabulated-list--sort-by-column-name): Fix a corner case.
7081
7082 * buff-menu.el (list-buffers--refresh):
7083 Handle Buffer-menu-use-header-line.
7084
7085 2012-05-06 Chong Yidong <cyd@gnu.org>
7086
7087 * buff-menu.el: Convert to Tabulated List mode.
7088 (Buffer-menu-buffer+size-width): Make obsolete.
7089 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7090 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7091 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7092 documentation into docstring of buffer-menu.
7093 (Buffer-menu-toggle-files-only): Add an informative message.
7094 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7095 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7096 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7097 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7098 (Buffer-menu-execute, Buffer-menu-select)
7099 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7100 (Buffer-menu-bury): Use Tabulated List machinery.
7101 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7102 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7103 Delete.
7104 (list-buffers--refresh): New function.
7105 (list-buffers-noselect): Use it.
7106 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7107 (Buffer-menu--pretty-file-name): New helper functions.
7108
7109 * loadup.el: Preload tabulated-list.
7110
7111 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7112 tabulated-list-sort-column.
7113 (tabulated-list-init-header): Add the initial aligning space even
7114 if tabulated-list-padding is zero.
7115
7116 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7117
7118 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7119 whose cdr is not a cons cell correctly (bug#11038).
7120
7121 2012-05-06 Chong Yidong <cyd@gnu.org>
7122
7123 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7124 Accept additional plist in column descriptors.
7125 (tabulated-list-init-header): Obey it.
7126 (tabulated-list-get-entry): New function.
7127 (tabulated-list-put-tag): Use it. Use string-width instead of
7128 length.
7129 (tabulated-list--column-number): New function.
7130 (tabulated-list-print): Use it.
7131 (tabulated-list-print-col): New function.
7132 Set `tabulated-list-column-name' property on each column's text.
7133 (tabulated-list-print-entry): Use it.
7134 (tabulated-list-delete-entry, tabulated-list-set-col):
7135 New functions.
7136 (tabulated-list-sort-column): New command (Bug#11337).
7137
7138 * buff-menu.el (list-buffers): Move C-x C-b binding from
7139 buff-menu.el to bindings.el.
7140
7141 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7142 :advertised-binding feature.
7143
7144 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7145
7146 * progmodes/compile.el (compilation-internal-error-properties):
7147 Calculate start position correctly when end-col is set but
7148 end-line is not (Bug#11382).
7149
7150 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7151
7152 * man.el (Man-unindent): Use text-property-default-nonsticky to
7153 prevent untabify from inheriting face properties (Bug#11408).
7154
7155 2012-05-05 Stefan Merten <smerten@oekonux.de>
7156
7157 * textmodes/rst.el: Major merge with upstream development up to
7158 Docutils SVN r7399 / rst.el V1.2.1.
7159
7160 Clarify maintainership and authors.
7161
7162 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7163 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7164 (rst-official-version, rst-official-cvs-rev, rst-version)
7165 (rst-package-emacs-version-alist): New functions and variables
7166 for version information.
7167
7168 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7169 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7170 (rst-mode-syntax-table, rst-mode): New and corrected functions
7171 and variables representing reStructuredText features.
7172
7173 (rst-re): New function for reStructuredText regexes. Use in
7174 many places.
7175
7176 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7177 (rst-mode-map): Rebind keys.
7178
7179 (rst-mode-lazy, rst-font-lock-keywords)
7180 (rst-font-lock-extend-region)
7181 (rst-font-lock-extend-region-internal)
7182 (rst-font-lock-extend-region-extend)
7183 (rst-font-lock-find-unindented-line-limit)
7184 (rst-font-lock-find-unindented-line-match)
7185 (rst-adornment-level, rst-font-lock-adornment-level)
7186 (rst-font-lock-adornment-match)
7187 (rst-font-lock-handle-adornment-pre-match-form)
7188 (rst-font-lock-handle-adornment-matcher): Major revision of
7189 font-locking. Integrate with other code. Use `jit-lock-mode'.
7190
7191 (rst-preferred-adornments, rst-adjust-hook)
7192 (rst-new-adornment-down, rst-preferred-bullets)
7193 (rst-preferred-bullets, rst-indent, rst-indent-width)
7194 (rst-indent-field, rst-indent-literal-normal)
7195 (rst-indent-literal-minimized, rst-indent-comment): Change,
7196 extend and improve customization.
7197
7198 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7199 (rst-normalize-cursor-position, rst-get-decoration)
7200 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7201 (rst-rstrip, rst-toc-insert-find-delete-contents)
7202 (rst-shift-fill-region, rst-compute-bullet-tabs)
7203 (rst-debug-print-tabs, rst-debug-mark-found)
7204 (rst-shift-region-guts, rst-shift-region-right)
7205 (rst-shift-region-left, rst-use-char-classes)
7206 (rst-font-lock-keywords-function)
7207 (rst-font-lock-indentation-point)
7208 (rst-font-lock-find-unindented-line-begin)
7209 (rst-font-lock-find-unindented-line-end)
7210 (rst-font-lock-find-unindented-line)
7211 (rst-font-lock-adornment-point, rst-font-lock-level)
7212 (rst-adornment-level-alist): Remove functions and variables.
7213
7214 (rst-compare-adornments, rst-get-adornment-match)
7215 (rst-suggest-new-adornment, rst-get-adornments-around)
7216 (rst-adornment-complete-p, rst-get-next-adornment)
7217 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7218 (rst-straighten-adornments): Standardize function names to
7219 use "adornment" instead of "decoration". Correct callers.
7220 Similar standardizing in many places.
7221
7222 (rst-update-section, rst-adjust, rst-promote-region)
7223 (rst-enumerate-region, rst-bullet-list-region)
7224 (rst-repeat-last-character): Correct use of `interactive'.
7225
7226 (rst-classify-adornment, rst-find-all-adornments)
7227 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7228 (rst-find-leftmost-column, rst-repeat-last-character):
7229 Refactor functions.
7230
7231 (rst-find-title-line, rst-reset-section-caches)
7232 (rst-get-adornments-around, rst-adjust-adornment-work)
7233 (rst-arabic-to-roman, rst-roman-to-arabic)
7234 (rst-insert-list-pos, rst-insert-list-new-item)
7235 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7236 New functions.
7237
7238 (rst-all-sections, rst-section-hierarchy)
7239 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7240 New variables.
7241
7242 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7243 configuration instead of only buffer. Change where necessary.
7244
7245 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7246 (rst-shift-region, rst-adaptive-fill): New functions for
7247 indentation and filling.
7248
7249 (rst-comment-line-break, rst-comment-indent)
7250 (rst-comment-insert-comment, rst-comment-region)
7251 (rst-uncomment-region): New functions for handling comments.
7252
7253 (rst-compile): Quote shell arguments.
7254
7255 (rst-compile-pdf-preview, rst-compile-slides-preview):
7256 Delete temporary files after use.
7257
7258 2012-05-05 Glenn Morris <rgm@gnu.org>
7259
7260 * calendar/cal-html.el: Optionally include holidays in the output.
7261 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7262 (cal-html-holidays): New option.
7263 (cal-html-css-default): Add holiday entry.
7264 (holiday-in-range): Autoload it.
7265 (cal-html-htmlify-entry): Add optional class argument.
7266 (cal-html-htmlify-list): Add optional holidays argument.
7267 (cal-html-insert-agenda-days): Include holidays in the output.
7268 (cal-html-one-month): Maybe include holidays.
7269
7270 * calendar/holidays.el (holiday-in-range):
7271 Move here from cal-tex-list-holidays.
7272 * calendar/cal-tex.el (cal-tex-list-holidays):
7273 Make it an obsolete alias for holiday-in-range. Update all callers.
7274
7275 2012-05-05 Chong Yidong <cyd@gnu.org>
7276
7277 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7278 Nextstep.
7279
7280 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7281
7282 * files.el (file-auto-mode-skip): New var.
7283 (set-auto-mode-1): Use it.
7284
7285 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7286
7287 * repeat.el: Use lexical-binding.
7288 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7289 (repeat-undo-count): Remove.
7290 (repeat):
7291 * progmodes/octave-mod.el (octave-abbrev-start):
7292 * progmodes/f90.el (f90-abbrev-start):
7293 * face-remap.el (text-scale-adjust):
7294 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7295
7296 * emacs-lisp/pcase.el (pcase--let*): New function.
7297 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7298 a bit more.
7299 (pcase--split-pred): Be more clever about ruling out overlap between
7300 a predicate and some constant pattern.
7301 (pcase--q1): Use `null' instead of (eq foo nil).
7302
7303 * subr.el (setq-local, defvar-local): New macros.
7304 (kbd): Redefine as an alias.
7305 (with-selected-window): Leave unrelated frames alone.
7306 (set-temporary-overlay-map): New function.
7307
7308 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7309
7310 * subr.el (user-error): New function.
7311 * window.el (switch-to-buffer):
7312 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7313 (smerge-match-conflict):
7314 * simple.el (previous-matching-history-element)
7315 (next-matching-history-element, goto-history-element, undo-more)
7316 (undo-start):
7317 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7318 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7319 (next-file, tags-loop-scan, list-tags, complete-tag):
7320 * progmodes/compile.el (compilation-loop):
7321 * mouse.el (mouse-minibuffer-check):
7322 * man.el (Man-bgproc-sentinel, Man-goto-page):
7323 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7324 (Info-history-forward, Info-follow-reference, Info-menu)
7325 (Info-extract-menu-item, Info-extract-menu-counting)
7326 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7327 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7328 (Info-next-reference, Info-prev-reference, Info-index)
7329 (Info-index-next, Info-follow-nearest-node)
7330 (Info-copy-current-node-name):
7331 * imenu.el (imenu--make-index-alist)
7332 (imenu-default-create-index-function, imenu-add-to-menubar):
7333 * files.el (basic-save-buffer, recover-file):
7334 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7335 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7336 (checkdoc-message-text, checkdoc-defun):
7337 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7338 * cus-edit.el (customize-changed-options, customize-rogue)
7339 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7340 (custom-variable-mark-to-reset-standard)
7341 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7342 (custom-file):
7343 * completion.el (check-completion-length):
7344 * comint.el (comint-search-arg)
7345 (comint-previous-matching-input-string-position)
7346 (comint-previous-matching-input)
7347 (comint-replace-by-expanded-history-before-point, comint-send-input)
7348 (comint-copy-old-input, comint-backward-matching-input)
7349 (comint-goto-process-mark, comint-set-process-mark):
7350 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7351 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7352
7353 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7354
7355 * dabbrev.el (dabbrev--ignore-case-p): New function.
7356 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7357 Use it.
7358
7359 * files.el (automount-dir-prefix): Mark as obsolete.
7360
7361 2012-05-04 Glenn Morris <rgm@gnu.org>
7362
7363 * patcomp.el, play/bruce.el: Move to obsolete/.
7364
7365 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7366
7367 Fix minor Y10k bugs.
7368 * arc-mode.el (archive-unixdate):
7369 * autoinsert.el (auto-insert-alist):
7370 * calc/calc-forms.el (math-this-year):
7371 * emacs-lisp/copyright.el (copyright-current-year)
7372 (copyright-update-year, copyright):
7373 * tar-mode.el (tar-clip-time-string):
7374 * time.el (display-time-update):
7375 Don't assume years have 4 digits.
7376
7377 2012-05-04 Chong Yidong <cyd@gnu.org>
7378
7379 * dos-w32.el (file-name-buffer-file-type-alist)
7380 (direct-print-region-use-command-dot-com):
7381 * ffap.el (ffap-menu-regexp):
7382 * find-file.el (ff-special-constructs):
7383 * follow.el (follow-debug):
7384 * forms.el (forms--debug):
7385 * iswitchb.el (iswitchb-all-frames):
7386 * ido.el (ido-all-frames):
7387 * emacs-lisp/timer.el (timer-max-repeats):
7388 * mail/feedmail.el (feedmail-mail-send-hook)
7389 (feedmail-mail-send-hook-queued):
7390 * mail/footnote.el (footnote-signature-separator):
7391 * mail/mailabbrev.el (mail-alias-separator-string)
7392 (mail-abbrev-mode-regexp):
7393 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7394 * progmodes/idlwave.el (idlwave-libinfo-file)
7395 (idlwave-default-completion-case-is-down)
7396 (idlwave-library-routines): Convert defvars to defcustoms.
7397
7398 * mail/rmail.el (rmail-decode-mime-charset):
7399 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7400 (idlwave-shell-fix-inserted-breaks)
7401 (idlwave-shell-activate-alt-keybindings)
7402 (idlwave-shell-use-breakpoint-glyph):
7403 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7404
7405 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7408
7409 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7410
7411 * progmodes/verilog-mode.el (font-lock-keywords):
7412 Fix mis-highligting auto. Reported by Craig Barner.
7413 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7414 defines from global name space. Reported by Dan Dever.
7415 (verilog-auto-reset, verilog-auto-reset-widths)
7416 (verilog-auto-tieoff): Support using unbased numbers for
7417 AUTORESET and AUTOTIEOFF.
7418 (verilog-submit-bug-report): Update variable list.
7419 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7420 parenthesis from not matching. Reported by Michael Rytting.
7421 (verilog-auto-template-lint): Fix hash error when linting modules
7422 with no used templates.
7423 (verilog-warn, verilog-warn-error)
7424 (verilog-warn-fatal): When non-interactive report multiple
7425 warnings before exiting. Suggested by Brad Dobbie.
7426 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7427 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7428 to report unused template errors. Reported by Brad Dobbie.
7429 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7430 nets, bug438. Reported by Vns Blore.
7431 (verilog-auto-inout-module, verilog-auto-reg)
7432 (verilog-read-decls, verilog-read-sub-decls-sig)
7433 (verilog-signals-edit-wire-reg, verilog-signals-with):
7434 Fix passing of Verilog data types in ANSI input/output ports
7435 such as "output logic" into the AUTOs. Special case "wire" and
7436 "reg" for backwards compatibility presuming Verilog 2001.
7437 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7438 (verilog-preprocess): Fix replication of preprocess output.
7439 Reported by Brad Dobbie.
7440 (verilog-auto-inst-interfaced-ports):
7441 Create verilog-auto-inst-interfaced-ports, bug429.
7442 Reported by Julian Gorfajn.
7443 (verilog-after-save-font-hook)
7444 (verilog-before-save-font-hook): New variable.
7445 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7446 (verilog-save-font-mods): Wrap disabling fontification, reported
7447 by David Rogoff.
7448 (verilog-do-indent, verilog-pretty-declarations-auto)
7449 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7450 Reported by Pierre-David Pfister.
7451 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7452 of class declarations, bug292. Reported by Kevin Heilman.
7453 (verilog-read-decls): Fix 'parameter type' not appearing in
7454 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7455 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7456 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
7457 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7458 Reported by David Kravitz.
7459
7460 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
7461
7462 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7463 assignment with tests in ifs and for loops.
7464 (verilog-extended-complete-re, verilog-complete-reg): Change so
7465 that DPI inport functions don't look like fuction declarations.
7466 (verilog-pretty-expr): Don't line up assignment
7467 operations to the test and increment in if and for loops
7468 (verilog-extended-complete-re, verilog-complete-reg): Change so
7469 that DPI inport functions don't look like fuction declarations.
7470
7471 2012-05-03 Kenichi Handa <handa@m17n.org>
7472
7473 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7474 decoding, and show a warning message without signaling an error
7475 (Bug#11282).
7476
7477 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7478
7479 * emacs-lisp/bytecomp.el
7480 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7481 since cconv.el might have introduced :fun-body, internal-make-closure,
7482 and friends for bytecomp to handle (bug#11391).
7483 * custom.el (defcustom): Avoid ((λ ..) ..).
7484
7485 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7486
7487 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7488
7489 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
7490
7491 * notifications.el (dbus-debug):
7492 * term/linux.el (gpm-mouse-enable):
7493 * term/screen.el (xterm-register-default-colors): Declare.
7494
7495 2012-05-02 Chong Yidong <cyd@gnu.org>
7496
7497 * cus-start.el (gc-cons-percentage, exec-suffixes)
7498 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7499 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7500 (make-cursor-line-fully-visible, void-text-area-pointer)
7501 (font-list-limit): Add customization data.
7502
7503 * allout.el (allout-exposure-change-functions)
7504 (allout-structure-added-functions)
7505 (allout-structure-deleted-functions)
7506 (allout-structure-shifted-functions): Rename abnormal hooks from
7507 *-hook, and convert to defcustoms.
7508 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7509 Convert to defcustoms.
7510 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7511
7512 * allout-widgets.el: Hook callers changed.
7513
7514 2012-05-02 Eli Zaretskii <eliz@gnu.org>
7515
7516 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7517 the yanked message in preference to the default value of
7518 buffer-file-coding-system.
7519
7520 2012-05-02 Martin Rudalics <rudalics@gmx.at>
7521
7522 * window.el (display-buffer--action-function-custom-type):
7523 Fix entry.
7524
7525 2012-05-02 Alan Mackenzie <acm@muc.de>
7526
7527 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7528
7529 2012-05-01 Glenn Morris <rgm@gnu.org>
7530
7531 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7532
7533 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7534
7535 * cus-edit.el (custom-variable-documentation): Simplify with format.
7536
7537 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7538 Stefan Monnier <monnier@iro.umontreal.ca>
7539
7540 * simple.el (suggest-key-bindings, execute-extended-command):
7541 Move from keyboard.c.
7542
7543 2012-05-01 Chong Yidong <cyd@gnu.org>
7544
7545 * follow.el: Eliminate advice.
7546 (set-process-filter, process-filter, sit-for): Advice deleted.
7547 (follow-mode-off-hook): Obsolete hook removed.
7548 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7549 Vars deleted.
7550 (follow-auto): Use a :set function.
7551 (follow-mode): Rewritten. Don't advise process filters.
7552 (follow-switch-to-current-buffer-all, follow-scroll-up)
7553 (follow-scroll-down): Assume follow-mode is bound.
7554 (follow-comint-scroll-to-bottom)
7555 (follow-align-compilation-windows): New functions.
7556 (follow--window-sorter): New function.
7557 (follow-all-followers): Use it to explicitly sort windows by their
7558 positions; don't make assumptions about next-window order.
7559 (follow-windows-start-end, follow-delete-other-windows-and-split)
7560 (follow-calc-win-start): Doc fix.
7561 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7562 vertical-motion unnecessarily.
7563 (follow-adjust-window): New function.
7564 (follow-post-command-hook): Use it.
7565 (follow-call-set-process-filter, follow-call-process-filter)
7566 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7567 (follow-stop-intercept-process-output, follow-generic-filter):
7568 Functions deleted.
7569 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7570 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7571 New functions, replacing advice on scroll-bar-* commands.
7572 (follow-mwheel-scroll): New function (Bug#4112).
7573
7574 * comint.el (comint-adjust-point): New function.
7575 (comint-postoutput-scroll-to-bottom): Use it.
7576 Call follow-comint-scroll-to-bottom for Follow mode buffers.
7577
7578 2012-05-01 Glenn Morris <rgm@gnu.org>
7579
7580 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7581 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7582 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7583 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7584 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7585 Remove no-byte-compile setting.
7586
7587 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7588
7589 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7590 all-completions code to not return a number in the last cdr.
7591
7592 2012-04-30 Leo Liu <sdl.web@gmail.com>
7593
7594 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7595 read-only error.
7596
7597 2012-04-29 Chong Yidong <cyd@gnu.org>
7598
7599 * follow.el (follow-calc-win-end): Rewrite to handle partial
7600 screen lines correctly (Bug#8390).
7601 (follow-avoid-tail-recenter): Minor cleanup.
7602
7603 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7604
7605 Avoid the obsolete `assoc' package.
7606 * speedbar.el (speedbar-refresh): Avoid adelete.
7607 (speedbar-file-lists): Simplify and avoid aput.
7608 * man.el (Man--sections, Man--refpages): New vars, replacing
7609 Man-sections-alist and Man-refpages-alist.
7610 (Man-build-section-alist, Man-build-references-alist):
7611 Use them; avoid aput.
7612 (Man--last-section, Man--last-refpage): New vars.
7613 (Man-follow-manual-reference): Use them.
7614 Use the `default' arg of completing-read.
7615 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7616
7617 2012-04-27 Chong Yidong <cyd@gnu.org>
7618
7619 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7620
7621 * startup.el (x-apply-session-resources): New function.
7622
7623 * term/ns-win.el (ns-initialize-window-system):
7624 * term/w32-win.el (w32-initialize-window-system):
7625 * term/x-win.el (x-initialize-window-system): Use it to properly
7626 set menu-bar-mode and other vars from X resources, even if the
7627 initial frame is not a window-system frame (Bug#2299).
7628
7629 * subr.el (read-key): Avoid running filter function when setting
7630 up temporary tool bar entries (Bug#9922).
7631
7632 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7633
7634 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7635 (Bug#11344)
7636
7637 2012-04-27 Chong Yidong <cyd@gnu.org>
7638
7639 * select.el (xselect--encode-string): New function, split from
7640 xselect-convert-to-string.
7641 (xselect-convert-to-string): Use it.
7642 (xselect-convert-to-filename, xselect-convert-to-os)
7643 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7644 returned strings are properly encoded (Bug#11315).
7645
7646 2012-04-27 Chong Yidong <cyd@gnu.org>
7647
7648 * simple.el (delete-active-region): Move to killing custom group.
7649
7650 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
7651
7652 * progmodes/which-func.el (which-func-current): Quote %
7653 characters for mode-line processing.
7654
7655 2012-04-27 Chong Yidong <cyd@gnu.org>
7656
7657 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7658 reaching eob (Bug#11286).
7659
7660 2012-04-27 Eli Zaretskii <eliz@gnu.org>
7661
7662 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7663 (gdb): Make it buffer-local and init to zero.
7664 (gdb-control-commands-regexp): New variable.
7665 (gdb-send): Don't wrap in "-interpreter-exec console" if
7666 gdb-control-level is positive. Increment gdb-control-level
7667 whenever the command matches gdb-control-commands-regexp, and
7668 decrement it each time the command is "end". (Bug#11279)
7669
7670 2012-04-27 Martin Rudalics <rudalics@gmx.at>
7671
7672 * window.el (adjust-window-trailing-edge, enlarge-window)
7673 (shrink-window, window-resize):
7674 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7675 windows (Bug#11276).
7676
7677 2012-04-27 Chong Yidong <cyd@gnu.org>
7678
7679 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7680 fix "missing prefix" warning. All callers changed.
7681
7682 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7683
7684 * emacs-lisp/assoc.el: Move to obsolete/.
7685
7686 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7689
7690 * term/ns-win.el (ns-define-service):
7691 * progmodes/pascal.el (pascal-goto-defun):
7692 * progmodes/js.el (js--read-tab):
7693 * progmodes/etags.el (tags-lazy-completion-table):
7694 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7695 * emacs-lisp/ewoc.el (ewoc--wrap):
7696 * emacs-lisp/assoc.el (aput, adelete, amake):
7697 * doc-view.el (doc-view-convert-current-doc):
7698 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7699
7700 2012-04-26 Chong Yidong <cyd@gnu.org>
7701
7702 * image.el (image-type-from-buffer): Only return supported image
7703 type (Bug#9045).
7704
7705 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7706 value, for symmetry with diff-end-of-hunk.
7707 (diff-split-hunk, diff-find-source-location)
7708 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7709 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7710 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7711 compute the relevant hunk or file properly (Bug#6005).
7712 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7713
7714 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7715
7716 * vc/vc-mtn.el:
7717 * vc/vc-hg.el:
7718 * vc/vc-git.el:
7719 * vc/vc-dir.el:
7720 * vc/vc-cvs.el:
7721 * vc/vc-bzr.el:
7722 * vc/vc-arch.el:
7723 * vc/vc.el: Replace lexical-let by lexical-binding.
7724 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7725 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7726 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7727
7728 2012-04-26 Chong Yidong <cyd@gnu.org>
7729
7730 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7731 (diff-mode-shared-map): Bind it to / and [remap undo].
7732
7733 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7734 (ediff-window-setup-function): Use it as the default, to set up
7735 windows based on whether the current frame is graphical (Bug#2138).
7736 (ediff-choose-window-setup-function-automatically): Make obsolete.
7737
7738 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7739
7740 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * ffap.el: Remove old code for obsolete package.
7743 (ffap-complete-as-file-p): Remove.
7744
7745 Use completion-table-with-quoting for comint and pcomplete.
7746 * comint.el (comint--unquote&requote-argument)
7747 (comint--unquote-argument, comint--requote-argument): New functions.
7748 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7749 (comint-quote-filename): Use regexp-opt-charset.
7750 (comint--common-suffix, comint--common-quoted-suffix)
7751 (comint--table-subvert): Remove.
7752 (comint-unquote-function, comint-requote-function): New vars.
7753 (comint--complete-file-name-data): Use them with
7754 completion-table-with-quoting.
7755 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7756 * pcomplete.el (pcomplete-arg-quote-list)
7757 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7758 (pcomplete-unquote-argument-function): Default to non-nil.
7759 (pcomplete-unquote-argument): Simplify.
7760 (pcomplete--common-quoted-suffix): Remove.
7761 (pcomplete-requote-argument-function): New var.
7762 (pcomplete--common-suffix): New function.
7763 (pcomplete-completions-at-point): Use completion-table-with-quoting
7764 and completion-table-subvert.
7765
7766 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7767 (minibuffer--double-dollars): Preserve properties.
7768 (completion--sifn-requote): New function.
7769 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7770
7771 * minibuffer.el: Add support for completion of quoted/escaped data.
7772 (completion-table-with-quoting, completion-table-subvert): New funs.
7773 (completion--twq-try, completion--twq-all): New functions.
7774 (completion--nth-completion): New function.
7775 (completion-try-completion, completion-all-completions): Use it.
7776
7777 2012-04-25 Leo Liu <sdl.web@gmail.com>
7778
7779 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7780 Use compilation-message if available to find real filename.
7781
7782 2012-04-25 Chong Yidong <cyd@gnu.org>
7783
7784 * vc/diff-mode.el (diff-setup-whitespace): New function.
7785 (diff-mode): Use it.
7786
7787 * vc/diff.el (diff-sentinel):
7788 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7789 Whitespace mode variables based on diff style (Bug#8612).
7790
7791 2012-04-25 Leo Liu <sdl.web@gmail.com>
7792
7793 * progmodes/python.el (python-send-region): Add suffix .py to the
7794 temp file.
7795
7796 * files.el (auto-mode-alist): Use javascript-mode instead.
7797
7798 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7799
7800 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
7801
7802 * net/soap-client.el (soap-resolve-references-for-sequence-type)
7803 (soap-resolve-references-for-array-type): Hack to prevent self
7804 references, see Bug#9.
7805 (soap-parse-envelope): Report the contents of the 'detail' node
7806 when receiving a fault reply.
7807 (soap-parse-envelope): Report the contents of the entire 'detail' node.
7808
7809 * net/soap-inspect.el (soap-sample-value-for-simple-type)
7810 (soap-inspect-simple-type): New function.
7811
7812 * net/soap-client.el (soap-simple-type): New struct.
7813 (soap-default-xsd-types, soap-default-soapenc-types)
7814 (soap-decode-basic-type, soap-encode-basic-type):
7815 support unsignedInt and double basic types.
7816 (soap-resolve-references-for-simple-type)
7817 (soap-parse-simple-type, soap-encode-simple-type): New function.
7818 (soap-parse-schema): Parse xsd:simpleType declarations.
7819
7820 * net/soap-client.el (soap-default-xsd-types)
7821 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7822 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7823 the local name of "soapenc:Array".
7824 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7825 decoding integer, byte and anyURI xsd types.
7826
7827 2012-04-25 Chong Yidong <cyd@gnu.org>
7828
7829 * cus-edit.el (custom-buffer-create-internal): Update header text.
7830
7831 2012-04-25 Eli Zaretskii <eliz@gnu.org>
7832
7833 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7834 settings on 'system-type', not on 'window-system'. On MS-Windows,
7835 set interactive-mode on in GDB.
7836
7837 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7838
7839 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7840 (ruby-syntax-propertize-regexp): Remove.
7841 (ruby-syntax-propertize-function): Split regexp into chunks.
7842 Match following code directly.
7843
7844 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7845
7846 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7847 (ruby-syntax-propertize-regexp): New function.
7848 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7849 by a special keyword.
7850
7851 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7852 (ruby-syntax-general-delimiters-goto-beg)
7853 (ruby-syntax-propertize-general-delimiters): New functions.
7854 (ruby-syntax-propertize-function): Use them to handle GDL.
7855 (ruby-font-lock-keywords): Move old handling of GDL...
7856 (ruby-font-lock-syntactic-keywords): .. to here.
7857 (ruby-calculate-indent): Adjust indentation for GDL.
7858
7859 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
7860
7861 * notifications.el (top): Remove unneeded declarations.
7862 (notifications-specification-version): Change to "1.2".
7863 (notifications-interface, notifications-notify-method)
7864 (notifications-close-notification-method): Fix docstring.
7865 (notifications-get-capabilities-method): New defconst.
7866 (notifications-notify): Add :action-items, :resident and
7867 :transient hints. Change "image_data" to "image-data" and
7868 "image_path" to "image-path".
7869 (notifications-get-capabilities): New defun.
7870
7871 2012-04-24 Leo Liu <sdl.web@gmail.com>
7872
7873 * progmodes/python.el: Move hideshow setup to the end.
7874
7875 2012-04-24 Martin Rudalics <rudalics@gmx.at>
7876
7877 * window.el (handle-select-window): Clear echo area since this is
7878 no more done by read_char (Bug#11304).
7879
7880 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7881
7882 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7883 and `/ M' to filter-derived-mode.
7884 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7885 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7886 (ibuffer-mark-by-mode): Use default rather than initial-input.
7887 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7888
7889 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7890
7891 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7892 (ibuffer-filter-by-derived-mode): New filter.
7893 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7894
7895 2012-04-23 Andreas Politz <politza@fh-trier.de>
7896
7897 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7898
7899 2012-04-23 Chong Yidong <cyd@gnu.org>
7900
7901 * cus-edit.el (customize-apropos, customize-apropos-options):
7902 Disable matching of non-option variables (Bug#11176).
7903 (customize-option, customize-option-other-window)
7904 (customize-changed-options): Doc fix.
7905 (customize-apropos-options, customize-apropos-faces)
7906 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7907
7908 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7909 Fix word list splitting (Bug#11132).
7910 (apropos-symbol, apropos-keybinding, apropos-label)
7911 (apropos-property, apropos-function-button)
7912 (apropos-variable-button, apropos-misc-button): New faces.
7913 (apropos-symbol-face, apropos-keybinding-face)
7914 (apropos-label-face, apropos-property-face, apropos-match-face):
7915 Variables removed (Bug#8396).
7916 (apropos-library-button, apropos-format-plist, apropos-print)
7917 (apropos-print-doc, apropos-describe-plist): Callers changed.
7918
7919 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
7920
7921 * net/xesam.el (xesam-mode-map): Use let-bound map in
7922 initialization. (Bug#11292)
7923
7924 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7925
7926 Preserve ispell session localwords when switching back to
7927 original buffer.
7928
7929 * textmodes/ispell.el (ispell-buffer-session-localwords):
7930 New buffer-local variable to hold buffer session localwords.
7931 (ispell-kill-ispell): Add option 'clear to delete session
7932 localwords.
7933 (ispell-command-loop, ispell-change-dictionary)
7934 (ispell-buffer-local-words): Preserve session localwords when
7935 needed.
7936
7937 * textmodes/flyspell.el (flyspell-process-localwords)
7938 (flyspell-do-correct): Preserve session localwords when needed.
7939
7940 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7941
7942 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7943 using obsolete `translation-table-for-input'.
7944 (ispell-word, ispell-process-line, ispell-complete-word):
7945 Use plain `insert' instead of removed `ispell-insert-word'.
7946
7947 2012-04-22 Chong Yidong <cyd@gnu.org>
7948
7949 * cus-edit.el (custom-variable-menu)
7950 (custom-variable-reset-saved, custom-face-menu)
7951 (custom-face-reset-saved): If there is no saved value, make the
7952 "reset-saved" operation bring back the default (Bug#9509).
7953 (custom-face-state): Properly detect themed faces.
7954
7955 * faces.el (face-spec-set): Stop supporting deprecated form of
7956 third arg.
7957
7958 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
7959
7960 Move functions from C to Lisp. Make non-blocking method calls
7961 the default. Implement further D-Bus standard interfaces.
7962
7963 * net/dbus.el (dbus-message-internal): Declare function.
7964 Remove unneeded function declarations.
7965 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7966 (dbus-message-type-method-return, dbus-message-type-error)
7967 (dbus-message-type-signal): Declare variables. Remove local
7968 definitions.
7969 (dbus-interface-dbus, dbus-interface-peer)
7970 (dbus-interface-introspectable, dbus-interface-properties)
7971 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7972 Adapt docstring.
7973 (dbus-interface-objectmanager): New defconst.
7974 (dbus-call-method, dbus-call-method-asynchronously)
7975 (dbus-send-signal, dbus-method-return-internal)
7976 (dbus-method-error-internal, dbus-register-service)
7977 (dbus-register-signal, dbus-register-method): New defuns, moved
7978 from dbusbind.c
7979 (dbus-call-method-handler, dbus-setenv)
7980 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7981 New defuns.
7982 (dbus-call-method-non-blocking): Make it an obsolete function.
7983 (dbus-unregister-object, dbus-unregister-service)
7984 (dbus-handle-event, dbus-register-property)
7985 (dbus-property-handler): Obey the new structure of
7986 `bus-registered-objects'.
7987 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7988 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7989 Use `dbus-call-method'.
7990
7991 2012-04-22 Chong Yidong <cyd@gnu.org>
7992
7993 * cus-edit.el (custom-commands, custom-reset-menu)
7994 (Custom-reset-standard): Tweak labels.
7995 (custom-reset-button-menu): Change default to t.
7996 (custom-buffer-create-internal): For the custom-reset-button-menu
7997 case, put the revert button first.
7998 (custom-group-subtitle): New face.
7999 (custom-group-value-create): Align docstring to a specific column.
8000
8001 * wid-edit.el (widget-documentation-link-add): Don't handle
8002 indentation in this function.
8003 (widget-documentation-string-indent-to): New function.
8004 (widget-documentation-string-value-create): Use it.
8005
8006 * autorevert.el (auto-revert):
8007 * epg-config.el (epg):
8008 * ibuffer.el (ibuffer):
8009 * mpc.el (mpc):
8010 * ses.el (ses):
8011 * eshell/eshell.el (eshell):
8012 * net/ange-ftp.el (ange-ftp):
8013 * progmodes/ebnf2ps.el (postscript):
8014 * progmodes/flymake.el (flymake):
8015 * progmodes/prolog.el (prolog):
8016 * progmodes/verilog-mode.el (verilog-mode):
8017 * progmodes/which-func.el (which-func):
8018 * term/xterm.el (xterm):
8019 * textmodes/picture.el (picture):
8020 * textmodes/tildify.el (tildify):
8021 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8022 customization buffers.
8023
8024 2012-04-22 Alan Mackenzie <acm@muc.de>
8025
8026 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8027 Adding a ) can hide the resulting (..) from searches. Fix it.
8028 Bound the backward search to the position of the existing (.
8029
8030 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
8031
8032 * progmodes/verilog-mode.el (verilog-mode): Check whether
8033 which-func-modes is t before adding verilog-mode.
8034 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8035
8036 2012-04-21 Leo Liu <sdl.web@gmail.com>
8037
8038 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8039
8040 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8041
8042 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8043 filling of the last column of a table (Bug#5635).
8044 (woman-find-next-control-line): New arg, specifying an additional
8045 regexp component for the control line.
8046 (woman2-roff-buffer): Use it.
8047 (woman-break-table): New function.
8048 (woman2-TS): Use it.
8049
8050 2012-04-21 Chong Yidong <cyd@gnu.org>
8051
8052 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8053 (woman-horizontal-escapes, woman-negative-vertical-space)
8054 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8055 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8056
8057 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8058
8059 * minibuffer.el (completion-file-name-table): Complete user names.
8060
8061 2012-04-20 Leo Liu <sdl.web@gmail.com>
8062
8063 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8064 and pcase-let*.
8065
8066 2012-04-20 Chong Yidong <cyd@gnu.org>
8067
8068 * server.el (server-execute): Respect initial-buffer-choice if it
8069 is a string and there are no files to open (Bug#2825).
8070 (server-create-window-system-frame, server-create-tty-frame):
8071 Don't switch buffers here.
8072 (server-process-filter): Only try to open a window system frame if
8073 compiled with graphical support (Bug#8314).
8074
8075 2012-04-20 Dan Nicolaescu <dann@gnu.org>
8076
8077 * battery.el (battery-echo-area-format): Display remaining time
8078 for sysfs backend too (Bug#11269).
8079 (battery-linux-sysfs): Fix conditional for the charge.
8080
8081 2012-04-20 Chong Yidong <cyd@gnu.org>
8082
8083 * progmodes/gdb-mi.el (gdb): Revert previous change.
8084 (gdb-inferior-io--init-proc): New function.
8085 (gdb-init-1): Use it.
8086 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8087 responsible for allocating a new pty and hooking it to gdb when
8088 the old pty gets an EIO due to process exit.
8089 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8090 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8091 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8092
8093 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8094
8095 * window.el (window-min-size, window-sizable, window-min-delta)
8096 (window-max-delta, window--resizable, window-resizable)
8097 (window-total-size, window-full-height-p, window-full-width-p)
8098 (window-in-direction, window--resize-mini-window, window-resize)
8099 (window--resize-child-windows-normal)
8100 (window--resize-child-windows, window--resize-siblings)
8101 (window--resize-this-window, adjust-window-trailing-edge)
8102 (enlarge-window, shrink-window): Doc fixes.
8103
8104 2012-04-20 Chong Yidong <cyd@gnu.org>
8105
8106 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8107 New function to call delete-process on the gdb-inferior buffer's pty.
8108 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8109 pty process (Bug#11273).
8110 (gdb-update): New arg to suppress talking to the gdb process.
8111 (gdb-done-or-error): Use it.
8112 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8113 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8114 sentinel not being called.
8115
8116 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8117
8118 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8119
8120 2012-04-20 Glenn Morris <rgm@gnu.org>
8121
8122 * net/network-stream.el (open-network-stream): Doc fix.
8123
8124 2012-04-20 Chong Yidong <cyd@gnu.org>
8125
8126 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8127
8128 2012-04-20 Alan Mackenzie <acm@muc.de>
8129
8130 Ensure searching for keywords is case sensitive.
8131
8132 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8133 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8134 (c-defun-name, c-mark-function, c-cpp-define-name)
8135 (c-comment-indent, c-scan-conditionals, c-indent-defun)
8136 (c-context-line-break): Bind case-fold-search to nil.
8137
8138 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8139 Bind case-fold-search to nil.
8140
8141 2012-04-20 Chong Yidong <cyd@gnu.org>
8142
8143 * mail/sendmail.el (mail-bury): Call return action with the right
8144 Rmail buffer (Bug#11242).
8145
8146 * server.el (server-process-filter): Handle corner case where both
8147 tty and nowait options are present (Bug#11102).
8148
8149 2012-04-20 Eli Zaretskii <eliz@gnu.org>
8150
8151 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8152 (top level): Put into the executable the ident-style '$Id:' tag on
8153 windows-nt as well.
8154
8155 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8156
8157 * electric.el (electric-indent-post-self-insert-function): Check that
8158 electric-indent-mode is enabled in current buffer.
8159
8160 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8161
8162 * imenu.el (imenu-progress-message): Restore; it is "used" in
8163 erc/erc-imenu.el and net/snmp-mode.el.
8164
8165 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
8166
8167 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8168 (mouse-avoidance-nudge-mouse): Remove unused binding.
8169
8170 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8171
8172 * descr-text.el (describe-char):
8173 * progmodes/python.el (python-describe-symbol):
8174 Don't call `toggle-read-only', set `buffer-read-only'.
8175
8176 * imenu.el (imenu-default-goto-function): Mark unused args.
8177 (imenu-progress-message): Remove obsolete macro; all callers changed.
8178
8179 * subr.el (keymap-canonicalize): Remove unused binding.
8180 (read-passwd): Mark unused arg.
8181
8182 * tutorial.el (tutorial--display-changes): Remove unused binding.
8183 (tutorial--save-tutorial-to): Remove unused variable.
8184
8185 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8186 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8187 (package-generate-autoloads, package-menu--generate)
8188 (package-menu--find-upgrades): Remove unused bindings.
8189
8190 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8191 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8192 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8193 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8194 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8195 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8196 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8197 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8198 (cua-delete-char-rectangle): Mark unused args.
8199 (cua-align-rectangle): Remove unused binding.
8200
8201 * mail/rmail.el (compilation--message->loc)
8202 (epa--find-coding-system-for-mime-charset): Declare.
8203
8204 * net/dbus.el (dbus-register-service): Declare.
8205 (dbus-name-owner-changed-handler): Remove unused binding.
8206
8207 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8208 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8209 (nxml-scan-backward-within): Mark unused arg.
8210 (nxml-dynamic-markup-word): Remove unused binding.
8211
8212 * mouse.el (mouse-menu-major-mode-map):
8213 * emacs-lisp/authors.el (authors-scan-change-log)
8214 (authors-add-to-author-list):
8215 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8216 * emacs-lisp/smie.el (smie-auto-fill):
8217 * mail/sendmail.el (mail-bury):
8218 * mail/unrmail.el (unrmail):
8219 * net/tls.el (open-tls-stream):
8220 * textmodes/picture.el (picture-mouse-set-point):
8221 Remove unused bindings.
8222
8223 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
8224
8225 * net/tramp.el (tramp-action-password): Let-bind
8226 `enable-recursive-minibuffers' to t.
8227
8228 2012-04-18 Sam Steingold <sds@gnu.org>
8229
8230 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8231 instead of 'string to accommodate values like [f11].
8232 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8233 * progmodes/gdb-mi.el: Likewise.
8234
8235 2012-04-18 Leo Liu <sdl.web@gmail.com>
8236
8237 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8238 current buffer.
8239 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8240 LOCAL is nil.
8241
8242 2012-04-18 Chong Yidong <cyd@gnu.org>
8243
8244 * simple.el (line-move): Use forward-line if in batch mode
8245 (Bug#11053).
8246
8247 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8248
8249 * files.el (after-find-file): Do not try to add a final newline if
8250 the buffer is read-only (Bug#11156).
8251
8252 2012-04-17 Richard Stallman <rms@gnu.org>
8253
8254 * mail/rmail.el (rmail-start-mail):
8255 Pass (rmail-mail-return...) for the return-action.
8256 Pass (rmail-yank-current-message...) for the yank-action.
8257 (rmail-yank-current-message): New function.
8258 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8259 (rmail-reply): Likewise.
8260 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8261
8262 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8263 buffer, not the last. Reject temp buffers. Use the rmail-mode
8264 buffer, not newbuf.
8265
8266 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
8267
8268 * server.el (server-ensure-safe-dir): Simplify.
8269
8270 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * emacs-lisp/smie.el: Provide smarter auto-filling.
8273 (smie-auto-fill): New function.
8274 (smie-setup): Use it.
8275
8276 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8277
8278 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8279
8280 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8281 (comment-indent): Use it.
8282
8283 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
8284
8285 * ses.el: The overall change is to add cell renaming, that is
8286 setting fancy names for cell symbols other than name matching
8287 "\\`[A-Z]+[0-9]+\\'" regexp .
8288 (ses-localvars): Add ses--renamed-cell-symb-list.
8289 (ses-create-cell-variable): New defun.
8290 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8291 (ses-relocate-formula): Relocate formulas only for cells the
8292 symbols of which are not renamed, i.e. symbols whose names do not
8293 match regexp "\\`[A-Z]+[0-9]+\\'".
8294 (ses-relocate-all): Relocate values only for cells the symbols of
8295 which are not renamed.
8296 (ses-load): Create cells variables as the (ses-cell ...) are read,
8297 in order to check row col consistency with cell symbol name only
8298 for cells that are not renamed.
8299 (ses-replace-name-in-formula): New defun.
8300 (ses-rename-cell): New defun.
8301
8302 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8303
8304 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8305 New option (bug#11118).
8306 (perl-calculate-indent): Respect it.
8307
8308 2012-04-17 Glenn Morris <rgm@gnu.org>
8309
8310 * dired-aux.el (dired-mark-read-string): Doc fix.
8311
8312 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8313
8314 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8315 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8316
8317 2012-04-17 Glenn Morris <rgm@gnu.org>
8318
8319 * mouse.el (mouse-drag-track):
8320 * speedbar.el (speedbar-frame-mode):
8321 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8322
8323 2012-04-16 Leo Liu <sdl.web@gmail.com>
8324
8325 * progmodes/python.el: Trivial cleanup.
8326
8327 2012-04-16 Glenn Morris <rgm@gnu.org>
8328
8329 * vc/vc.el (vc-string-prefix-p):
8330 * vc/pcvs-util.el (cvs-string-prefix-p):
8331 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8332 * mpc.el (mpc-string-prefix-p):
8333 Make all of these into obsolete aliases for string-prefix-p.
8334 Update callers.
8335 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8336
8337 * textmodes/two-column.el: Move custom options to the start.
8338 (frame-width): Remove compat definition.
8339 (2C-associate-buffer, 2C-dissociate):
8340 Use with-current-buffer rather than save-excursion.
8341 (2C-dissociate): Force a mode-line update.
8342 (2C-autoscroll): Use ignore-errors.
8343
8344 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8345 Autoload trivia.
8346
8347 * emacs-lisp/cl-extra.el (*random-state*):
8348 Remove unnecessary declaration.
8349
8350 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8351
8352 * play/cookie1.el (cookie-snarf):
8353 Give an explicit error if input file cannot be read.
8354
8355 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8356
8357 * progmodes/perl-mode.el (c-macro-expand):
8358 Remove unnecessary autoload (it is in loaddefs.el).
8359
8360 * textmodes/picture.el (picture-desired-column)
8361 (picture-update-desired-column): Convert comments to doc-strings.
8362 (picture-substitute): Remove function.
8363 (picture-mode-map): Initialize in the defvar.
8364
8365 * woman.el: Remove eval-after-load for tar-mode.
8366 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8367 (woman-tar-extract-file): Autoload it.
8368
8369 * frame.el (automatic-hscrolling): Make this alias obsolete.
8370
8371 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8372
8373 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8374 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8375 (ispell-dictionary-base-alist): Revert to original XEmacs
8376 friendly version for default. [:alpha:] will be added in
8377 `ispell-set-spellchecker-params' if needed.
8378
8379 2012-04-16 Chong Yidong <cyd@gnu.org>
8380
8381 * image.el (imagemagick--file-regexp): New variable.
8382 (imagemagick-register-types): Use it.
8383 (imagemagick-types-inhibit): Add :set function. Allow new value
8384 of t to inhibit all types.
8385
8386 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8387 so we can preload it.
8388
8389 * loadup.el (fboundp): Preload regexp-opt, needed by
8390 imagemagick-register-types.
8391
8392 2012-04-15 Chong Yidong <cyd@gnu.org>
8393
8394 * frame.el (scrolling): Remove nearly unused customization group.
8395
8396 * scroll-all.el (scroll-all-mode): Move to windows group.
8397
8398 2012-04-15 Chong Yidong <cyd@gnu.org>
8399
8400 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8401
8402 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8403
8404 Avoid the use of ((lambda ...) ...) in lexical-binding code.
8405 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8406
8407 2012-04-15 Glenn Morris <rgm@gnu.org>
8408
8409 * simple.el (process-file-side-effects): Doc fix.
8410
8411 2012-04-15 Glenn Morris <rgm@gnu.org>
8412
8413 * international/mule-cmds.el (set-language-environment): Doc fix.
8414
8415 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8416
8417 * server.el (server-auth-key, server-generate-key): Doc fixes.
8418 (server-get-auth-key): Doc fix. Use `string-match-p'.
8419 (server-start): Reflow docstring.
8420
8421 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8422
8423 * server.el (server-generate-key): `called-interactively-p'
8424 requires a parameter.
8425
8426 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
8427
8428 * server.el (server-auth-key): New variable.
8429 (server-generate-key, server-get-auth-key): New function.
8430 (server-start): Use the new variable and functions to allow
8431 setting a permanent server key (bug#9423).
8432
8433 2012-04-14 Leo Liu <sdl.web@gmail.com>
8434
8435 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8436
8437 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8438
8439 Spelling fixes.
8440 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8441 Emacs uses American spelling.
8442
8443 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
8444
8445 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8446 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8447 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8448 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8449
8450 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8451
8452 * progmodes/which-func.el (which-func-modes): Change default.
8453
8454 2012-04-14 Kim F. Storm <storm@cua.dk>
8455
8456 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8457 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8458
8459 2012-04-14 Chong Yidong <cyd@gnu.org>
8460
8461 * custom.el (custom-theme-set-variables): Doc fix.
8462
8463 2012-04-14 Glenn Morris <rgm@gnu.org>
8464
8465 * international/mule.el (set-auto-coding-for-load): Doc fix.
8466
8467 2012-04-14 Alan Mackenzie <acm@muc.de>
8468
8469 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8470 imenu work again for Objective C Mode. Correct the *-index values,
8471 these having been disturbed by a previous change in 2011-08.
8472
8473 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8474 Correct two search limits.
8475
8476 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8477
8478 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8479
8480 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
8481
8482 * international/characters.el: Fix sorting.
8483
8484 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8485
8486 * international/characters.el: Add more missing Latin case pairs.
8487
8488 2012-04-14 Glenn Morris <rgm@gnu.org>
8489
8490 * files.el (dir-locals-set-class-variables): Doc fix.
8491
8492 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8493
8494 * international/characters.el: Add set-case-syntax-pair call for
8495 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8496 counterpart. (Bug#11209)
8497
8498 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8499
8500 2012-04-14 Glenn Morris <rgm@gnu.org>
8501
8502 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8503
8504 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8505
8506 * textmodes/ispell.el (ispell-dictionary-base-alist):
8507 Add data for Hebrew.
8508
8509 2012-04-14 Chong Yidong <cyd@gnu.org>
8510
8511 * net/rcirc.el (rcirc-cmd-quit):
8512 Revert 2012-03-18 change (Bug#11192).
8513
8514 2012-04-14 Glenn Morris <rgm@gnu.org>
8515
8516 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8517
8518 2012-04-14 Eli Zaretskii <eliz@gnu.org>
8519
8520 * minibuffer.el (completion-in-region-mode-map):
8521 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
8522
8523 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8524
8525 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8526
8527 2012-04-13 Masatake YAMATO <yamato@redhat.com>
8528
8529 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8530 to allow `C-M-f' and `C-M-b' to move to the nearest path
8531 separator (bug#9511).
8532
8533 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8534
8535 * avoid.el: Require cl when compiling. And also move the
8536 `provide' to the end.
8537
8538 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8539
8540 * avoid.el (mouse-avoidance-banish-position): New variable.
8541 (mouse-avoidance-banish-destination): Use it (bug#10165).
8542
8543 2012-04-13 Leo Liu <sdl.web@gmail.com>
8544
8545 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8546
8547 2012-04-13 Ken Brown <kbrown@cornell.edu>
8548
8549 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8550 this is no longer needed now that cygstart understands file:// URLs.
8551 (browse-url-filename-alist): For the same reason, don't modify
8552 file:// URLs on Cygwin.
8553
8554 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8555
8556 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8557 the region on shift if the binding is already shifted (bug#11221).
8558
8559 2012-04-12 Glenn Morris <rgm@gnu.org>
8560
8561 * mail/mailpost.el: Move to obsolete/.
8562
8563 2012-04-12 Drew Adams <drew.adams@oracle.com>
8564
8565 * imenu.el (imenu--generic-function): Ignore invisible definitions
8566 (bug#10123).
8567
8568 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8569
8570 * hexl.el (hexl-bits): New variable.
8571 (hexl-options): Mention the variable in the doc string.
8572 (hexl-rulerise, hexl-line-displen): New functions.
8573 (hexl-mode): Mention the new variable.
8574 (hexl-mode, hexl-current-address, hexl-current-address):
8575 Use the displen.
8576 (hexl-ascii-start-column): New function.
8577 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8578 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8579
8580 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8581
8582 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8583 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8584 the encoding, as expected by hunspell.
8585
8586 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * battery.el (battery--linux-sysfs-regexp): New const.
8589 (battery-status-function): Use it. Remove yeeloong special case.
8590 (battery-yeeloong-sysfs): Remove.
8591 (battery-echo-area-format): Remove yeeloong special case.
8592
8593 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8594
8595 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8596 Reported by Noah Friedman.
8597
8598 * subr.el (read-passwd): Use read-string.
8599
8600 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8601
8602 * vcursor.el (vcursor-move): Increase the priority of the overlay
8603 (bug#9663).
8604
8605 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8606
8607 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8608 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8609
8610 2012-04-11 William Stevenson <yhvh2000@gmail.com>
8611
8612 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8613 define-minor-mode (bug#10760).
8614
8615 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
8616
8617 * progmodes/grep.el (rgrep): Tweak the find command line so
8618 that directories matching `grep-find-ignored-files' won't be
8619 pruned (bug#10351).
8620
8621 2012-04-11 Chong Yidong <cyd@gnu.org>
8622
8623 * startup.el (command-line): Remove support for long-obsolete
8624 variable font-lock-face-attributes.
8625
8626 2012-04-11 Glenn Morris <rgm@gnu.org>
8627
8628 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8629
8630 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8631
8632 * window.el (window--state-get-1): Obey window-point-insertion-type.
8633
8634 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8635
8636 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8637 to previous function when point is on the first character of a
8638 function. Take care of that in `narrow-to-defun' (bug#6157).
8639
8640 2012-04-11 Glenn Morris <rgm@gnu.org>
8641
8642 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8643 not just file-errors.
8644
8645 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8646 (vc-bzr-sha1): Use internal sha1.
8647
8648 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8649
8650 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8651
8652 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8653
8654 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8655 that start in the middle of the line (bug#10496).
8656
8657 2012-04-10 Dan Nicolaescu <dann@gnu.org>
8658
8659 * battery.el (battery-linux-proc-acpi): Only one battery is
8660 discharged at a time, but that seems to confuse battery.el when
8661 computing `rate-type' for the battery not being discharged
8662 (bug#10332).
8663
8664 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8665
8666 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8667
8668 * international/quail.el: Use dolist and simplify.
8669 (quail-define-package, quail-update-keyboard-layout)
8670 (quail-define-rules): Use dolist.
8671 (quail-insert-kbd-layout, quail-get-translation): CSE.
8672
8673 * tmm.el: Use dolist, remove left over hook.
8674 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8675 Use dolist.
8676 (calendar-load-hook): Don't mess with it.
8677
8678 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8679 Use derived-mode-p. Run the diff asynchronously.
8680
8681 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8682
8683 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8684
8685 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
8686
8687 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8688 (list-dynamic-libraries--loaded): New function.
8689 (list-dynamic-libraries--refresh): Use it.
8690
8691 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
8692
8693 * progmodes/python.el (python-fill-paragraph):
8694 Make python-fill-region in a multiline string work when font-lock is
8695 disabled (bug#7018).
8696
8697 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8698
8699 * language/european.el (cp775): Add oem/legacy (en)coding on
8700 DOS/MS Windows for the Baltic languages. There are still plenty
8701 of texts written in this encoding/codepage (bug#6519).
8702
8703 2012-04-10 Glenn Morris <rgm@gnu.org>
8704
8705 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8706 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8707
8708 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8709
8710 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8711 next-line "n" and previous-line "p" in order to make recentf more
8712 consistent with ibuffer, dired or org-mode (bug#9387).
8713
8714 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8715
8716 * image.el (put-image): Return the overlay created instead of the
8717 optional input string (bug#7834). Note that this may break code
8718 that is (for some reason or other) depending on `put-image'
8719 returning the string.
8720
8721 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8722
8723 * simple.el (zap-to-char): Allow zapping using input methods
8724 (bug#1580).
8725
8726 * textmodes/fill.el (fill-region): Leave point and mark where they
8727 were before filling (bug#5399).
8728
8729 2012-04-09 Glenn Morris <rgm@gnu.org>
8730
8731 * version.el (emacs-bzr-get-version):
8732 Handle lightweight checkouts of local branches.
8733
8734 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8735
8736 * international/characters.el: Recover lost case pairs. (Bug#11209)
8737
8738 2012-04-09 Chong Yidong <cyd@gnu.org>
8739
8740 * custom.el (custom-variable-p): Return nil for non-symbol
8741 arguments instead of signaling an error.
8742 (user-variable-p): Obsolete alias for custom-variable-p.
8743
8744 * apropos.el (apropos-variable):
8745 * files-x.el (read-file-local-variable):
8746 * simple.el (set-variable):
8747 * woman.el (woman-mini-help):
8748 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8749
8750 2012-04-09 Glenn Morris <rgm@gnu.org>
8751
8752 * startup.el (normal-top-level): Don't look for leim-list.el
8753 in places where it will not be found. (Bug#910)
8754
8755 * international/mule-cmds.el (set-default-coding-systems):
8756 * files.el (normal-mode):
8757 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8758 This function was removed with ucs-tables.el in 2008.
8759
8760 2012-04-08 Eli Zaretskii <eliz@gnu.org>
8761
8762 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8763 ispell-encoding8-command to "-i", without a trailing space.
8764 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8765 separate command-line arguments, to specify the encoding, since
8766 that's how hunspell expects it.
8767
8768 2012-04-08 Glenn Morris <rgm@gnu.org>
8769
8770 * loadup.el: Load bindings before cus-start.
8771 This reduces somewhat the number of "rogue" settings in emacs -Q.
8772
8773 2012-04-07 Glenn Morris <rgm@gnu.org>
8774
8775 * version.el (emacs-bzr-get-version): New function.
8776 (emacs-bzr-version): New variable.
8777 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8778 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8779
8780 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8781
8782 * international/uni-bidi.el, international/uni-category.el:
8783 * international/uni-combining.el, international/uni-decimal.el:
8784 * international/uni-decomposition.el, international/uni-digit.el:
8785 * international/uni-lowercase.el, international/uni-mirrored.el:
8786 * international/uni-name.el, international/uni-numeric.el:
8787 * international/uni-titlecase.el, international/uni-uppercase.el:
8788 Update for Unicode 6.1.
8789
8790 2012-04-07 Eli Zaretskii <eliz@gnu.org>
8791
8792 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8793
8794 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8795
8796 * window.el (shrink-window): Mention the `window-min-height'
8797 variable in the doc string.
8798
8799 2012-04-05 Bastien Guerry <bzg@altern.org>
8800
8801 * color.el (color-lighten-name): Fix typo.
8802
8803 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8804
8805 * server.el (server--on-display-p): New function.
8806 (server--on-display-p): Use it.
8807
8808 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8809
8810 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8811 (bug#11145).
8812
8813 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8814
8815 * comint.el (comint--common-quoted-suffix): Check string boundary
8816 before comparing (bug#11158).
8817 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8818
8819 2012-04-04 Chong Yidong <cyd@gnu.org>
8820
8821 * minibuffer.el (completion-extra-properties): Doc fix.
8822
8823 * subr.el (delayed-warnings-hook): Doc fix.
8824
8825 2012-04-04 Daiki Ueno <ueno@unixuser.org>
8826
8827 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8828 selection (Bug#11159).
8829 (epa-insert-keys): Inform that the default public key will be
8830 exported if no key is selected.
8831
8832 2012-04-04 Richard Stallman <rms@gnu.org>
8833
8834 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8835
8836 2012-04-03 Chong Yidong <cyd@gnu.org>
8837
8838 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8839 mail-insert-file, not its obsolete alias mail-attach-file.
8840
8841 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
8842
8843 * notifications.el (notifications-notify): Fix docstring.
8844
8845 2012-04-02 Glenn Morris <rgm@gnu.org>
8846
8847 * emacs-lisp/authors.el (authors-aliases): Another addition.
8848
8849 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
8850
8851 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8852 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8853 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8854
8855 2012-04-01 Chong Yidong <cyd@gnu.org>
8856
8857 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8858 Handle root directory properly.
8859 (copy-directory): Caller changed.
8860
8861 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8862 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8863
8864 2012-03-31 Glenn Morris <rgm@gnu.org>
8865
8866 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8867
8868 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8869
8870 * calendar/calendar.el (calendar-window-list)
8871 (calendar-hide-window): Restore. (Bug#11140)
8872 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8873
8874 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8875
8876 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8877
8878 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8879 Check if file is a symlink (Bug#10489).
8880
8881 * files.el (copy-directory): Likewise.
8882
8883 2012-03-30 Chong Yidong <cyd@gnu.org>
8884
8885 * image.el (imagemagick-types-inhibit)
8886 (imagemagick-register-types): Doc fix.
8887
8888 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8889
8890 * textmodes/ispell.el (ispell-get-extended-character-mode):
8891 Disable extended-char-mode for hunspell. hunspell does not support it
8892 and treats ~word as ordinary words in pipe mode.
8893
8894 2012-03-30 Glenn Morris <rgm@gnu.org>
8895
8896 * tutorial.el (help-with-tutorial): Ensure local variables don't
8897 happen to make the buffer read-only. (Bug#11127)
8898
8899 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8900
8901 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8902 (perl-calculate-indent): Return `noindent' in strings.
8903
8904 2012-03-28 Sam Steingold <sds@gnu.org>
8905
8906 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8907 instead of the broken adhockery which does not prevent calendar
8908 buffers from being displayed at random after exit.
8909 (calendar-window-list, calendar-hide-window): Remove the broken
8910 adhockery.
8911
8912 2012-03-28 Glenn Morris <rgm@gnu.org>
8913
8914 * replace.el (query-replace-map): Doc fix.
8915
8916 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8917
8918 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8919 contents. (Bug#11109)
8920
8921 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8922
8923 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8924 (bug#11077).
8925 (avl-tree--check, avl-tree--check-node): New funs.
8926
8927 2012-03-27 Martin Rudalics <rudalics@gmx.at>
8928
8929 * window.el (switch-to-visible-buffer): New option.
8930 (switch-to-prev-buffer, switch-to-next-buffer):
8931 Observe switch-to-visible-buffer. Make sure that checking for a window
8932 showing a buffer already is done on the same frame.
8933
8934 2012-03-27 Glenn Morris <rgm@gnu.org>
8935
8936 * startup.el (mail-host-address): Doc fix.
8937
8938 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8939
8940 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8941 than 197 variables.
8942
8943 2012-03-26 Ami Fischman <ami@fischman.org>
8944
8945 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8946
8947 2012-03-26 Glenn Morris <rgm@gnu.org>
8948
8949 * files.el (save-buffers-kill-emacs): Doc fix.
8950
8951 * startup.el (normal-top-level, command-line, command-line-1):
8952 Give them doc strings.
8953
8954 2012-03-25 Eli Zaretskii <eliz@gnu.org>
8955
8956 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8957 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8958
8959 2012-03-25 Chong Yidong <cyd@gnu.org>
8960
8961 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8962 theme if it was previously enabled before (Bug#11031).
8963
8964 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8965 spec with custom-face-get-current-spec if its :shown-value is not
8966 determined yet (Bug#9337).
8967 (customize-create-theme, custom-theme-revert): Doc fixes.
8968
8969 * button.el (button-at): Minor addition to docstring.
8970
8971 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
8972
8973 * vc/vc.el (vc-merge): Fix a prompt.
8974
8975 2012-03-24 Chong Yidong <cyd@gnu.org>
8976
8977 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8978 point (Bug#9623).
8979
8980 * button.el (button-at): Minor addition to docstring.
8981
8982 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * newcomment.el (comment-choose-indent): No space after BOL.
8985
8986 2012-03-22 Sam Steingold <sds@gnu.org>
8987
8988 * window.el (switch-to-prev-buffer): Revert last patch because the
8989 bug turned out to be an advertised feature (Elisp manual 28.14).
8990
8991 2012-03-22 Glenn Morris <rgm@gnu.org>
8992
8993 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8994 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8995
8996 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8997
8998 * net/network-stream.el (network-stream-open-starttls): Make error
8999 message under Windows be less misleading.
9000
9001 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9002
9003 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9004 understands (bug#9942).
9005
9006 2012-03-22 Chong Yidong <cyd@gnu.org>
9007
9008 * simple.el (end-of-visible-line): Handle return value of
9009 next-single-property-change properly (Bug#9371).
9010
9011 2012-03-22 Kenichi Handa <handa@m17n.org>
9012
9013 * international/quail.el (quail-insert-kbd-layout): Fix previous
9014 change. To avoid unwanted bidi reordering, use
9015 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9016
9017 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9018
9019 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9020 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9021 (ruby-beginning-of-indent): Be more careful with the difference
9022 between word-boundary and symbol boundary.
9023 (ruby-mode-syntax-table): Make : a symbol constituent.
9024
9025 2012-03-21 Andreas Politz <politza@fh-trier.de>
9026
9027 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9028
9029 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * progmodes/etags.el (tags-completion-at-point-function):
9032 Improve last fix.
9033
9034 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9035
9036 2012-03-21 Sam Steingold <sds@gnu.org>
9037
9038 * progmodes/etags.el (tags-completion-at-point-function):
9039 Avoid the error when point is inside the pattern.
9040
9041 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9042
9043 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9044 line (Bug#10855).
9045
9046 2012-03-21 Drew Adams <drew.adams@oracle.com>
9047
9048 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9049
9050 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9051
9052 * ido.el (ido-set-current-directory, ido-read-internal)
9053 (ido-choose-completion-string, ido-completion-help): Handle nil
9054 value of ido-completion-buffer (Bug#11008).
9055
9056 2012-03-21 Sam Steingold <sds@gnu.org>
9057
9058 * window.el (switch-to-prev-buffer): Do not switch to a visible
9059 window previous buffer, just like with the frame previous buffers.
9060
9061 2012-03-21 Chong Yidong <cyd@gnu.org>
9062
9063 * faces.el (make-face, make-empty-face, copy-face):
9064 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9065 Doc fixes.
9066
9067 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9070 (widget-complete): Remove broken use of it.
9071
9072 2012-03-20 Chong Yidong <cyd@gnu.org>
9073
9074 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9075 Use string-width and truncate-string-width to handle arbitrary
9076 characters.
9077
9078 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9079
9080 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9081 to draw rectangles, not squares. (Regression introduced by revno
9082 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9083
9084 2012-03-18 Chong Yidong <cyd@gnu.org>
9085
9086 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9087 it is not yet defined (for temacs).
9088
9089 2012-03-18 Leo Liu <sdl.web@gmail.com>
9090
9091 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9092 prefix.
9093
9094 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9095
9096 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9097 (ispell-choices-win-default-height, ispell-silently-savep)
9098 (ispell-dictionary-alist, ispell-encoding8-command)
9099 (ispell-check-version, ispell-aspell-find-dictionary)
9100 (ispell-valid-dictionary-list, ispell-words-keyword)
9101 (ispell-get-word, ispell-internal-change-dictionary)
9102 (ispell-region, ispell-skip-region-list)
9103 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9104 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9105 (ispell-message-text-end, ispell-message)
9106 (ispell-buffer-local-parsing): Doc fix.
9107
9108 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
9109
9110 * htmlfontify.el: Add support for code block fontification for ODT
9111 export (Bug #9914).
9112 (hfy-optimisations): Define new option
9113 `body-text-only'
9114 (hfy-fontify-buffer): Honor above setting.
9115 (hfy-begin-span, hfy-end-span): New routines factored out form
9116 `hfy-fontify-buffer'.
9117 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9118 that permit insertion of custom tags.
9119 (hfy-fontify-buffer): Use above handlers.
9120 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9121 (hfy-face-to-css): Re-defined to be a variable.
9122 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
9123 over multiple runs. This is made possible by having the caller let
9124 bind a special variable `hfy-user-sheet-assoc'.
9125 (htmlfontify-string): New defun.
9126 (hfy-compile-face-map): Make sure that the last char in the
9127 buffer is correctly fontified.
9128 (hfy-face-resolve-face): Whitespace only change.
9129
9130 2012-03-17 Eli Zaretskii <eliz@gnu.org>
9131
9132 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9133 message more clear.
9134
9135 2012-03-16 Leo Liu <sdl.web@gmail.com>
9136
9137 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9138
9139 2012-03-16 Alan Mackenzie <acm@muc.de>
9140
9141 Further optimise the handling of large macros.
9142
9143 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9144 limit to a call of `c-literal-limits'.
9145 (c-determine-+ve-limit): New function.
9146 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9147 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9148 In CASE 5B, restrict a search limit to 500.
9149 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9150
9151 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9152 Restrict macro bounds to +-500 from after-change's BEG END.
9153
9154 2012-03-16 Leo Liu <sdl.web@gmail.com>
9155
9156 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9157
9158 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9159
9160 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9161 `special-mode' setting of `buffer-read-only'. (Bug#11010)
9162
9163 2012-03-16 Glenn Morris <rgm@gnu.org>
9164
9165 * view.el (view-buffer, view-buffer-other-window)
9166 (view-buffer-other-frame): Doc fixes re special mode-class.
9167
9168 * subr.el (eval-after-load): If named feature is provided not from
9169 a file, run after-load forms. (Bug#10946)
9170
9171 * calendar/calendar.el (calendar-insert-at-column):
9172 Handle non-unit-width characters a bit better. (Bug#10978)
9173
9174 2012-03-15 Chong Yidong <cyd@gnu.org>
9175
9176 * emacs-lisp/ring.el (ring-extend): New function.
9177 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9178
9179 * comint.el (comint-read-input-ring)
9180 (comint-add-to-input-history): Grow comint-input-ring lazily.
9181
9182 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9184 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9185 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9186
9187 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9188 (imenu-add-to-menubar): Don't add a redundant index.
9189 (imenu-update-menubar): Handle a dynamically composed keymap.
9190
9191 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9192
9193 * mail/sendmail.el (mail-encode-header):
9194 Bind rfc2047-encode-encoded-words to nil.
9195
9196 2012-03-13 Glenn Morris <rgm@gnu.org>
9197
9198 * calendar/calendar.el (calendar-string-spread):
9199 Handle non-unit-width characters a bit better. (Bug#10978)
9200
9201 2012-03-13 Leo Liu <sdl.web@gmail.com>
9202
9203 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9204 directory and file as argument (Bug#10822).
9205
9206 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9207
9208 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9209 For dynamically generated code, follow $PC.
9210 (gdb-disassembly-handler-custom): Handle no function name case.
9211
9212 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9213
9214 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9215 * emulation/ws-mode.el (ws-query-replace):
9216 * sort.el (sort-regexp-fields):
9217 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9218
9219 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9220
9221 * dabbrev.el: Fix cycle completion order (bug#10963).
9222 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9223 (dabbrev-completion): Don't use an obarray; provide
9224 a cycle-sort-function.
9225
9226 2012-03-12 Leo Liu <sdl.web@gmail.com>
9227
9228 * simple.el (kill-new): Use equal-including-properties for comparison.
9229 (kill-do-not-save-duplicates): Doc fix.
9230
9231 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9232
9233 * dabbrev.el: Fix cycle completion (bug#10963).
9234 Use lexical binding and wrap to 80 columns.
9235 (dabbrev-completion): Delay computing the list of completions.
9236
9237 2012-03-12 Kenichi Handa <handa@m17n.org>
9238
9239 * international/quail.el (quail-insert-kbd-layout): Surround each
9240 row by LRO and PDF instead of inserting many LRMs. Pad the left
9241 and right of each non-spacing marks. Insert invisible space
9242 between lower and upper characters to prevent composition.
9243
9244 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9245
9246 * minibuffer.el (minibuffer-complete): Don't get confused when the
9247 function is run twice via different commands (bug#10958).
9248 (complete-with-action): Fix docstring.
9249
9250 2012-03-12 Chong Yidong <cyd@gnu.org>
9251
9252 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9253 (nxml-completion-at-point-function): New function.
9254 (nxml-mode): Use it.
9255 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9256
9257 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9258 Load generated autoloads file before byte compiling (Bug#10970).
9259 (package--make-autoloads-and-compile): New helper fun.
9260
9261 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9262
9263 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9264
9265 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
9266
9267 * autorevert.el (auto-revert-handler): Ensure, that
9268 file-readable-p is applied only for local files or in
9269 auto-revert-tail-mode.
9270
9271 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9272
9273 * server.el (server-eval-at): Handle non-tcp connections.
9274 Decode result string.
9275
9276 * server.el (server-msg-size): New constant.
9277 (server-reply-print): New function.
9278 (server-eval-and-print): Use it.
9279 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9280 Handle -print-nonl.
9281
9282 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9283
9284 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9285 (Bug#10987).
9286
9287 2012-03-11 Chong Yidong <cyd@gnu.org>
9288
9289 * simple.el (goto-line): Doc fix (Bug#9938).
9290
9291 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9292
9293 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9294 when finished (Bug#10963).
9295
9296 2012-03-11 Martin Rudalics <rudalics@gmx.at>
9297
9298 * window.el (split-window-below): Fix bug in case where
9299 split-window-keep-point is nil (Bug#10971).
9300
9301 2012-03-11 Juri Linkov <juri@jurta.org>
9302
9303 * replace.el (replace-highlight): Set isearch-word to nil
9304 unconditionally. (Bug#10887)
9305
9306 2012-03-10 Eli Zaretskii <eliz@gnu.org>
9307
9308 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9309 mairix-replace-illegal-chars; all callers changed. Don't remove
9310 ^, ~, and = characters: they are meaningful in mairix search specs.
9311 (mairix-widget-create-query): Add usage information about mairix
9312 search forms: negating words, searching for substrings, etc.
9313
9314 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9315
9316 * international/fontset.el (font-encoding-alist): Add an entry for
9317 ksx1001 (Bug#5667).
9318
9319 2012-03-10 Richard Stallman <rms@gnu.org>
9320
9321 * mail/sendmail.el (mail-encode-header):
9322 Set rfc2047-encode-encoded-words.
9323
9324 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9325
9326 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9327 view buffer means not swapped.
9328 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9329 (rmail-write-region-annotate): Error if real text has disappeared.
9330
9331 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9332
9333 2012-03-10 Chong Yidong <cyd@gnu.org>
9334
9335 * emulation/cua-rect.el (cua--init-rectangles):
9336 * emulation/cua-base.el (cua--init-keymaps):
9337 Add delete-forward-char to remappings (Bug#9666).
9338
9339 2012-03-10 Martin Rudalics <rudalics@gmx.at>
9340
9341 * speedbar.el (speedbar-unhighlight-one-tag-line):
9342 Avoid unhighlighting due to frame switching (Bug#10275).
9343
9344 2012-03-10 Chong Yidong <cyd@gnu.org>
9345
9346 * minibuffer.el (completion-in-region, completion-help-at-point):
9347 Give the completion field overlay a high priority (Bug#6830).
9348
9349 * dired.el (dired-goto-file): Recognize absolute file name
9350 listings (Bug#7126).
9351 (dired-goto-file-1): New helper function.
9352 (dired-toggle-read-only): Inhibit warnings.
9353
9354 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
9355
9356 * net/dbus.el (dbus-property-handler): Return empty array if
9357 there are no properties.
9358
9359 2012-03-09 Leo Liu <sdl.web@gmail.com>
9360
9361 * savehist.el (savehist-printable): Stricter check for string
9362 value (Bug#10937).
9363
9364 2012-03-09 Eli Zaretskii <eliz@gnu.org>
9365
9366 * mail/smtpmail.el (smtpmail-send-it):
9367 Bind coding-system-for-write to *-unix, so that FCC files are kept in
9368 valid mbox format.
9369
9370 2012-03-09 Glenn Morris <rgm@gnu.org>
9371
9372 * files.el (dir-locals-find-file):
9373 Don't check result is regular, readable.
9374 (dir-locals-read-from-file): Demote errors.
9375
9376 2012-03-08 Eli Zaretskii <eliz@gnu.org>
9377
9378 * international/quail.el (quail-insert-kbd-layout):
9379 Insert invisible LRM characters before each character in a keyboard
9380 layout cell, to prevent their reordering by bidi display engine.
9381 For details, see the discussion in
9382 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9383
9384 2012-03-08 Alan Mackenzie <acm@muc.de>
9385
9386 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9387 the starting position; make it extend the marked region when
9388 invoked repeatedly - all under appropriate circumstances.
9389 Fixes bugs #5525, #10906.
9390
9391 2012-03-08 Glenn Morris <rgm@gnu.org>
9392
9393 * files.el (locate-dominating-file, dir-locals-find-file):
9394 Undo 2012-03-06 change.
9395
9396 2012-03-07 Eli Zaretskii <eliz@gnu.org>
9397
9398 * international/quail.el (quail-help):
9399 Force bidi-paragraph-direction be left-to-right. See discussion in
9400 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9401 for the reason.
9402
9403 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
9404
9405 Avoid superfluous registering of signals. (Bug#10807)
9406
9407 * notifications.el (notifications-on-action-object)
9408 (notifications-on-close-object): New defvars.
9409 (notifications-on-action-signal, notifications-on-closed-signal):
9410 Unregister the signal if not needed any longer.
9411 (notifications-notify): Register `notifications-action-signal' or
9412 `notifications-closed-signal', if :on-action or :on-close has been
9413 passed as argument.
9414
9415 2012-03-07 Chong Yidong <cyd@gnu.org>
9416
9417 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9418 non-X platforms.
9419
9420 2012-03-06 Glenn Morris <rgm@gnu.org>
9421
9422 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9423 (x-disown-selection-internal, x-get-selection-internal):
9424 Doc fix (add arglist signatures). (Bug#10783)
9425
9426 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9427
9428 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9429 Handle breakpoints with no "type".
9430
9431 2012-03-06 Glenn Morris <rgm@gnu.org>
9432
9433 * files.el (locate-dominating-file): Add optional predicate argument.
9434 (dir-locals-find-file): Make use of above change.
9435
9436 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9437
9438 * info.el (Info-insert-dir): Also try "dir.gz".
9439
9440 2012-03-06 Glenn Morris <rgm@gnu.org>
9441
9442 * files.el (dir-locals-find-file):
9443 Ignore non-readable or non-regular files. (Bug#10928)
9444
9445 * files.el (locate-dominating-file): Doc fix.
9446
9447 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9448
9449 * calendar/calendar.el (calendar-set-mode-line):
9450 `getenv' returns a string. (Bug#10951)
9451
9452 2012-03-05 Leo Liu <sdl.web@gmail.com>
9453
9454 * simple.el (backward-delete-char-untabify): Constrain point to
9455 field (Bug#10939).
9456
9457 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9458
9459 2012-03-05 Chong Yidong <cyd@gnu.org>
9460
9461 * simple.el (count-words): If called from Lisp, return the word
9462 count, for symmetry with `count-lines'. Arglist changed.
9463 (count-words--message): Args changed. Consolidate counting code
9464 from count-words and count-words-region.
9465 (count-words-region): Caller changed.
9466 (count-lines-region): Make it an obsolete alias.
9467
9468 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9469
9470 * saveplace.el (save-place-to-alist)
9471 (save-place-ignore-files-regexp): Allow value nil to disable this
9472 feature.
9473
9474 2012-03-04 Chong Yidong <cyd@gnu.org>
9475
9476 * faces.el (face-spec-reset-face): For the default face, reset the
9477 attributes to default values (Bug#10748).
9478
9479 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9480
9481 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9482 previous patch: Check `message-send-mail-function', and not the
9483 default function (bug#10897).
9484
9485 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
9486
9487 * notifications.el (notifications-on-action-signal)
9488 (notifications-on-closed-signal): Check for unique service name of
9489 incoming event. Fix error in removing entry.
9490 (top): Register for signals with wildcard service name.
9491 (notifications-notify): Use daemon unique service name for map entries.
9492
9493 2012-03-04 Chong Yidong <cyd@gnu.org>
9494
9495 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9496
9497 2012-03-04 Glenn Morris <rgm@gnu.org>
9498
9499 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9500 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9501 (expand-abbrev, define-abbrev-table): Doc fixes.
9502
9503 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9504
9505 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9506 `message-default-send-mail-function' and not `send-mail-function'
9507 when doing the prompting for `sendmail-query-once' before sending
9508 in Message buffers (bug#10897).
9509
9510 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9511 This is inconsistent with all the other stream functions, which leave
9512 the setting up to the higher levels (if so wanted) (bug#10931).
9513
9514 2012-03-02 Alan Mackenzie <acm@muc.de>
9515
9516 Depessimize the handling of very large macros.
9517
9518 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9519 (c-macro-cache-syntactic): New variables to implement a one
9520 element macro cache.
9521 (c-invalidate-macro-cache): New function.
9522 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9523 Adapt to use the new cache.
9524 (c-state-safe-place): Use better the cache of safe positions.
9525 (c-state-semi-nonlit-pos-cache)
9526 (c-state-semi-nonlit-pos-cache-limit):
9527 New variables for...
9528 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9529 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9530 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9531 Use c-state-semi-safe-place.
9532
9533 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9534 Add c-invalidate-macro-cache to the C, C++, Obj entries.
9535
9536 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
9537
9538 * jka-compr.el (jka-compr-call-process):
9539 Apply `file-accessible-directory-p' only when the default directory is
9540 not remote.
9541
9542 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
9543
9544 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9545 access of FILE2, if FILE1 does not exist.
9546
9547 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9548 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9549
9550 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9551 Add "PAGER=" to `process-environment'.
9552
9553 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9554
9555 * progmodes/sql.el: Bug fix
9556 (sql-get-login-ext): Save login values in globals.
9557 (sql-get-login): Use new version of `sql-get-login-ext'.
9558 (sql-interactive-mode): Set global `sql-connection' to nil.
9559 (sql-connect): Set global values for connection.
9560 (sql-product-interactive): Save global values as buffer local.
9561
9562 2012-02-29 Leo Liu <sdl.web@gmail.com>
9563
9564 * abbrev.el (define-abbrevs): Reset sys to nil.
9565
9566 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9567
9568 * files.el (file-equal-p): Rename from `files-equal-p'.
9569 Return nil when one or both files don't exist.
9570 (file-subdir-of-p): Now only top directory must exists,
9571 return nil if it doesn't.
9572 (copy-directory): No need to test with `file-subdir-of-p' after
9573 creating dir.
9574 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9575 to `file-equal-p'.
9576
9577 2012-02-28 Glenn Morris <rgm@gnu.org>
9578
9579 * shell.el (shell-mode):
9580 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9581 * play/landmark.el (landmark-font-lock-face-O):
9582 * play/handwrite.el (handwrite):
9583 * play/gomoku.el (gomoku-O):
9584 * net/browse-url.el (browse-url-browser-display):
9585 * international/mule.el (define-charset):
9586 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9587 * filesets.el (filesets-find-file-delay):
9588 * eshell/em-xtra.el (eshell-xtra):
9589 * eshell/em-unix.el (eshell-grep):
9590 * emulation/viper.el (viper-mode):
9591 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9592 * emacs-lisp/easymenu.el (easy-menu-define):
9593 * calendar/timeclock.el (timeclock-use-display-time):
9594 * bs.el (bs-mode):
9595 * bookmark.el (bookmark-save-flag):
9596 Doc fix (standardize possessive apostrophe usage).
9597
9598 2012-02-27 Chong Yidong <cyd@gnu.org>
9599
9600 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9601 Fix key-binding lookup for ESC key (Bug#9146).
9602
9603 * font-lock.el (font-lock-specified-p): Rename from
9604 font-lock-spec-present. Callers changed.
9605
9606 2012-02-27 Daniel Hackney <dan@haxney.org>
9607
9608 * emacs-lisp/package.el (package-compute-transaction):
9609 Handle holding a package version to t in package-load-list.
9610
9611 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
9612
9613 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9614 (tramp-get-inode, tramp-get-device): Use cached values.
9615
9616 2012-02-26 Alan Mackenzie <acm@muc.de>
9617
9618 Check there is a font-lock specification before doing initial
9619 fontification.
9620
9621 * font-core.el (font-lock-mode): Move the conditional from
9622 :after-hook to font-lock-initial-fontify.
9623 (font-lock-default-function): Move the check for a specification
9624 to font-lock-spec-present.
9625
9626 * font-lock.el (font-lock-initial-fontify): Call ...
9627 (font-lock-spec-present): New function.
9628
9629 2012-02-26 Jim Blandy <jimb@red-bean.com>
9630
9631 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9632 (gdb-send): Apply it to the operand of the '-interpreter-exec
9633 console' command, so that we can pass arguments with (say) quotes
9634 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9635
9636 2012-02-26 Chong Yidong <cyd@gnu.org>
9637
9638 * help-fns.el (describe-function-1): Clarify description of
9639 remapping (Bug#10844).
9640
9641 * files.el (files-equal-p): Doc fix.
9642 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9643 and quit the loop once a mismatch is found.
9644
9645 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
9646
9647 * bs.el (bs--show-with-configuration): Don't throw an error
9648 if the window cannot be split; otherwise, subsequent calls to
9649 bs-show fail, restoring a stale window config. (Bug#10882)
9650
9651 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9652
9653 * term/ns-win.el (global-map): Bind ns-drag-file to
9654 ns-find-file (Bug#5855, Bug#10050).
9655
9656 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9657
9658 * calendar/parse-time.el (parse-time-string): Allow extractor to
9659 return nil.
9660
9661 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
9662
9663 * net/tramp.el (tramp-file-name-for-operation):
9664 Add `files-equal-p' and `file-subdir-of-p'.
9665
9666 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9667 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9668 Add COPY-CONTENTS argument.
9669
9670 2012-02-25 Chong Yidong <cyd@gnu.org>
9671
9672 Add custom groups for VC backends, for consistency with vc-bzr.
9673
9674 * vc/vc-arch.el (vc-arch):
9675 * vc/vc-cvs.el (vc-cvs):
9676 * vc/vc-git.el (vc-git):
9677 * vc/vc-hg.el (vc-hg):
9678 * vc/vc-mtn.el (vc-mtn):
9679 * vc/vc-rcs.el (vc-rcs):
9680 * vc/vc-sccs.el (vc-sccs):
9681 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9682 All relevant defcustoms reassigned.
9683
9684 2012-02-25 Chong Yidong <cyd@gnu.org>
9685
9686 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9687
9688 * term/x-win.el (x-initialize-window-system): Reduce default for
9689 x-selection-timeout to 5 seconds (Bug#8869).
9690
9691 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9692
9693 * files.el (files-equal-p, file-subdir-of-p): New functions.
9694 (copy-directory): Error when trying to copy a directory on itself.
9695 Add missing copy-contents arg to tramp handler.
9696 * dired-aux.el (dired-copy-file-recursive): Same.
9697 (dired-create-files): Modify destination when source is equal to
9698 dest when copying files.
9699 Return also when dest is a subdir of source. (Bug#10489)
9700
9701 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
9702
9703 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9704 (Bug#10874)
9705
9706 2012-02-23 Alan Mackenzie <acm@muc.de>
9707
9708 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9709 parameter "after-hook:" to allow the expansion to run code after
9710 the execution of the mode hooks.
9711
9712 * font-lock.el (font-lock-initial-fontify): New function extracted
9713 from font-lock-mode-internal.
9714
9715 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9716 :after-hook.
9717
9718 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9719
9720 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9721 (completion--cache-all-sorted-completions): New function.
9722 (completion-all-sorted-completions): Use it.
9723 (completion--do-completion, minibuffer-force-complete):
9724 Use it to re-instate the flush hook.
9725
9726 * icomplete.el (icomplete-completions): Replace last fix with a better
9727 one (bug#10850).
9728
9729 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9730
9731 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9732 when it might call us back infinitely (bug#10797).
9733
9734 2012-02-23 Glenn Morris <rgm@gnu.org>
9735
9736 * minibuffer.el (completion-category-overrides): Doc fix.
9737
9738 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9739
9740 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9741 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9742
9743 2012-02-23 Glenn Morris <rgm@gnu.org>
9744
9745 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9746 (authors-obsolete-files-regexps, authors-ignored-files)
9747 (authors-ambiguous-files, authors-renamed-files-alist):
9748 Add more entries.
9749
9750 2012-02-23 Juri Linkov <juri@jurta.org>
9751
9752 * isearch.el (isearch-occur): Sync interactive spec with occur's
9753 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9754
9755 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9756
9757 2012-02-22 Juri Linkov <juri@jurta.org>
9758
9759 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9760 (ucs-insert): Doc fix. Check for hex digits in the string.
9761 Don't display `nil' in the error message. (Bug#10857)
9762
9763 2012-02-22 Alan Mackenzie <acm@muc.de>
9764
9765 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9766
9767 2012-02-22 Glenn Morris <rgm@gnu.org>
9768
9769 * ffap.el (ffap-c-path):
9770 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9771
9772 2012-02-22 Chong Yidong <cyd@gnu.org>
9773
9774 * custom.el (load-theme): Doc fix.
9775
9776 2012-02-22 Glenn Morris <rgm@gnu.org>
9777
9778 * dired-x.el (dired-guess-shell-alist-default):
9779 Remove escape sequences from nroff output. (Bug#172)
9780
9781 2012-02-21 Glenn Morris <rgm@gnu.org>
9782
9783 * vc/emerge.el (emerge-defvar-local):
9784 Set `permanent-local' property rather than unused `preserved'.
9785
9786 * textmodes/picture.el (picture-delete-char): New alias.
9787 (picture-mode-map): Use it. (Bug#10860)
9788 (picture-mode): Doc fix.
9789
9790 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
9791
9792 * newcomment.el (uncomment-region-default): Remove unused binding.
9793
9794 2012-02-21 Glenn Morris <rgm@gnu.org>
9795
9796 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9797 (picture-self-insert, picture-tab-chars): Doc fix.
9798 (picture-mode-map): Fix C-a, C-e.
9799
9800 2012-02-20 Glenn Morris <rgm@gnu.org>
9801
9802 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9803
9804 2012-02-20 Leo Liu <sdl.web@gmail.com>
9805
9806 * icomplete.el (icomplete-completions): Check FROM arg before
9807 passing to substring (Bug#10850).
9808
9809 2012-02-19 Chong Yidong <cyd@gnu.org>
9810
9811 * comint.el: Require ansi-color.
9812 (comint-output-filter-functions): Add ansi-color-process-output.
9813
9814 * ansi-color.el: Don't set comint-output-filter-functions; it is
9815 now in the initial value defined in comint.el.
9816 (ansi-color-apply-face-function): New variable.
9817 (ansi-color-apply-on-region): Use it.
9818 (ansi-color-apply-overlay-face): New function.
9819
9820 * shell.el (shell): No need to require ansi-color.
9821 (shell-mode): Use ansi-color-apply-face-function to highlight
9822 color escapes using font-lock-face property (Bug#10835).
9823
9824 2012-02-19 Chong Yidong <cyd@gnu.org>
9825
9826 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9827 mode-line formats (Bug#10839).
9828
9829 2012-02-18 Glenn Morris <rgm@gnu.org>
9830
9831 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9832
9833 * mail/undigest.el (unforward-rmail-message): Doc fix.
9834
9835 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9836
9837 2012-02-18 Eli Zaretskii <eliz@gnu.org>
9838
9839 * international/characters.el (script-list): Sync with the latest
9840 Unicode Character Database.
9841
9842 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9843
9844 * international/titdic-cnv.el: Remove duplicate coding tag.
9845 * language/cham.el: Likewise.
9846 * language/tai-viet.el: Likewise.
9847
9848 2012-02-18 Glenn Morris <rgm@gnu.org>
9849
9850 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9851 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9852 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9853 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9854 * calendar/holidays.el (holiday-bahai-holidays)
9855 (calendar-holidays, list-holidays):
9856 Use utf-8 Bahá'í in doc-strings, menus, etc.
9857
9858 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9859
9860 * saveplace.el (save-place-ignore-files-regexp): New variable
9861 allowing for excluding files from saving their location of point.
9862 The default value matches the temporary commit message editing
9863 files from Git, SVN, Bazaar, and Mercurial.
9864 (save-place-to-alist): Use it.
9865
9866 2012-02-17 Lawrence Mitchell <wence@gmx.li>
9867 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * newcomment.el (uncomment-region-default): Don't leave extra space
9870 when an arg is provided (bug#8150).
9871
9872 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9873
9874 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9875
9876 2012-02-17 Glenn Morris <rgm@gnu.org>
9877
9878 * net/socks.el: Require network-stream. (Bug#10599)
9879
9880 2012-02-17 Kenichi Handa <handa@m17n.org>
9881
9882 * international/charprop.el:
9883 * international/uni-name.el:
9884 * international/uni-old-name.el:
9885 * international/uni-comment.el: Regenerate.
9886
9887 2012-02-16 Glenn Morris <rgm@gnu.org>
9888
9889 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9890 Interactively in calendar buffer, give an error if not on a date.
9891
9892 2012-02-15 Glenn Morris <rgm@gnu.org>
9893
9894 * shell.el (shell-delimiter-argument-list):
9895 Revert 2011-02-17 change. (Bug#8027)
9896
9897 2012-02-15 Chong Yidong <cyd@gnu.org>
9898
9899 * minibuffer.el (completion-at-point-functions): Doc fix.
9900
9901 * custom.el (defcustom): Doc fix; note use of defvar.
9902
9903 2012-02-15 Glenn Morris <rgm@gnu.org>
9904
9905 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9906 Doc fixes.
9907
9908 2012-02-14 Glenn Morris <rgm@gnu.org>
9909
9910 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9911
9912 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9913
9914 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9915 way the ports list is computed.
9916 (smtpmail-query-smtp-server): Prompt the user for a port number if
9917 we can't connect to any of the standard ports (bug#10810).
9918
9919 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9920
9921 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9922
9923 2012-02-13 Glenn Morris <rgm@gnu.org>
9924
9925 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9926
9927 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9928
9929 * net/gnutls.el (gnutls-trustfiles): New variable.
9930 (gnutls-negotiate): Use it.
9931
9932 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9933
9934 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9935 does its stuff if Gnus is running.
9936
9937 2012-02-13 Alan Mackenzie <acm@muc.de>
9938
9939 Fix a loop in c-set-fl-decl-start.
9940
9941 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9942 c-backward-syntactic-ws actually moves backwards.
9943
9944 2012-02-13 Leo Liu <sdl.web@gmail.com>
9945
9946 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9947 beginning so that all \C-o chars are removed.
9948
9949 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9950
9951 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9952
9953 2012-02-12 Alan Mackenzie <acm@muc.de>
9954
9955 Fix infinite loop with long macros.
9956 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9957
9958 2012-02-12 Chong Yidong <cyd@gnu.org>
9959
9960 * window.el (display-buffer): Doc fix (Bug#10785).
9961
9962 2012-02-12 Glenn Morris <rgm@gnu.org>
9963
9964 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9965 (x-disown-selection-internal, x-get-selection-internal):
9966 Sync docs with the xselect.c versions.
9967
9968 * allout-widgets.el: Add missing license notice.
9969
9970 2012-02-11 Glenn Morris <rgm@gnu.org>
9971
9972 * select.el (x-get-selection-internal, x-own-selection-internal)
9973 (x-disown-selection-internal):
9974 * x-dnd.el (x-get-selection-internal): Update declarations.
9975
9976 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9977
9978 * window.el (window-sides-slots):
9979 * tool-bar.el (tool-bar-position):
9980 * term/xterm.el (xterm-extra-capabilities):
9981 * ses.el (ses-self-reference-early-detection):
9982 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9983 (verilog-auto-wire-type)
9984 (verilog-auto-delete-trailing-whitespace)
9985 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9986 (verilog-auto-tieoff-declaration):
9987 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9988 (sql-oracle-statement-starters, sql-oracle-scan-on):
9989 * progmodes/prolog.el (prolog-align-comments-flag)
9990 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9991 (prolog-left-indent-regexp, prolog-paren-indent-p)
9992 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9993 (prolog-types, prolog-mode-specificators)
9994 (prolog-determinism-specificators, prolog-directives)
9995 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9996 (prolog-electric-dot-flag)
9997 (prolog-electric-dot-full-predicate-template)
9998 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9999 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10000 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10001 (prolog-program-switches, prolog-prompt-regexp)
10002 (prolog-debug-on-string, prolog-debug-off-string)
10003 (prolog-trace-on-string, prolog-trace-off-string)
10004 (prolog-zip-on-string, prolog-zip-off-string)
10005 (prolog-use-standard-consult-compile-method-flag)
10006 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10007 (prolog-imenu-max-lines, prolog-info-predicate-index)
10008 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10009 (prolog-char-quote-workaround):
10010 * progmodes/cc-vars.el (c-defun-tactic):
10011 * net/tramp.el (tramp-encoding-command-interactive)
10012 (tramp-local-end-of-line):
10013 * net/soap-client.el (soap-client):
10014 * net/netrc.el (netrc-file):
10015 * net/gnutls.el (gnutls):
10016 * minibuffer.el (completion-category-overrides)
10017 (completion-cycle-threshold)
10018 (completion-pcm-complete-word-inserts-delimiters):
10019 * man.el (Man-name-local-regexp):
10020 * mail/feedmail.el (feedmail-display-full-frame):
10021 * international/characters.el (glyphless-char-display-control):
10022 * eshell/em-ls.el (eshell-ls-date-format):
10023 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10024 (lisp-lambda-list-keyword-parameter-indentation)
10025 (lisp-lambda-list-keyword-parameter-alignment):
10026 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10027 * dired-x.el (dired-omit-verbose):
10028 * cus-theme.el (custom-theme-allow-multiple-selections):
10029 * calc/calc.el (calc-highlight-selections-with-faces)
10030 (calc-lu-field-reference, calc-lu-power-reference)
10031 (calc-note-threshold):
10032 * battery.el (battery-mode-line-limit):
10033 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10034 (archive-7z-update):
10035 * allout.el (allout-prefixed-keybindings)
10036 (allout-unprefixed-keybindings)
10037 (allout-inhibit-auto-fill-on-headline)
10038 (allout-flattened-numbering-abbreviation):
10039 * allout-widgets.el (allout-widgets-auto-activation)
10040 (allout-widgets-icons-dark-subdir)
10041 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10042 (allout-widgets-theme-dark-background)
10043 (allout-widgets-theme-light-background)
10044 (allout-widgets-item-image-properties-emacs)
10045 (allout-widgets-item-image-properties-xemacs)
10046 (allout-widgets-run-unit-tests-on-load)
10047 (allout-widgets-time-decoration-activity)
10048 (allout-widgets-hook-error-post-time)
10049 (allout-widgets-track-decoration):
10050 Add missing :version tags to new defcustoms and defgroups.
10051
10052 * progmodes/sql.el (sql-ansi-statement-starters)
10053 (sql-oracle-statement-starters): Add custom type.
10054
10055 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10056 (prolog-system-version): Give it a type.
10057
10058 2012-02-11 Eli Zaretskii <eliz@gnu.org>
10059
10060 * term/pc-win.el (x-select-text, x-selection-owner-p)
10061 (x-own-selection-internal, x-disown-selection-internal)
10062 (x-get-selection-internal): Sync doc strings and argument lists
10063 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10064
10065 2012-02-11 Leo Liu <sdl.web@gmail.com>
10066
10067 * progmodes/python.el (python-end-of-statement): Fix infinite
10068 loop. (Bug#10788)
10069
10070 2012-02-10 Glenn Morris <rgm@gnu.org>
10071
10072 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10073 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10074
10075 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10076
10077 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10078 about SMTP before checking the From header.
10079
10080 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10081 into own function for reuse by emacsbug.el.
10082
10083 2012-02-10 Leo Liu <sdl.web@gmail.com>
10084
10085 * subr.el (condition-case-unless-debug): Rename from
10086 condition-case-no-debug. All callers changed.
10087 (with-demoted-errors): Fix caller.
10088
10089 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10090 * nxml/rng-valid.el (rng-do-some-validation):
10091 * emacs-lisp/package.el (package-refresh-contents)
10092 (package-menu-execute):
10093 * desktop.el (desktop-create-buffer):
10094 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10095
10096 2012-02-10 Glenn Morris <rgm@gnu.org>
10097
10098 * textmodes/bibtex.el:
10099 Add missing :version tags for new/changed defcustoms.
10100
10101 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10102
10103 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
10104
10105 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10106 (smtpmail-via-smtp): Use it, or fall back on the From address.
10107 (smtpmail-send-it): Ditto.
10108
10109 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10110
10111 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10112 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10113 (byte-compile-tmp-var): New const.
10114 (byte-compile-defvar): Use it to minimize .elc size.
10115 Just use `defvar' rather than simulate it (bug#10761).
10116
10117 2012-02-09 Glenn Morris <rgm@gnu.org>
10118
10119 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10120
10121 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10122 Add :version tags.
10123
10124 * progmodes/compile.el (compilation-error-screen-columns)
10125 (compilation-first-column, compilation-filter-start): Doc fixes.
10126
10127 * vc/log-view.el (log-view-toggle-entry-display):
10128 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10129
10130 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10131 (report-emacs-bug-can-use-xdg-email):
10132 (report-emacs-bug-insert-to-mailer): Doc fixes.
10133 (report-emacs-bug): Message fix.
10134
10135 * net/browse-url.el (browse-url-can-use-xdg-open)
10136 (browse-url-xdg-open): Doc fixes.
10137
10138 * electric.el (electric-indent-mode, electric-pair-mode)
10139 (electric-layout-rules, electric-layout-mode): Doc fixes.
10140 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10141
10142 2012-02-08 Martin Rudalics <rudalics@gmx.at>
10143
10144 * server.el (server-unselect-display): Don't inadvertently kill
10145 the current buffer. (Bug#10729)
10146
10147 2012-02-08 Glenn Morris <rgm@gnu.org>
10148
10149 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10150 (sql-list-table): Doc fixes.
10151
10152 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10153 Comment out (does nothing).
10154
10155 * completion.el (dynamic-completion-mode):
10156 * dirtrack.el (dirtrack-debug-mode):
10157 * electric.el (electric-layout-mode):
10158 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10159 * face-remap.el (text-scale-mode, buffer-face-mode):
10160 * iimage.el (iimage-mode):
10161 * image-mode.el (image-transform-mode):
10162 * minibuffer.el (completion-in-region-mode):
10163 * scroll-lock.el (scroll-lock-mode):
10164 * simple.el (next-error-follow-minor-mode):
10165 * tar-mode.el (tar-subfile-mode):
10166 * tooltip.el (tooltip-mode):
10167 * vcursor.el (vcursor-use-vcursor-map):
10168 * wid-browse.el (widget-minor-mode):
10169 * emulation/tpu-edt.el (tpu-edt-mode):
10170 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10171 * international/iso-ascii.el (iso-ascii-mode):
10172 * language/thai-util.el (thai-word-mode):
10173 * mail/supercite.el (sc-minor-mode):
10174 * net/goto-addr.el (goto-address-mode):
10175 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10176 * progmodes/cwarn.el (cwarn-mode):
10177 * progmodes/flymake.el (flymake-mode):
10178 * progmodes/glasses.el (glasses-mode):
10179 * progmodes/hideshow.el (hs-minor-mode):
10180 * progmodes/pascal.el (pascal-outline-mode):
10181 * textmodes/enriched.el (enriched-mode):
10182 * vc/smerge-mode.el (smerge-mode):
10183 Doc fixes (minor mode argument).
10184
10185 2012-02-07 Eli Zaretskii <eliz@gnu.org>
10186
10187 * ls-lisp.el (ls-lisp-sanitize): New function.
10188 (ls-lisp-insert-directory): Use it to fix or remove any elements
10189 in file-alist with missing attributes. (Bug#4673)
10190
10191 2012-02-07 Alan Mackenzie <acm@muc.de>
10192
10193 Fix spurious recognition of c-in-knr-argdecl.
10194
10195 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10196 putative K&R region.
10197
10198 2012-02-07 Alan Mackenzie <acm@muc.de>
10199
10200 * progmodes/cc-engine.el (c-forward-objc-directive):
10201 Prevent looping in "#pragma mark @implementation".
10202
10203 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
10204
10205 * notifications.el (notifications-on-closed-signal): Make `reason'
10206 optional. (Bug#10744)
10207
10208 2012-02-07 Glenn Morris <rgm@gnu.org>
10209
10210 * emacs-lisp/easy-mmode.el (define-minor-mode):
10211 Doc fixes for the macro and the mode it defines.
10212
10213 * image.el (imagemagick-types-inhibit): Doc fix.
10214
10215 * cus-start.el (imagemagick-render-type): Add it.
10216
10217 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10218
10219 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10220 Set the default at load time, too, so that `font-lock-fontify-buffer'
10221 can be called without setting up the entire mode first. This fixes
10222 a bug in `mm-inline-text' with C MIME parts.
10223
10224 2012-02-06 Chong Yidong <cyd@gnu.org>
10225
10226 * simple.el (list-processes--refresh): Delete exited processes
10227 (Bug#8094).
10228
10229 * comint.el (comint-next-prompt): next-single-char-property-change
10230 and prev-single-char-property-change never return nil (Bug#8657).
10231
10232 * custom.el (defcustom): Doc fix (Bug#9711).
10233
10234 2012-02-05 Chong Yidong <cyd@gnu.org>
10235
10236 * cus-edit.el (custom-variable-reset-backup): Quote the value
10237 before storing it in the customized-value property (Bug#6712).
10238 (custom-display): Add a customization type tag.
10239 (custom-buffer-create-internal): Improve tooltip message.
10240
10241 * wid-edit.el (widget-field-value-get): New optional arg to
10242 suppress trailing whitespace truncation.
10243 (character): Use it (Bug#2689).
10244
10245 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10246
10247 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10248 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10249
10250 2012-02-05 Chong Yidong <cyd@gnu.org>
10251
10252 * cus-edit.el (custom-variable-value-create): For mismatched
10253 types, show the current value (Bug#7600).
10254
10255 * custom.el (defcustom): Doc fix.
10256
10257 2012-02-05 Glenn Morris <rgm@gnu.org>
10258
10259 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10260
10261 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
10262
10263 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10264 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10265 (pp-last-sexp): Use `looking-at-p'.
10266
10267 2012-02-04 Glenn Morris <rgm@gnu.org>
10268
10269 * files.el (revert-buffer):
10270 Doc fix (mention revert-buffer-in-progress-p).
10271
10272 * emacs-lisp/ert-x.el (ert-simulate-command):
10273 Check deferred-action-list (which is obsolete) is bound.
10274
10275 * subr.el (with-wrapper-hook): Doc fixes.
10276
10277 * simple.el (filter-buffer-substring-functions)
10278 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10279
10280 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10281
10282 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10283 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10284
10285 2012-02-04 Leo Liu <sdl.web@gmail.com>
10286
10287 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10288
10289 2012-02-04 Glenn Morris <rgm@gnu.org>
10290
10291 * image.el (image-extension-data): Add obsolete alias.
10292
10293 * isearch.el (isearch-update): Doc fix.
10294
10295 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10296
10297 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10298
10299 2012-02-03 Glenn Morris <rgm@gnu.org>
10300
10301 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10302 (image-animate-timeout): Doc fix.
10303
10304 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10305
10306 2012-02-02 Glenn Morris <rgm@gnu.org>
10307
10308 * server.el (server-auth-dir): Doc fix.
10309 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10310
10311 * subr.el (run-mode-hooks): Doc fix.
10312
10313 2012-02-02 Juri Linkov <juri@jurta.org>
10314
10315 * image-mode.el (image-toggle-display-image): Remove tautological
10316 `major-mode' from the `derived-mode-p' test.
10317
10318 2012-02-02 Kenichi Handa <handa@m17n.org>
10319
10320 * composite.el (compose-region): Cancel previous change.
10321
10322 2012-02-02 Kenichi Handa <handa@m17n.org>
10323
10324 * composite.el (compose-region, compose-string): Signal error for
10325 a null string component (Bug#6988).
10326
10327 2012-02-01 Chong Yidong <cyd@gnu.org>
10328
10329 * view.el (view-buffer-other-window, view-buffer-other-frame):
10330 Handle special modes like view-buffer (Bug#10650).
10331 (view-buffer): Simplify.
10332
10333 * frame.el (set-frame-font): Tweak meaning of third argument.
10334
10335 * dynamic-setting.el (font-setting-change-default-font):
10336 Use set-frame-font (Bug#9982).
10337
10338 2012-02-01 Glenn Morris <rgm@gnu.org>
10339
10340 * progmodes/compile.el (compilation-internal-error-properties):
10341 Respect compilation-first-column in the "*compilation*" buffer.
10342
10343 * emacs-lisp/easy-mmode.el (define-minor-mode):
10344 Relax :variable's test for a named function.
10345
10346 2012-01-31 Alan Mackenzie <acm@muc.de>
10347
10348 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10349 off by one error.
10350
10351 2012-01-31 Chong Yidong <cyd@gnu.org>
10352
10353 * frame.el (set-frame-font): New arg ALL-FRAMES.
10354
10355 * menu-bar.el (menu-set-font): Use set-frame-font.
10356
10357 * faces.el (face-spec-reset-face): Don't apply unspecified
10358 attribute values to the default face.
10359
10360 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
10361
10362 * progmodes/cwarn.el (cwarn): Remove dead link.
10363 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10364 Remove * from defcustom docstrings.
10365 (turn-on-cwarn-mode): Make obsolete.
10366 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10367 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10368
10369 2012-01-31 Glenn Morris <rgm@gnu.org>
10370
10371 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10372 Fix :variable handling of mode a symbol not equal to modefun.
10373 Allow named functions to be used as the cdr of :variable.
10374
10375 2012-01-30 Glenn Morris <rgm@gnu.org>
10376
10377 * emacs-lisp/authors.el (authors-fixed-entries):
10378 Remove reference to deleted file rnewspost.el.
10379
10380 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
10381
10382 * window.el (window-with-parameter): Remove unused variable `windows'.
10383 (window--side-check): Remove unused variable `code'.
10384 (window--resize-siblings): Remove unused variable `first'.
10385 (adjust-window-trailing-edge): Remove unused variable `failed'.
10386 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10387 Use `let', not `let*'.
10388 (balance-windows-2): Remove unused variable `found'.
10389 (window--state-put-2): Remove unused variable `splits'.
10390 (window-state-put): Remove unused variable `selected'.
10391 (same-window-p): Use `string-match-p'.
10392 (display-buffer-assq-regexp): Remove unused variable `value'.
10393 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10394 Mark argument ALIST as ignored.
10395 (pop-to-buffer): Remove unused variable `old-window'.
10396
10397 2012-01-29 Eli Zaretskii <eliz@gnu.org>
10398
10399 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10400 and .lzma compressed files.
10401
10402 2012-01-29 Chong Yidong <cyd@gnu.org>
10403
10404 * frame.el (window-system-default-frame-alist): Doc fix.
10405
10406 * dynamic-setting.el (font-setting-change-default-font): Don't
10407 change the default face if SET-FONT argument is non-nil (Bug#9982).
10408
10409 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10410
10411 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10412
10413 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
10414
10415 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10416 breakpoints in files outside current directory (Bug#6098).
10417
10418 2012-01-29 Chong Yidong <cyd@gnu.org>
10419
10420 * progmodes/python.el: Require ansi-color at top-level.
10421
10422 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10423 Define and use in Emacs Lisp mode (Bug#9360).
10424 (lisp-mode-abbrev-table): Add doc.
10425 (lisp-mode-variables): Don't set local-abbrev-table.
10426 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10427
10428 2012-01-28 Roland Winkler <winkler@gnu.org>
10429
10430 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10431
10432 2012-01-28 Roland Winkler <winkler@gnu.org>
10433
10434 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10435 (bibtex-set-dialect): Use it. Either set global values of
10436 dialect-dependent variables or bind these variables buffer-locally
10437 (Bug#10254).
10438 (bibtex-mode): Call bibtex-set-dialect via
10439 hack-local-variables-hook.
10440 (bibtex-dialect): Update docstring.
10441 Add safe-local-variable predicate.
10442 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10443 bibtex-set-dialect.
10444 (bibtex-mode-map): Define menu for each dialect.
10445 (bibtex-entry): Fix docstring.
10446
10447 2012-01-28 Chong Yidong <cyd@gnu.org>
10448
10449 * eshell/esh-arg.el (eshell-quote-argument): New function.
10450
10451 * eshell/esh-ext.el (eshell-invoke-batch-file):
10452 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10453 first arg to eshell-parse-command (Bug#10523).
10454
10455 2012-01-28 Drew Adams <drew.adams@oracle.com>
10456
10457 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10458 `default-directory' is non-nil.
10459
10460 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10461
10462 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10463 line that displays system-configuration-options. (Bug#9924)
10464
10465 2012-01-28 Drew Adams <drew.adams@oracle.com>
10466
10467 * descr-text.el (describe-char): Show information about POS, in
10468 addition to information about the character at POS. Improve and
10469 update the doc string. Change "code point" to "code point in
10470 charset", to avoid confusion with the character's Unicode code
10471 point shown above that. (Bug#10129)
10472
10473 2012-01-28 Eli Zaretskii <eliz@gnu.org>
10474
10475 * descr-text.el (describe-char): Show the raw character, not only
10476 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10477 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10478 for the reasons.
10479
10480 2012-01-28 Phil Hagelberg <phil@hagelb.org>
10481
10482 * emacs-lisp/package.el (package-install):
10483 Run package-refresh-contents if there is no archive yet (Bug#9798).
10484
10485 2012-01-28 Chong Yidong <cyd@gnu.org>
10486
10487 * emacs-lisp/package.el (package-maybe-load-descriptor):
10488 New function, split from package-maybe-load-descriptor.
10489 (package-maybe-load-descriptor): Use it.
10490 (package-download-transaction): Fully load required packages
10491 inside the loop, so that `require' calls work (Bug#10593).
10492 (package-install): No need to call package-initialize now.
10493
10494 2012-01-28 Chong Yidong <cyd@gnu.org>
10495
10496 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10497
10498 * tooltip.el (tooltip-mode): Doc fix.
10499 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10500
10501 * frame.el (set-cursor-color): Doc fix (Bug#352).
10502
10503 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10504 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10505
10506 * cus-edit.el (custom-buffer-create-internal): Fix search button
10507 action (Bug#10542).
10508 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10509
10510 2012-01-27 Eduard Wiebe <usenet@pusto.de>
10511
10512 * dired.el (dired-mark-files-regexp):
10513 Include any subdirectory components. (Bug#10445)
10514
10515 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10516
10517 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10518 Handle [host]:port syntax. (Bug#10533)
10519
10520 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
10521
10522 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10523
10524 2012-01-26 Glenn Morris <rgm@gnu.org>
10525
10526 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10527 * term.el (term-raw-escape-map): Use Control-X-prefix.
10528 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10529
10530 2012-01-25 Martin Rudalics <rudalics@gmx.at>
10531
10532 * window.el (window-state-get, window--state-get-1): Don't deal
10533 with fixed-sizeness of windows. Simplify code.
10534
10535 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10536
10537 * window.el (window--state-get-1, window--state-put-2):
10538 Don't save and restore the mark.
10539
10540 2012-01-25 Chong Yidong <cyd@gnu.org>
10541
10542 * custom.el (custom-variable-p): Doc fix.
10543
10544 2012-01-25 Glenn Morris <rgm@gnu.org>
10545
10546 * dired.el (dired-goto-file): Handle some of the more common
10547 characters that `ls -b' escapes. (Bug#10596)
10548
10549 * progmodes/compile.el (compilation-next-error-function):
10550 Respect compilation-first-column in the "*compilation*" buffer.
10551 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10552
10553 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10554
10555 2012-01-24 Glenn Morris <rgm@gnu.org>
10556
10557 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10558
10559 2012-01-24 Julien Danjou <julien@danjou.info>
10560
10561 * color.el (color-rgb-to-hsl): Fix value computing.
10562 (color-hue-to-rgb): New function.
10563 (color-hsl-to-rgb): New function.
10564 (color-clamp, color-saturate-hsl, color-saturate-name)
10565 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10566 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10567
10568 2012-01-24 Glenn Morris <rgm@gnu.org>
10569
10570 * vc/vc-rcs.el (vc-rcs-create-tag):
10571 * vc/vc-sccs.el (vc-sccs-create-tag):
10572 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10573
10574 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10575
10576 * eshell/esh-util.el (eshell-read-hosts-file):
10577 Skip comment lines. (Bug#10549)
10578
10579 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10580
10581 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
10582
10583 * subr.el (display-delayed-warnings): Doc fix.
10584 (collapse-delayed-warnings): New function to collapse identical
10585 adjacent warnings.
10586 (delayed-warnings-hook): Add it.
10587
10588 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
10589
10590 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10591
10592 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10593 (tramp-default-user-alist): Don't add "pscp".
10594 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10595 property "login-as", if set. (Bug#10530)
10596
10597 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
10598
10599 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10600 "plink1" and "psftp". (Bug#10530)
10601
10602 2012-01-21 Kenichi Handa <handa@m17n.org>
10603
10604 * international/mule-cmds.el (prefer-coding-system): Show a
10605 warning message if the default value of file-name-coding-system
10606 was not changed.
10607
10608 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10609
10610 * windmove.el (windmove-reference-loc):
10611 Fix windmove-reference-loc miscalculation.
10612
10613 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10614
10615 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10616 default unit.
10617
10618 2012-01-21 Glenn Morris <rgm@gnu.org>
10619
10620 * international/mule.el (auto-coding-alist): Add .tbz.
10621
10622 * files.el (local-enable-local-variables): Doc fix.
10623 (inhibit-local-variables-regexps): Rename from
10624 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10625 Doc fix. Add some extensions from auto-coding-alist.
10626 (inhibit-local-variables-suffixes):
10627 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10628 (inhibit-local-variables-p):
10629 New function, extracted from set-auto-mode-1.
10630 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10631 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10632 (hack-local-variables): Doc fix. Make the mode-only case
10633 respect enable-local-variables and friends.
10634 Respect inhibit-local-variables-regexps for file-locals, but
10635 not for directory-locals.
10636 (set-visited-file-name):
10637 Take account of inhibit-local-variables-regexps.
10638 Whether it applies may change as the file name is changed.
10639 * jka-cmpr-hook.el (jka-compr-install):
10640 * jka-compr.el (jka-compr-uninstall):
10641 Update for inhibit-first-line-modes-suffixes name change.
10642
10643 2012-01-20 Martin Rudalics <rudalics@gmx.at>
10644
10645 * help-macro.el (make-help-screen): Temporarily restore original
10646 binding for minor-mode-map-alist (Bug#10454).
10647
10648 2012-01-19 Julien Danjou <julien@danjou.info>
10649
10650 * color.el (color-name-to-rgb): Use the white color to find the max
10651 color component value and return correctly computed values.
10652 (color-name-to-rgb): Add missing float conversion for max value.
10653
10654 2012-01-19 Martin Rudalics <rudalics@gmx.at>
10655
10656 * window.el (window--state-get-1, window-state-get): Do not use
10657 special state value for window-persistent-parameters.
10658 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
10659 (window--state-put-2): Reset all window parameters to nil before
10660 assigning values of persistent parameters.
10661
10662 2012-01-18 Alan Mackenzie <acm@muc.de>
10663
10664 Eliminate sluggishness and hangs in fontification of "semicolon
10665 deserts".
10666
10667 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10668 Change value 10000 -> 3000.
10669 (c-state-safe-place): Reformulate so it doesn't stack up an
10670 infinite number of wrong entries in c-state-nonlit-pos-cache.
10671 (c-determine-limit-get-base, c-determine-limit): New functions to
10672 determine backward search limits disregarding literals.
10673 (c-find-decl-spots): Amend commenting.
10674 (c-cheap-inside-bracelist-p): New function which detects "={".
10675
10676 * progmodes/cc-fonts.el
10677 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10678 backward search.
10679 (c-font-lock-declarations): Fix an occurrence of point being
10680 undefined. Check additionally for point being in a bracelist or
10681 near a macro invocation without a semicolon so as to avoid a
10682 fruitless time consuming search for a declarator. Give a more
10683 precise search limit for declarators using the new
10684 c-determine-limit.
10685
10686 2012-01-18 Glenn Morris <rgm@gnu.org>
10687
10688 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10689 (set-auto-mode): Doc fixes.
10690
10691 2012-01-17 Glenn Morris <rgm@gnu.org>
10692
10693 * isearch.el (search-nonincremental-instead): Fix doc typo.
10694
10695 * dired.el (dired-insert-directory): Handle newlines in directory name.
10696 (dired-build-subdir-alist): Unescape newlines in directory name.
10697
10698 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
10699
10700 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10701 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10702 (tramp-action-terminal): Use it. (Bug#10530)
10703
10704 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10707
10708 2012-01-16 Martin Rudalics <rudalics@gmx.at>
10709
10710 * window.el (window-state-ignored-parameters): Remove variable.
10711 (window--state-get-1): Rename argument MARKERS to IGNORE.
10712 Handle persistent window parameters. Make copy of clone-of
10713 parameter only if requested. (Bug#10348)
10714 (window--state-put-2): Install a window parameter only if it has
10715 a non-nil value or an existing parameter shall be overwritten.
10716
10717 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
10718
10719 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10720
10721 2012-01-14 Eli Zaretskii <eliz@gnu.org>
10722
10723 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10724 don't pass the (nil) value of `upnode' to string-match.
10725
10726 2012-01-14 Chong Yidong <cyd@gnu.org>
10727
10728 * startup.el (command-line): Fix X resource class for cursorColor.
10729 Fix values recognized by the cursorBlink resource.
10730
10731 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10732
10733 * epg.el (epg--make-temp-file): Avoid permission race condition
10734 when running on old Emacs versions (bug#10403).
10735
10736 2012-01-14 Glenn Morris <rgm@gnu.org>
10737
10738 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10739
10740 2012-01-13 Alan Mackenzie <acm@muc.de>
10741
10742 Fix filling for when filladapt mode is enabled.
10743
10744 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10745 c-mask-paragraph, pass in `fill-paragraph' rather than
10746 `fill-region-as-paragraph'. (This is a reversion of a previous
10747 change.)
10748 * progmodes/cc-mode.el (c-basic-common-init):
10749 Make fill-paragraph-handle-comment buffer local and set it to nil.
10750
10751 2012-01-13 Glenn Morris <rgm@gnu.org>
10752
10753 * dired.el (dired-switches-escape-p): New function.
10754 (dired-insert-directory): Use dired-switches-escape-p.
10755 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10756
10757 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10758
10759 2012-01-12 Glenn Morris <rgm@gnu.org>
10760
10761 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10762 changes in adaptive-fill-regexp. (Bug#10276)
10763
10764 2012-01-11 Alan Mackenzie <acm@muc.de>
10765
10766 Fix Emacs bug #10463 - put `widen's around the critical spots.
10767
10768 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10769 widen around each invocation of c-state-pp-to-literal. Remove an
10770 unused let variable.
10771
10772 2012-01-11 Glenn Morris <rgm@gnu.org>
10773
10774 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
10775 Doc fix.
10776
10777 2012-01-10 Chong Yidong <cyd@gnu.org>
10778
10779 * net/network-stream.el (network-stream-open-starttls):
10780 Avoid emitting a confusing error message when the server gives a bad
10781 response to the capability command.
10782
10783 2012-01-10 Glenn Morris <rgm@gnu.org>
10784
10785 * mail/unrmail.el (unrmail): Tweak previous change.
10786
10787 2012-01-09 Chong Yidong <cyd@gnu.org>
10788
10789 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10790
10791 2012-01-08 Alan Mackenzie <acm@muc.de>
10792
10793 Optimise font locking in long enum definitions.
10794
10795 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10796 arm to a cond form to handle enums.
10797 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10798 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10799
10800 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
10801
10802 * files.el (move-file-to-trash): Preserve default file modes on error.
10803 (Bug#10401)
10804
10805 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10806
10807 * faces.el (set-face-attribute): Clarify the meaning of the nil
10808 frame (bug#10294).
10809
10810 * subr.el (with-selected-frame): Mention that the selected frame
10811 is restored (bug#9980).
10812
10813 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10814 (bug#9759).
10815
10816 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10817 (password-read): Don't autoload unused function.
10818
10819 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
10820
10821 * progmodes/which-func.el (which-func-mode): Turn into a
10822 non-interactive function and mark as obsolete (bug#10428).
10823
10824 2012-01-06 Chong Yidong <cyd@gnu.org>
10825
10826 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10827 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10828 functions, along with 1 and -1.
10829
10830 2012-01-06 Eli Zaretskii <eliz@gnu.org>
10831
10832 * time.el (display-time-load-average)
10833 (display-time-default-load-average): Doc fixes. See the thread
10834 starting at
10835 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10836 for the details.
10837
10838 2012-01-06 Glenn Morris <rgm@gnu.org>
10839
10840 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10841 has no messages. (Bug#10377)
10842
10843 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10844 than Info-edit. (Bug#10385)
10845
10846 * time.el (display-time-load-average, display-time-next-load-average):
10847 Doc fixes.
10848
10849 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10850 local setting of buffer-read-only to the input buffer. (Bug#10419)
10851
10852 * calendar/calendar.el (calendar-mode):
10853 Locally set scroll-margin to 0. (Bug#10379)
10854
10855 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
10856
10857 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10858
10859 2012-01-05 Glenn Morris <rgm@gnu.org>
10860
10861 * eshell/em-unix.el (diff-no-select): Autoload it.
10862 (eshell/diff): Use diff-no-select. (Bug#10420)
10863
10864 2012-01-05 Chong Yidong <cyd@gnu.org>
10865
10866 * shell.el (shell-dynamic-complete-functions): Revert last change.
10867 (shell-command-completion-function): New function.
10868 (shell-completion-vars): Use it to implement
10869 shell-completion-execonly (Bug#10417).
10870
10871 * custom.el (enable-theme): Don't set custom-safe-themes.
10872
10873 * cus-theme.el (custom-theme-merge-theme):
10874 Ignore custom-enabled-themes and custom-safe-themes.
10875
10876 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10877
10878 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10879 first prompt in `sql-interacive-mode'.
10880 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10881 keywords.
10882 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10883 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10884 context of original buffer. Invoke `sql-login-hook'.
10885
10886 2012-01-04 Eli Zaretskii <eliz@gnu.org>
10887
10888 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10889 letters in cite-prefix.
10890
10891 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10892
10893 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10894
10895 2012-01-03 Chong Yidong <cyd@gnu.org>
10896
10897 * shell.el (shell-dynamic-complete-functions):
10898 Put pcomplete-completions-at-point, so as to try
10899 comint-filename-completion first (Bug#10417).
10900
10901 2012-01-02 Richard Stallman <rms@gnu.org>
10902
10903 * battery.el (battery-status-function):
10904 Detect when to use battery-yeeloong-sysfs.
10905 (battery-echo-area-format): Add string for Yeeloong.
10906 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10907 (battery-yeeloong-sysfs): New function.
10908
10909 2012-01-02 Chong Yidong <cyd@gnu.org>
10910
10911 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10912 (dirtrack): Merge code for handling relative filenames in prompt
10913 from shell-dir-cookie-watcher.
10914 (dirtrack-debug-message): New arg to avoid excess format calls.
10915
10916 * shell.el (shell-dir-cookie-re): Variable deleted.
10917 (shell-dir-cookie-watcher): Function deleted.
10918 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10919 with dirtrack-mode.
10920
10921 2012-01-01 Eli Zaretskii <eliz@gnu.org>
10922
10923 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10924 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10925 libgnutls-26.dll.
10926
10927 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10928
10929 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10930
10931 2011-12-31 Eli Zaretskii <eliz@gnu.org>
10932
10933 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10934 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10935
10936 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
10937
10938 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10939 also for alternative shells.
10940 (tramp-open-connection-setup-interactive-shell): Check, whether
10941 the shell is a busybox.
10942 (tramp-send-command): Don't suppress multiple prompts for
10943 busyboxes, it hurts.
10944
10945 2011-12-28 Chong Yidong <cyd@gnu.org>
10946
10947 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10948 (gdb-get-source-file): Move mode line update to
10949 gdb-get-source-file (Bug#10087).
10950
10951 2011-12-25 Chong Yidong <cyd@gnu.org>
10952
10953 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10954 gud-gdb-marker-filter without taking it as an argument.
10955 (gud-gdb-run-command-fetch-lines): Caller changed.
10956 (gud-gdb-completion-function): New variable.
10957 (gud-gdb-completion-at-point): Use it.
10958 (gud-gdb-completions-1): Split from gud-gdb-completions.
10959
10960 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10961 function as separate arguments.
10962 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10963 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10964 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10965 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10966 (gdb-stopped, def-gdb-auto-update-trigger)
10967 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10968 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10969 Callers changed.
10970 (gud-gdbmi-completions): New function.
10971 (gdb): Use it for generating the completion table.
10972
10973 2011-12-24 Alan Mackenzie <acm@muc.de>
10974
10975 Introduce a mechanism to widen the region used in context font
10976 locking. Use this to protect declarations from losing their contexts.
10977
10978 * progmodes/cc-langs.el (c-before-font-lock-functions):
10979 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10980 (c-before-context-fontification-functions): New defvar, a list of
10981 functions to be run just before context (etc.) font locking.
10982
10983 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10984 New, functionality extracted from
10985 c-neutralize-syntax-in-and-mark-CPP.
10986 (c-in-after-change-fontification): New variable.
10987 (c-after-change): Set c-in-after-change-fontification.
10988 (c-set-fl-decl-start): Rejig its interface, so it can be called
10989 from both after-change and context fontifying.
10990 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10991 New functions.
10992 (c-standard-font-lock-fontify-region-function): New variable.
10993 (c-font-lock-fontify-region): New function.
10994
10995 2011-12-24 Juri Linkov <juri@jurta.org>
10996
10997 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10998 (Bug#10348)
10999
11000 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
11001
11002 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11003 existence of source file. (Bug#10325)
11004
11005 2011-12-23 Alan Mackenzie <acm@muc.de>
11006
11007 Fix unstable fontification inside templates.
11008
11009 * progmodes/cc-langs.el (c-before-font-lock-functions):
11010 Newly created from the singular version. The (c c++ objc) entry now
11011 additionally has c-set-fl-decl-start. The other languages (apart
11012 from AWK) have that as a single entry.
11013
11014 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11015 The functionality for "local" declarations has been extracted to
11016 c-set-fl-decl-start.
11017
11018 * progmodes/cc-mode.el (c-common-init, c-after-change):
11019 Changes due to pluralisation of c-before-font-lock-functions.
11020 (c-set-fl-decl-start): New function, extracted from
11021 c-font-lock-enclosing-decls and enhanced.
11022
11023 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
11024
11025 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11026
11027 2011-12-22 Juri Linkov <juri@jurta.org>
11028
11029 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11030
11031 2011-12-22 Chong Yidong <cyd@gnu.org>
11032
11033 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11034
11035 2011-12-21 Drew Adams <drew.adams@oracle.com>
11036
11037 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11038
11039 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11040
11041 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11042
11043 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11044
11045 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11046 highlighting and support. Fix up comments for capitalization.
11047 (cfengine-mode-debug): New var.
11048 (cfengine3-mode): Change the modeline indicator to "CFE3".
11049 (cfengine3-font-lock-keywords): Improve defun highlighting.
11050 (cfengine2-actions): Rename from `cfengine-actions'.
11051 (cfengine2-font-lock-keywords): Rename from
11052 `cfengine-font-lock-keywords'.
11053 (cfengine2-imenu-expression): Rename from
11054 `cfengine-imenu-expression'.
11055 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11056 (cfengine2-beginning-of-defun): Rename from
11057 `cfengine-beginning-of-defun'.
11058 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11059 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11060 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11061 modeline indicator to "CFE2".
11062 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11063 (cfengine-mode-abbrevs): Mark obsolete.
11064
11065 2011-12-21 Chong Yidong <cyd@gnu.org>
11066
11067 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11068 filename argument.
11069
11070 2011-12-20 Martin Rudalics <rudalics@gmx.at>
11071
11072 * window.el (window-normalize-buffer-to-display): Remove.
11073 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11074
11075 2011-12-19 Chong Yidong <cyd@gnu.org>
11076
11077 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11078 Don't signal an error in a predicate function; return non-nil.
11079 (vc-dir-mark-file): Move the error here.
11080 (vc-dir-mark-unmark): If acting on the region, keep going if one
11081 of the entries cannot be marked/unmarked.
11082 (vc-dir-mark-all-files): If current entry is a directory, mark
11083 only child files, as documented.
11084
11085 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11086
11087 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11088 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11089 addition.
11090
11091 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11092
11093 * term/ns-win.el (ns-get-selection-internal)
11094 (ns-store-selection-internal): Declare.
11095 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11096 Declare as obsolete.
11097 (ns-get-pasteboard, ns-paste-secondary):
11098 Use ns-get-selection-internal.
11099 (ns-set-pasteboard, ns-copy-including-secondary):
11100 Use ns-store-selection-internal.
11101
11102 2011-12-17 Chong Yidong <cyd@gnu.org>
11103
11104 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11105 (vc-deduce-fileset): Doc fix.
11106
11107 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11108
11109 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11110
11111 2011-12-13 Sam Steingold <sds@gnu.org>
11112
11113 * man.el (Man-getpage-in-background): When running under a
11114 window-system, ignore $MANWIDTH and $COLUMNS.
11115
11116 2011-12-15 Kenichi Handa <handa@m17n.org>
11117
11118 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11119 (setup-ethiopic-environment-internal): Comment out key-binding for
11120 ethio-toggle-punctuation.
11121
11122 2011-12-13 Alan Mackenzie <acm@muc.de>
11123
11124 Add the switch statement to AWK Mode.
11125
11126 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11127 "default" to the keywords regexp.
11128
11129 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11130 expression as the rest.
11131 (c-nonlabel-token-key): Allow string literals for AWK.
11132 Refactor for the other modes.
11133
11134 Large brace-block initialisation makes CC Mode slow: Fix.
11135 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11136 routines. Limit backward searching in c-font-lock-enclosing.decl.
11137
11138 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11139 pp-state and literal type in addition to the limits.
11140 (c-state-safe-place): New defun, extracted from c-state-literal-at.
11141 (c-state-literal-at): Use the above new defun.
11142 (c-slow-in-literal, c-fast-in-literal): Remove.
11143 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11144
11145 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11146 being in a literal. Add a limit for backward searching.
11147
11148 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11149 c-slow-in-literal.
11150
11151 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11152
11153 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11154
11155 2011-12-13 Martin Rudalics <rudalics@gmx.at>
11156
11157 * window.el (delete-other-windows): Use correct frame in call to
11158 window-with-parameter.
11159
11160 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11161
11162 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11163 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11164 (makefile-gmake-statements, makefile-makepp-statements):
11165 Use it and add new makepp keywords.
11166 (makefile-makepp-font-lock-keywords): Add new patterns.
11167 (makefile-match-function-end): Match new [...] and [[...]].
11168
11169 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
11170
11171 * ses.el (ses-call-printer-return, ses-cell-property-get)
11172 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11173 (ses-create-cell-variable, ses-reset-header-string)
11174 (ses-cell-set-formula, ses-repair-cell-reference-all)
11175 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11176 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11177 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11178 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11179 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11180 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11181 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11182 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11183 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11184 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11185 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11186 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11187
11188 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11189
11190 * ses.el: The overall change is to add cell renaming, that is
11191 setting fancy names for cell symbols other than name matching
11192 "\\`[A-Z]+[0-9]+\\'" regexp .
11193 (ses-create-cell-variable): New defun.
11194 (ses-relocate-formula): Relocate formulas only for cells the
11195 symbols of which are not renamed, i.e. symbols whose names do not
11196 match regexp "\\`[A-Z]+[0-9]+\\'".
11197 (ses-relocate-all): Relocate values only for cells the symbols of
11198 which are not renamed.
11199 (ses-load): Create cells variables as the (ses-cell ...) are read,
11200 in order to check row col consistency with cell symbol name only
11201 for cells that are not renamed.
11202 (ses-replace-name-in-formula): New defun.
11203 (ses-rename-cell): New defun.
11204
11205 2011-12-11 Chong Yidong <cyd@gnu.org>
11206
11207 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11208 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11209
11210 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11211
11212 * window.el (other-window): Fix docstring.
11213
11214 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11215
11216 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11217 `from' or `to' address before taking its substring.
11218 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11219 encoded name is chopped in the middle of the encoded string, and
11220 thus displayed encoded.
11221
11222 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
11223
11224 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11225
11226 2011-12-10 Eli Zaretskii <eliz@gnu.org>
11227
11228 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11229 to use texinfo-update-node and commands that call it if the
11230 Texinfo file uses @node lines without next/prev/up pointers.
11231 Correct outdated description about texinfo-master-menu.
11232 (texinfo-all-menus-update, texinfo-master-menu)
11233 (texinfo-update-node, texinfo-every-node-update)
11234 (texinfo-multiple-files-update): Doc fix. Warn against updating
11235 all the @node lines.
11236 (texinfo-master-menu): Only call texinfo-update-node if the prefix
11237 argument is numeric. Explain better in the doc string what the
11238 function really does.
11239 (texinfo-insert-master-menu-list): Improve the error message
11240 displayed if there's no menu in the Top node.
11241 (Bug#2975) See also this thread:
11242 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11243
11244 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11245
11246 * speedbar.el (speedbar-supported-extension-expressions):
11247 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11248
11249 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
11250
11251 * printing.el (pr-mode-alist):
11252 * simple.el (filter-buffer-substring-functions)
11253 (completion-list-insert-choice-function):
11254 * window.el (window-with-parameter, window-atom-root)
11255 (window-sides-slots, window-size-fixed, window-min-delta)
11256 (window-max-delta, window--resize-mini-window)
11257 (window--resize-child-windows-normal, window-tree)
11258 (delete-other-windows, quit-window, split-window)
11259 (display-buffer-record-window, special-display-buffer-names)
11260 (special-display-regexps, special-display-popup-frame)
11261 (same-window-p, split-window-sensibly)
11262 (display-buffer-overriding-action, display-buffer-alist)
11263 (display-buffer-base-action, display-buffer, switch-to-buffer)
11264 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11265 (fit-window-to-buffer, recenter-positions)
11266 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11267 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11268 and remove unneeded backslashes in docstrings.
11269
11270 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11273
11274 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11275 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11276 end in ".mk".
11277 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11278 when reading the makefile (bug#10116).
11279
11280 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11281
11282 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11283 (bug#10116).
11284
11285 2011-12-06 Glenn Morris <rgm@gnu.org>
11286
11287 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11288
11289 2011-12-06 Chong Yidong <cyd@gnu.org>
11290
11291 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11292
11293 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
11294
11295 * textmodes/table.el (table-shorten-cell): Fix typo.
11296
11297 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11298
11299 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11300
11301 2011-12-05 Eli Zaretskii <eliz@gnu.org>
11302
11303 * descr-text.el (describe-char): Fix display of strong
11304 right-to-left characters and directional embeddings and overrides.
11305
11306 * simple.el (what-cursor-position): Fix display of codepoints of
11307 strong right-to-left characters.
11308
11309 2011-12-05 Chong Yidong <cyd@gnu.org>
11310
11311 * faces.el (read-color): Doc fix.
11312
11313 2011-12-05 Glenn Morris <rgm@gnu.org>
11314
11315 * align.el (align--set-marker): Add doc-string.
11316 Don't try to move something that is not a marker. (Bug#10216)
11317
11318 2011-12-04 Glenn Morris <rgm@gnu.org>
11319
11320 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11321 overly zealous deletion of trailing whitespace.
11322
11323 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
11324
11325 * server.el (server-delete-client): On Windows, do not try to delete
11326 the only terminal.
11327 (server-process-filter): On Windows, treat requests for a tty frame as
11328 if they were for a GUI frame if the running server is in GUI mode.
11329
11330 2011-12-03 Glenn Morris <rgm@gnu.org>
11331
11332 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11333
11334 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11335
11336 * electric.el: Streamline electric-indent's hook.
11337 (electric-indent-chars): Revert to simple list.
11338 (electric-indent-functions): New var.
11339 (electric-indent-post-self-insert-function): Use it.
11340
11341 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11342 there's no inferior buffer (bug#10196).
11343 (prolog-consult-compile): Don't use toggle-read-only.
11344
11345 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
11346
11347 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11348 interrupt. (Bug#10187)
11349
11350 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11351
11352 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11353 (bug#9160).
11354
11355 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11356 (bug#10191).
11357
11358 2011-12-02 Juri Linkov <juri@jurta.org>
11359
11360 * info.el (Info-search): Display "end of manual" when Isearch
11361 reaches the end of single-file Info manual. (Bug#9918)
11362
11363 2011-12-02 Eli Zaretskii <eliz@gnu.org>
11364
11365 * isearch.el (isearch-message-prefix): Run the input method part
11366 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11367
11368 2011-12-02 Juri Linkov <juri@jurta.org>
11369
11370 * isearch.el (isearch-occur): Use `word-search-regexp' for
11371 `isearch-word'.
11372 (isearch-search-and-update): Add condition for `isearch-word' and
11373 call `word-search-regexp'. (Bug#10145)
11374
11375 2011-12-01 Glenn Morris <rgm@gnu.org>
11376
11377 * eshell/em-hist.el (eshell-hist-initialize):
11378 Handle eshell-history-size nil and HISTSIZE set or unset.
11379 (eshell-history-file-name, eshell-history-size): Fix custom type.
11380
11381 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11382
11383 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11384
11385 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
11386
11387 * progmodes/verilog-mode.el (verilog-pretty-expr):
11388 Rework verilog-pretty-expr to handle new assignment operators in system
11389 verilog, such as += *= and the like.
11390 (verilog-assignment-operator-re): Regular expression to find the
11391 assigment operator in a verilog assignment.
11392 (verilog-assignment-operation-re): Regular expression to find an
11393 assignment statement for pretty-expr.
11394 (verilog-in-attribute-p): Query returns true if point is in an
11395 attribute context; used to skip these for expression line up from
11396 pretty-expr.
11397 (verilog-in-parameter-p): Query returns true if point is in an
11398 parameter definition context; used to skip these for expression
11399 line up from pretty-expr.
11400 (verilog-in-parenthesis-p): Query returns true if point is in a
11401 parenthetical expression, specifically ( ) but not [ ] or { };
11402 used by pretty-expr.
11403 (verilog-just-one-space): If there is no space, don't add one.
11404 (verilog-get-lineup-indent-2): Specifically skip just attribute
11405 contexts for expression lineup, rather than skipping all
11406 parenthetical expressions.
11407 (verilog-calculate-indent): Fix comment, and fix indent.
11408 (verilog-do-indent): Indent declarations in lists (suggested by
11409 Joachim Lechner).
11410 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11411 skeleton items.
11412 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11413 by Alain Mellan).
11414
11415 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
11416
11417 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11418 parameters with embedded comments. Reported by Ray Stevens.
11419 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11420 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11421 Reported by Tim Holt.
11422 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11423 instantiated by upper module causing wrong expansion until AUTOed a
11424 second time. Reported by K C Buckenmaier.
11425 (verilog-diff-auto): Fix showing .* as a difference when
11426 `verilog-auto-star-save' off. Reported by Dan Dever.
11427 (verilog-auto-reset, verilog-read-always-signals)
11428 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11429 temporary signals in reset list if
11430 verilog-auto-reset-blocking-in-non is nil, and match assignment
11431 style to each signal's assignment type, bug381.
11432 Reported by Thomas Esposito.
11433 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11434 (verilog-uvm-statement-re): Support UVM indentation and
11435 highlighting, with old OVM keywords only.
11436 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11437 Support AUTOTIEOFF creating non-wire data types.
11438 Suggested by Jonathan Greenlaw.
11439 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11440 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11441 (verilog-inject-sense, verilog-read-inst-pins)
11442 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11443 Fix mismatching parenthesis inside commented out code when deleting
11444 AUTOINST, bug383. Reported by Jonathan Greenlaw.
11445 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11446 non-numeric vector width. Reported by Alex Reed.
11447 (verilog-auto-ascii-enum): Add "onehot" option to work around not
11448 detecting signals with parameter widths. Reported by Alex Reed.
11449 (verilog-auto-delete-trailing-whitespace):
11450 With `verilog-auto-delete-trailing-whitespace' remove trailing
11451 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11452 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11453 Fix verilog-scan-cache corruption when running user AUTO expansion
11454 hooks that call indentation routines.
11455 (verilog-simplify-range-expression): Fix typo ignoring lower case
11456 identifiers.
11457 (verilog-delete-auto): Fix delete-autos to also remove user created
11458 automatics, as long as they start with AUTO.
11459 (verilog-batch-diff-auto, verilog-diff-auto)
11460 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11461 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11462 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11463 (verilog-in-paren-quick, verilog-re-search-backward-quick)
11464 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11465 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11466 is disabled and its cache will get corrupt, causing AUTOS not to
11467 expand. Instead use only -quick functions.
11468 (verilog-scan-region): Fix scanning over escaped quotes.
11469 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11470 (verilog-re-search-backward-quick)
11471 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11472 related functions now ignore strings, to fix misparsing of strings
11473 with magic comments embedded in them.
11474 (verilog-read-auto-template):
11475 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11476 Reported by Brad Dobbie.
11477 (verilog-read-auto-template):
11478 Fix 'verilog-auto-inst-template-numbers' with comments.
11479 Reported by Brad Dobbie.
11480 (verilog-auto-inst, verilog-auto-inst-param)
11481 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11482 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11483 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11484 debugging templates without merge conflicts, bug357.
11485 Reported by Brad Dobbie.
11486 (verilog-read-auto-template):
11487 Fix verilog-auto-inst-template-numbers with multiple templates.
11488 Reported by Brad Dobbie.
11489 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11490 abbrevs so user won't be asked to save.
11491 (verilog-read-auto-lisp-present): Fix to start at beginning of
11492 buffer in case called outside of verilog-auto.
11493 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11494 to "X-2". Reported by Matthew Myers.
11495 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11496 all inputs from module templates. Reported by Leith Johnson.
11497 (verilog-module-inside-filename-p): Fix locating programs as with
11498 modules.
11499 (verilog-auto-inst-port): Fix vl-width expressions when using
11500 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11501 (verilog-decls-get-regs, verilog-decls-get-signals,
11502 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11503 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11504 verilog-read-decls): Combine reg and wire structures into one var
11505 structure to represent SystemVerilog concepts.
11506 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11507 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11508 (verilog-auto-wire-type, verilog-insert-definition):
11509 Add verilog-auto-wire-type and AUTOLOGIC to support using
11510 SystemVerilog "logic" keyword instead of "wire"/"reg".
11511 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11512 to declares outputs that also have assignments (presumably in an
11513 ifdef or generate if so there's not a driver conflict).
11514 Reported by Matthew Myers.
11515 (verilog-auto-declare-nettype, verilog-insert-definition):
11516 Add verilog-auto-declare-nettype to fix declarations using
11517 `default_nettype none. Reported by Julian Gorfajn.
11518 (verilog-read-always-signals-recurse, verilog-read-decls)
11519 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11520 malformed end statement, bug325. Reported by Joshua Wise and
11521 Andrew Drake.
11522 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11523 (verilog-inst-comment-re): Fix not deleting Interfaced comment
11524 when expanding .* in interfaces, bug320.
11525 Reported by Pierre-David Pfister.
11526 (verilog-read-module-name): Fix import statements between module
11527 name and open parenthesis, bug317.
11528 Reported by Pierre-David Pfister.
11529 (verilog-simplify-range-expression): Fix simplification of
11530 multiplications inside AUTOWIRE connections, bug303.
11531 (verilog-auto-inst-port): Support parameter expansion in
11532 multidimensional arrays.
11533 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11534 after "assert property". Reported by Julian Gorfajn.
11535 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11536 with multiplication, bug303.
11537 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11538 Reported by Jan Frode Lonnum.
11539
11540 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
11541
11542 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11543 (hfy-shell-file-name, hfy-shell):
11544 * international/fontset.el (x-decompose-font-name): Fix typos.
11545
11546 2011-11-29 Ken Brown <kbrown@cornell.edu>
11547
11548 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11549 (gdb-version): Remove defvar.
11550 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11551 (gdb-gud-context-command, gdb-non-stop-handler)
11552 (gdb-current-context-command, gdb-stopped): Use it.
11553 (gdb-init-1): Enable pretty printing here.
11554 (gdb-non-stop-handler): Don't enable pretty-printing here.
11555 Check to see if the target supports non-stop mode; if not, turn off
11556 non-stop mode. Use the following.
11557 (gdb-check-target-async): New defun.
11558 (gud-watch, gdb-stopped): Fix whitespace.
11559 (gdb-get-source-file): Don't try to display the source file if
11560 `gdb-main-file' is nil.
11561
11562 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * align.el: Try to generate fewer markers (bug#10047).
11565 (align--set-marker): New macro.
11566 (align-region): Use it.
11567
11568 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11569
11570 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11571
11572 2011-11-29 Chong Yidong <cyd@gnu.org>
11573
11574 * indent.el (indent-for-tab-command, indent-according-to-mode):
11575 Doc fix.
11576 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11577
11578 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
11579
11580 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11581 aware of remote file names. (Bug#10124)
11582
11583 2011-11-29 Chong Yidong <cyd@gnu.org>
11584
11585 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11586
11587 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11588
11589 * files.el (find-file): Don't use force-same-window (bug#10144).
11590 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11591 use pop-to-buffer if the selected window can't be used.
11592 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11593
11594 2011-11-28 Eli Zaretskii <eliz@gnu.org>
11595
11596 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11597 special-mode-map.
11598
11599 2011-11-28 Chong Yidong <cyd@gnu.org>
11600
11601 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11602
11603 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
11604
11605 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11606 gdb-get-source-file-list on gdb-create-source-file-list.
11607
11608 2011-11-26 Eli Zaretskii <eliz@gnu.org>
11609
11610 * whitespace.el (whitespace-newline): Use a different foreground
11611 color for 16-color light-background displays.
11612
11613 2011-11-24 Chong Yidong <cyd@gnu.org>
11614
11615 * window.el (display-buffer--special-action): Doc fix.
11616
11617 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
11618
11619 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11620 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11621 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11622 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11623 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11624 (avl-tree-stack-first):
11625 * emacs-lisp/cconv.el (cconv--analyse-use):
11626 * net/gnutls.el (gnutls-negotiate): Fix typos.
11627
11628 2011-11-24 Glenn Morris <rgm@gnu.org>
11629
11630 * lpr.el (lpr-windows-system, lpr-lp-system):
11631 * mail/binhex.el (binhex-begin-line):
11632 * progmodes/grep.el (grep-history, grep-find-history):
11633 * textmodes/flyspell.el:
11634 * vc/pcvs-defs.el (cvs-global-menu):
11635 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11636 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11637 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11638
11639 * net/tls.el: Fix case of "GnuTLS".
11640
11641 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11642
11643 * version.el (emacs-build-system): Give it a doc-string.
11644
11645 2011-11-24 Juri Linkov <juri@jurta.org>
11646
11647 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11648
11649 2011-11-24 Glenn Morris <rgm@gnu.org>
11650
11651 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11652 if called on a non-mime message just toggle the headers. (Bug#8006)
11653
11654 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
11655
11656 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11657 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11658 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11659 (allout-rebullet-heading, allout-open-sibtopic)
11660 (allout-toggle-current-subtree-encryption)
11661 (allout-toggle-subtree-encryption, allout-encrypt-string)
11662 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11663 (allout-distinctive-bullets-string, allout-auto-activation):
11664 * window.el (window-normalize-buffer-to-display):
11665 * progmodes/verilog-mode.el (verilog-batch-indent):
11666 * textmodes/bibtex.el (bibtex-field-braces-opt)
11667 (bibtex-field-strings-opt):
11668 * vc/cvs-status.el (cvs-tree-merge):
11669 Fix typos.
11670
11671 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
11672
11673 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11674 `non-essential' to t, in order to avoid remote connections.
11675
11676 2011-11-23 Eli Zaretskii <eliz@gnu.org>
11677
11678 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11679 On MS-DOS and MS-Windows, compare with loaddefs.el
11680 case-insensitively.
11681
11682 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11683
11684 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11685
11686 2011-11-23 Glenn Morris <rgm@gnu.org>
11687
11688 * paths.el (rmail-file-name): Reformat the doc-string so that it
11689 is picked up.
11690
11691 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11692 (rmail-auto-file): Ignore case in the "special" field names,
11693 as mail-fetch-field does for all others.
11694
11695 * mail/rmail.el (rmail-forward):
11696 * mail/rmailkwd.el (rmail-set-label):
11697 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11698 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11699
11700 * mail/rmail.el (rmail-current-message): Doc fix.
11701
11702 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11703
11704 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11705
11706 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11707
11708 2011-11-22 Glenn Morris <rgm@gnu.org>
11709
11710 * mail/rmailmm.el (test-rmail-mime-handler)
11711 (test-rmail-mime-bulk-handler)
11712 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11713
11714 2011-11-21 Juri Linkov <juri@jurta.org>
11715
11716 * calc/calc.el (calc-read-key-sequence):
11717 Let-bind `input-method-function' to nil. (Bug#10018)
11718
11719 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11720
11721 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11722 Tell the caller that the next line needs recomputation, even
11723 though it doesn't start a sexp (bug#10094).
11724
11725 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11726
11727 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11728
11729 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11732 Use force-same-window.
11733
11734 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11735
11736 * descr-text.el (describe-char-unicode-data):
11737 * json.el (json-string-escape):
11738 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11739 (Footnote-unicode, Footnote-style-p):
11740 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11741
11742 2011-11-20 Chong Yidong <cyd@gnu.org>
11743
11744 * window.el (replace-buffer-in-windows): Restore interactive spec.
11745
11746 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11747
11748 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11749
11750 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11751 (byte-compile-global-not-obsolete-vars): New var.
11752 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11753 Use it.
11754 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11755
11756 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
11757
11758 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11759 * progmodes/pascal.el (electric-pascal-equal):
11760 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11761 * xml.el (xml-substitute-special): Fix typos.
11762
11763 2011-11-20 Glenn Morris <rgm@gnu.org>
11764
11765 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11766 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11767 Doc fixes.
11768 (rmail-decode-mime-charset): Mark as obsolete.
11769
11770 * mail/rmailsum.el (rmail-message-regexp-p-1):
11771 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11772 Before using mime functions, check they are set. (Bug#10077)
11773
11774 2011-11-19 Juri Linkov <juri@jurta.org>
11775
11776 * info.el (Info-finder-find-node): Use `package--builtins' instead
11777 of `package-alist'. Use node names formed by the pattern "Keyword "
11778 and the keyword name.
11779
11780 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11781
11782 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11783
11784 2011-11-19 Juri Linkov <juri@jurta.org>
11785
11786 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11787 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11788 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11789 `old-history', `old-history-forward'. Add let-binding
11790 `window-selected'. Remove calls to `kill-buffer',
11791 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11792 before calling `Info-find-node', so `Info-find-node-2' will reread
11793 the Info file. Restore window positions only when `window-selected'
11794 is non-nil.
11795
11796 2011-11-19 Juri Linkov <juri@jurta.org>
11797
11798 * isearch.el (isearch-lazy-highlight-new-loop):
11799 Remove condition `(not isearch-error)'. (Bug#9918)
11800
11801 * misearch.el (multi-isearch-search-fun): Add condition
11802 `(not bound)' to ignore lazy-highlighting search.
11803 Add the search-failed message "end of multi" when the end of
11804 multi-sequence is reached. Uncapitalize the search-failed
11805 message "Repeat for next buffer".
11806
11807 * info.el (Info-search): Add the search-failed message
11808 "end of the manual" when the end of the manual is reached
11809 in Isearch mode.
11810
11811 2011-11-19 Juri Linkov <juri@jurta.org>
11812
11813 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11814 Use non-destructive `remove' instead of `delete' because
11815 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11816 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11817
11818 2011-11-19 Juri Linkov <juri@jurta.org>
11819
11820 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11821 to nil instead of binding `search-ring' and `regexp-search-ring'.
11822 (Bug#9185)
11823
11824 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11825
11826 * simple.el (line-move): Force movement by logical lines for any
11827 hscrolled window, not only when auto-hscroll-mode is on.
11828 (line-move-visual): Update doc string to that effect. (Bug#10076)
11829
11830 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11831
11832 * language/european.el (macintosh): Define as alias for mac-roman.
11833
11834 2011-11-19 Eli Zaretskii <eliz@gnu.org>
11835
11836 * mail/rmailmm.el (rmail-mime-display-header)
11837 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11838 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11839 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11840 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11841 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11842 of a raw aref.
11843 (rmail-mime-entity-segment): To get past the tagline, move forward
11844 2 more lines, to account for the 2 empty lines that precede and
11845 follow the line with the buttons.
11846 (rmail-mime-update-tagline): Move one more line, to get past the
11847 empty line that follows the buttons in the tagline. (Bug#9520)
11848
11849 2011-11-19 Martin Rudalics <rudalics@gmx.at>
11850
11851 * window.el (window-max-delta-1, window-min-delta-1)
11852 (window-min-size-1, window-state-get-1, window-state-put-1)
11853 (window-state-put-2): Use "window--" prefix.
11854
11855 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11856
11857 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11858 (smie-warning-count): New var.
11859 (smie-set-prec2tab): Use it.
11860 (smie-bnf->prec2): Improve warnings. Add docstring.
11861 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11862 (smie-bnf--set-class): New function.
11863 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11864 corner case.
11865
11866 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11867 (compilation-error-properties, compilation-move-to-column):
11868 Handle compilation-first-column while in the target buffer.
11869
11870 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11871 Don't hardcode point-min==1.
11872
11873 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11874 (eshell-rewrite-for-command): Remove workaround.
11875 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11876 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11877 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11878
11879 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11880
11881 2011-11-17 Glenn Morris <rgm@gnu.org>
11882
11883 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11884 Ignore buffer-local generated-autoload-file if it is the same
11885 as the global value. (Bug#10049)
11886
11887 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
11888
11889 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11890 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11891 (reftex-toc-previous-heading, reftex-toc-max-level)
11892 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11893 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11894 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11895 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11896 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11897 (reftex-toc-rename-label, reftex-toc-visit-location)
11898 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11899 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11900 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11901 leaving "*toc*" only for references to the buffer.
11902
11903 2011-11-17 Martin Rudalics <rudalics@gmx.at>
11904
11905 * window.el (window-resize, delete-window, split-window):
11906 Replace window-splits by window-combination-resize.
11907 * cus-start.el (window-splits): Replace by window-combination-resize.
11908
11909 2011-11-17 Glenn Morris <rgm@gnu.org>
11910
11911 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11912 Make bash entry derive from sh entry, not shell entry.
11913
11914 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
11915
11916 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11917 local file name.
11918
11919 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11920
11921 * menu-bar.el (menu-bar-file-menu):
11922 * printing.el (pr-ps-utility):
11923 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11924 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11925 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11926 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11927 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11928 (icalendar--convert-cyclic-to-ical)
11929 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11930 (icalendar--convert-ical-to-diary)
11931 (icalendar--convert-recurring-to-diary)
11932 (icalendar--convert-non-recurring-all-day-to-diary)
11933 (icalendar-import-format-sample):
11934 * progmodes/idlw-shell.el (idlwave-shell-mode):
11935 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11936 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11937 (vhdl-ps-print-init): Fix typos.
11938
11939 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11940
11941 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11942 FSF and collapse date sequence, obscure author/maintainer email address
11943 better, remove extra version line, track relocation of author's webpage.
11944
11945 * progmodes/python.el (python-pdbtrack-input-prompt)
11946 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11947 regular python pdb prompts. Adjustments shamelessly taken exactly as
11948 suggested in EmacsWiki page (tiny change):
11949 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11950
11951 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
11952
11953 * expand.el (expand-pos, expand-index, expand-point):
11954 Remove redundant info from docstring.
11955 (expand-add-abbrevs): Doc fix.
11956 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11957 (expand-sample-perl-mode-expand-list): Fix typos.
11958
11959 * net/dbus.el (dbus-event-member-name):
11960 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11961 * term/pc-win.el (msdos-create-frame-with-faces):
11962 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11963
11964 2011-11-16 Martin Rudalics <rudalics@gmx.at>
11965
11966 * window.el (split-window, window-state-get-1)
11967 (window-state-put-1, window-state-put-2): Rename occurrences of
11968 window-nest to window-combination-limit.
11969 * cus-start.el (window-nest): Rename to window-combination-limit.
11970
11971 2011-11-16 Chong Yidong <cyd@gnu.org>
11972
11973 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11974 regexp (Bug#10033).
11975
11976 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11979 `completing-read' will remove *Completions* and will preserve
11980 current-buffer for us.
11981 (tmm-add-prompt): Users of *Completions* will always (re)set its
11982 major mode.
11983 (tmm-old-comp-map): Remove.
11984
11985 2011-11-16 Glenn Morris <rgm@gnu.org>
11986
11987 * mail/rmailedit.el: Require rmailmm when compiling.
11988 (rmail-old-mime-state): New declaration.
11989 (rmail-edit-current-message): If editing a mime message,
11990 edit the "raw" message from the mbox buffer.
11991 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11992
11993 2011-11-15 Glenn Morris <rgm@gnu.org>
11994
11995 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11996 which wasn't being used. Add optional arg to force given state.
11997 (rmail-mime): Add optional arg to force given state.
11998
11999 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12000
12001 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12002 * frame.el (display-mm-dimensions-alist):
12003 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12004 (outline-move-subtree-down):
12005 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12006 (newsticker--treeview-do-get-node):
12007 * net/quickurl.el (quickurl-list-buffer-name):
12008 * progmodes/dcl-mode.el (dcl-mode):
12009 * progmodes/gdb-mi.el (gdb-mapcar*):
12010 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12011
12012 2011-11-15 Glenn Morris <rgm@gnu.org>
12013
12014 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12015 in a boolean sense, so just make it a boolean, and fix the doc.
12016 (rmail-show-mime-function, rmail-mime-feature)
12017 (rmail-require-mime-maybe): Doc fixes.
12018 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12019
12020 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12021
12022 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
12023
12024 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12025 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12026 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12027 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12028
12029 2011-11-15 Glenn Morris <rgm@gnu.org>
12030
12031 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12032 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12033 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12034 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12035 (rmail-mime, rmail-show-mime): Doc fixes.
12036
12037 * term/ns-win.el (mode-line-frame-identification):
12038 Leave it alone. (Bug#10051)
12039
12040 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12041
12042 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12043 Handle empty buffers. (Bug#9978)
12044
12045 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
12046
12047 * international/mule.el (define-charset):
12048 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12049 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12050 * progmodes/verilog-mode.el (verilog-backward-token):
12051 * textmodes/ispell.el (lookup-words):
12052 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12053
12054 2011-11-14 Glenn Morris <rgm@gnu.org>
12055
12056 * progmodes/executable.el
12057 (executable-make-buffer-file-executable-if-script-p):
12058 Handle file-modes returning nil.
12059
12060 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12061 message - not necessary, and causes problems. (Bug#9831)
12062
12063 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12064
12065 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12066
12067 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12068 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12069 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12070
12071 2011-11-12 Martin Rudalics <rudalics@gmx.at>
12072
12073 * window.el (window-resize, delete-window): Use window-splits
12074 variable instead of function.
12075 (window-state-get-1, window-state-put-2, window-state-put):
12076 Don't deal with windows' splits status.
12077
12078 2011-11-12 Glenn Morris <rgm@gnu.org>
12079
12080 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12081 (apropos-documentation): Doc fixes.
12082
12083 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
12084
12085 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12086 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12087
12088 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12089
12090 * electric.el (electric-indent-post-self-insert-function): Make it
12091 possible for a char to only indent in some circumstances.
12092 (electric-indent-mode): Simplify.
12093
12094 2011-11-11 Martin Rudalics <rudalics@gmx.at>
12095
12096 * window.el (windows-with-parameter): Remove unused function.
12097 (windows-at-side): Rename to window-at-side-list.
12098 (window-check, window-atom-check, window-atom-check-1)
12099 (window-side-check, window-size-ignore, window-size-fixed-1)
12100 (window-in-direction-2): Prefix with "window--".
12101 (window-tree-1): Rename to window--subtree, fix doc-string.
12102
12103 2011-11-11 Glenn Morris <rgm@gnu.org>
12104
12105 * subr.el (eval-after-load): If FILE is already loaded,
12106 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12107
12108 2011-11-10 Glenn Morris <rgm@gnu.org>
12109
12110 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12111 Call svn via vc-svn-command rather than vc-do-command.
12112 (vc-svn-command): Add --non-interactive. (Bug#9993)
12113 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12114
12115 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12116 Add toggle-read-only. (Bug#7292)
12117 * files.el (toggle-read-only): Mention that it should only
12118 be used interactively. (Bug#10006)
12119
12120 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12123 Adjust regexp for OCaml warnings.
12124
12125 * electric.el (electric-pair-post-self-insert-function): Let user
12126 turn it off buffer-locally (bug#9932).
12127
12128 * progmodes/python.el (python-beginning-of-statement):
12129 Rewrite (bug#2703).
12130
12131 * progmodes/compile.el: Better handle TABs (bug#9749).
12132 (compilation-internal-error-properties)
12133 (compilation-next-error-function): Obey the target buffer's
12134 compilation-error-screen-columns.
12135
12136 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
12137
12138 * progmodes/meta-mode.el: Remove obsolete comments.
12139 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12140 Fix typos in docstrings.
12141
12142 2011-11-09 Martin Rudalics <rudalics@gmx.at>
12143
12144 * window.el (window-size-fixed-p): Rewrite doc-string.
12145 (window-resizable-p): Rename to window--resizable-p. Update callers.
12146 (window--resizable): New function. Make all callers of
12147 window-resizable call window--resizable instead.
12148 (window-resizable): Rewrite in terms of window--resizable.
12149
12150 2011-11-08 Glenn Morris <rgm@gnu.org>
12151
12152 * progmodes/delphi.el (delphi-mode-syntax-table):
12153 Let define-derived-mode define a proper syntax table. (Bug#9994)
12154
12155 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12156
12157 * window.el: Stay away from defsubst.
12158 (window-list-no-nils): Remove.
12159 (window-state-get-1, window-state-get): Use backquote instead.
12160
12161 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12162
12163 * emacs-lisp/find-func.el (find-function-read):
12164 Fix incorrect use of default argument in `completing-read'.
12165
12166 2011-11-08 Martin Rudalics <rudalics@gmx.at>
12167
12168 * window.el (display-buffer-function, special-display-function):
12169 Mention display-buffer-record-window but do not mention
12170 help-setup parameter in doc-strings.
12171 (window-min-delta): Fix doc-string typo.
12172
12173 2011-11-08 Chong Yidong <cyd@gnu.org>
12174
12175 * window.el (window-total-height, window-total-width): Doc fix.
12176 (window-body-size): Move from C.
12177 (window-body-height, window-body-width): Move to C.
12178
12179 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12180
12181 * window.el: Make special-display like display-buffer-alist (bug#9532).
12182 (display-buffer--special-action): New function, morphed
12183 from display-buffer--special.
12184 (display-buffer): Use it to handle special-display-buffers at higher
12185 priority (just after display-buffer-alist).
12186 (display-buffer-fallback-action, display-buffer--other-frame-action)
12187 (pop-to-buffer-same-window): Remove display-buffer--special.
12188
12189 2011-11-07 Glenn Morris <rgm@gnu.org>
12190
12191 * calendar/cal-menu.el (cal-menu-set-date-title):
12192 Do nothing if not in a calendar. (Bug#9976)
12193
12194 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12195
12196 * files.el (find-file): Always use selected-window.
12197
12198 2011-11-07 Martin Rudalics <rudalics@gmx.at>
12199
12200 * window.el (window-combinations): Make WINDOW argument
12201 mandatory. Rewrite doc-string.
12202 (walk-window-subtree, window-atom-check, window-min-delta)
12203 (window-max-delta, window--resize-this-window)
12204 (window--resize-root-window-vertically, window-tree)
12205 (balance-windows, window-state-put): Rewrite doc-strings as to
12206 not mention the term "subwindow".
12207 (window--resize-subwindows-skip-p): Rename to
12208 window--resize-child-windows-skip-p.
12209 (window--resize-subwindows-normal): Rename to
12210 window--resize-child-windows-normal.
12211 (window--resize-subwindows): Rename to
12212 window--resize-child-windows.
12213 (window-or-subwindow-p): Rename to window--in-subtree-p.
12214
12215 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12216
12217 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12218 Ensure that mbox format messages end in two newlines (Bug#9974).
12219
12220 2011-11-06 Chong Yidong <cyd@gnu.org>
12221
12222 * window.el (window-combination-p): Function deleted; its
12223 side-effect is not used in any existing code.
12224 (window-combinations, window-combined-p): Call window-*-child
12225 directly.
12226
12227 2011-11-05 Chong Yidong <cyd@gnu.org>
12228
12229 * window.el (window-valid-p): Rename from window-any-p.
12230 (window-size-ignore, window-state-get): Callers changed.
12231 (window-normalize-window): Rename from window-normalize-any-window.
12232 New arg LIVE-ONLY, replacing window-normalize-live-window.
12233 (window-normalize-live-window): Delete.
12234 (window-combination-p, window-combined-p, window-combinations)
12235 (walk-window-subtree, window-atom-root, window-min-size)
12236 (window-sizable, window-sizable-p, window-size-fixed-p)
12237 (window-min-delta, window-max-delta, window-resizable)
12238 (window-resizable-p, window-full-height-p, window-full-width-p)
12239 (window-current-scroll-bars, window-point-1, set-window-point-1)
12240 (window-at-side-p, window-in-direction, window-resize)
12241 (adjust-window-trailing-edge, maximize-window, minimize-window)
12242 (window-deletable-p, delete-window, delete-other-windows)
12243 (record-window-buffer, unrecord-window-buffer)
12244 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12245 (quit-window, split-window, window-state-put)
12246 (set-window-text-height, fit-window-to-buffer)
12247 (shrink-window-if-larger-than-buffer): Callers changed.
12248
12249 2011-11-04 Eli Zaretskii <eliz@gnu.org>
12250
12251 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12252 rfc2047-decode-string.
12253 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12254 warnings.
12255
12256 * window.el (window-body-height, window-body-width): Mention in
12257 the doc string that the return values are in frame's canonical
12258 units. (Bug#9949)
12259
12260 2011-11-03 Alan Mackenzie <acm@muc.de>
12261
12262 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12263 change in cc-engine.el.
12264
12265 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12268
12269 2011-11-02 Martin Rudalics <rudalics@gmx.at>
12270
12271 * window.el (quit-window): Call unrecord-window-buffer after
12272 showing another buffer in the window. (Bug#9937)
12273 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12274
12275 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
12276
12277 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12278 Accept status with more than 9 shelves. (Bug#9935)
12279 Reported by Colin D Bennett <colin@gibibit.com>.
12280
12281 2011-11-01 Martin Rudalics <rudalics@gmx.at>
12282
12283 * help.el (with-help-window): Don't reference
12284 temp-buffer-show-specifiers in doc-string.
12285
12286 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12287
12288 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12289 menu-item.
12290
12291 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12292
12293 * whitespace.el: New version 13.2.2.
12294 (whitespace-newline-mode): Disable properly. Reported by Sarah
12295 <EmacsWiki>.
12296
12297 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
12298
12299 * net/newst-treeview.el: Remove "Time-stamp".
12300 (newsticker--group-manage-orphan-feeds): Do not call
12301 newsticker--treeview-tree-update.
12302 (newsticker-treeview-update, newsticker-treeview):
12303 Call newsticker--treeview-tree-update if necessary.
12304
12305 2011-10-30 Martin Rudalics <rudalics@gmx.at>
12306
12307 * window.el (window-iso-combination-p, window-iso-combined-p)
12308 (window-iso-combinations): Remove "iso-" infix.
12309 Suggested by Chong Yidong.
12310 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12311 (window-max-delta-1, window-resize, window--resize-siblings)
12312 (window--resize-this-window, adjust-window-trailing-edge)
12313 (split-window, balance-windows-1)
12314 (shrink-window-if-larger-than-buffer):
12315 * calendar/calendar.el (calendar-generate-window):
12316 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12317
12318 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12319
12320 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12321 in place (bug#9907).
12322 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12323 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12324 (eshell-structure-basic-command, eshell-rewrite-while-command)
12325 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12326 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12327 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12328 (eshell-do-pipelines-synchronously, eshell-eval-command):
12329 Use backquotes and prefer setq to set.
12330 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12331 (eshell-macrop): Use functionp.
12332 (eshell-do-eval): Handle multiple expressions in `while' body.
12333
12334 2011-10-30 Chong Yidong <cyd@gnu.org>
12335
12336 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12337 instead of set-mark (Bug#9810).
12338
12339 2011-10-30 Chong Yidong <cyd@gnu.org>
12340
12341 * window.el (split-window-below, split-window-right): Rename from
12342 split-window-above-each-other and split-window-side-by-side
12343 respectively. All callers changed.
12344 (split-window-sensibly, split-window-sensibly): Use them.
12345 (split-window-keep-point): Doc fix.
12346
12347 * isearch.el: Add isearch-scroll property to split-window-below
12348 and split-window-right.
12349
12350 * follow.el (follow-mode):
12351 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12352 * progmodes/ada-xref.el (ada-gdb-application):
12353 * emulation/vip.el (vip-buffer-in-two-windows):
12354 * image-dired.el (image-dired-dired-with-window-configuration):
12355 * dired-x.el (dired-do-find-marked-files):
12356 * dired.el (dired-pop-to-buffer):
12357 * bs.el (bs--show-with-configuration):
12358 * vc/emerge.el (emerge-setup-windows):
12359 * textmodes/two-column.el (2C-two-columns):
12360 * textmodes/reftex-toc.el (reftex-toc):
12361 * progmodes/gdb-mi.el (gdb-setup-windows):
12362 * progmodes/fortran.el (fortran-window-create):
12363 * net/newst-treeview.el (newsticker--treeview-window-init):
12364 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12365 * emulation/tpu-edt.el (tpu-gold-map):
12366 * emulation/crisp.el (crisp-mode-map):
12367 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12368
12369 2011-10-29 Chong Yidong <cyd@gnu.org>
12370
12371 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12372
12373 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12374
12375 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12376 forged Ispell output (Bug#7904).
12377
12378 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12379
12380 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12381
12382 * doc-view.el: Avoid ugly errors about not finding nil.
12383 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12384 (doc-view-dvipdf-program, doc-view-unoconv-program)
12385 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12386 Avoid nil or absolute file name as default value.
12387 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12388
12389 2011-10-28 Alan Mackenzie <acm@muc.de>
12390
12391 * progmodes/cc-defs.el (c-version): -> 5.32.2.
12392
12393 2011-10-28 Alan Mackenzie <acm@muc.de>
12394
12395 Amend the handling of c-beginning/end-of-defun in nested declaration
12396 scopes.
12397
12398 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12399 cc-langs.el. Change it to a defcustom.
12400
12401 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12402 cc-vars.el.
12403
12404 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12405 Prevent "class foo : bar" being spuriously recognized as a label.
12406
12407 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12408 Add parameter `inclusive' (to include enclosing braces in the region).
12409 (c-widen-to-enclosing-decl-scope): New function.
12410 (c-while-widening-to-decl-block): New macro.
12411 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12412 outward for defun boundaries, and correspondingly change symbol
12413 `respect-enclosure' to `go-outward'.
12414 (c-declaration-limits): Change algorithm to report only the "innermost"
12415 defun's boundaries.
12416
12417 2011-10-28 Deniz Dogan <deniz@dogan.se>
12418
12419 * net/rcirc.el (rcirc-mode): Use hard newlines.
12420
12421 2011-10-28 Alan Mackenzie <acm@muc.de>
12422
12423 Amend to indent and fontify macros "which include their own semicolon"
12424 correctly, using the "virtual semicolon" mechanism.
12425
12426 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12427
12428 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12429 Recode to scan one line at a time rather than having \n and \r
12430 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12431 (c-forward-label): Amend for virtual semicolons.
12432 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12433
12434 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12435 of the new C macros.
12436
12437 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12438 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12439 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12440 (c-opt-cpp-macro-define): Make into a full language variable.
12441 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12442 AWK Mode (including \n, \r) removed, no longer needed.
12443
12444 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12445 Invoke c-make-macro-with-semi-re.
12446
12447 * progmodes/cc-vars.el (c-macro-with-semi-re):
12448 (c-macro-names-with-semicolon): New variables.
12449 (c-make-macro-with-semi-re): New function.
12450
12451 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12452
12453 * vc/log-edit.el: Fill empty field rather than adding new one.
12454 (log-edit-add-field): New function.
12455 (log-edit-insert-changelog): Use it.
12456
12457 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12458
12459 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12460
12461 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12462
12463 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12464 (gdb--check-interpreter): New function.
12465 (gdb): Use it.
12466
12467 2011-10-27 Glenn Morris <rgm@gnu.org>
12468
12469 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12470 (least-positive-float, least-negative-float)
12471 (least-positive-normalized-float, least-negative-normalized-float)
12472 (float-epsilon, float-negative-epsilon):
12473 Remove unnecessary declarations.
12474
12475 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12476 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12477 (least-positive-float, least-negative-float)
12478 (least-positive-normalized-float, least-negative-normalized-float)
12479 (float-epsilon, float-negative-epsilon): Add doc-strings,
12480 based on those in cl.texi.
12481
12482 * files.el (set-visited-file-name): If the major-mode changed,
12483 reload the local variables. (Bug#9796)
12484
12485 2011-10-27 Chong Yidong <cyd@gnu.org>
12486
12487 * subr.el (change-major-mode-after-body-hook): New hook.
12488 (run-mode-hooks): Run it.
12489
12490 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12491 Use change-major-mode-before-body-hook.
12492
12493 * simple.el (fundamental-mode):
12494 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12495 change introducing fundamental-mode-hook.
12496
12497 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
12498
12499 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12500
12501 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
12502
12503 * ido.el (ido-file-name-all-completions-1): Do not require
12504 tramp.el explicitly. (Bug#7583)
12505
12506 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12507
12508 * progmodes/octave-mod.el:
12509 * progmodes/octave-inf.el: Update maintainer.
12510
12511 2011-10-26 Chong Yidong <cyd@gnu.org>
12512
12513 * subr.el (with-wrapper-hook): Rewrite doc.
12514
12515 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
12516
12517 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12518 filenames "/method:foo:". (Bug#9793)
12519
12520 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12521
12522 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12523 (bug#9865).
12524
12525 2011-10-24 Glenn Morris <rgm@gnu.org>
12526
12527 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12528
12529 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
12530
12531 * notifications.el: Add the requirement of a running D-Bus session
12532 bus to the Commentary.
12533
12534 2011-10-24 Juri Linkov <juri@jurta.org>
12535
12536 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12537 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12538 (Bug#9364)
12539
12540 2011-10-24 Juri Linkov <juri@jurta.org>
12541
12542 * info.el (Info-following-node-name-re): Add newline to the list
12543 of allowed characters for leading space. (Bug#9824)
12544
12545 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * progmodes/octave-inf.el (inferior-octave-mode-map):
12548 Fix C-c C-h binding.
12549 * progmodes/octave-mod.el (octave-help): Remove.
12550
12551 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
12552
12553 Sync with Tramp 2.2.3.
12554
12555 * net/tramp-cache.el (top): Pacify byte-compiler using
12556 `init-file-user' and `site-run-file'.
12557
12558 * net/trampver.el: Update release number.
12559
12560 2011-10-23 Chong Yidong <cyd@gnu.org>
12561
12562 * files.el (toggle-read-only): Remove obsolete comment about
12563 version control.
12564
12565 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12566 for toggle-read-only. Note that this hasn't called vc-next-action
12567 since 2008-05-02, though it wasn't documented at the time.
12568
12569 * vc/ediff-init.el (ediff-toggle-read-only-function):
12570 Use toggle-read-only.
12571
12572 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12573
12574 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12575 of c-parse-state.
12576
12577 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12578 correct faulty logical expression.
12579 (c-parse-state-state, c-record-parse-state-state):
12580 (c-replay-parse-state-state): New defvar/defuns.
12581 (c-debug-parse-state): Use new functions.
12582
12583 2011-10-22 Martin Rudalics <rudalics@gmx.at>
12584
12585 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12586 last fix. Use window-in-direction correctly.
12587
12588 2011-10-21 Chong Yidong <cyd@gnu.org>
12589
12590 * progmodes/idlwave.el (idlwave-mode):
12591 * progmodes/vera-mode.el (vera-mode): No need to set
12592 require-final-newline; that's done in prog-mode.
12593 Suggested by Stefan Monnier.
12594
12595 2011-10-21 Martin Rudalics <rudalics@gmx.at>
12596
12597 * mouse.el (mouse-drag-window-above)
12598 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12599 (mouse-drag-mode-line-1, mouse-drag-header-line)
12600 (mouse-drag-vertical-line-rightward-window): Remove.
12601 (mouse-drag-line): New function.
12602 (mouse-drag-mode-line, mouse-drag-header-line)
12603 (mouse-drag-vertical-line): Call mouse-drag-line.
12604 * window.el (window-at-side-p, windows-at-side): New functions.
12605
12606 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
12607
12608 * tar-mode.el (tar-grind-file-mode):
12609 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12610
12611 2011-10-21 Chong Yidong <cyd@gnu.org>
12612
12613 * progmodes/idlwave.el (idlwave-mode):
12614 * progmodes/vera-mode.el (vera-mode):
12615 Use mode-require-final-newline.
12616
12617 2011-10-20 Glenn Morris <rgm@gnu.org>
12618
12619 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
12620
12621 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12622
12623 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12624
12625 2011-10-20 Chong Yidong <cyd@gnu.org>
12626
12627 * emulation/cua-base.el (cua-mode):
12628 * mail/footnote.el (footnote-mode):
12629 * mail/mailabbrev.el (mail-abbrevs-mode):
12630 * net/xesam.el (xesam-minor-mode):
12631 * progmodes/bug-reference.el (bug-reference-mode):
12632 * progmodes/cap-words.el (capitalized-words-mode):
12633 * progmodes/compile.el (compilation-minor-mode)
12634 (compilation-shell-minor-mode):
12635 * progmodes/gud.el (gud-tooltip-mode):
12636 * progmodes/hideif.el (hide-ifdef-mode):
12637 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12638 * progmodes/subword.el (subword-mode):
12639 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12640 * progmodes/which-func.el (which-function-mode):
12641 * term/tvi970.el (tvi970-set-keypad-mode):
12642 * term/vt100.el (vt100-wide-mode):
12643 * textmodes/flyspell.el (flyspell-mode):
12644 * textmodes/ispell.el (ispell-minor-mode):
12645 * textmodes/nroff-mode.el (nroff-electric-mode):
12646 * textmodes/paragraphs.el (use-hard-newlines):
12647 * textmodes/refill.el (refill-mode):
12648 * textmodes/reftex.el (reftex-mode):
12649 * textmodes/rst.el (rst-minor-mode):
12650 * textmodes/sgml-mode.el (html-autoview-mode)
12651 (sgml-electric-tag-pair-mode):
12652 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12653 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12654 * emulation/crisp.el (crisp-mode):
12655 * emacs-lisp/eldoc.el (eldoc-mode):
12656 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12657 minor mode behavior.
12658
12659 2011-10-19 Juri Linkov <juri@jurta.org>
12660
12661 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12662 the list of hard-coded chars with escape-glyph face.
12663
12664 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12665
12666 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12667
12668 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
12669
12670 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12671 running process.
12672
12673 2011-10-19 Glenn Morris <rgm@gnu.org>
12674
12675 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12676 Ignore ignored files. (Bug#9726)
12677
12678 2011-10-19 Chong Yidong <cyd@gnu.org>
12679
12680 Doc fix for minor modes, stating that an omitted argument enables
12681 the mode unconditionally when called from Lisp.
12682
12683 * abbrev.el (abbrev-mode):
12684 * allout.el (allout-mode):
12685 * autoinsert.el (auto-insert-mode):
12686 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12687 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12688 (global-auto-revert-mode):
12689 * battery.el (display-battery-mode):
12690 * composite.el (global-auto-composition-mode)
12691 (auto-composition-mode):
12692 * delsel.el (delete-selection-mode):
12693 * desktop.el (desktop-save-mode):
12694 * dired-x.el (dired-omit-mode):
12695 * dirtrack.el (dirtrack-mode):
12696 * doc-view.el (doc-view-minor-mode):
12697 * double.el (double-mode):
12698 * electric.el (electric-indent-mode, electric-pair-mode):
12699 * emacs-lock.el (emacs-lock-mode):
12700 * epa-hook.el (auto-encryption-mode):
12701 * follow.el (follow-mode):
12702 * font-core.el (font-lock-mode):
12703 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12704 * help.el (temp-buffer-resize-mode):
12705 * hilit-chg.el (highlight-changes-mode)
12706 (highlight-changes-visible-mode):
12707 * hi-lock.el (hi-lock-mode):
12708 * hl-line.el (hl-line-mode, global-hl-line-mode):
12709 * icomplete.el (icomplete-mode):
12710 * ido.el (ido-everywhere):
12711 * image-file.el (auto-image-file-mode):
12712 * image-mode.el (image-minor-mode):
12713 * iswitchb.el (iswitchb-mode):
12714 * jka-cmpr-hook.el (auto-compression-mode):
12715 * linum.el (linum-mode):
12716 * longlines.el (longlines-mode):
12717 * master.el (master-mode):
12718 * mb-depth.el (minibuffer-depth-indicate-mode):
12719 * menu-bar.el (menu-bar-mode):
12720 * minibuf-eldef.el (minibuffer-electric-default-mode):
12721 * mouse-sel.el (mouse-sel-mode):
12722 * msb.el (msb-mode):
12723 * mwheel.el (mouse-wheel-mode):
12724 * outline.el (outline-minor-mode):
12725 * paren.el (show-paren-mode):
12726 * recentf.el (recentf-mode):
12727 * reveal.el (reveal-mode, global-reveal-mode):
12728 * rfn-eshadow.el (file-name-shadow-mode):
12729 * ruler-mode.el (ruler-mode):
12730 * savehist.el (savehist-mode):
12731 * scroll-all.el (scroll-all-mode):
12732 * scroll-bar.el (scroll-bar-mode):
12733 * server.el (server-mode):
12734 * shell.el (shell-dirtrack-mode):
12735 * simple.el (auto-fill-mode, transient-mark-mode)
12736 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12737 (line-number-mode, column-number-mode, size-indication-mode)
12738 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12739 * strokes.el (strokes-mode):
12740 * time.el (display-time-mode):
12741 * t-mouse.el (gpm-mouse-mode):
12742 * tool-bar.el (tool-bar-mode):
12743 * tooltip.el (tooltip-mode):
12744 * type-break.el (type-break-mode-line-message-mode)
12745 (type-break-query-mode):
12746 * view.el (view-mode):
12747 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12748 (global-whitespace-mode, global-whitespace-newline-mode):
12749 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12750
12751 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12752 Fix autogenerated docstring.
12753
12754 2011-10-19 Juri Linkov <juri@jurta.org>
12755
12756 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12757 by checking environment variables "DESKTOP_SESSION" and
12758 "XDG_CURRENT_DESKTOP". (Bug#9779)
12759
12760 2011-10-19 Juri Linkov <juri@jurta.org>
12761
12762 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12763 (browse-url-chromium-program, browse-url-chromium-arguments):
12764 New defcustoms.
12765 (browse-url-default-browser): Check for `browse-url-chromium' and
12766 call `browse-url-chromium-program'.
12767 (browse-url-chromium): New command. (Bug#9779)
12768
12769 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
12770
12771 * facemenu.el (list-colors-duplicates): On Windows, detect more
12772 duplicates by assuming that only colors matching "^System" are
12773 special "system colors". (Bug#9722)
12774
12775 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12778 to distinguish the author from the committer.
12779
12780 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
12781
12782 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12783
12784 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12785
12786 * international/mule.el (sgml-html-meta-auto-coding-function):
12787 Add support for detecting encoding in HTML5 specified only as
12788 <meta charset="UTF-8">. Implementation just makes http-equiv and
12789 content-type parts from HTML4 encoding string optional. (Bug#9716)
12790
12791 2011-10-18 Glenn Morris <rgm@gnu.org>
12792
12793 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12794
12795 2011-10-18 Chong Yidong <cyd@gnu.org>
12796
12797 * faces.el (cursor): Doc fix.
12798
12799 2011-10-17 Chong Yidong <cyd@gnu.org>
12800
12801 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12802
12803 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
12804
12805 * dirtrack.el (dirtrack): Support shell buffers with path
12806 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12807
12808 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12809
12810 * json.el: Bump version to 1.3 and note change in History.
12811 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12812
12813 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12814
12815 * comint.el (comint-insert-input, comint-send-input)
12816 (comint-get-old-input-default, comint-backward-matching-input)
12817 (comint-next-prompt): Use nil instead of `input' for field property of
12818 past user input (bug#114).
12819
12820 * minibuffer.el (completion--replace): Inherit surrounding properties
12821 (bug#114).
12822 (minibuffer-complete-and-exit): Use it.
12823
12824 * comint.el (comint--table-subvert): Quote the all-completions output
12825 (bug#9160).
12826
12827 2011-10-17 Martin Rudalics <rudalics@gmx.at>
12828
12829 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12830
12831 * menu-bar.el (menu-bar-file-menu): Add entry for making new
12832 window on right of selected. (Bug#9350) Reword other window
12833 entries and separate them from frame entries.
12834
12835 2011-10-15 Glenn Morris <rgm@gnu.org>
12836
12837 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12838 Doc fixes.
12839
12840 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
12841
12842 * net/network-stream.el (network-stream-open-starttls):
12843 Improve detection of failure due to lack of TLS support.
12844
12845 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12846 putting the input text in front and in bold.
12847
12848 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12849
12850 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12851
12852 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12853 empty buffer.
12854
12855 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12856 unread-command-events rather than pushing yet-another event.
12857
12858 2011-10-14 Eli Zaretskii <eliz@gnu.org>
12859
12860 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12861 the explanation of the possible choices. Make the options passed
12862 to completing-read shorter.
12863
12864 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12865
12866 * textmodes/flyspell.el (flyspell-large-region): Make sure
12867 extended character mode is used if defined (Bug#1339).
12868
12869 2011-10-13 Eli Zaretskii <eliz@gnu.org>
12870
12871 * simple.el (what-cursor-position): Fix the display of the
12872 character info for LRE, LRO, RLE, and RLO characters by appending
12873 an invisible PDF.
12874
12875 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12876
12877 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12878 even in case of error; add debug spec; simplify data flow.
12879 (with-timeout-handler): Remove.
12880
12881 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
12882
12883 Fix Bug#6019, Bug#9315.
12884
12885 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12886 complete `buffer-file-name', the local file name part could look
12887 remotely (for example on VMS).
12888
12889 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12890 `tramp-run-real-handler'.
12891 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12892 already quoted by '"'.
12893
12894 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12895 Let `file-name-handler-alist' be nil, the local file name part
12896 could look remotely (for example on VMS).
12897
12898 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12901 from here...
12902 (flyspell-post-command-hook): ...to here.
12903
12904 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12907 if not needed.
12908 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12909 using completion. Protect against "slow" callers.
12910 Remove the "message hack".
12911
12912 2011-10-11 Juri Linkov <juri@jurta.org>
12913
12914 * isearch.el (isearch-lazy-highlight-word): New variable.
12915 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12916 Use it. (Bug#9727)
12917
12918 2011-10-11 Glenn Morris <rgm@gnu.org>
12919
12920 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12921 like f90-previous-statement does.
12922
12923 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12924
12925 * eshell/eshell.el (eshell-command): History should be saved
12926 only in interactive use, to avoid error.
12927
12928 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 * minibuffer.el (completion-file-name-table): Fix last change,
12931 i.e. ignore normal errors but not the other ones.
12932
12933 2011-10-10 Martin Rudalics <rudalics@gmx.at>
12934
12935 * window.el (special-display-buffer-names)
12936 (special-display-regexps): Remove some remnants of earlier
12937 changes from doc-strings.
12938 (quit-windows-on): New function.
12939
12940 * vc/vc.el (vc-revert, vc-rollback):
12941 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12942 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
12943 (Bug#6183) (Bug#7074) (Bug#7447)
12944
12945 2011-10-09 Martin Rudalics <rudalics@gmx.at>
12946
12947 * window.el (frame-auto-hide-function): Add version tag.
12948 (Bug#9699)
12949
12950 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
12951
12952 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12953 condition.
12954
12955 2011-10-09 Leo Liu <sdl.web@gmail.com>
12956
12957 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12958 (Bug#9701)
12959
12960 2011-10-08 Glenn Morris <rgm@gnu.org>
12961
12962 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12963 before the first code statement zero indent. (Bug#9690)
12964
12965 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
12966
12967 * simple.el (count-words-region): Always count in the region.
12968 Report the number of lines and characters too.
12969 (count-words): New command, which counts in the buffer if the
12970 region is inactive, as count-words-region used to.
12971 (count-words--message): New function. Handle plurals.
12972 (count-lines-region): Make it an alias for count-words-region.
12973
12974 * bindings.el (esc-map): Replace count-lines-region with
12975 count-words-region.
12976
12977 2011-10-08 Martin Rudalics <rudalics@gmx.at>
12978
12979 * window.el (window--delete): Delete dedicated frame
12980 unconditionally when argument KILL is non-nil. (Bug#9699)
12981 (switch-to-buffer): Fix doc-string typo.
12982
12983 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12984
12985 * eshell/eshell.el (eshell-command): Avoid using hooks.
12986
12987 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
12988
12989 * bindings.el ([M-left],[M-right]): Bind to left-word and
12990 right-word respectively.
12991
12992 2011-10-07 Glenn Morris <rgm@gnu.org>
12993
12994 * cus-start.el (debug-on-quit): Fix custom type.
12995
12996 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12997
12998 * subr.el (define-key-after): Clarify that the function is not
12999 useful for non-menu keymaps.
13000
13001 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13002
13003 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13004
13005 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13006 in current minibuffer (Fix bug with recursive minibuffers).
13007
13008 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
13009
13010 * progmodes/gdb-mi.el (gdb): Doc fix.
13011
13012 2011-10-05 Martin Rudalics <rudalics@gmx.at>
13013
13014 * window.el (frame-auto-hide-function): New option replacing
13015 frame-auto-delete. Suggested by Stefan Monnier.
13016 (window--delete): Call frame-auto-hide-function instead of
13017 investigating frame-auto-delete.
13018 (window-point-1, set-window-point-1): New functions.
13019 (window-in-direction, record-window-buffer, window-state-get-1)
13020 (display-buffer-record-window): Use window-point-1 instead of
13021 window-point.
13022 (set-window-buffer-start-and-point): Use set-window-point-1.
13023
13024 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13025
13026 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13027
13028 2011-10-05 Glenn Morris <rgm@gnu.org>
13029
13030 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13031 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13032
13033 2011-10-05 Leo Liu <sdl.web@gmail.com>
13034
13035 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13036 works with buffer object.
13037
13038 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13039
13040 * mpc.el (mpc-tool-bar-map): Add labels.
13041
13042 2011-10-04 Glenn Morris <rgm@gnu.org>
13043
13044 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13045
13046 2011-10-04 Martin Rudalics <rudalics@gmx.at>
13047
13048 * window.el (window--delete): New function.
13049 (frame-auto-delete): Resuscitate option.
13050 (bury-buffer, replace-buffer-in-windows)
13051 (quit-window): Rewrite using window--delete.
13052 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13053 Pass display-buffer-mark-dedicated to window--display-buffer-2
13054 (Bug#9639).
13055
13056 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13059 returns a list (bug#9554). Add remote file name completion.
13060 * comint.el (comint--table-subvert): Curry and get quote&unquote
13061 functions as arguments.
13062 (comint--complete-file-name-data): Adjust call accordingly.
13063 * pcomplete.el (pcomplete--table-subvert): Remove.
13064 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13065
13066 * minibuffer.el (completion-table-case-fold): Use currying.
13067 (completion--styles-type, completion--cycling-threshold-type):
13068 New constants.
13069 (completion-styles, completion-category-overrides)
13070 (completion-cycle-threshold): Use them.
13071 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13072 completion-table-case-fold.
13073
13074 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
13075
13076 * minibuffer.el (completion-category-overrides): Fix type of styles
13077 and add more user friendly tags (bug#9660).
13078
13079 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13080
13081 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13082 (mule-input-method-string): New widget.
13083 (default-input-method, language-info-custom-alist): Use it.
13084
13085 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 * pcomplete.el: Require comint.
13088 (pcomplete--common-suffix): Remove.
13089 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13090 (pcomplete--table-subvert): Sync with comint--table-subvert.
13091 (pcomplete--entries): Use comint-completion-file-name-table.
13092 * comint.el (comint-unquote-filename): Simplify.
13093 (comint-completion-file-name-table): New function (bug#9616).
13094 (comint--complete-file-name-data): Use it.
13095
13096 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13097 (pcmpl-gnu-tar-buffer): Remove.
13098 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13099 around. Make sure pcomplete-suffix-list is only changed temporarily.
13100 Don't look inside the tar's file if it's too large.
13101
13102 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
13103
13104 * cus-edit.el (custom-mode-map):
13105 * epa.el (epa-key-list-mode-map):
13106 * man.el (Man-mode-map):
13107 * startup.el (splash-screen-keymap):
13108 * simple.el (special-mode-map): Use scroll-up-command and
13109 scroll-down-command.
13110
13111 * progmodes/idlw-help.el (idlwave-help-mode-map):
13112 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13113 * net/newst-plainview.el (newsticker-mode-map):
13114 * emulation/ws-mode.el (wordstar-mode-map):
13115 * emulation/vi.el (vi-com-map):
13116 * calc/calc-graph.el (calc-graph-show-dumb):
13117 * term/sun.el (terminal-init-sun):
13118 * term/ns-win.el (global-map):
13119 * progmodes/grep.el (grep-mode-map):
13120 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13121 * mail/rmail.el (rmail-mode-map):
13122 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13123
13124 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13125 custom-safe-themes as special.
13126
13127 2011-10-01 Julien Danjou <julien@danjou.info>
13128
13129 * notifications.el (notifications-notify): Fix docstring.
13130
13131 2011-10-01 Per Starbäck <per@starback.se>
13132
13133 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13134
13135 2011-09-30 Martin Rudalics <rudalics@gmx.at>
13136
13137 * startup.el (command-line-1): Fix last fix by inserting
13138 initial-scratch-message into *scratch* before displaying it.
13139 (Bug#9605) and (Bug#9636)
13140
13141 2011-09-29 Eli Zaretskii <eliz@gnu.org>
13142
13143 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13144 window is hscrolled, move by logical lines. (Bug#9607)
13145 (line-move-visual): Update the doc string to the above effect.
13146
13147 2011-09-29 Martin Rudalics <rudalics@gmx.at>
13148
13149 * window.el (display-buffer-record-window): When WINDOW is the
13150 selected window use `point' instead of `window-point'. (Bug#9626)
13151
13152 * startup.el (command-line-1): Use insert-before-markers when
13153 inserting initial-scratch-message. (Bug#9605)
13154
13155 * help.el (help-window): Remove variable.
13156
13157 2011-09-29 Glenn Morris <rgm@gnu.org>
13158
13159 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13160
13161 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
13162
13163 * descr-text.el (describe-char-categories): Accept category
13164 descriptions more than one line long.
13165
13166 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13167
13168 * simple.el (delete-trailing-whitespace): Fix last change.
13169
13170 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13171 Don't confuse "y => 3" as the beginning of a `y' operation.
13172
13173 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13174 object has more than 4 slots (bug#9613).
13175
13176 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
13177
13178 * subr.el (with-output-to-temp-buffer):
13179 * net/quickurl.el (quickurl, quickurl-browse-url):
13180 Fix typos in docstrings.
13181
13182 2011-09-27 Eli Zaretskii <eliz@gnu.org>
13183
13184 * minibuffer.el (completion-styles)
13185 (completion-category-overrides): Cross reference each other in doc
13186 strings.
13187
13188 2011-09-27 Glenn Morris <rgm@gnu.org>
13189
13190 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13191 to split-string. (Bug#9606)
13192
13193 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13194
13195 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13196 (bug#9615).
13197
13198 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
13199
13200 * emacs-lisp/package.el (list-packages): Fix echo area message.
13201
13202 2011-09-27 Leo Liu <sdl.web@gmail.com>
13203
13204 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13205
13206 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
13207
13208 * net/dbus.el (dbus-unregister-object): Don't release services for
13209 registered signals. (Bug#9581)
13210
13211 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13212
13213 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13214 function that picks between cfengine 2 and 3 support
13215 automatically. Update docs accordingly.
13216
13217 2011-09-22 Kenichi Handa <handa@m17n.org>
13218
13219 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13220 ZERO.
13221 (indian-itrans-v5-table-for-tamil): New variable.
13222 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13223
13224 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13225
13226 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13227 that's true if the current command involved collapsing of text.
13228 It's reset to false at the beginning of the next command.
13229 (allout-post-command-business): Move the cursor to the beginning
13230 of entry if the cursor is hidden and collapsing activity just
13231 happened.
13232
13233 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
13234
13235 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13236 tracking (Bug#9541).
13237
13238 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
13239
13240 * net/newst-reader.el (newsticker-html-renderer)
13241 (newsticker-show-news): Automatically load html rendering package
13242 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13243 because w3m-fill-column is let-bound" and the error "Symbol's value
13244 as variable is void: w3m-fill-column".
13245
13246 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
13247
13248 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13249 Release services only if they are defined. (Bug#9581)
13250
13251 2011-09-23 Richard Stallman <rms@gnu.org>
13252
13253 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13254 distinguish start of paragraph from start of its text.
13255
13256 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13257
13258 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13259 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13260 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13261
13262 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13263
13264 * international/mule-diag.el (mule-diag): Insert a newline after
13265 each fontset description.
13266
13267 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13268
13269 * simple.el (delete-trailing-whitespace):
13270 Document last change; simplify.
13271
13272 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13273
13274 * simple.el (delete-trailing-whitespace): Also delete
13275 extra newlines at the end of the buffer.
13276
13277 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13278 (picture-newline): Use forward-line so as to ignore fields.
13279
13280 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13281
13282 * subr.el (with-wrapper-hook): Fix edebug spec.
13283
13284 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13285
13286 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13287 (bug#4538).
13288
13289 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
13290
13291 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13292 Fix nasty bug using wrong cached values.
13293
13294 2011-09-23 Alan Mackenzie <acm@muc.de>
13295
13296 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13297
13298 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
13299
13300 * window.el (pop-to-buffer): Ensure right window is selected if we
13301 chose another frame.
13302
13303 2011-09-22 Eli Zaretskii <eliz@gnu.org>
13304
13305 * simple.el (what-cursor-position): Use get-char-property-change
13306 and next-single-char-property-change, to be able to show display
13307 properties that come from overlays as well as text properties.
13308
13309 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
13310
13311 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13312
13313 * cmuscheme.el (run-scheme, switch-to-scheme):
13314 * cus-edit.el (customize-group, custom-buffer-create)
13315 (customize-browse):
13316 * info.el (info):
13317 * shell.el (shell):
13318 * mail/sendmail.el (mail):
13319 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13320
13321 2011-09-22 Richard Stallman <rms@gnu.org>
13322
13323 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13324 move back only to line beg, don't move back over blank lines.
13325
13326 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
13327
13328 * files.el (copy-directory): Set directory attributes only in case
13329 they could be retrieved from the source directory. (Bug#9565)
13330
13331 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13332
13333 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13334 (hs-find-block-beginning, hs-hide-level-recursive):
13335 Ignore strings as well as comments. (Bug#9502)
13336
13337 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13338
13339 * progmodes/sql.el (sql-comint-postgres):
13340 Convert port number to a string. (Bug#9566)
13341
13342 2011-09-22 Martin Rudalics <rudalics@gmx.at>
13343
13344 * window.el (quit-window): Undedicate window when switching to
13345 previous buffer. Reported by Thierry Volpiatto
13346 <thierry.volpiatto@gmail.com>.
13347 (special-display-popup-frame): When popping up a new frame reset
13348 its previous buffers to nil. Simplify code.
13349
13350 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
13351
13352 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13353 and process filter, as done also in `shell-command'.
13354
13355 2011-09-21 Martin Rudalics <rudalics@gmx.at>
13356
13357 * window.el (set-window-buffer-start-and-point):
13358 Call set-window-start with NOFORCE argument t.
13359 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13360 (quit-window): Reword doc-string. Handle new format of
13361 quit-restore parameter. Don't delete window if it has a
13362 previous buffer we can show instead of the present one.
13363 (display-buffer-record-window): Rewrite using a new format for
13364 the quit-restore window parameter
13365 (special-display-popup-frame, display-buffer-same-window)
13366 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13367 (display-buffer-pop-up-window, display-buffer-use-some-window):
13368 Adapt symbol passed to display-buffer-record-window.
13369 * help.el (help-window-setup): Handle new format of quit-restore
13370 parameter.
13371
13372 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * faces.el (face-list): Fix docstring (bug#9564).
13375
13376 * window.el (display-buffer--action-function-custom-type):
13377 Don't include internal functions in the Custom interface.
13378
13379 2011-09-20 Juri Linkov <juri@jurta.org>
13380
13381 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13382 (Info-forward-node, Info-backward-node, Info-next-preorder)
13383 (Info-last-preorder): Use it. (Bug#9528)
13384
13385 2011-09-20 Juri Linkov <juri@jurta.org>
13386
13387 * info.el (Info-last-preorder): Visit last menu item only when
13388 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13389
13390 2011-09-20 Julien Danjou <julien@danjou.info>
13391
13392 * password-cache.el (password-cache-remove): Remove entries even if the
13393 value is nil, so that password with a nil value (negative caching) is
13394 possible to invalidate.
13395
13396 2011-09-20 Lawrence Mitchell <wence@gmx.li>
13397
13398 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13399 all whitespace around breakpoint. (Bug#9553)
13400 (f90-find-breakpoint): Only break at whitespace inside a comment.
13401
13402 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13403
13404 * minibuffer.el (completion-file-name-table): Keep track of errors.
13405 (completion-table-with-predicate): Handle the case where pred1 is nil.
13406 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13407
13408 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13409
13410 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13411 (debugger-return-value): Signal an error if the debugging context does
13412 not await any return value.
13413
13414 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13415 * image-mode.el (image-toggle-display-text)
13416 (image-toggle-display-image): Stay away from evil `intangible'.
13417
13418 2011-09-19 Leo Liu <sdl.web@gmail.com>
13419
13420 * replace.el (occur-revert-arguments): Make it permanent-local.
13421 (occur-mode): Don't call font-lock-defontify.
13422
13423 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
13424
13425 * net/ldap.el (ldap-search-internal): Don't push empty search
13426 result (Bug#9508).
13427
13428 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13429
13430 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13431
13432 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
13433
13434 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13435 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13436
13437 2011-09-18 Juri Linkov <juri@jurta.org>
13438
13439 * buff-menu.el (Buffer-menu-mode-map):
13440 * dired.el (dired-mode-map):
13441 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13442 (lisp-interaction-mode-map):
13443 * emacs-lisp/package.el (package-menu-mode-map):
13444 * epa.el (epa-key-list-mode-map):
13445 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13446 (menu-bar-options-menu):
13447 * outline.el (outline-mode-menu-bar-map):
13448 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13449 * vc/vc-dir.el (vc-dir-menu-map):
13450 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13451 Capitalize non-function content words in menu item strings.
13452
13453 * dired.el (dired-mode-map): Add menu item for
13454 `image-dired-dired-toggle-marked-thumbs'.
13455
13456 2011-09-18 Juri Linkov <juri@jurta.org>
13457
13458 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13459 to `isearch-case-fold-search' and restore its original value
13460 after the `isearch-mode' call.
13461
13462 2011-09-18 Juri Linkov <juri@jurta.org>
13463
13464 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13465 because `zgrep' returns 1 for successful matches (bug#9226).
13466
13467 2011-09-18 Juri Linkov <juri@jurta.org>
13468
13469 * info.el (Info-extract-menu-node-name): Check the second match
13470 for empty string (second test-case of bug#9528).
13471 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13472 intermediate nodes to the history (first test-case of bug#9528).
13473
13474 2011-09-18 Juri Linkov <juri@jurta.org>
13475
13476 * info.el (Info-mode-syntax-table): New variable.
13477 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13478
13479 2011-09-18 Juri Linkov <juri@jurta.org>
13480
13481 * info.el (Info-file-supports-index-cookies):
13482 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13483 outputs one more line for long file names (bug#4142).
13484
13485 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13486
13487 * newcomment.el (comment-normalize-vars): If prompting for
13488 comment-start, set comment-start-skip too (Bug#8424).
13489
13490 2011-09-18 Johan Bockgård <bojohan@gnu.org>
13491
13492 * icomplete.el: Fix previous fix of Bug#5849.
13493 (icomplete-mode): Don't set completion-show-inline-help.
13494 (icomplete-minibuffer-setup): Set completion-show-inline-help
13495 locally during icompletion.
13496
13497 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
13498
13499 * woman.el (woman2-process-escapes): Don't delete unrecognized
13500 escapes (Bug#7843).
13501
13502 * files.el (inhibit-first-line-modes-regexps): Add image files.
13503 (hack-local-variables-prop-line): Return nil for malformed
13504 prop-lines (Bug#9044).
13505
13506 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
13507
13508 * net/tramp.el (top): Don't require 'shell.
13509 (tramp-methods): Fix docstring.
13510 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13511 Return complete remote file name. Handle "smb" case.
13512 Use `tramp-tmpdir', if defined for the respective method.
13513 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13514
13515 * net/tramp-compat.el (top): Require 'shell.
13516
13517 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13518 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13519 `tramp-current-host'.
13520 (tramp-get-remote-tmpdir): Remove.
13521
13522 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13523 `tramp-tmpdir' entries.
13524 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13525 (tramp-smb-handle-file-attributes): Ignore errors.
13526 (tramp-smb-wait-for-output): Check also for process end.
13527
13528 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13529
13530 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13531 when sending QUIT (bug#9312).
13532
13533 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
13534
13535 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13536 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13537 occur-mode-display-occurrence.
13538 (occur-edit-mode): Add usage message.
13539 (occur-cease-edit): New command.
13540 (occur-after-change-function): Use text properties to find the
13541 position of the prefix text.
13542 (occur-engine): Set stickiness of prefix text properties.
13543
13544 2011-09-17 Glenn Morris <rgm@gnu.org>
13545
13546 * progmodes/etags.el (complete-tag):
13547 Fix call to completion-in-region. (Bug#9526)
13548
13549 2011-09-17 Juri Linkov <juri@jurta.org>
13550
13551 * textmodes/ispell.el (ispell-word): Add to the error message
13552 the word, ispell program name and current dictionary (bug#9121).
13553 (ispell-tex-arg-end): Capitalize "error" in the error message.
13554
13555 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13556
13557 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13558 check. (Bug#4251)
13559
13560 2011-09-17 Juri Linkov <juri@jurta.org>
13561
13562 * window.el (window-safe-min-height, window-safe-min-width):
13563 Fix typos (followup to bug#9522).
13564
13565 2011-09-17 Sven Joachim <svenjoac@gmx.de>
13566
13567 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13568
13569 2011-09-16 Eli Zaretskii <eliz@gnu.org>
13570
13571 * simple.el (line-move): If goal-column is set, move by logical
13572 lines, not by display lines. (Bug#971)
13573 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13574 to reflect the above change.
13575
13576 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13577
13578 * image.el (imagemagick-register-types): Use regexp-opt.
13579
13580 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13581
13582 * window.el (display-buffer-base-action): Rename from
13583 display-buffer-default-action. Make default value empty.
13584 (display-buffer-overriding-action): Convert to defvar.
13585 (display-buffer-fallback-action): New var.
13586
13587 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
13588
13589 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13590 declaration.
13591 (package--add-to-archive-contents): If there is a duplicate entry
13592 with an older version, remove it.
13593 (package-menu-mark-delete, package-menu-mark-install)
13594 (package-menu-mark-unmark): Make unused args optional.
13595 (package-menu-mark-obsolete-for-deletion):
13596 Use package-menu-get-status instead of a regexp search.
13597 (package-menu-get-status): Use tabulated-list-entry.
13598 (package-menu-mark-upgrades): New command.
13599 (package-menu-mode-map): Bind it to U. Add it to menu bar.
13600 (package-menu-execute): Do installation before deletion.
13601 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13602 instead of checking major-mode.
13603 (package-menu--find-upgrades): New function.
13604
13605 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13606
13607 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13608 passwords in the log buffer.
13609 (smtpmail-process-filter): Update the process marker so that the
13610 "broken by peer" status message is inserted in the right place.
13611
13612 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13613
13614 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13615 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13616 bibtex-completion-at-point-function.
13617 (bibtex-completion-at-point-function): Use them.
13618
13619 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13620
13621 * mpc.el (mpc-constraints-tag-lookup): New function.
13622 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13623 also to browser "album|playlist".
13624
13625 2011-09-14 Juri Linkov <juri@jurta.org>
13626
13627 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13628 (isearch-edit-string): Use length of `isearch-string' when
13629 `isearch-fail-pos' returns nil.
13630 (isearch-message): Remove duplicate code and call
13631 `isearch-fail-pos' with arg `t'.
13632
13633 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
13634
13635 * replace.el (occur-mode-goto-occurrence): Don't force using other
13636 window (Bug#9499).
13637
13638 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13639
13640 2011-09-14 Martin Rudalics <rudalics@gmx.at>
13641
13642 * window.el (display-buffer-window): Remove.
13643 (display-buffer-record-window): Use help-setup window parameter
13644 instead of variable display-buffer-window.
13645 (display-buffer-function, special-display-buffer-names)
13646 (special-display-function): Mention help-setup parameter instead
13647 of display-buffer-window in doc-string.
13648 * help.el (help-window-setup): New argument help-window.
13649 Use help-window-setup parameter instead of display-buffer-window.
13650 Reword some messages.
13651 (with-help-window): Pass window used for displaying the buffer
13652 to help-window-setup. Don't set display-buffer-window.
13653
13654 2011-09-13 Glenn Morris <rgm@gnu.org>
13655
13656 * emacs-lisp/debug.el (debugger-make-xrefs):
13657 Preserve point. (Bug#9462)
13658
13659 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13660
13661 * window.el (window-deletable-p): Use next-frame.
13662
13663 2011-09-13 Martin Rudalics <rudalics@gmx.at>
13664
13665 * window.el (window-auto-delete): Remove.
13666 (window-deletable-p): Remove argument FORCE. Don't deal with
13667 dedication and previous buffers.
13668 (switch-to-prev-buffer): Don't delete window.
13669 (delete-windows-on): Delete a window's frame if and only if the
13670 window is dedicated.
13671 (replace-buffer-in-windows): Delete buffer's window or frame if
13672 and only if window is dedicated.
13673 (quit-window): Handle quit-restore as before last change.
13674 (bury-buffer): Delete window only if window-deletable-p returns t.
13675
13676 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
13677
13678 * window.el (window-deletable-p): Never delete the last frame on a
13679 given terminal.
13680
13681 2011-09-13 Glenn Morris <rgm@gnu.org>
13682
13683 * help.el (describe-key-briefly): Copy previous standard-output change.
13684
13685 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
13686
13687 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13688
13689 2011-09-13 Glenn Morris <rgm@gnu.org>
13690
13691 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13692 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13693
13694 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
13695
13696 * dired-aux.el (dired-mark-read-string): Don't return default
13697 value on empty input (Bug#9361).
13698 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13699 Omit initial minibuffer contents.
13700 (dired-do-chmod): Signal an error on empty input.
13701 (dired-mark-read-string): Don't return default on empty input.
13702
13703 * files.el (file-modes-symbolic-to-number): Doc fix.
13704
13705 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13706
13707 * international/mule-cmds.el (ucs-completions): Remove.
13708 (read-char-by-name): Use complete-with-action instead; add metadata.
13709
13710 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13711
13712 * window.el (display-buffer--action-function-custom-type)
13713 (display-buffer--action-custom-type): New vars.
13714 (display-buffer-alist, display-buffer-default-action)
13715 (display-buffer-overriding-action): Add defcustom types.
13716
13717 * frame.el (delete-other-frames): Doc fix (Bug#276).
13718
13719 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13720
13721 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13722
13723 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
13724
13725 Change modes that used same-window-* vars to use switch-to-buffer.
13726
13727 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13728 Use switch-to-buffer.
13729
13730 * cus-edit.el (customize-group, custom-buffer-create)
13731 (customize-browse, custom-buffer-create-other-window):
13732 Use switch-to-buffer or switch-to-buffer-other-window.
13733
13734 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13735 (Info-prev, Info-up, Info-speedbar-goto-node)
13736 (info-display-manual): Use switch-to-buffer.
13737 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13738
13739 * mail/sendmail.el (mail): Use switch-to-buffer.
13740 (mail-recover): Use switch-to-buffer-other-window.
13741
13742 * cmuscheme.el (run-scheme, switch-to-scheme):
13743 * ielm.el (ielm):
13744 * shell.el (shell):
13745 * net/rlogin.el (rlogin):
13746 * net/telnet.el (telnet, rsh):
13747 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13748
13749 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13750
13751 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13752
13753 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13754
13755 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13756 so don't mention it (bug#9301).
13757 (dired-sort-toggle-or-edit): Clarify string further.
13758
13759 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13760 match `x', `w32' and `ns', like the manual says (bug#9029).
13761
13762 * subr.el (eval-after-load): Doc string clarification (bug#9125).
13763 (process-kill-buffer-query-function): Mention the buffer name in
13764 the query.
13765
13766 * image-mode.el (image-next-line): The line parameter is mandatory
13767 (bug#9258).
13768
13769 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13770 which can be useful (bug#9301).
13771
13772 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13773
13774 * subr.el (match-string): Mention that the current buffer should
13775 be the same as the search was done in (bug#9282).
13776
13777 * facemenu.el: Disable the remove-* commands if the mark isn't
13778 active (bug#9162).
13779
13780 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13781
13782 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13783 of display-buffer.
13784 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13785
13786 * replace.el (occur-mode-goto-occurrence)
13787 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13788 and display-buffer.
13789
13790 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13791 display-buffer.
13792
13793 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13794 special-display and same-window variables.
13795 (mail-other-window): Use switch-to-buffer-other-window.
13796 (mail-other-frame): USe switch-to-buffer-other-frame.
13797
13798 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13799 Use display-buffer-other-frame.
13800 (gdb-display-gdb-buffer): Use pop-to-buffer.
13801
13802 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13803
13804 * progmodes/python.el: Don't set same-window-buffer-names.
13805
13806 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13807
13808 * window.el (display-buffer-alist): Add *Python*.
13809
13810 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
13811
13812 * window.el (display-buffer-alist): Add entry for buffers
13813 previously handled same-window-*.
13814 (display-buffer-alist, display-buffer-default-action)
13815 (display-buffer-overriding-action): Mark as risky.
13816 (display-buffer-alist): Document action function changes.
13817 (display-buffer--same-window-action)
13818 (display-buffer--other-frame-action): New variables.
13819 (switch-to-buffer, display-buffer-other-frame): Use them.
13820 (display-buffer): Rename reuse-frame entry to reusable-frames.
13821 (display-buffer-reuse-selected-window): Function deleted.
13822 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13823 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13824 (display-buffer-special): New function.
13825 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13826 display-buffer-reuse-or-pop-window. Split off special-display
13827 part into display-buffer-special.
13828 (display-buffer-use-some-window): Don't perform any special
13829 pop-up-frames handling.
13830 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13831 (display-buffer--maybe-same-window): Rename from
13832 display-buffer-maybe-same-window.
13833
13834 * info.el: Don't set same-window-regexps.
13835 (info-setup): New function.
13836 (info-other-window, info): Call it.
13837
13838 * cus-edit.el: Don't set same-window-regexps.
13839 (customize-group): New argument.
13840 (customize-group-other-window): Use it.
13841 (customize-face, customize-face-other-window): Likewise.
13842 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13843
13844 * net/rlogin.el:
13845 * net/telnet.el:
13846 * progmodes/gud.el: Don't set same-window-regexps.
13847
13848 * cmuscheme.el:
13849 * ielm.el:
13850 * shell.el:
13851 * mail/sendmail.el:
13852 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13853
13854 2011-09-10 Juri Linkov <juri@jurta.org>
13855
13856 * isearch.el (isearch-edit-string): Remove obsolete mention of
13857 `C-w' (`isearch-yank-word-or-char') from docstring.
13858 (isearch-query-replace): Fix typo in docstring (bug#9466).
13859
13860 2011-09-10 Juri Linkov <juri@jurta.org>
13861
13862 * paren.el (show-paren-function): Don't show escaped parens.
13863 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13864
13865 2011-09-10 Eli Zaretskii <eliz@gnu.org>
13866
13867 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13868 (mm-default-file-encoding): Remove autoload forms, they are
13869 replaced with autoload cookies in mml.el and mm-encode.el.
13870 (mail-add-attachment): New command.
13871 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13872 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13873 the doc string.
13874 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13875
13876 2011-09-10 Reuben Thomas <rrt@sc3d.org>
13877
13878 * simple.el (count-words-region): Use buffer if there's no region
13879 (bug#9429).
13880
13881 2011-09-09 Juri Linkov <juri@jurta.org>
13882
13883 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13884 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13885 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13886
13887 2011-09-09 Alan Mackenzie <acm@muc.de>
13888
13889 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13890 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13891
13892 2011-09-09 Eli Zaretskii <eliz@gnu.org>
13893
13894 Fix for Savannah bug#9392.
13895 * simple.el (mail-encode-mml): New defvar.
13896
13897 * mail/rmail.el (mail-encode-mml): Add a defvar.
13898 (rmail-enable-mime-composing): Default to t.
13899 (rmail-forward): Use MIME method of forwarding only if both
13900 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13901 Set mail-encode-mml non-nil if the MIME method was used.
13902
13903 * mail/sendmail.el (mml-to-mime): Add autoload form.
13904 (mail-encode-mml): Add a defvar.
13905 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13906 to nil.
13907 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13908 message through mml-to-mime, and reset mail-encode-mml to nil.
13909
13910 2011-09-09 Glenn Morris <rgm@gnu.org>
13911
13912 * woman.el (woman-if-body): When processing an .el block,
13913 do not delete the next .el block as well. (Bug#9447)
13914 (woman-special-characters): Add oq, cq, and hy characters.
13915
13916 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13917
13918 * window.el (window-deletable-p): Make sure window is live before
13919 invoking window-prev-buffers.
13920
13921 2011-09-08 Leo Liu <sdl.web@gmail.com>
13922
13923 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13924
13925 2011-09-08 Juri Linkov <juri@jurta.org>
13926
13927 * progmodes/compile.el (compilation-environment): Make it
13928 a defcustom (bug#8340).
13929
13930 2011-09-08 Martin Rudalics <rudalics@gmx.at>
13931
13932 * window.el (frame-auto-delete): Rename to window-auto-delete.
13933 Make it control auto-deletion of windows and/or frames.
13934 (window-deletable-p): New argument FORCE. Rewrite conditions
13935 for deleting window/frame. (Bug#9419)
13936 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13937 Rewrite handling of case when window/frame can be deleted.
13938 (delete-windows-on): Call window-deletable-p with new FORCE
13939 argument t. (Bug#9456)
13940
13941 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
13942
13943 * help-mode.el (help-mode): Restore autoload.
13944
13945 2011-09-07 Juri Linkov <juri@jurta.org>
13946
13947 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13948 `compilation-environment'. Set buffer-local
13949 `compilation-environment' to `thisenv' later after (funcall mode).
13950 (Bug#8340)
13951
13952 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13953 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13954 instead of replacing its value. (Bug#8340)
13955
13956 2011-09-07 Juri Linkov <juri@jurta.org>
13957
13958 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13959 based on text properties put by `grep-filter' instead of matching
13960 escape sequences.
13961 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13962 to the value of `grep-error-screen-columns' (bug#9438).
13963
13964 2011-09-07 Juri Linkov <juri@jurta.org>
13965
13966 * simple.el (next-error-highlight, next-error-highlight-no-select):
13967 Doc fix (bug#9432).
13968
13969 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13970
13971 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13972 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13973
13974 2011-09-07 Leo Liu <sdl.web@gmail.com>
13975
13976 * net/rcirc.el (rcirc-mode): Conditionally initialize
13977 rcirc-input-ring.
13978
13979 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13980
13981 * emacs-lisp/find-func.el (find-function-C-source): Only set
13982 find-function-C-source-directory after checking that we found a source
13983 file there (bug#9440).
13984
13985 2011-09-06 Alan Mackenzie <acm@muc.de>
13986
13987 * isearch.el (isearch-other-meta-char): Wherever a key list is
13988 unread, "unread" the prefix arg, too. This fixes bug #8901.
13989
13990 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13991
13992 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13993
13994 2011-09-05 Juri Linkov <juri@jurta.org>
13995
13996 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13997
13998 2011-09-05 Juri Linkov <juri@jurta.org>
13999
14000 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14001 keeping point where processing of grep matches begins, and
14002 continue to delete remaining escape sequences from the same point.
14003 (grep-filter): Make leading zero optional in "0?1;31m" because
14004 git-grep emits "\033[1;31m" escape sequences unlike expected
14005 "\033[01;31m" as GNU Grep does (bug#9408).
14006 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14007
14008 2011-09-05 Juri Linkov <juri@jurta.org>
14009
14010 * subr.el (y-or-n-p): Capitalize "yes".
14011
14012 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
14013
14014 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14015 `tramp-cache-unload-hook' where appropriate.
14016 (tramp-methods): Rename `tramp-remote-sh' to
14017 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14018 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14019
14020 * net/tramp-sh.el (top): Don't require 'shell.
14021 (tramp-methods): Add `tramp-remote-shell' and
14022 `tramp-remote-shell-args' entries.
14023 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14024 (tramp-sh-handle-shell-command): Remove.
14025 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14026 Use `tramp-remote-shell'.
14027
14028 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
14029
14030 * mail/sendmail.el (sendmail-query-once-function): Delete.
14031 (sendmail-query-once): Save directly to send-mail-function.
14032 Update message-send-mail-function too.
14033
14034 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14035
14036 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14037
14038 * progmodes/python.el (python-mode-map): Use correct function to
14039 start python interpreter from menu-bar (as reported by Geert
14040 Kloosterman).
14041 (inferior-python-mode-map): Fix typo.
14042 (python-shell-map): Remove.
14043
14044 2011-09-03 Deniz Dogan <deniz@dogan.se>
14045
14046 * net/rcirc.el (rcirc-print): Simplify code for
14047 rcirc-scroll-show-maximum-output. There is no need to walk
14048 through all windows to find the right one.
14049
14050 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14051
14052 * help.el (help-return-method): Doc fix.
14053
14054 2011-09-03 Martin Rudalics <rudalics@gmx.at>
14055
14056 * window.el (window-deletable-p): Don't return a non-nil value
14057 when there's a buffer that was shown in the window before.
14058 (Bug#9419)
14059 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14060 Set window's previous buffers to nil.
14061
14062 2011-09-03 Eli Zaretskii <eliz@gnu.org>
14063
14064 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14065 newline before and after the tag line, so it doesn't interfere
14066 with determining the paragraph direction of bidirectional text.
14067
14068 2011-09-03 Leo Liu <sdl.web@gmail.com>
14069
14070 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14071
14072 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14073
14074 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14075 (pop-to-buffer): Change interactive spec. Pass second argument
14076 directly to display-buffer.
14077 (display-buffer): Fix interactive spec. Use functionp to
14078 distinguish between a function and a list of functions.
14079
14080 * abbrev.el (edit-abbrevs):
14081 * arc-mode.el (archive-extract):
14082 * autoinsert.el (auto-insert):
14083 * bookmark.el (bookmark-bmenu-list):
14084 * files.el (find-file):
14085 * view.el (view-buffer):
14086 * progmodes/compile.el (compilation-goto-locus):
14087 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14088
14089 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
14090
14091 * window.el (display-buffer-alist): Doc fix.
14092 (display-buffer): Add docstring. Don't treat
14093 display-buffer-default specially.
14094 (display-buffer-reuse-selected-window)
14095 (display-buffer-same-window, display-buffer-maybe-same-window)
14096 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14097 (display-buffer-pop-up-window)
14098 (display-buffer-reuse-or-pop-window)
14099 (display-buffer-use-some-window): New functions.
14100 (display-buffer-default-action): Use them.
14101 (display-buffer-default): Delete.
14102 (pop-to-buffer-1): Fix choice of actions.
14103
14104 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14105
14106 * minibuffer.el (completion--insert-strings): Don't get confused by
14107 completion entries that end with an LF char.
14108
14109 2011-09-01 Eli Zaretskii <eliz@gnu.org>
14110
14111 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14112
14113 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
14114
14115 * window.el (display-buffer): Restore interactive spec.
14116 (display-buffer-same-window, display-buffer-other-window):
14117 New functions.
14118 (pop-to-buffer-1): New function. Use the above.
14119 (pop-to-buffer, pop-to-buffer-same-window): Use it.
14120 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14121
14122 * view.el (view-buffer-other-window, view-buffer-other-frame):
14123 Just use pop-to-buffer.
14124
14125 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14126
14127 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14128
14129 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14130
14131 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14132
14133 2011-08-31 Richard Stallman <rms@gnu.org>
14134
14135 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14136 of the separation of rmail-view-buffer from rmail-buffer.
14137 If you say no to "replace original", the decrypt is in the
14138 view buffer. If you say yes, the decrypt goes into the
14139 rmail buffer also.
14140
14141 2011-08-31 Martin Rudalics <rudalics@gmx.at>
14142
14143 * window.el (display-buffer-window): Rewrite doc-string.
14144 (display-buffer-record-window): New function.
14145 (display-buffer-macro-specifiers)
14146 (display-buffer-even-window-sizes, display-buffer-set-height)
14147 (display-buffer-set-width, display-buffer-in-window)
14148 (display-buffer-reuse-window, display-buffer-split-specifiers)
14149 (display-buffer-side-specifiers, display-buffer-split-window-1)
14150 (display-buffer-split-window, display-buffer-split-atom-window)
14151 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14152 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14153 (display-buffer-other-window-means-other-frame)
14154 (display-buffer-normalize-special)
14155 (display-buffer-normalize-default)
14156 (display-buffer-normalize-argument)
14157 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14158 (display-buffer-normalize-specifiers, display-buffer-frame)
14159 (display-buffer-same-window, display-buffer-same-frame)
14160 (display-buffer-other-window)
14161 (display-buffer-same-frame-other-window)
14162 (display-buffer-other-frame, pop-to-buffer-same-window)
14163 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14164 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14165 (switch-to-buffer-same-frame)
14166 (switch-to-buffer-other-window-same-frame)
14167 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14168 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14169 (display-buffer-alist-set): Remove.
14170 (display-buffer-function, special-display-buffer-names)
14171 (special-display-regexps, special-display-function):
14172 In doc-string refer to display-buffer-window and quit-restore
14173 parameter.
14174 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14175 (special-display-frame-alist, special-display-popup-frame)
14176 (same-window-buffer-names, same-window-regexps, same-window-p)
14177 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14178 (split-window-preferred-function, split-height-threshold)
14179 (split-width-threshold, window-splittable-p)
14180 (split-window-sensibly, window--try-to-split-window)
14181 (window--frame-usable-p, even-window-heights)
14182 (window--even-window-heights, window--display-buffer-1)
14183 (window--display-buffer-2, display-buffer-other-frame):
14184 Restore old Emacs 23 code, order and doc-strings where applicable.
14185 (display-buffer-default, display-buffer-assq-regexp): New functions.
14186 (display-buffer-alist): Rewrite doc-string.
14187 (display-buffer-default-action)
14188 (display-buffer-overriding-action): New variables.
14189 (display-buffer, switch-to-buffer): Rewrite.
14190 (pop-to-buffer): Restore Emacs 23 behavior but use
14191 window-normalize-buffer-to-display.
14192 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14193 Restore Emacs 23 behavior but use
14194 window-normalize-buffer-to-switch-to.
14195 (pop-to-buffer-same-window): Rewrite.
14196 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14197 Rewrite using Emacs 23 options.
14198
14199 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
14200
14201 * net/tramp.el (tramp-root-regexp): Remove.
14202 (tramp-completion-file-name-regexp-unified)
14203 (tramp-completion-file-name-regexp-separate)
14204 (tramp-completion-file-name-regexp-url): Don't use leading volume
14205 letter on w32 systems. (Bug#5303, Bug#9311)
14206 (tramp-drop-volume-letter): Simplify definition.
14207 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14208
14209 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14210
14211 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14212 (bug#9356).
14213
14214 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14215
14216 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14217
14218 2011-08-29 Juri Linkov <juri@jurta.org>
14219
14220 * isearch.el (isearch-done): Don't display message "Mark saved"
14221 when arg `edit' is non-nil to prevent its flicker in the echo area.
14222
14223 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14224
14225 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14226 obsolete packages for deletion.
14227
14228 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14229
14230 * help-mode.el (help-mode-map): Add special-mode-map to parent.
14231 (help-mode): Derive help-mode from special-mode. Don't invoke
14232 view-mode from help-mode.
14233 (help-xref-override-view-map): Remove.
14234 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14235 view-mode is not used anymore.
14236
14237 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
14238
14239 * server.el (server-port): Doc fix.
14240
14241 * cus-theme.el (custom-theme-choose-mode): Inherit from
14242 special-mode (Bug#9124).
14243 (custom-theme-choose-mode-map): Add special-mode to parent.
14244
14245 2011-08-28 Alan Mackenzie <acm@muc.de>
14246
14247 * progmodes/cc-fonts.el
14248 (c-make-font-lock-BO-decl-search-function): New function.
14249 (c-basic-matchers-after - "Fontify the clauses after various
14250 keywords"): Extract the three keyword lists for the 3 erroneous
14251 constructs from the list of four, and use the new function above
14252 in place of an old one.
14253
14254 2011-08-28 Deniz Dogan <deniz@dogan.se>
14255
14256 * net/rcirc.el (rcirc-insert-prev-input)
14257 (rcirc-insert-next-input): Remove unused argument.
14258
14259 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14260
14261 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14262
14263 2011-08-27 Alan Mackenzie <acm@muc.de>
14264
14265 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14266 handle function pointer parameters properly.
14267
14268 2011-08-27 Martin Rudalics <rudalics@gmx.at>
14269
14270 * window.el (display-buffer-reuse-window): Fix case where
14271 selected window was reused with non-nil OTHER-WINDOW argument.
14272 (Bug#9381)
14273
14274 2011-08-27 Deniz Dogan <deniz@dogan.se>
14275
14276 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14277 oftc's NickServ messages.
14278
14279 2011-08-27 Glenn Morris <rgm@gnu.org>
14280
14281 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14282
14283 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
14284
14285 * emacs-lisp/package.el (package-install): Call package-initialize
14286 if called interactively.
14287
14288 2011-08-26 Leo Liu <sdl.web@gmail.com>
14289
14290 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14291
14292 2011-08-25 Juri Linkov <juri@jurta.org>
14293
14294 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14295 `search-whitespace-regexp' (bug#9364).
14296
14297 2011-08-25 Juri Linkov <juri@jurta.org>
14298
14299 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14300 `regexp-search-ring' to their global values to protect from
14301 updating by `read-from-minibuffer' (bug#9185).
14302
14303 2011-08-25 Juri Linkov <juri@jurta.org>
14304
14305 * textmodes/ispell.el (ispell-command-loop): Add newline
14306 at the end of the "Use option `i'..." line.
14307
14308 2011-08-25 Juri Linkov <juri@jurta.org>
14309
14310 * battery.el (display-battery-mode): If `battery-status-function'
14311 or `battery-mode-line-format' is nil, display the message and set
14312 `display-battery-mode' to nil (bug#9363).
14313
14314 2011-08-25 Eli Zaretskii <eliz@gnu.org>
14315
14316 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14317 bidi-string-mark-left-to-right; they are unnecessary now.
14318
14319 2011-08-25 Deniz Dogan <deniz@dogan.se>
14320
14321 * net/quickurl.el: Documentation typo fixes.
14322
14323 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
14324
14325 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14326
14327 2011-08-25 Glenn Morris <rgm@gnu.org>
14328
14329 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14330
14331 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14332 (smtpmail-via-smtp): Handle nil response from smtp.
14333
14334 2011-08-24 Juri Linkov <juri@jurta.org>
14335
14336 * proced.el (proced-marked): Inherit from `error' instead of
14337 `font-lock-warning-face'.
14338
14339 * ibuffer.el (ibuffer-marked-face): Change default face from
14340 `font-lock-warning-face' to `warning'.
14341 (ibuffer-deletion-face): Change default face from
14342 `font-lock-type-face' to `error'.
14343
14344 * battery.el (battery-update): Use the face `error' instead of
14345 `font-lock-warning-face' (bug#6117).
14346
14347 2011-08-24 Juri Linkov <juri@jurta.org>
14348
14349 * faces.el (success): Change face color from "Green3" to
14350 "ForestGreen" on light background (bug#9353).
14351
14352 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
14353
14354 * window.el (quit-window): Rename from quit-restore-window.
14355 Use same arglist as old quit-window.
14356 (frame-auto-delete): Doc fix.
14357
14358 * view.el (view-mode-exit): Use quit-window.
14359
14360 2011-08-24 Juri Linkov <juri@jurta.org>
14361
14362 * isearch.el (isearch-ring-adjust1): Start visiting previous
14363 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14364 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14365 for empty search string (when the last search string is reused
14366 automatically) to adjust the isearch ring to the last element and
14367 prepare the correct index for further M-p commands (bug#9185).
14368
14369 2011-08-24 Kenichi Handa <handa@m17n.org>
14370
14371 * international/ucs-normalize.el: If decomposition property of
14372 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14373 nil.
14374 (nfd, nfkd): Likewise.
14375
14376 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14377
14378 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14379 from process filters aren't reliably transmitted to the surrounding
14380 accept-process-output.
14381 (mpc-proc-check): New function.
14382 (mpc-proc-sync): Use it (bug#8293)
14383
14384 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14385
14386 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14387 Add compatibility functions (bug#9313).
14388
14389 2011-08-23 Eli Zaretskii <eliz@gnu.org>
14390
14391 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14392
14393 * international/uni-bidi.el: Regenerate.
14394
14395 2011-08-23 Kenichi Handa <handa@m17n.org>
14396
14397 * international/charprop.el:
14398 * international/uni-bidi.el:
14399 * international/uni-category.el:
14400 * international/uni-combining.el:
14401 * international/uni-comment.el:
14402 * international/uni-decimal.el:
14403 * international/uni-decomposition.el:
14404 * international/uni-digit.el:
14405 * international/uni-lowercase.el:
14406 * international/uni-mirrored.el:
14407 * international/uni-name.el:
14408 * international/uni-numeric.el:
14409 * international/uni-old-name.el:
14410 * international/uni-titlecase.el:
14411 * international/uni-uppercase.el: Regenerate.
14412
14413 2011-08-23 Martin Rudalics <rudalics@gmx.at>
14414
14415 * help.el (help-window-setup): Fix message displayed when other
14416 window is reused. (Bug#9341)
14417
14418 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14421 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14422
14423 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14424 Mark obsolete.
14425 * shell.el (shell-parse-pcomplete-arguments): New function.
14426 (shell-completion-vars): Use it instead (bug#9160).
14427
14428 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14429
14430 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14431 strings and comments (bug#9333).
14432
14433 * emacs-lisp/debug.el (debug-arglist): New function.
14434 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14435 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14436
14437 2011-08-22 Juri Linkov <juri@jurta.org>
14438
14439 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14440 Revert regexp that highlights output switches to its old
14441 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14442
14443 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14444 to check for empty output (bug#9226).
14445
14446 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
14447
14448 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14449 symbol-constituent as the default, as that stops font-lock from
14450 working properly (Bug#8843).
14451
14452 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14453
14454 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14455 `coding-system-for-*' around the process open call to avoid
14456 auth-source side effects.
14457 (smtpmail-try-auth-methods): Expand the secret password.
14458 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14459 probe hangs.
14460
14461 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14462
14463 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14464
14465 * emacs-lisp/find-func.el (find-function-noselect): New arg
14466 lisp-only.
14467
14468 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14469 signal an error for built-in functions (Bug#6664).
14470
14471 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14472
14473 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14474 (smtpmail-try-auth-methods): Use it.
14475
14476 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
14477
14478 * font-lock.el (font-lock-fontify-region)
14479 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14480 (font-lock-default-unfontify-buffer)
14481 (font-lock-default-fontify-region)
14482 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14483
14484 * progmodes/compile.el (compilation-error-properties):
14485 Fix confusion between file struct and message struct (Bug#9319).
14486 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14487 `ant' regexp.
14488
14489 * net/browse-url.el (browse-url-firefox): Don't call
14490 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14491
14492 2011-08-20 Glenn Morris <rgm@gnu.org>
14493
14494 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14495
14496 * tutorial.el (tutorial--default-keys): Update some default bindings.
14497
14498 * files.el (hack-local-variables): Fully ignore case for "mode:".
14499
14500 2011-08-20 Alan Mackenzie <acm@muc.de>
14501
14502 Resolve invalid use of a regexp in regexp-opt.
14503
14504 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14505 detection for a java annotation.
14506
14507 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14508 detection for a java annotation.
14509
14510 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14511 handling for java.
14512 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14513
14514 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
14515
14516 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14517 (Bug#9274).
14518
14519 2011-08-20 Alan Mackenzie <acm@muc.de>
14520
14521 Fontify CPP expressions correctly when starting in the middle of
14522 such a construct. Mainly for when jit-lock etc. starts a chunk
14523 here.
14524
14525 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14526 variable.
14527 (c-make-font-lock-search-form): New function, extracted from
14528 c-make-font-lock-search-function.
14529 (c-make-font-lock-search-function): Use the above function.
14530 (c-make-font-lock-context-search-function): New function.
14531 (c-cpp-matchers): Enhance the preprocessor expression case with
14532 the above function
14533 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14534 which takes an expression.
14535
14536 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14537
14538 2011-08-20 Martin Rudalics <rudalics@gmx.at>
14539
14540 * window.el (display-buffer-reuse-window)
14541 (display-buffer-pop-up-window): Don't reuse or split a side
14542 window.
14543
14544 2011-08-19 Glenn Morris <rgm@gnu.org>
14545
14546 * files.el (hack-local-variables-prop-line, hack-local-variables):
14547 Downcase "Mode:". (Bug#9331)
14548
14549 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
14550
14551 * international/characters.el: Add L and R categories.
14552
14553 * subr.el (bidi-string-mark-left-to-right): Rename from
14554 string-mark-left-to-right. Use category search.
14555
14556 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14557
14558 2011-08-18 Juri Linkov <juri@jurta.org>
14559
14560 * faces.el (error, warning, success): New faces with definitions
14561 copied from old default values of `font-lock-warning-face',
14562 `compilation-warning', `compilation-info' (bug#6117).
14563
14564 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14565
14566 * progmodes/compile.el (compilation-error): Inherit from `error'.
14567 (compilation-warning): Inherit from `warning'.
14568 (compilation-info): Inherit from `success'.
14569
14570 * dired.el (dired-marked): Inherit from `warning'.
14571 (dired-flagged): Inherit from `error'.
14572
14573 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14574
14575 * mail/smtpmail.el (auth-source): Require to avoid problems with
14576 binding variables (bug#9298). Also clean up some unused
14577 autoloads.
14578
14579 * net/network-stream.el (network-stream-open-starttls):
14580 Support using starttls.el without using gnutls-cli.
14581
14582 2011-08-17 Juri Linkov <juri@jurta.org>
14583
14584 * progmodes/grep.el (rgrep): Handle the case when
14585 `grep-find-command' is a cons cell (bug#9278).
14586
14587 2011-08-17 Martin Rudalics <rudalics@gmx.at>
14588
14589 * window.el (display-buffer-pop-up-frame): Run frame creation
14590 function with BUFFER current (as special-display-popup-frame
14591 does). Reported by Drew Adams.
14592
14593 2011-08-17 Daiki Ueno <ueno@unixuser.org>
14594
14595 * epa-mail.el: Simplify GnuPG group expansion using
14596 epg-expand-group.
14597 (epa-mail-group-alist, epa-mail-group-modtime)
14598 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14599 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14600 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14601 Remove.
14602
14603 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
14604
14605 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14606
14607 2011-08-16 Alan Mackenzie <acm@muc.de>
14608
14609 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14610 Correct, to avoid the inside of macros.
14611
14612 2011-08-16 Richard Stallman <rms@gnu.org>
14613
14614 * epa-mail.el: Handle GnuPG group definitions.
14615 (epa-mail-group-alist, epa-mail-group-modtime)
14616 (epa-mail-gnupg-conf-file): New variables.
14617 (epa-mail-parse-groups, epa-mail-sync-groups)
14618 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14619 (epa-mail-expand-recipients): New functions.
14620 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14621
14622 * mail/rmail.el (rmail-epa-decrypt): New command.
14623
14624 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14625 Don't bind buffer-read-only, just inhibit-read-only.
14626 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14627 (epa-decrypt-armor-in-region): Make error message clearer.
14628
14629 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14630
14631 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14632 and "a2b" to "ab" for `prefix'.
14633
14634 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
14635
14636 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14637 filter groups.
14638 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14639 Fourquet (Bug#8804).
14640
14641 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
14642
14643 * startup.el (argi): Declare as global variable (bug#9275).
14644
14645 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
14646
14647 * subr.el (string-mark-left-to-right): Search the entire string
14648 for RTL script, not just the terminating character. Doc fix.
14649
14650 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14651
14652 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14653 New function.
14654 (js--regexp-literal, js-syntax-propertize-function): Remove.
14655 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14656 (js-mode-map): Don't rebind electric keys.
14657 (js-insert-and-indent): Remove.
14658 (js-mode): Setup electric-layout and electric-indent instead.
14659
14660 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14661
14662 2011-08-12 Daiki Ueno <ueno@unixuser.org>
14663
14664 * epa.el (epa-progress-callback-function): Fix the logic of
14665 displaying progress.
14666 * epa-file.el (epa-file-insert-file-contents): Make progress
14667 display more user-friendly.
14668 (epa-file-write-region): Ditto.
14669
14670 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
14671
14672 * subr.el (string-mark-left-to-right): New function.
14673
14674 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14675 Use string-mark-left-to-right.
14676 (list-buffers-noselect): Caller changed.
14677
14678 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14679 Use string-mark-left-to-right.
14680 (tabulated-list-print): Recenter after moving point.
14681
14682 2011-08-10 Juri Linkov <juri@jurta.org>
14683
14684 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14685 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14686 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14687
14688 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
14689
14690 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14691 (Bug#7554).
14692
14693 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
14694
14695 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14696 character. (Bug#6594)
14697
14698 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
14699
14700 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14701 (image-dired--with-db-file): New macro.
14702 (image-dired-write-tags, image-dired-remove-tag)
14703 (image-dired-create-gallery-lists, image-dired-write-comments)
14704 (image-dired-get-comment, image-dired-mark-tagged-files)
14705 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14706 (image-dired-gallery-generate): Use insert-file-contents.
14707
14708 * time.el (display-time-world-list, display-time-world-display):
14709 * time-stamp.el (time-stamp-string):
14710 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14711 set-time-zone-rule (Bug#7337).
14712
14713 2011-08-08 Daiki Ueno <ueno@unixuser.org>
14714
14715 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14716 (epg-error-to-string, epg-errors-to-string): New function.
14717 (epg-wait-for-completion): Reverse errors list.
14718 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14719 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14720 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14721 (epg-sign-keys, epg-generate-key-from-file)
14722 (epg-generate-key-from-string): Format errors by using
14723 epg-errors-to-string (bug#9255).
14724 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14725
14726 2011-08-07 Juri Linkov <juri@jurta.org>
14727
14728 * faces.el (list-faces-display): Remove extra angle bracket
14729 from `help-mode-map'.
14730
14731 * info.el (Info-history-toc-nodes): Doc fix.
14732
14733 * longlines.el (longlines-mode): Doc fix.
14734
14735 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14736
14737 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14738 of statements and in a few more cases (bug#9183).
14739
14740 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14741 New functions.
14742 (cl-transform-lambda): Use them (bug#9239).
14743
14744 2011-08-05 Martin Rudalics <rudalics@gmx.at>
14745
14746 * window.el (display-buffer-same-window)
14747 (display-buffer-same-frame, display-buffer-other-window)
14748 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14749 (pop-to-buffer-other-window)
14750 (pop-to-buffer-same-frame-other-window)
14751 (pop-to-buffer-other-frame): Make them defuns.
14752 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14753
14754 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14755
14756 * subr.el (make-composed-keymap): Move from C. Change calling
14757 convention, and improve docstring to bring attention to a subtle point.
14758 * minibuffer.el (completing-read-default): Adjust accordingly.
14759
14760 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
14761
14762 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14763 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14764
14765 * net/trampver.el: Update release number.
14766
14767 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14768
14769 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14770 "in" (bug#9190).
14771
14772 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14773
14774 * mail/sendmail.el (sendmail-query-once): Restore the current
14775 buffer after querying (bug#9074).
14776
14777 * dired.el (dired-flagged): Use different faces for marked and
14778 flagged files (bug#6117).
14779
14780 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14781 (bug#4433).
14782
14783 * ido.el (ido-mode): Switch off the message if called
14784 non-interactively.
14785
14786 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14787 before 587, since it appears that that's more likely to work for
14788 more people.
14789
14790 * cus-edit.el (custom-file): When running under emacs -q, always
14791 refuse to save the customizations, even if the .emacs file doesn't
14792 exist.
14793
14794 * info.el: Remove the `Info-beginning-of-buffer' function
14795 (bug#8325).
14796
14797 * net/network-stream.el (network-stream-open-starttls):
14798 Use `starttls-available-p' to see whether starttls.el can be used.
14799
14800 2011-08-01 Martin Rudalics <rudalics@gmx.at>
14801
14802 * window.el (display-buffer-in-window): Don't set dedicated status
14803 of window here (Bug#9215).
14804 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14805 (display-buffer-pop-up-side-window)
14806 (display-buffer-in-side-window): Set dedicated status of window here.
14807
14808 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14809
14810 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14811 before binding generated-autoload-file.
14812
14813 2011-08-01 Deniz Dogan <deniz@dogan.se>
14814
14815 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14816
14817 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
14818
14819 Sync with Tramp 2.2.2.
14820
14821 * net/trampver.el: Update release number.
14822
14823 2011-07-30 Juri Linkov <juri@jurta.org>
14824
14825 * dired-aux.el (dired-touch-initial): Remove function.
14826 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14827 current time, and `default' to the last modification time of the
14828 current marked file (bug#6887).
14829
14830 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14831
14832 * simple.el (goto-line): Use string-to-number to provide a
14833 numeric argument to read-number (bug#9163).
14834
14835 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
14836
14837 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14838 connection process, it could be nil.
14839
14840 2011-07-27 Leo Liu <sdl.web@gmail.com>
14841
14842 Simplify url handling in rcirc-mode.
14843
14844 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14845 (rcirc-browse-url-at-mouse): Remove.
14846 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14847
14848 2011-07-26 Alan Mackenzie <acm@muc.de>
14849
14850 Fontify bitfield declarations properly.
14851
14852 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14853 (c-symbol-chars): Now exported as a lang variable.
14854 (c-not-primitive-type-keywords): New lang variable.
14855
14856 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14857 QT keyword "more" to prevent "more slots: ...." being spuriously
14858 parsed as a bitfield declaration.
14859
14860 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14861 Refactor and enhance to handle bitfield declarations.
14862 (c-punctuation-in): New function.
14863 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14864 declarations properly.
14865
14866 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
14867
14868 * calendar/icalendar.el (icalendar--all-events): Take care of
14869 multiple vcalendars in a single file.
14870 (icalendar--convert-float-to-ical): Checkdoc fixes.
14871
14872 2011-07-25 Deniz Dogan <deniz@dogan.se>
14873
14874 * image.el (insert-image): Clarifying docstring.
14875
14876 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
14877
14878 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14879 `tramp-send-command-and-check' if there is no error.
14880 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14881
14882 2011-07-22 Alan Mackenzie <acm@muc.de>
14883
14884 Prevent cc-langs.elc being loaded at run time.
14885
14886 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14887 cc-langs.
14888
14889 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14890 "(require 'cc-langs)". Quote a form so it will evaluate at
14891 (cc-mode's) compilation time.
14892
14893 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
14894
14895 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14896 loading. (Bug#9114)
14897
14898 2011-07-21 Martin Rudalics <rudalics@gmx.at>
14899
14900 * window.el (display-buffer-pop-up-window)
14901 (display-buffer-pop-up-side-window)
14902 (display-buffer-in-side-window): Call display-buffer-set-height
14903 and display-buffer-set-width after setting the new window's
14904 buffer so `fit-window-to-buffer' and friends work on the right buffer.
14905
14906 2011-07-20 Sam Steingold <sds@gnu.org>
14907
14908 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14909 (etags-tags-included-tables): Call `convert-standard-filename' on
14910 the file names contained in TAGS so that windows Emacs can handle
14911 TAGS files created by cygwin ctags.
14912
14913 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14914
14915 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14916 which apparently didn't work.
14917
14918 2011-07-19 Roland Winkler <winkler@gnu.org>
14919
14920 * proced.el (proced-send-signal): For *Marked Processes* buffer
14921 put point at beginning of buffer.
14922
14923 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
14924
14925 * proced.el (proced-format): Make header lines align with the text
14926 (bug#1779).
14927
14928 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14929
14930 * view.el (view-buffer): Allow running in `special' modes if we're
14931 visiting a file (bug#8615).
14932
14933 2011-07-19 Martin Rudalics <rudalics@gmx.at>
14934
14935 * window.el (display-buffer-alist-of-strings-p)
14936 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14937 New functions.
14938 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14939 more accurately.
14940
14941 2011-07-18 Alan Mackenzie <acm@muc.de>
14942
14943 Fontify declarators properly when, e.g., a jit-lock chunk begins
14944 inside a declaration.
14945
14946 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14947
14948 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14949 New function.
14950 (c-complex-decl-matchers): Insert reference to
14951 c-font-lock-enclosing-decls.
14952
14953 * progmodes/cc-engine.el (c-backward-single-comment):
14954 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14955 to nil around calls to (forward-comment -1).
14956
14957 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14958
14959 * image.el (put-image): Doc typo fix.
14960
14961 * progmodes/etags.el (tags-search): Doc typo fix.
14962
14963 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14964 password if we get errors 550 to 554.
14965
14966 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14967
14968 * net/gnutls.el (gnutls-log-level): Remove.
14969
14970 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14971 indentation character (bug#6380).
14972
14973 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14974
14975 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14976 to clarify what the problem is (bug#4291).
14977
14978 * simple.el (current-kill): Clarify what
14979 `interprogram-paste-function' does (bug#7500).
14980 (auto-fill-mode): Document `auto-fill-function' in relation to
14981 `auto-fill-mode' (bug#2470).
14982
14983 2011-07-16 Lawrence Mitchell <wence@gmx.li>
14984
14985 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14986 method if slot is read-only (bug#9035).
14987
14988 2011-07-16 Martin Rudalics <rudalics@gmx.at>
14989
14990 * frame.el (select-frame-set-input-focus): New argument NORECORD.
14991 * window.el (pop-to-buffer): Select window used even if it was
14992 selected before, see discussion of (Bug#8615), (Bug#6954).
14993 Pass argument NORECORD on to select-frame-set-input-focus.
14994
14995 2011-07-15 Glenn Morris <rgm@gnu.org>
14996
14997 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
14998 Respect help-form.
14999
15000 2011-07-09 Lawrence Mitchell <wence@gmx.li>
15001
15002 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15003 (gnutls-negotiate): Use it.
15004
15005 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15006
15007 * net/gnutls.el (gnutls-negotiate):
15008 Upcase `gnutls-algorithm-priority'.
15009
15010 2011-07-15 Glenn Morris <rgm@gnu.org>
15011
15012 * jka-compr.el (jka-compr-verbose): Move from here...
15013 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15014 Add missing :version tag.
15015 * info.el: No need to require jka-compr when compiling.
15016
15017 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15018
15019 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15020 (gnutls-negotiate): Use it.
15021
15022 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15023
15024 * info.el (Info-beginning-of-buffer): New command.
15025 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15026 announcing `b' as the key (bug#8325).
15027 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15028
15029 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15030
15031 * international/mule-cmds.el
15032 (describe-specified-language-support): Make the error message
15033 clearer (bug#8905).
15034
15035 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15036
15037 * isearch.el (isearch-barrier): Add a doc string, since it's
15038 mentioned in a function doc string (bug#8678).
15039
15040 2011-07-15 Martin Rudalics <rudalics@gmx.at>
15041
15042 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15043 buffer argument (Bug#9083) and self-identifying label argument.
15044
15045 2011-07-15 Glenn Morris <rgm@gnu.org>
15046
15047 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15048
15049 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15050
15051 * man.el (Man-fontify-manpage): Fix message when formatting the
15052 man page (bug#7929).
15053
15054 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15055
15056 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15057 argument LRM; if non-nil, append an invisible LRM character to the
15058 buffer name.
15059 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15060 last argument non-nil, when formatting buffer names.
15061 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15062 paragraph direction.
15063
15064 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15065
15066 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15067 the man page name (bug#7929).
15068
15069 * image.el (put-image): Mention the `put-image' overlay property
15070 (bug#7834).
15071
15072 * scroll-bar.el (set-scroll-bar-mode): Mention that
15073 `scroll-bar-mode' lists the values (bug#7772).
15074
15075 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15076 command (bug#7729).
15077
15078 * rect.el (apply-on-rectangle): Return the point after the last
15079 operation.
15080 (string-rectangle): Go to the point after the last operation
15081 (bug#7522).
15082
15083 * printing.el (pr-toggle-region): Clarify the documentation
15084 slightly (bug#7493).
15085
15086 * time.el (display-time-update):
15087 Allow `display-time-mail-function' to return nil (bug#7158).
15088 Fix suggested by Detlev Zundel.
15089
15090 * vc/diff.el (diff): Clarify the order the file names are read
15091 (bug#7111).
15092
15093 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15094 the doc string (bug#7015).
15095
15096 * font-lock.el (font-lock-maximum-decoration): Mention what
15097 numeric levels mean (bug#6935).
15098
15099 * startup.el (initial-buffer-choice): Don't mention the `none'
15100 selection, which is against policy.
15101
15102 2011-07-14 Martin Rudalics <rudalics@gmx.at>
15103
15104 * window.el (display-buffer-normalize-special):
15105 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15106
15107 2011-07-14 Eli Zaretskii <eliz@gnu.org>
15108
15109 * subr.el (version<, version<=, version=): Mention "-CVS" and
15110 "-12345" alpha version numbers.
15111
15112 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15113
15114 * bindings.el: Add advertised binding for set-mark-command
15115 (Bug#5772).
15116
15117 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
15118
15119 * bindings.el (mode-line-other-buffer):
15120 * bookmark.el (bookmark-bmenu-2-window):
15121 * bs.el (bs-cycle-next, bs-cycle-previous):
15122 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15123 switch-to-buffer.
15124
15125 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15126 Delete.
15127
15128 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
15129
15130 * follow.el (follow-debug-message, follow-redisplay):
15131 * jka-cmpr-hook.el (with-auto-compression-mode):
15132 Fix typos in docstrings.
15133
15134 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15135
15136 * subr.el (with-silent-modifications): Clarify somewhat what the
15137 macro inhibits (bug#6525).
15138
15139 * simple.el (eval-expression): Note what it does if called
15140 interactively (bug#6495).
15141
15142 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15143
15144 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15145 Use pop-to-buffer buffer-or-name if it is nil.
15146
15147 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15148 Remove switch-to-buffer.
15149
15150 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15151
15152 * files.el (make-directory): Clarify that an error will be raised
15153 if there's an error (bug#6397).
15154
15155 * startup.el (initial-buffer-choice): Add `none' as a choice
15156 (bug#6234).
15157
15158 * subr.el (add-hook): Clarify section about buffer-local hooks
15159 (bug#6218).
15160
15161 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15162
15163 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15164
15165 * tabify.el (untabify): Preserve the current column so that point
15166 doesn't move (bug#6032).
15167
15168 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15169
15170 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15171 Rewrite to avoid awkward possessive "s" (bug#5986).
15172
15173 2011-07-13 Glenn Morris <rgm@gnu.org>
15174
15175 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15176 (dired-insert-directory): Give a message the first time
15177 if ls is found not to support --dired.
15178
15179 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15180
15181 * simple.el (toggle-truncate-lines): Clarify what is toggled
15182 (bug#5580). Text by Drew Adams.
15183
15184 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
15185
15186 * simple.el (blink-matching-open): Make the error message from the
15187 last change less verbose.
15188
15189 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15190
15191 * font-lock.el (font-lock-comment-face): Use the high contrast
15192 "yellow" color for font-lock-comment-face on low color terminals
15193 using a dark background color (bug#4221).
15194
15195 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15196
15197 * dired.el (dired-insert-set-properties): Make the doc string
15198 reflect what it does now (bug#5325).
15199
15200 * simple.el (blink-matching-open): Say that we were unable to find
15201 the match within the limit, if we're limited (bug#5122).
15202
15203 * international/mule-cmds.el (prefer-coding-system): Add an
15204 example (bug#4869).
15205
15206 * progmodes/etags.el (tags-search): Document `file-list-form'
15207 (bug#4731).
15208
15209 2011-07-13 Lawrence Mitchell <wence@gmx.li>
15210
15211 * net/browse-url.el (browse-url-default-browser)
15212 (browse-url-browser-function): Make the default browser choice a
15213 bit more logical (bug#4300). Also clean up the doc string.
15214
15215 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
15216
15217 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15218 binary endings (bug#4440).
15219
15220 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15221
15222 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15223 which can be pretty annoying (bug#8971).
15224
15225 * jka-compr.el (jka-compr-verbose): New variable, and use
15226 throughout (bug#8971).
15227
15228 * info.el (Info-find-file): Fall back on the installation
15229 directory if we can't find the info node anywhere else.
15230
15231 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15232
15233 * vc/vc.el (vc-revert-file):
15234 Don't set file time-stamp in the past. (Bug#5181)
15235
15236 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15237
15238 * files.el (after-find-file): Give a better error message when
15239 trying to find a symlink that points to a file that doesn't exist
15240 (bug#4398).
15241
15242 * progmodes/cc-vars.el: Remove (probably) misleading comment
15243 (bug#4396).
15244
15245 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15246
15247 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15248
15249 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15250
15251 * mouse-sel.el: Hack restoring functionality, while keeping
15252 compatibility with 2010-07-03 changes to mouse selection.
15253 (mouse-sel-primary-overlay): New var.
15254 (mouse-sel-selection-alist): Use it.
15255 (mouse-sel-mode): Doc fix; remove points that are default features
15256 of mouse.el.
15257
15258 2011-07-12 Johan Bockgård <bojohan@gnu.org>
15259
15260 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15261 Fix previous fix (bug#2490).
15262
15263 2011-07-12 Roland Winkler <winkler@gnu.org>
15264
15265 * textmodes/bibtex.el (bibtex-initialize):
15266 Use pop-to-buffer-same-window.
15267 (bibtex-search-entries): Fix interactive call.
15268
15269 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15270
15271 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15272 Fontise bytecomp Error lines more correctly (bug#2490).
15273 Fix suggested by Johan Bockgård.
15274
15275 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15276
15277 * dired-x.el (dired-guess-default): Use `delete-dups'.
15278
15279 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
15280
15281 * dired.el (dired-mark-prompt):
15282 * dired-aux.el (dired-read-shell-command): Doc fix.
15283
15284 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15285
15286 * mail/sendmail.el (sendmail-query-once):
15287 Use `customize-save-variable' unconditionally, now that it works under
15288 emacs -Q.
15289
15290 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15291
15292 * cus-edit.el (custom-file): Take an optional no-error variable.
15293 (customize-save-variable): Set the variable, and give a warning if
15294 running under "emacs -q".
15295
15296 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
15297
15298 * loadhist.el (unload-feature-special-hooks):
15299 Add `auto-coding-functions', `fill-nobreak-predicate' and
15300 `find-directory-functions' (bug#5327).
15301
15302 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15303
15304 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15305
15306 * cus-edit.el (custom-guess-name-alist): -alist variables should
15307 use the `alist' type (bug#3120). Suggested by Drew Adams.
15308
15309 * printing.el: Add documentation to all the `pr-toggle-' commands.
15310
15311 2011-07-11 Leo Liu <sdl.web@gmail.com>
15312
15313 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15314 backends where it makes sense (bug#2623).
15315
15316 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15317
15318 * dired-x.el (dired-guess-default): Remove duplicate shell command
15319 entries (bug#2028).
15320 (dired-guess-default): Fix grammar in doc string (bug#2028).
15321 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15322
15323 * subr.el (remove-duplicates): New conveniency function.
15324
15325 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15326
15327 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15328 (bug#1526).
15329
15330 2011-07-10 Martin Rudalics <rudalics@gmx.at>
15331
15332 * window.el (display-buffer-normalize-default): Don't invert
15333 meaning of even-window-heights. Reported by Eli Zaretskii
15334 <eliz@gnu.org>.
15335
15336 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15337
15338 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15339
15340 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
15341
15342 * window.el (display-buffer): Fix arguments to
15343 display-buffer-reuse-window in last change.
15344
15345 * faces.el (link): Use a less saturated blue on light backgrounds.
15346
15347 * startup.el (fancy-startup-text, fancy-about-text)
15348 (fancy-startup-tail): Use font-lock faces, for background safety.
15349
15350 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15351
15352 * emulation/viper-cmd.el (viper-change-state-to-vi):
15353 Limit triggering of abbrev expansion (Bug#9038).
15354
15355 2011-07-09 Martin Rudalics <rudalics@gmx.at>
15356
15357 * window.el (display-buffer-default-specifiers): Remove.
15358 (display-buffer-macro-specifiers): Remove default specifiers.
15359 (display-buffer-alist): Default to nil.
15360 (display-buffer-reuse-window): New optional argument other-window.
15361 (display-buffer-pop-up-window): Allow splitting internal
15362 windows. Check whether a live window was created.
15363 (display-buffer-other-window-means-other-frame)
15364 (display-buffer-normalize-arguments): Rename to
15365 display-buffer-normalize-argument and rewrite. Set the
15366 other-window specifier.
15367 (display-buffer-normalize-special): New function.
15368 (display-buffer-normalize-options): Rename to
15369 display-buffer-normalize-default and rewrite.
15370 (display-buffer-normalize-options-inhibit): Remove.
15371 (display-buffer-normalize-specifiers): Rewrite.
15372 (display-buffer): Process other-window specifier and call
15373 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15374 more faithfully.
15375 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15376 (display-buffer-alist-set): Don't handle 'unset default values.
15377 (display-buffer-in-window, display-buffer-alist-set):
15378 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
15379 <tassilo@member.fsf.org>.
15380
15381 2011-07-09 Leo Liu <sdl.web@gmail.com>
15382
15383 * register.el (insert-register): Restore accidental change on
15384 2011-06-26. (Bug#9028)
15385
15386 2011-07-09 Glenn Morris <rgm@gnu.org>
15387
15388 * subr.el (remq): Handle the empty list. (Bug#9024)
15389
15390 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15391
15392 * mail/sendmail.el (send-mail-function): No longer delay custom
15393 initialization.
15394 * custom.el (custom-initialize-delay): Doc fix.
15395
15396 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15397
15398 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15399
15400 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
15401
15402 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15403 human-friendly prompt.
15404
15405 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15406
15407 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15408 provided by a particular plugin.
15409
15410 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15411
15412 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15413 save customizations (with "emacs -Q"), just set the variable
15414 instead of erroring out.
15415
15416 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15417
15418 2011-07-08 Juri Linkov <juri@jurta.org>
15419
15420 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15421 (archive-zip-update-case): Use 7z if found by `executable-find'.
15422 The order of searching the available programs is the same as in
15423 `archive-zip-extract' (bug#8968).
15424
15425 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15426
15427 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15428 (menu-bar-options-menu): Tweak descriptions.
15429
15430 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15431
15432 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15433 menu items into verb phrases (bug#1421). Also refill to fit under
15434 80 columns.
15435
15436 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15437
15438 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15439 (Info-read-node-name): Doc fix (Bug#1084).
15440
15441 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15442 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15443 (end-of-sexp, beginning-of-sexp)
15444 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15445 (forward-symbol, forward-same-syntax, word-at-point)
15446 (sentence-at-point): Doc fix (Bug#1144).
15447
15448 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15449
15450 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15451 should cover it (bug#1281).
15452
15453 * cus-edit.el (custom-show): Mark as obsolete.
15454
15455 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15456 negotiation fails, then possibly try again with a non-encrypted
15457 connection (bug#9017).
15458
15459 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15460 be used.
15461
15462 2011-07-07 Richard Stallman <rms@gnu.org>
15463
15464 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15465 property, and handle its changed format.
15466 Look for the correct line number.
15467 Use file's line contents (but not past first =) to find
15468 correct line in message.
15469
15470 2011-07-07 Kenichi Handa <handa@m17n.org>
15471
15472 * international/characters.el (build-unicode-category-table):
15473 Delete it.
15474 (unicode-category-table): Set it by unicode-property-table-internal.
15475
15476 * international/mule-cmds.el (char-code-property-alist): Move to
15477 to src/chartab.c.
15478 (get-char-code-property): Call unicode-property-table-internal to
15479 load a file. Call get-unicode-property-internal where necessary.
15480 (put-char-code-property): Call unicode-property-table-internal to
15481 load a file. Call put-unicode-property-internal where necessary.
15482 put-unicode-property-internal where necessary.
15483 (char-code-property-description):
15484 Call unicode-property-table-internal to load a file.
15485
15486 * international/charprop.el:
15487 * international/uni-bidi.el:
15488 * international/uni-category.el:
15489 * international/uni-combining.el:
15490 * international/uni-comment.el:
15491 * international/uni-decimal.el:
15492 * international/uni-decomposition.el:
15493 * international/uni-digit.el:
15494 * international/uni-lowercase.el:
15495 * international/uni-mirrored.el:
15496 * international/uni-name.el:
15497 * international/uni-numeric.el:
15498 * international/uni-old-name.el:
15499 * international/uni-titlecase.el:
15500 * international/uni-uppercase.el: Regenerate.
15501
15502 * loadup.el: Load international/charprop.el before
15503 international/characters.
15504
15505 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
15506
15507 * window.el (next-buffer, previous-buffer): Signal an error if
15508 called from a minibuffer window.
15509
15510 * bindings.el: Revert 2011-07-04 change.
15511
15512 2011-07-06 Richard Stallman <rms@gnu.org>
15513
15514 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15515 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15516 Treat markers like ints.
15517 (rmail-mime-entity): Doc fix.
15518
15519 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15520
15521 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15522 defcustom again for backwards compatibility.
15523
15524 * simple.el (shell-command-on-region): Fill.
15525
15526 * dired-aux.el (dired-kill-line): Add a doc string.
15527
15528 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15529 to "\\sw\\|\\s_" (bug#358).
15530
15531 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15532 (dired-unmark-backward): Ditto.
15533 (dired-flag-backup-files): Ditto.
15534
15535 * dired-x.el (dired-mark-sexp): Ditto.
15536
15537 2011-07-06 Richard Stallman <rms@gnu.org>
15538
15539 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15540 (rmail-mime-entity): New arg TRUNCATED.
15541 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15542 New functions.
15543 (rmail-mime-save): Warn if entity is truncated.
15544 (rmail-mime-toggle-hidden): Likewise, for showing.
15545 (rmail-mime-process-multipart): Record when an entity is truncated.
15546
15547 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15548 if ENTITY is a string.
15549
15550 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15551
15552 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15553 of faces when `M-C-x'-ing their definitions (bug#8378).
15554 Also clean up the code slightly.
15555
15556 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15557 because that makes the colors go away.
15558
15559 * mail/sendmail.el (send-mail-function): Change the default to
15560 `sendmail-query-once'.
15561 (sendmail-query-once): Add an autoload cookie.
15562
15563 * net/network-stream.el (network-stream-open-starttls): Try using
15564 a plain connection even if the server offered STARTTLS, and we
15565 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15566 capability. This should make smtpmail.el work in slightly more
15567 configurations.
15568
15569 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
15570
15571 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15572 New defun.
15573 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15574
15575 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15576
15577 * progmodes/sql.el: Version 3.0
15578 (sql-product-alist): Add product :completion-object,
15579 :completion-column, and :statement attributes.
15580 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15581 (sql-mode-syntax-table): Mark all punctuation.
15582 (sql-font-lock-keywords-builder): Temporarily remove fallback on
15583 ansi keywords.
15584 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15585 (sql-mode-oracle-font-lock-keywords): Improve.
15586 (sql-oracle-show-reserved-words): New function for development.
15587 (sql-product-font-lock): Simplify for source code buffers.
15588 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15589 New functions.
15590 (sql-highlight-product): Set product specific syntax table.
15591 (sql-mode-map): Add statement movement functions.
15592 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15593 New variable.
15594 (sql-statement-regexp, sql-beginning-of-statement)
15595 (sql-end-of-statement, sql-signum): New functions.
15596 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15597 (sql-show-sqli-buffer): Bug fix.
15598 (sql-interactive-mode): Store connection data as buffer local.
15599 (sql-connect): Add NEW-NAME parameter. Redesign interaction
15600 with sql-interactive-mode.
15601 (sql-save-connection): Save buffer local settings.
15602 (sql-connection-menu-filter): Change menu entry name.
15603 (sql-product-interactive): Bug fix.
15604 (sql-preoutput-hold): New variable.
15605 (sql-interactive-remove-continuation-prompt): Bug fixes.
15606 (sql-debug-redirect): New variable.
15607 (sql-str-literal): New function.
15608 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15609 Redesign.
15610 (sql-oracle-save-settings, sql-oracle-restore-settings)
15611 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15612 (sql-completion-object, sql-completion-column)
15613 (sql-completion-sqlbuf): New variables.
15614 (sql-build-completions-1, sql-build-completions)
15615 (sql-try-completion): New functions.
15616 (sql-read-table-name): Use them.
15617 (sql-contains-names): New buffer local variable.
15618 (sql-list-all, sql-list-table): Use it.
15619 (sql-oracle-completion-types): New variable.
15620 (sql-oracle-completion-object, sql-sqlite-completion-object)
15621 (sql-postgres-completion-object): New functions.
15622
15623 2011-07-06 Glenn Morris <rgm@gnu.org>
15624
15625 * window.el (pop-to-buffer): Doc fix.
15626
15627 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
15628
15629 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15630
15631 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
15632
15633 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15634
15635 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15636
15637 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
15638
15639 * button.el (button): Inherit from link face. Suggested by Dan
15640 Nicolaescu.
15641
15642 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15643
15644 * progmodes/gdb-mi.el: Fit in 80 columns.
15645 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15646 switch-to-buffer.
15647
15648 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15649 if imenu is simply not configured (bug#8941).
15650
15651 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15652
15653 * allout.el (allout-post-undo-hook): New allout outline-change
15654 event hook to signal undo activity.
15655 (allout-post-command-business): Run allout-post-undo-hook if an
15656 undo just occurred.
15657 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15658 * allout-widgets.el (allout-widgets-after-undo-function):
15659 Ensure the integrity of the current item's decoration after it has been
15660 in the vicinity of an undo.
15661 (allout-widgets-mode): Include allout-widgets-after-undo-function
15662 on the new allout-post-undo-hook.
15663
15664 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15667 Let define-derived-mode define it.
15668 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15669 cycles of abbrev-table inheritance (bug#8998).
15670
15671 2011-07-05 Roland Winkler <winkler@gnu.org>
15672
15673 * textmodes/bibtex.el: Add support for biblatex.
15674 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15675 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15676 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15677 (bibtex-entry-alist, bibtex-field-alist): New variables.
15678 (bibtex-entry-field-alist): Obsolete alias for
15679 bibtex-BibTeX-entry-alist.
15680 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15681 (bibtex-set-dialect): New command.
15682 (bibtex-entry-type, bibtex-entry-head)
15683 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15684 Bind via bibtex-set-dialect.
15685 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15686 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15687 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15688 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15689 Define via bibtex-set-dialect.
15690 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15691 Obey bibtex-no-opt-remove-re.
15692 (bibtex-vec-push, bibtex-vec-incr): New functions.
15693 (bibtex-format-entry, bibtex-field-list)
15694 (bibtex-print-help-message, bibtex-validate)
15695 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15696
15697 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15698
15699 * progmodes/compile.el (compilation-goto-locus):
15700 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15701 * bs.el (bs-cycle-next, bs-cycle-previous):
15702 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15703 * bindings.el (mode-line-other-buffer):
15704 * autoinsert.el (auto-insert):
15705 * arc-mode.el (archive-extract):
15706 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15707
15708 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15709
15710 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15711 Fix check of `emacs-lock-unlockable-modes'.
15712 Coerce true values of `emacs-lock--try-unlocking' to t.
15713
15714 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15715
15716 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15717 * emacs-lock.el: New file.
15718
15719 2011-07-05 Julien Danjou <julien@danjou.info>
15720
15721 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15722 than `boundp' to check if face is set.
15723
15724 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
15725
15726 * register.el (registerv-make):
15727 * window.el (window-min-height): Fix typos in docstrings.
15728
15729 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15730
15731 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15732 Update doc string.
15733
15734 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15735
15736 * server.el (server-execute): Catch quit and call
15737 `server-return-error' to pass the error back to emacsclient and
15738 close the connection (bug#8942).
15739
15740 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15741
15742 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15743 insecure exception for current topic. Also note that auto-saves
15744 are handled differently.
15745
15746 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15747 State variables for tracking auto-save inhibition situation.
15748
15749 (allout-write-contents-hook-handler): Rename from
15750 'allout-write-file-hook-handler', and describe how it depends on
15751 write-contents-functions sensitivity to non-nil value to prevent
15752 file write.
15753
15754 (allout-auto-save-hook-handler): Remove. auto-save does not check
15755 this in individual buffers, only in the starting buffer, so this
15756 is not the right way for us to inhibit auto-save in a buffer
15757 according to its condition.
15758
15759 (allout-mode): Use new allout-write-contents-hook-handler, and
15760 only with write-contents-functions. Remove auto-save provisions -
15761 they're implemented elsewhere.
15762
15763 (allout-before-change-handler): If undo is in progress, note that
15764 for attention of allout-post-command-business.
15765
15766 (allout-post-command-business): If the command we're following was
15767 an undo, check for change in the status of encrypted items and
15768 adjust auto-save inhibitions accordingly.
15769
15770 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15771 according to whether there are or aren't any plain-text topics
15772 pending encryption.
15773
15774 (allout-inhibit-auto-save-info-for-decryption):
15775 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15776 if there are plain-text topics pending encryption.
15777
15778 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15779 buffer-saved-size and some allout state to not inhibit auto-saves
15780 if there are no longer any plain-text topics pending encryption.
15781
15782 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15783 No longer provide for exemption of the current topic.
15784
15785 2011-07-04 Juri Linkov <juri@jurta.org>
15786
15787 Add 7z operations to delete and save changed members (bug#8968).
15788 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15789 New defcustoms.
15790 (archive-7z-write-file-member): New function.
15791 (archive-7z-summarize): Fix the number of dashes in the
15792 listing output.
15793
15794 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15797 (bug#8958).
15798
15799 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
15800
15801 * bindings.el: Ignore next-buffer and previous-buffer in
15802 minibuffer-local-map.
15803
15804 * font-lock.el (font-lock-builtin-face): Change light background
15805 color to dark slate blue (Bug#6693).
15806
15807 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15808
15809 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15810
15811 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15812
15813 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15814 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15815 Add switch-to-buffer.
15816
15817 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15818
15819 * isearch.el (isearch-search-fun-function): Clarify further the
15820 meaning of the function returned.
15821
15822 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
15823
15824 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15825
15826 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15827 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15828 Use it.
15829 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15830 `tramp-default-remote-path' does not exist.
15831 (tramp-send-command-and-read): New optional argument NOERROR.
15832 (tramp-open-connection-setup-interactive-shell)
15833 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15834 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15835 (tramp-process-sentinel): Flush also process' connection property.
15836 (tramp-sh-handle-start-file-process): Do not set process
15837 sentinel. It is done now ...
15838 (tramp-maybe-open-connection): ... here. (Bug#8929)
15839
15840 2011-07-04 MON KEY <monkey@sandpframing.com>
15841
15842 * play/animate.el (animate-string): Doc fixes and allow changing
15843 the buffer name (bug#5417).
15844
15845 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15846
15847 * play/animate.el (animation-buffer-name): Rename from *animate*.
15848
15849 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15850
15851 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15852 This is simpler and helps future-proof the code.
15853 (timer-until): Use time-subtract and float-time.
15854 (timer--time-less-p): Use time-less-p.
15855
15856 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
15857
15858 * type-break.el (timep): Use the value of `float-time' to avoid a
15859 byte-compiler warning.
15860
15861 * server.el (server-eval-and-print): Return any result, even nil.
15862
15863 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15864
15865 * type-break.el: Accept time formats that the builtins accept.
15866 (timep, type-break-time-difference): Accept any format that
15867 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15868 This is simpler and helps future-proof the code.
15869 (type-break-time-difference): Round rather than ignoring
15870 subseconds components.
15871
15872 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15873
15874 * info.el (Info-apropos-matches): Make non-interactive, since it
15875 doesn't seem to do anything useful as a command (bug#8829).
15876
15877 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
15878
15879 * frame.el (frame-background-mode, frame-set-background-mode):
15880 Move from faces.el.
15881 (frame-default-terminal-background): New function.
15882
15883 * custom.el (custom-push-theme): Don't record faces in `changed'
15884 theme; this doesn't work correctly for per-frame face settings.
15885 (disable-theme): Use face-set-after-frame-default to reset faces.
15886 (custom--frame-color-default): New function.
15887
15888 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15889
15890 * dired.el (dired-flagging-regexp): Remove unused variable
15891 (bug#8769).
15892
15893 2011-03-29 Kevin Ryde <user42@zip.com.au>
15894
15895 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15896 `perl-Test2' extend to match possible "fail #N" rep count
15897 (bug#8377).
15898
15899 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15900
15901 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15902 `smtpmail-via-smtp' now returns the error instead of nil.
15903
15904 * isearch.el (isearch-search-fun-function): Clarify the doc string
15905 (bug#8101).
15906
15907 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
15908
15909 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15910 unnecessary spaces (bug#8987).
15911
15912 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15913
15914 * net/network-stream.el (open-network-stream): Use the
15915 :end-of-capability command thoughout.
15916
15917 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15918
15919 * net/network-stream.el (open-network-stream): Add the
15920 :end-of-capability command parameter, used by pop3.el.
15921
15922 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15923
15924 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15925
15926 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15927 for list)" (bug#6475).
15928
15929 * files.el (file-expand-wildcards): Ignore non-readable
15930 sub-directories while trying to find matches instead of signaling
15931 an error (bug#6297).
15932
15933 * man.el (Man-reference-regexp): Allow matching possible
15934 word-wrapped references (bug#6289).
15935
15936 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15937 for consistency with the other vc buffers (bug#6197).
15938 (vc-checkin): Ditto.
15939
15940 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15941
15942 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15943
15944 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15945
15946 * custom.el (defcustom): Clarify that :set is only used in the
15947 Customize user interface (bug#6089).
15948
15949 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15950 associated with a file, refuse to run instead of erroring out
15951 (bug#6084).
15952
15953 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15954 the doc string, since it appears that using `fill-column' always
15955 controls the width (bug#7845).
15956
15957 * simple.el (shell-command-on-region): Say where the error output
15958 went if `shell-command-default-error-buffer' is set (bug#6857).
15959
15960 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15961
15962 * allout.el (allout-yank-processing): Adjust cursor position for
15963 backwards-deleted space.
15964
15965 (allout-rebullet-heading): Register changes with
15966 allout-exposure-changed-hook, so the modified topic is properly
15967 decorated.
15968
15969 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15970
15971 * minibuffer.el (completion-in-region): Document PREDICATE
15972 (bug#7136).
15973
15974 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15975 of keyword/argument pairs (bug#6904).
15976
15977 * replace.el (multi-occur):
15978 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15979
15980 2011-07-02 Drew Adams <drew.adams@oracle.com>
15981
15982 * dired.el (dired-mark-if): Make the message about whether it's
15983 marking or unmarking clearer (bug#8523).
15984
15985 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15986
15987 * disp-table.el (display-table-print-array): New function.
15988 (describe-display-table): Use it to print the vectors more pretty
15989 (Bug#8859).
15990
15991 2011-07-02 Martin Rudalics <rudalics@gmx.at>
15992
15993 * window.el (window-state-get-1): Don't assign clone numbers.
15994 Add clone-of item to list of window parameters.
15995 (window-state-put-2): Don't process clone numbers.
15996 (display-buffer-alist): Fix doc-string.
15997
15998 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15999
16000 * subr.el (remq): Don't allocate if it's not needed.
16001 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16002 (keymap--merge-bindings): New functions.
16003 (keymap-canonicalize): Use them to refine the canonicalization.
16004 * minibuffer.el (minibuffer-local-completion-map)
16005 (minibuffer-local-must-match-map): Move initialization from C.
16006 (minibuffer-local-filename-completion-map): Move initialization from C;
16007 don't inherit from anything here.
16008 (minibuffer-local-filename-must-match-map): Make obsolete.
16009 (completing-read-default): Use make-composed-keymap to combine
16010 minibuffer-local-filename-completion-map with either
16011 minibuffer-local-must-match-map or
16012 minibuffer-local-filename-completion-map.
16013
16014 2011-07-01 Glenn Morris <rgm@gnu.org>
16015
16016 * type-break.el (type-break-time-sum): Use dolist.
16017
16018 * textmodes/flyspell.el (flyspell-word-search-backward):
16019 Replace CL function.
16020
16021 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16022
16023 * mouse.el (mouse--strip-first-event): New function.
16024 (function-key-map): Use it to map fringe clicks to normal clicks
16025 by default.
16026
16027 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16028 (vc-bzr-revision-completion-table): Add support for annotate and date.
16029
16030 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16031 inherit from parent.
16032
16033 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16034
16035 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16036 (dired-show-file-type): Doc fixup (bug#8818).
16037
16038 * dired.el (dired-mode): Fix up the doc string as suggested by
16039 Drew Adams (bug#8817).
16040
16041 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16042 cookie, since the manual says that it should be possible to add
16043 this function to `find-file-hook' (bug#8709).
16044
16045 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16046
16047 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16048 here. Noted Ted Zlatanov as the maintainer.
16049 (cfengine-common-settings, cfengine-common-syntax): New functions
16050 to set up common things between `cfengine-mode' and
16051 `cfengine3-mode'.
16052 (cfengine3-mode): New mode.
16053 (cfengine3-defuns cfengine3-defuns-regex
16054 (cfengine3-class-selector-regex cfengine3-category-regex)
16055 (cfengine3-vartypes cfengine3-font-lock-keywords)
16056 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16057 (cfengine3-indent-line): Add from cfengine3.el.
16058
16059 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
16060
16061 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16062
16063 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16064
16065 2011-07-01 Martin Rudalics <rudalics@gmx.at>
16066
16067 * window.el (same-window-buffer-names, same-window-regexps)
16068 (same-window-p, special-display-frame-alist)
16069 (special-display-popup-frame, special-display-function)
16070 (special-display-buffer-names, special-display-regexps)
16071 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16072 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16073 (split-window-preferred-function, split-height-threshold)
16074 (split-width-threshold, even-window-heights)
16075 (display-buffer-mark-dedicated, window-splittable-p)
16076 (split-window-sensibly, window-safely-shrinkable-p):
16077 Un-obsolete.
16078 (display-buffer): Don't spread args with function specifier
16079 because special-display-popup-frame won't like it.
16080
16081 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16082
16083 Time-stamp simplifications and fixes.
16084 These improve accuracy slightly, and future-proof the code
16085 against some potential changes to current-time format.
16086
16087 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16088 by using time-since and float-time.
16089
16090 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16091 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16092 + NNN microseconds".
16093
16094 * type-break.el (type-break-time-sum): Rewrite using time-add.
16095
16096 * play/hanoi.el (hanoi-current-time-float): Remove.
16097 All uses replaced by float-time.
16098
16099 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16100 This yields a more-accurate answer.
16101 (rng-time-to-float): Remove; no longer needed.
16102
16103 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16104
16105 * calendar/timeclock.el (timeclock-seconds-to-time):
16106 Defalias to seconds-to-time, since they're the same thing.
16107
16108 * emacs-lisp/elp.el (elp-elapsed-time):
16109 * emacs-lisp/benchmark.el (benchmark-elapse):
16110 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16111
16112 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16113
16114 * window.el (bury-buffer): Don't iconify the only frame.
16115 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16116 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16117
16118 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
16119
16120 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16121 Add mouse-yank-primary.
16122
16123 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16124
16125 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16126
16127 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16128
16129 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16130 (find-library-name): Use it to find relative load names when provided
16131 absolute file name (bug#8803).
16132
16133 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16134
16135 * textmodes/flyspell.el (flyspell-word): Consider words that
16136 differ only in case as potential doublons (bug#5687).
16137
16138 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16139 Remove two rather uninteresting debugging-like messages to make
16140 debbugs.el more silent.
16141
16142 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16143 a password-like phrase.
16144
16145 2011-06-30 Masatake YAMATO <yamato@redhat.com>
16146
16147 * progmodes/cc-guess.el: New file.
16148
16149 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16150
16151 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16152 derived from `c-basic-common-init'.
16153
16154 * progmodes/cc-mode.el (top-level): Require cc-guess.
16155 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16156
16157 2011-06-30 Lawrence Mitchell <wence@gmx.li>
16158
16159 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16160
16161 2011-06-30 Alan Mackenzie <acm@muc.de>
16162
16163 * progmodes/cc-engine.el (c-guess-continued-construct):
16164 Correct the handling of template-args-cont, particularly for when font
16165 lock is disabled. Name this case as "CASE G".
16166
16167 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16168
16169 * allout.el (allout-yank-processing): Fix injection of extra space
16170 between bullet and non-whitespace character in first topic when
16171 pasting, ensuring that the actual spacing in the pasted topic
16172 following the bullet char is preserved. This extra space was
16173 causing pasted encrypted topics to get a decrypted status even
16174 when the content was actually still encrypted. Now the decryption
16175 status from before the paste is preserved.
16176
16177 (allout-flag-region): Set all allout overlays so they evaporate
16178 when reduced to zero length (evanescent), to prevent overlay
16179 leakage.
16180
16181 2011-06-30 Glenn Morris <rgm@gnu.org>
16182
16183 * w32-fns.el (w32-charset-info-alist): Declare.
16184
16185 * find-dired.el (find-grep-options): Simplify.
16186
16187 * term/ns-win.el (ns-set-resource): Declare.
16188
16189 * ses.el (row, col): Declare dynamic variables honestly.
16190
16191 * textmodes/reftex-parse.el (index-tags): Declare.
16192
16193 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
16194
16195 * cus-edit.el (customize-push-and-save): New function.
16196
16197 * files.el (hack-local-variables-confirm): Use it.
16198
16199 * custom.el (load-theme): New arg NO-CONFIRM.
16200 Use customize-push-and-save (Bug#8720).
16201 (custom-enabled-themes): Doc fix.
16202
16203 * cus-theme.el (customize-create-theme)
16204 (custom-theme-merge-theme): Callers to load-theme changed.
16205
16206 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16207
16208 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16209 short URLs have at least one dot in them (bug #7614).
16210
16211 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16212 nil, because using a pty is apparently too slow (bug #895).
16213
16214 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16215
16216 * mail/sendmail.el (sendmail-query-once): New function.
16217 (sendmail-query-once-function): New variable.
16218
16219 2011-06-29 Glenn Morris <rgm@gnu.org>
16220
16221 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16222
16223 * ses.el (top-level): Require cl when compiling.
16224 (ses-set-localvars): Fix error statement.
16225 Call it at compile time to silence a storm of warnings.
16226
16227 2011-06-29 Martin Rudalics <rudalics@gmx.at>
16228
16229 * window.el (normalize-live-buffer): Rename to
16230 window-normalize-buffer.
16231 (normalize-live-frame): Rename to window-normalize-frame.
16232 (normalize-any-window): Rename to window-normalize-any-window.
16233 (normalize-live-window): Rename to window-normalize-live-window.
16234 (make-window-atom): Rename to window-make-atom.
16235 (window-resize-reset): Rename to window--resize-reset.
16236 (window-resize-reset-1): Rename to window--resize-reset-1.
16237 (resize-mini-window): Rename to window--resize-mini-window.
16238 (resize-subwindows-skip-p): Rename to
16239 window--resize-subwindows-skip-p.
16240 (resize-subwindows-normal): Rename to
16241 window--resize-subwindows-normal.
16242 (resize-subwindows): Rename to window--resize-subwindows.
16243 (resize-other-windows): Rename to window--resize-siblings.
16244 (resize-this-window): Rename to window--resize-this-window.
16245 (resize-root-window): Rename to window--resize-root-window.
16246 (resize-root-window-vertically): Rename to
16247 window--resize-root-window-vertically.
16248 (normalize-buffer-to-display): Rename to
16249 window-normalize-buffer-to-display.
16250 (normalize-buffer-to-switch-to): Rename to
16251 window-normalize-buffer-to-switch-to.
16252 Correspondingly update all callers of the functions listed
16253 above.
16254 (display-buffer-alist, display-buffer-normalize-arguments)
16255 (display-buffer-normalize-options, display-buffer)
16256 (display-buffer-alist-set): Use "function" instead of
16257 "fun-with-args".
16258
16259 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
16260
16261 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16262 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16263 debbugs.gnu.org. Mention acknowledgment email.
16264
16265 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16266
16267 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16268 buffer multibyteness, since it shouldn't matter.
16269
16270 2011-06-28 Martin Rudalics <rudalics@gmx.at>
16271
16272 * window.el (display-buffer-in-side-window): Handle dedicated
16273 windows as in display-buffer-reuse-window.
16274 (display-buffer-normalize-alist): Use value of override
16275 specifier.
16276 (display-buffer-normalize-specifiers): Use value of
16277 other-window-means-other-frame specifier.
16278 (display-buffer-alist): Rewrite some texts in widgets.
16279 (display-buffer): Spread arguments when calling function
16280 specified by fun-with-args.
16281
16282 2011-06-28 Deniz Dogan <deniz@dogan.se>
16283
16284 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16285 Unnest `let'.
16286
16287 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16288 selectors (Bug#5732).
16289 (css-proprietary-nmstart-re): Use `regexp-opt'.
16290
16291 2011-06-27 Jari Aalto <jari.aalto@cante.net>
16292
16293 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16294 (eshell-ls-date-format): New defcustom.
16295 (eshell-ls-file): Use it.
16296
16297 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16298
16299 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16300
16301 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16302
16303 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16304 (ange-ftp-make-tmp-name): New arg.
16305 (ange-ftp-file-local-copy): Use it.
16306
16307 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
16308
16309 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16310 no-conversion (Bug#8870).
16311
16312 2011-06-27 Martin Rudalics <rudalics@gmx.at>
16313
16314 * window.el (window-right, window-left, window-child)
16315 (window-child-count, window-last-child)
16316 (window-iso-combination-p, walk-window-tree-1)
16317 (window-atom-check-1, window-tree-1, delete-window)
16318 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16319 new naming conventions - window-vchild, window-hchild,
16320 window-next and window-prev are now called window-top-child,
16321 window-left-child, window-next-sibling and window-prev-sibling
16322 respectively.
16323 (resize-window-reset): Rename to window-resize-reset.
16324 (resize-window-reset-1): Rename to window-resize-reset-1.
16325 (resize-window): Rename to window-resize.
16326 (window-min-height, window-min-width)
16327 (resize-mini-window, resize-this-window, resize-root-window)
16328 (resize-root-window-vertically, adjust-window-trailing-edge)
16329 (enlarge-window, shrink-window, maximize-window)
16330 (minimize-window, delete-window, quit-restore-window)
16331 (split-window, balance-windows, balance-windows-area-adjust)
16332 (balance-windows-area, window-state-put-2)
16333 (display-buffer-even-window-sizes, display-buffer-set-height)
16334 (display-buffer-set-width, set-window-text-height)
16335 (fit-window-to-buffer): Rename all "resize-window" prefixed
16336 calls to use the "window-resize" prefix convention.
16337 (display-buffer-alist): Fix symbol for label specifier.
16338 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16339 corresponding specifier.
16340 Reported by Juanma Barranquero <lekktu@gmail.com>.
16341
16342 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16343
16344 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16345 convention.
16346 (ses-call-printer): Does not pass an empty string to formatter when the
16347 cell is empty to keep from barking printer Calc math-format-value.
16348
16349 2011-06-27 Richard Stallman <rms@gnu.org>
16350
16351 * battery.el (battery-mode-line-limit): New variable.
16352 (battery-update): Handle it.
16353
16354 * mail/rmailmm.el (rmail-mime-process-multipart):
16355 Handle truncated messages.
16356
16357 2011-06-27 Glenn Morris <rgm@gnu.org>
16358
16359 * progmodes/flymake.el (flymake-err-line-patterns):
16360 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16361
16362 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16363
16364 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16365 (ses--clean-!, ses--clean-_): New functions.
16366 (ses-range): Add configurability of readout order, and conversion
16367 to Calc vector.
16368
16369 * ses.el (ses-repair-cell-reference-all): New function.
16370 (ses-cell-symbol): Set macro as safe, so that it can be used in
16371 formulas.
16372
16373 * ses.el: Update cycle detection algorithm.
16374 (ses-localvars): Add ses--Dijkstra-attempt-nb and
16375 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16376 (ses-set-localvars): New function.
16377 (ses-make-cell): Add property-list as a cell element.
16378 (ses-cell-property-get-fun, ses-cell-property-get)
16379 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16380 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16381 New functions.
16382 (ses-cell-property-set, ses-cell-property-pop)
16383 (ses-cell-property-get-handle): New macro.
16384 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16385 New aliases, used for code readability.
16386 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16387 cycle detection.
16388 (ses-self-reference-early-detection): New defcustom.
16389 (ses-formula-references): Robustify against self-referring cells.
16390 (ses-mode): Use ses-set-localvars.
16391 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16392 before lauching the update processing.
16393 (ses-initialize-Dijkstra-attempt): New function.
16394 (ses-recalculate-cell): Update for cycle detection based on
16395 Dijkstra algorithm.
16396
16397 * ses.el: Fix commenting and indenting convention.
16398
16399 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16400
16401 * bs.el (bs-cycle-next): Complete last change.
16402
16403 2011-06-27 Drew Adams <drew.adams@oracle.com>
16404
16405 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16406
16407 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16408
16409 * net/network-stream.el (network-stream-open-starttls):
16410 Don't re-get capabilities unless we've reestablished connection.
16411 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16412
16413 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16414 to binary to possibly avoid line encoding issues on Windows (among
16415 other things).
16416
16417 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16418
16419 * net/network-stream.el (open-network-stream): Return an :error
16420 saying what the problem was, if possible.
16421
16422 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16423 server.
16424
16425 * net/network-stream.el (network-stream-open-starttls): If we
16426 wanted to use STARTTLS, and the server offered it, but we weren't
16427 able to because we had no STARTTLS support, then close the connection.
16428 (open-network-stream): Return an :error element, if present.
16429
16430 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16431
16432 * hl-line.el (hl-line-sticky-flag): Doc fix.
16433 (global-hl-line-sticky-flag): New option (Bug#8323).
16434 (global-hl-line-highlight): Obey it.
16435
16436 * vc/vc.el (vc-revert-show-diff): Default to t.
16437
16438 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16439
16440 * allout-widgets.el (allout-widgets-post-command-business):
16441 Stop decorating intermediate isearch matches. They're not being
16442 undecorated when an isearch is continued past, and isearch
16443 automatically collapses them. This leads to "widget leaks", where
16444 decorated items accumulate in collapsed areas. Lines with lots of
16445 hidden widgets can slow down cursor travel, substantially.
16446 Too much complicated machinery would be needed to ensure undecoration,
16447 so we're doing without this nicety.
16448
16449 (allout-widgets-tally-string): Don't try to do a hash-table-count
16450 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16451 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16452 *Messages* when allout-widgets-maintain-tally is t.
16453
16454 2011-06-26 Martin Rudalics <rudalics@gmx.at>
16455
16456 * window.el (display-buffer-normalize-argument): Rename to
16457 display-buffer-normalize-arguments. Handle special meaning of
16458 LABEL argument. Respect special-display-function when popping up
16459 a new frame. Fix code searching for a window showing the buffer
16460 on another frame.
16461 (display-buffer-normalize-specifiers):
16462 Call display-buffer-normalize-arguments.
16463 (display-buffer-in-window): Don't undedicate the window if its
16464 buffer remains the same.
16465 Reported by Drew Adams <drew.adams@oracle.com>.
16466 (display-buffer-alist): Add choice for same-window macro
16467 specfier.
16468 (display-buffer): Mention special meaning of LABEL argument in
16469 doc-string. Fix quoting. Don't pop up a new frame even as
16470 fallback.
16471
16472 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
16473
16474 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16475 avoid deleting the current window in some cases (bug#8911).
16476
16477 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16478
16479 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16480 (Bug#8934)
16481
16482 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16483
16484 * net/network-stream.el (network-stream-open-starttls):
16485 Use built-in TLS support if `gnutls-available-p' is true.
16486 (network-stream-open-tls): Ditto.
16487
16488 2011-06-26 Leo Liu <sdl.web@gmail.com>
16489
16490 * register.el (registerv): New struct.
16491 (registerv-make): New function.
16492 (jump-to-register, describe-register-1, insert-register):
16493 Support the jump-func, print-func and insert-func slot of a registerv
16494 struct. (Bug#8415)
16495
16496 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
16497
16498 * vc/vc.el (vc-revert-show-diff): New defcustom.
16499 (vc-diff-internal): New arg specifying diff buffer.
16500 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16501 reuse an existing *vc-diff* buffer (Bug#8927).
16502
16503 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16504
16505 2011-06-26 Glenn Morris <rgm@gnu.org>
16506
16507 * progmodes/f90.el (f90-critical-indent): New option.
16508 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16509 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16510 (f90-mode): Doc fix.
16511 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16512 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16513 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16514 (f90-match-end): Handle block, critical.
16515
16516 2011-06-25 Glenn Morris <rgm@gnu.org>
16517
16518 * calendar/diary-lib.el (diary-included-files): Doc fix.
16519 (diary-include-files): New function, extracted from
16520 diary-include-other-diary-files and diary-mark-included-diary-files.
16521 (diary-include-other-diary-files, diary-mark-included-diary-files):
16522 Just call diary-include-files.
16523 (diary-mark-entries): Reset diary-included-files on first call.
16524
16525 * calendar/diary-lib.el (diary-mark-entries)
16526 (diary-mark-included-diary-files):
16527 Visit included diary-files in temp buffers.
16528
16529 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16530 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16531 (f90-start-block-re, f90-imenu-generic-expression)
16532 (f90-looking-at-program-block-start, f90-no-block-limit):
16533 Add support for submodules.
16534
16535 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16536 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16537
16538 2011-06-25 Eli Zaretskii <eliz@gnu.org>
16539
16540 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16541 buffer-file-type before setting its value, to avoid disastrous
16542 global effects on decoding files for DOS/Windows systems. (Bug#8780)
16543
16544 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16545
16546 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16547
16548 * ses.el (ses-unload-function):
16549 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16550
16551 * proced.el (proced-unload-function):
16552 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16553
16554 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16555
16556 * server.el (server-create-window-system-frame): Add parameters arg.
16557 (server-process-filter): Doc fix. Handle frame-parameters.
16558
16559 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
16560
16561 Fix bug#8730, bug#8781.
16562
16563 * loadhist.el (unload--set-major-mode): New function.
16564 (unload-feature): Use it.
16565
16566 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16567 (python-unload-function): New function.
16568
16569 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16570
16571 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16572
16573 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16574
16575 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16576 the candidates list.
16577
16578 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
16579
16580 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16581
16582 2011-06-23 Richard Stallman <rms@gnu.org>
16583
16584 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16585 (rmail-variables): Set next-error-move-function.
16586 (rmail-what-message): Take argument POS.
16587 (rmail-next-error-move): New function.
16588
16589 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16590
16591 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16592 messages for adjacent non-terminals.
16593
16594 2011-06-23 Richard Stallman <rms@gnu.org>
16595
16596 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16597 (rmail-show-message-1): Preserve buffer modified flag.
16598 (rmail-start-mail): Don't specify use of rmail-mail-return;
16599 that's done by mail-bury now.
16600 (rmail-mail-return): Handle arg NEWBUF.
16601
16602 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
16603
16604 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16605 SIZE is a number.
16606
16607 2011-06-23 Martin Rudalics <rudalics@gmx.at>
16608
16609 * window.el (get-lru-window, get-mru-window)
16610 (get-largest-window): Never return a minibuffer window.
16611 (display-buffer-pop-up-window): Fix a bug that could lead to
16612 reusing the minibuffer window.
16613 (display-buffer): Pass original specifier argument to
16614 display-buffer-function instead of the normalized one.
16615 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16616
16617 2011-06-22 Leo Liu <sdl.web@gmail.com>
16618
16619 * minibuffer.el (completing-read-function)
16620 (completing-read-default): Move from minibuf.c.
16621
16622 2011-06-22 Richard Stallman <rms@gnu.org>
16623
16624 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16625 to Rmail even if not started by a special Rmail command.
16626
16627 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16628 Copy the buffer currently showing just one message.
16629
16630 2011-06-22 Roland Winkler <winkler@gnu.org>
16631
16632 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16633 (bibtex-clean-entry): First delete the old key so that a
16634 customized algorithm for generating the new key does not get
16635 confused by the old key.
16636 (bibtex-url): Obey regexp of first step.
16637 (bibtex-search-entries): Do not use add-to-list with local
16638 list-var.
16639
16640 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16641
16642 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16643 stored a user name, then query for the password first, instead of
16644 waiting for SMTP to give an error message and the trying again.
16645
16646 2011-06-22 Lawrence Mitchell <wence@gmx.li>
16647
16648 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16649 BUFFER in call-process.
16650
16651 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16652
16653 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16654 QUIT twice.
16655 (smtpmail-try-auth-methods): Require user name and password from
16656 auth-source.
16657
16658 2011-06-22 Martin Rudalics <rudalics@gmx.at>
16659
16660 * window.el (display-buffer-default-specifiers)
16661 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16662 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16663 (split-window): Normalize SIDE argument (Bug#8916).
16664
16665 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16666 (special-display-frame-alist, special-display-popup-frame):
16667 Remove duplicate declarations. These are now in window.el.
16668
16669 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16670
16671 * mail/smtpmail.el (smtpmail-via-smtp):
16672 Set :use-starttls-if-possible so that we always use STARTTLS if the
16673 server supports it. SMTP servers that support STARTTLS commonly
16674 require it.
16675
16676 * net/network-stream.el (network-stream-open-starttls): Support
16677 upgrading to STARTTLS always, even if we don't have built-in support.
16678 (open-network-stream): Add the :always-query-capabilities keyword.
16679
16680 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16681 upgrades with `open-network-stream', and rely solely on
16682 auth-source for all credentials. Big changes throughout the file,
16683 but in particular:
16684 (smtpmail-auth-credentials): Remove.
16685 (smtpmail-starttls-credentials): Remove.
16686 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16687 MAIL FROM, too.
16688
16689 * net/network-stream.el (network-stream-open-starttls):
16690 Provide support for client certificates both for external and built-in
16691 STARTTLS.
16692 (auth-source): Require.
16693 (open-network-stream): Document the :client-certificate keyword.
16694 (network-stream-certificate): Change cert-cert to cert and
16695 cert-key to key.
16696
16697 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
16698
16699 * net/tramp-cache.el (top): Don't load the persistency file when
16700 "emacs -Q" has been called.
16701
16702 2011-06-21 Tim Harper <timcharper@gmail.com>
16703
16704 * term/ns-win.el (ns-initialize-window-system):
16705 Set application-specific `ApplePressAndHoldEnabled' system
16706 resource to NO as it is not yet supported by the NS port.
16707
16708 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
16709
16710 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16711 (list-dynamic-libraries): ...not here.
16712
16713 2011-06-21 Leo Liu <sdl.web@gmail.com>
16714
16715 * subr.el (sha1): Implement sha1 using secure-hash.
16716
16717 2011-06-21 Martin Rudalics <rudalics@gmx.at>
16718
16719 * window.el (display-buffer-alist): In default value do not
16720 enforce searching a window on any but the selected frame.
16721 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16722 (display-buffer-select-window): Remove function.
16723 (display-buffer-in-window): When a window on another frame gets
16724 reused, do not select it any more but just raise its frame if
16725 necessary (Bug#8851) and (Bug#8856).
16726 (display-buffer-normalize-options): Handle pop-up-frames related
16727 options more faithfully.
16728 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16729 window if it is on another frame.
16730 (display-buffer-alist, display-buffer-default-specifiers):
16731 Don't make new frame unsplittable by default.
16732 (display-buffer-normalize-argument): Fix doc-string typo and use
16733 'same-frame-other-window instead of 'other-window when associating
16734 with display-buffer-macro-specifiers.
16735
16736 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16737
16738 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16739 New functions.
16740 (5x5-mode-map, 5x5-mode-menu): Bind them.
16741 (5x5-draw-grid): Tweak the solver's rendering.
16742
16743 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16744
16745 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16746 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16747
16748 2011-06-21 Drew Adams <drew.adams@oracle.com>
16749
16750 * menu-bar.el: Use function variable instead of switch-to-buffer.
16751 (menu-bar-select-buffer-function): New variable.
16752 (menu-bar-update-buffers): Use it (bug#8876).
16753
16754 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16755
16756 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16757 variable's status.
16758
16759 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16760
16761 * x-dnd.el (x-dnd-version-from-flags)
16762 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16763 and long as number (Bug#8899).
16764 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16765
16766 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16767
16768 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16769 (completion-try-completion, completion-all-completions): Compute the
16770 metadata argument if it's missing; make it optional (bug#8795).
16771
16772 * wid-edit.el: Use lex-bind and move towards completion-at-point.
16773 (widget-complete): Use new :completion-function property.
16774 (widget-completions-at-point): New function.
16775 (default): Use :completion-function instead of :complete.
16776 (widget-default-completions): Rename from widget-default-complete;
16777 Rewrite.
16778 (widget-string-complete, widget-file-complete, widget-color-complete):
16779 Remove functions.
16780 (file, symbol, function, variable, coding-system, color):
16781 * international/mule-cmds.el (default-input-method, charset)
16782 (language-info-custom-alist):
16783 * cus-edit.el (face): Use new property :completions.
16784
16785 * progmodes/pascal.el (pascal-completions-at-point): New function.
16786 (pascal-mode): Use it.
16787 (pascal-mode-map): Use completion-at-point.
16788 (pascal-toggle-completions): Make obsolete.
16789 (pascal-complete-word, pascal-show-completions):
16790 * progmodes/octave-mod.el (octave-complete-symbol):
16791 Redefine as obsolete alias.
16792 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16793 Signal absence of completion info for old Octave,
16794 (inferior-octave-complete): Redefine as obsolete alias.
16795 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16796 (meta-completions-at-point): Rename from meta-complete-symbol and
16797 adapt it for use on completion-at-point-functions.
16798 (meta-common-mode): Use it.
16799 (meta-looking-at-backward, meta-match-buffer): Remove.
16800 (meta-complete-symbol): Redefine as obsolete alias.
16801 (meta-common-mode-map): Use completion-at-point.
16802 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16803 (makefile-mode-map): Use completion-at-point.
16804 (makefile-completions-at-point): Rename from makefile-complete and
16805 adapt it for use on completion-at-point-functions.
16806 (makefile-mode): Use it.
16807 (makefile-complete): Redefine as obsolete alias.
16808
16809 2011-06-20 Deniz Dogan <deniz@dogan.se>
16810
16811 * net/rcirc.el: Delete trailing whitespaces once and for all.
16812
16813 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16814
16815 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16816
16817 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
16818
16819 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16820
16821 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16822
16823 2011-06-19 Martin Rudalics <rudalics@gmx.at>
16824
16825 * window.el (display-buffer-other-window-means-other-frame):
16826 Call display-buffer-normalize-alist.
16827 (display-buffer-normalize-specifiers-1): Rename to
16828 display-buffer-normalize-argument. New argument other-frame.
16829 Rewrite.
16830 (display-buffer-normalize-specifiers-2): Rename to
16831 display-buffer-normalize-options.
16832 (display-buffer-normalize-alist-1): New function.
16833 (display-buffer-normalize-specifiers-3): Rename to
16834 display-buffer-normalize-alist.
16835 Call display-buffer-normalize-alist-1.
16836 (display-buffer-normalize-options-inhibit): New variable.
16837 (display-buffer-normalize-specifiers): Rewrite calling
16838 display-buffer-normalize-alist,
16839 display-buffer-normalize-argument, and
16840 display-buffer-normalize-options. Don't call the latter if
16841 display-buffer-normalize-options-inhibit is non-nil.
16842 (frame-auto-delete): New option.
16843 (window-deletable-p): Use frame-auto-delete.
16844 (window-list-no-nils, window-state-ignored-parameters)
16845 (window-state-get-1, window-state-get, window-state-put-list)
16846 (window-state-put-1, window-state-put-2, window-state-put):
16847 New functions.
16848 (display-buffer-normalize-options): Move special-display-p group
16849 after pop-up-frame group (Bug#8851) and (Bug#8856).
16850
16851 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
16852
16853 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16854 groups (Bug#8776).
16855 (rx-submatch-n): New function.
16856 (rx): Document it.
16857
16858 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16859 (Bug#8768).
16860
16861 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16862
16863 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16864
16865 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16866 anytime existing face settings are present (Bug#8889).
16867
16868 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16869 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16870 Remove unused argument.
16871
16872 2011-06-18 Martin Rudalics <rudalics@gmx.at>
16873
16874 * window.el (display-buffer-default-specifiers):
16875 Remove pop-up-frame. Add pop-up-window-min-height,
16876 pop-up-window-min-width, and another reuse-window specifier
16877 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
16878 (display-buffer-normalize-specifiers-2):
16879 Handle split-height-threshold and split-width-threshold also when
16880 pop-up-windows is unset. Add a reuse-window specifier for the
16881 case popping up a new window fails.
16882 (special-display-popup-frame): Remove double quoting.
16883 (display-buffer-normalize-specifiers-1): Fix thinko.
16884
16885 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16886
16887 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16888 according to comint-completion-addsuffix.
16889
16890 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16891 (pcomplete-suffix-list): Mark as obsolete.
16892 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16893 pcomplete-seen in the closure.
16894 (pcomplete-comint-setup): Setup completion-at-point as well.
16895 (pcomplete--entries): New function.
16896 (pcomplete--env-regexp): New var.
16897 (pcomplete-entries): Rewrite to work with partial-completion and
16898 without relying on pcomplete-suffix-list.
16899 (pcomplete-pare-list): Remove, unused.
16900
16901 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16902
16903 * window.el (display-buffer-alist): Set pop-up-window-min-height
16904 and pop-up-window-min-width in default value. Reported by
16905 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16906 other-window-means-other-frame.
16907 (display-buffer-macro-specifiers): Comment out entry for
16908 other-window specifier.
16909 (display-buffer-other-window-means-other-frame): New function.
16910 (display-buffer-normalize-specifiers-1): New arguments
16911 buffer-name and label. Treat other-window case specially.
16912 (display-buffer-normalize-specifiers-2): Treat other-window case
16913 specially.
16914 (display-buffer-normalize-specifiers-3): New function.
16915 (display-buffer-normalize-specifiers):
16916 Call display-buffer-normalize-specifiers-3.
16917
16918 2011-06-17 Martin Rudalics <rudalics@gmx.at>
16919
16920 * window.el (same-window-p): Fix two typos introduced when
16921 adding with-no-warnings.
16922 (display-buffer-normalize-specifiers-1): Don't check
16923 pop-up-frames for 'unset initialization.
16924 (display-buffer-normalize-specifiers-2): Major rewrite using
16925 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16926 (pop-up-frames, display-buffer-reuse-frames)
16927 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16928 Suggested by David Engster <deng@randomsample.de>.
16929 (even-window-heights): Initialize to 'unset.
16930 (display-buffer-alist-set): Handle new 'unset initializations.
16931 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16932 other window case.
16933
16934 2011-06-16 Martin Rudalics <rudalics@gmx.at>
16935
16936 * window.el (display-buffer-normalize-specifiers-1):
16937 Respect current value of pop-up-frames for most reasonable values of
16938 second argument of display-buffer (Bug#8865).
16939 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16940 (switch-to-buffer-other-window-same-frame)
16941 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16942 Adams (Bug#8875).
16943 (display-buffer): Don't check noninteractive when calling
16944 display-buffer-pop-up-frame.
16945 (display-buffer-pop-up-frame): Never pop up a frame in
16946 noninteractive mode (Bug#8857).
16947 (enlarge-window, shrink-window): Don't report an error when the
16948 window can't be resized as requested (Bug#8862).
16949
16950 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16951
16952 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16953
16954 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16955
16956 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16957
16958 2011-06-15 Alan Mackenzie <acm@muc.de>
16959
16960 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16961 for declarators, disable knr checking to speed up for normal files.
16962 2: Refactor, replacing a sequence of nested if forms by a cond form.
16963
16964 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16965
16966 * net/network-stream.el (open-network-stream): Add the keyword
16967 :always-query-capabilities for the case where you want to force a
16968 `plain' network connection, but the protocol still requires the
16969 capabilitiy command (i.e., SMTP and EHLO).
16970
16971 * subr.el (process-live-p): Rename from `process-alive-p' for
16972 consistency with other `-live-p' functions.
16973
16974 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16975
16976 * window.el (same-window-buffer-names, same-window-regexps)
16977 (special-display-frame-alist, special-display-popup-frame)
16978 (special-display-function, special-display-buffer-names)
16979 (special-display-regexps, pop-up-frame-alist)
16980 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16981 (pop-up-windows, split-window-preferred-function)
16982 (split-height-threshold, split-width-threshold, even-window-heights)
16983 (display-buffer-mark-dedicated): Don't encourage the use of
16984 display-buffer-alist from Elisp code.
16985
16986 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16987
16988 * progmodes/python.el (python-mode): Derive from prog-mode.
16989 * progmodes/ps-mode.el (ps-mode):
16990 * progmodes/mixal-mode.el (mixal-mode):
16991 * progmodes/cfengine.el (cfengine-mode):
16992 * progmodes/ld-script.el (ld-script-mode): Likewise.
16993
16994 2011-06-15 Martin Rudalics <rudalics@gmx.at>
16995
16996 * window.el (display-buffer-alist): Trim default value to avoid
16997 popping up a new frame (Bug#8857) or reusing an arbitrary window
16998 on another frame.
16999 (display-buffer): Do not fall back on popping up a new frame in
17000 batch mode (Bug#8857).
17001
17002 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
17003
17004 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17005 (custom-theme-summary): New function.
17006 (customize-themes): Use it.
17007
17008 2011-06-13 Glenn Morris <rgm@gnu.org>
17009
17010 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17011
17012 2011-06-13 Martin Rudalics <rudalics@gmx.at>
17013
17014 * help.el (help-window): Remove variable.
17015 (help-window-point-marker, temp-buffer-max-height)
17016 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17017 (help-print-return-message): Don't set help-window.
17018 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17019 (help-window-setup-finish): Remove.
17020 (help-window-display-message, help-window-setup)
17021 (with-help-window): Major rewrite based on new
17022 display-buffer-window variable.
17023
17024 * help-mode.el (help-mode-finish): Remove help-window related
17025 code.
17026
17027 * view.el (view-exits-all-viewing-windows): Remove reference to
17028 view-return-to-alist in doc-string.
17029 (view-return-to-alist): Make obsolete.
17030 (view-buffer): Call pop-to-buffer-same-window and remove
17031 undo-window code.
17032 (view-buffer-other-window): Call pop-to-buffer-other-window and
17033 simplify code. Ignore second argument.
17034 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17035 simplify code. Ignore second argument.
17036 (view-return-to-alist-update): Make obsolete.
17037 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17038 Rewrite using quit-restore window parameters.
17039 (view-mode-exit): Rename second argument to EXIT-ONLY.
17040 Rewrite using quit-restore-window.
17041 (View-exit, View-exit-and-edit, View-leave, View-quit)
17042 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17043 appropriate arguments.
17044 (view-end-message): Use quit-restore window parameter.
17045
17046 * window.el (display-buffer-function): Rewrite doc-string.
17047 (display-buffer-window, display-buffer-alist): New variables.
17048 (display-buffer-split-specifiers)
17049 (display-buffer-side-specifiers)
17050 (display-buffer-macro-specifiers): New constants.
17051 (display-buffer-even-window-sizes, display-buffer-set-height)
17052 (display-buffer-set-width, display-buffer-select-window)
17053 (display-buffer-in-window, display-buffer-reuse-window)
17054 (display-buffer-split-window-1, display-buffer-split-window)
17055 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17056 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17057 (display-buffer-in-side-window, normalize-buffer-to-display)
17058 (display-buffer-normalize-specifiers-1)
17059 (display-buffer-normalize-specifiers-2)
17060 (display-buffer-normalize-specifiers, display-buffer-frame):
17061 New functions.
17062 (display-buffer): Major rewrite.
17063 (display-buffer-other-window, display-buffer-other-frame)
17064 (pop-to-buffer, switch-to-buffer-other-window)
17065 (switch-to-buffer-other-frame): Rewrite.
17066 (display-buffer-same-window, display-buffer-same-frame)
17067 (display-buffer-same-frame-other-window)
17068 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17069 (pop-to-buffer-other-window)
17070 (pop-to-buffer-same-frame-other-window)
17071 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17072 (switch-to-buffer-other-window-same-frame): New functions.
17073 (same-window-p, special-display-p): Rewrite disabling warnings.
17074 Make obsolete.
17075 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17076 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17077 Make obsolete
17078 (same-window-buffer-names, same-window-regexps)
17079 (special-display-frame-alist, special-display-popup-frame)
17080 (special-display-function, special-display-buffer-names)
17081 (special-display-regexps, pop-up-frame-alist)
17082 (pop-up-frame-function, split-window-preferred-function)
17083 (split-height-threshold, split-width-threshold)
17084 (even-window-heights): Make obsolete.
17085
17086 2011-06-12 Glenn Morris <rgm@gnu.org>
17087
17088 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
17089 Misc simplifications.
17090
17091 2011-06-12 Martin Rudalics <rudalics@gmx.at>
17092
17093 * window.el (window-safely-shrinkable-p): Restore function which
17094 was inadvertently removed in change from 2011-06-11. Declare as
17095 obsolete.
17096
17097 * calendar/calendar.el (calendar-generate-window):
17098 Use window-iso-combined-p instead of combination of one-window-p and
17099 window-safely-shrinkable-p.
17100
17101 2011-06-12 Glenn Morris <rgm@gnu.org>
17102
17103 * progmodes/fortran.el (fortran-mode-syntax-table):
17104 * progmodes/f90.el (f90-mode-syntax-table):
17105 Set % to punctuation. (Bug#8820)
17106 (f90-find-tag-default): Remove, no longer needed.
17107
17108 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17109
17110 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17111
17112 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
17113
17114 * image.el (image-animated-p): Return animation delay in seconds.
17115 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17116 (image-animate-timeout): Remove DELAY argument. Don't assume
17117 every subimage has the same delay; get it from image-animated-p.
17118 (image-animate): Caller changed.
17119
17120 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
17121
17122 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17123 to ignored backtrace functions.
17124
17125 2011-06-11 Glenn Morris <rgm@gnu.org>
17126
17127 * calendar/appt.el (appt-disp-window-function): Doc fix.
17128 (appt-check): Handle overlapping appointments. (Bug#8337)
17129
17130 2011-06-11 Martin Rudalics <rudalics@gmx.at>
17131
17132 * window.el (window-tree-1, window-tree): New functions, moving
17133 the latter to window.el.
17134 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17135 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17136 (bw-refresh-edges): Remove.
17137 (balance-windows-1, balance-windows-2): New functions.
17138 (balance-windows): Rewrite in terms of window tree functions,
17139 balance-windows-1 and balance-windows-2.
17140 (bw-adjust-window): Remove.
17141 (balance-windows-area-adjust): New function with functionality of
17142 bw-adjust-window but using resize-window.
17143 (set-window-text-height): Rewrite doc-string.
17144 Use normalize-live-window and resize-window.
17145 (enlarge-window-horizontally, shrink-window-horizontally):
17146 Rename argument to DELTA.
17147 (window-buffer-height): New function.
17148 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17149 Rewrite using new window resize routines.
17150 (kill-buffer-and-window, mouse-autoselect-window-select):
17151 Use ignore-errors instead of condition-case.
17152 (quit-window): Call delete-frame instead of delete-windows-on
17153 for the only buffer on frame.
17154
17155 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17156
17157 * loadup.el (top-level): Load window before files for the sake
17158 of replace-buffer-in-windows.
17159
17160 * files.el (read-buffer-to-switch)
17161 (switch-to-buffer-other-window)
17162 (switch-to-buffer-other-frame, display-buffer-other-frame):
17163 Move to window.el.
17164
17165 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17166 (previous-buffer): Move to window.el.
17167
17168 * bindings.el (unbury-buffer): Move to window.el.
17169
17170 * window.el (delete-other-windows-vertically): Move after
17171 definition of delete-other-windows.
17172 (other-window, delete-windows-on, replace-buffer-in-windows):
17173 Move here from window.c.
17174 (record-window-buffer, unrecord-window-buffer)
17175 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17176 (switch-to-next-buffer): New functions.
17177 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17178 from simple.el. Call switch-to-next-buffer.
17179 (previous-buffer): Move here from simple.el.
17180 Call switch-to-prev-buffer.
17181 (bury-buffer): Move here from buffer.c. Switch to previous
17182 buffer when window cannot be deleted.
17183 (unbury-buffer): Move here from bindings.el.
17184 (ctl-x-map): Move binding for other-window from window.c to
17185 here.
17186 (read-buffer-to-switch, switch-to-buffer-other-window)
17187 (switch-to-buffer-other-frame): Move here from files.el.
17188 (normalize-buffer-to-switch-to): New functions.
17189 (switch-to-buffer): Move here from buffer.c.
17190 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17191
17192 2011-06-10 Martin Rudalics <rudalics@gmx.at>
17193
17194 * window.el (window-min-height, window-min-width): Move here
17195 from window.c. Add defcustoms and rewrite doc-strings.
17196 (resize-mini-window, resize-window): New functions.
17197 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17198 Move here from window.c.
17199 (maximize-window, minimize-window): New functions.
17200 (delete-window, delete-other-windows, split-window): Move here
17201 from window.c.
17202 (window-split-min-size): New function.
17203 (split-window-keep-point): Mention split-window-above-each-other
17204 instead of split-window-vertically.
17205 (split-window-above-each-other, split-window-vertically):
17206 Rename split-window-vertically to split-window-above-each-other
17207 and provide defalias for old definition.
17208 (split-window-side-by-side, split-window-horizontally):
17209 Rename split-window-horizontally to split-window-side-by-side
17210 and provide defalias for the old definition.
17211 (ctl-x-map): Move bindings for delete-window,
17212 delete-other-windows and enlarge-window here from window.c.
17213 Replace bindings for split-window-vertically and
17214 split-window-horizontally by bindings for
17215 split-window-above-each-other and split-window-side-by-side.
17216
17217 * cus-start.el (all): Remove entries for window-min-height and
17218 window-min-width. Add entries for window-splits and
17219 window-nest.
17220
17221 2011-06-09 Glenn Morris <rgm@gnu.org>
17222
17223 * calendar/appt.el (appt-mode-line): New function.
17224 (appt-check, appt-disp-window): Use it.
17225
17226 * files.el (hack-one-local-variable-eval-safep):
17227 Allow minor-modes with explicit +/-1 arguments.
17228
17229 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17230
17231 * term/xterm.el (xterm): Add defgroup.
17232 (xterm-extra-capabilities): Add defcustom to supply known xterm
17233 capabilities, skip querying them, or query them (default).
17234 (terminal-init-xterm): Use it.
17235 (terminal-init-xterm-modify-other-keys): New function to set up
17236 modifyOtherKeys support to simplify `terminal-init-xterm'.
17237
17238 2011-06-09 Martin Rudalics <rudalics@gmx.at>
17239
17240 * window.el (resize-window-reset, resize-window-reset-1)
17241 (resize-subwindows-skip-p, resize-subwindows-normal)
17242 (resize-subwindows, resize-other-windows, resize-this-window)
17243 (resize-root-window, resize-root-window-vertically)
17244 (window-deletable-p, window-or-subwindow-p)
17245 (frame-root-window-p): New functions.
17246
17247 2011-06-09 Glenn Morris <rgm@gnu.org>
17248
17249 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17250 (ange-ftp-get-files): Use it.
17251
17252 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17253
17254 * mail/sendmail.el (mail-recover-1, mail-recover):
17255 * files.el (recover-file, recover-session):
17256 Handle dired-listing-switches not being just a single short option.
17257
17258 2011-06-09 Glenn Morris <rgm@gnu.org>
17259
17260 * calendar/appt.el (appt-display-message, appt-disp-window):
17261 Handle lists of appointments.
17262
17263 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17264
17265 * window.el (one-window-p): Move down in code.
17266 Rewrite doc-string.
17267 (window-current-scroll-bars): Rewrite doc-string.
17268 Normalize live window argument.
17269 (walk-windows, get-window-with-predicate, count-windows):
17270 Rewrite doc-string. Use window-list-1.
17271 (window-in-direction-2, window-in-direction, get-mru-window):
17272 New functions.
17273
17274 2011-06-08 Reuben Thomas <rrt@sc3d.org>
17275
17276 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17277 Doc fix (Bug#8713).
17278
17279 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
17280
17281 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17282
17283 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
17284
17285 * loadhist.el (unload-feature-special-hooks):
17286 Add `comint-output-filter-functions'.
17287
17288 2011-06-08 Ivan Kanis <gnu@kanis.fr>
17289
17290 * calendar/appt.el (appt-check): Move some initializations into the let.
17291
17292 2011-06-08 Martin Rudalics <rudalics@gmx.at>
17293
17294 * window.el (window-height): Defalias to window-total-height.
17295 (window-width): Defalias to window-body-width.
17296
17297 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
17298
17299 * image-mode.el (image-toggle-animation): New command.
17300 (image-mode-map): Bind it to RET.
17301 (image-mode): Update message.
17302 (image-toggle-display-image): Avoid a spurious cache flush.
17303 (image-transform-rotation): Doc fix.
17304 (image-transform-properties): Return quickly in the normal case.
17305 (image-animate-loop): Rename from image-animate-max-time.
17306
17307 * image.el (image-animate-max-time): Move to image-mode.el.
17308 (create-animated-image): Remove unnecessary function.
17309 (image-animate): Rename from image-animate-start. New arg.
17310 (image-animate-stop): Remove; just use image-animate-timer.
17311 (image-animate-timer): Use car-safe.
17312 (image-animate-timeout): Rename argument.
17313
17314 2011-06-07 Martin Rudalics <rudalics@gmx.at>
17315
17316 * window.el (get-lru-window, get-largest-window): Move here from
17317 window.c. Rename first argument to ALL-FRAMES.
17318 Rephrase doc-strings.
17319 (get-buffer-window-list): Rewrite using window-list-1.
17320 Rephrase doc-string.
17321 (window-safe-min-height, window-safe-min-width): New constants.
17322 (window-size-ignore, window-min-size, window-min-size-1)
17323 (window-sizable, window-sizable-p, window-size-fixed-1)
17324 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17325 (window-max-delta-1, window-max-delta, window-resizable)
17326 (window-resizable-p, window-total-height, window-total-width)
17327 (window-body-width): New functions.
17328 (window-full-height-p, window-full-width-p): Rewrite using
17329 window-total-size.
17330 (window-body-height): Rewrite using window-body-size.
17331
17332 2011-06-06 Martin Rudalics <rudalics@gmx.at>
17333
17334 * window.el (window-right, window-left, window-child)
17335 (window-child-count, window-last-child, window-any-p)
17336 (normalize-live-buffer, normalize-live-frame)
17337 (normalize-any-window, normalize-live-window)
17338 (window-iso-combination-p, window-iso-combined-p)
17339 (window-iso-combinations)
17340 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17341 (windows-with-parameter, window-with-parameter)
17342 (window-atom-root, make-window-atom, window-atom-check-1)
17343 (window-atom-check, window-side-check, window-check):
17344 New functions.
17345 (ignore-window-parameters, window-sides, window-sides-vertical)
17346 (window-sides-slots): New variables.
17347 (window-size-fixed): Move down in code. Minor doc-string fix.
17348
17349 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17350
17351 * comint.el (comint-dynamic-complete-as-filename)
17352 (comint-dynamic-complete-filename): Correctly call
17353 completion-in-region.
17354
17355 2011-06-05 Deniz Dogan <deniz@dogan.se>
17356
17357 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17358 in last change.
17359
17360 2011-06-05 Deniz Dogan <deniz@dogan.se>
17361
17362 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17363 (rcirc): Use it to prompt for encryption.
17364
17365 2011-06-05 Roland Winkler <winkler@gnu.org>
17366
17367 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17368 (bibtex-search-entries): New command bound to C-c C-a.
17369 (bibtex-display-entries): New function.
17370
17371 2011-06-05 Roland Winkler <winkler@gnu.org>
17372
17373 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17374 (bibtex-insert-kill): After yanking insert newline if necessary.
17375 (bibtex-initialize): Call bibtex-string-files-init only once.
17376 (bibtex-mode): Do not call easy-menu-add.
17377 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17378 (bibtex-yank): Set arg properly if nil.
17379
17380 2011-06-05 Roland Winkler <winkler@gnu.org>
17381
17382 * textmodes/bibtex.el (bibtex-search-entry-globally):
17383 New variable.
17384 (bibtex-search-entry): Use it.
17385
17386 2011-06-05 Roland Winkler <winkler@gnu.org>
17387
17388 * textmodes/bibtex.el (bibtex-entry-format): New option
17389 sort-fields.
17390 (bibtex-format-entry, bibtex-reformat): Honor this option.
17391 (bibtex-parse-entry): Return fields in proper order.
17392
17393 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
17394
17395 * doc-view.el (doc-view-remove-if): Move computation of result out
17396 of `dolist' to silence misleading lexical-binding warning.
17397
17398 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
17399
17400 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17401 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17402
17403 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17404
17405 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17406 "SunOS 5.10".
17407
17408 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
17409
17410 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17411 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17412 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17413 (tramp-parse-putty):
17414 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17415 (tramp-completion-function-alist-ssh)
17416 (tramp-completion-function-alist-telnet)
17417 (tramp-completion-function-alist-su)
17418 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17419 cookie.
17420
17421 * net/tramp-ftp.el:
17422 * net/tramp-sh.el:
17423 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17424 load "tramp.el" `tramp-set-completion-function'.
17425
17426 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17427
17428 * shell.el: Require and use pcomplete.
17429 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17430 (shell-completion-vars): Set pcomplete-default-completion-function.
17431
17432 2011-06-04 Deniz Dogan <deniz@dogan.se>
17433
17434 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17435 `memq' (Bug#8799).
17436
17437 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17438
17439 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17440
17441 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
17442
17443 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17444 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17445 * vc/log-view.el (log-view-beginning-of-defun):
17446 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17447 (smerge-refine-forward, smerge-refine-chopup-region):
17448 Silence warning for unused `dotimes' counter variables.
17449
17450 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17451
17452 * net/tramp.el (tramp-with-progress-reporter): Rename from
17453 with-progress-reporter. Use `declare'.
17454 * net/tramp-smb.el:
17455 * net/tramp-sh.el:
17456 * net/tramp-gvfs.el: Update all uses.
17457
17458 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17459
17460 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17461 buffer isn't killed before making it current.
17462
17463 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17464
17465 Silence various byte-compiler warnings.
17466 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17467 `access-type' and new obsolescence format.
17468 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17469 new format.
17470 (byte-compile-check-variable): New `access-type' argument.
17471 Only warn if the access-type is obsolete.
17472 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17473 (byte-compile-variable-set): Adjust callers.
17474 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17475 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17476 setting it as obsolete.
17477 * simple.el (minibuffer-completing-symbol):
17478 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17479 access as obsolete.
17480 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17481 obsolete yet.
17482 * international/quail.el (quail-mouse-choose-completion): Remove unused
17483 code referring to obsolete var.
17484 (quail-choose-completion-string): Remove.
17485 * server.el (server-clients-with, server-kill-buffer-query-function)
17486 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17487 * proced.el (proced-send-signal):
17488 * emacs-lisp/lisp.el (lisp-complete-symbol):
17489 Replace completion-annotate-function with completion-extra-properties.
17490
17491 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17492
17493 * simple.el (goto-line): Use read-number.
17494 (overriding-map-is-bound): Remove.
17495 (saved-overriding-map): Change default.
17496 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17497 Take the map as argument.
17498 (universal-argument, negative-argument, digit-argument): Use it.
17499 (restore-overriding-map): Adjust.
17500 (do-auto-fill): Use fill-forward-paragraph.
17501 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17502
17503 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17504 (minibuffer-inactive-mode): New major mode.
17505 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17506 the *Messages* buffer" hack.
17507 (mouse-popup-menubar): Don't burp if the event is a normal key.
17508
17509 Miscellaneous tweaks.
17510 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17511 lexical scoping as in subr.el's dolist and dotimes.
17512 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17513 Silence compiler warning.
17514 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17515 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17516 * international/ccl.el (ccl-compile): Trivial simplification.
17517 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17518 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17519 `printflag' argument.
17520 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17521 Purecopy the whole obsolescence data.
17522
17523 2011-06-01 Leo Liu <sdl.web@gmail.com>
17524
17525 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17526 improve doc-string as suggested by Marco Pessotto
17527 <melmothx@gmail.com>.
17528 (rcirc-print): Fix last change.
17529
17530 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17531
17532 * minibuffer.el (complete-with-action): Return nil for the metadata and
17533 boundaries of non-functional tables.
17534 (completion-table-dynamic): Return nil for the metadata.
17535 (completion-table-with-terminator): Add default case, using
17536 complete-with-action.
17537 (completion--metadata): New function.
17538 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17539 to try and avoid pathological performance problems.
17540 (completion--embedded-envvar-table): Return `category' metadata.
17541
17542 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17543
17544 * subr.el (process-alive-p): New tiny convenience function.
17545
17546 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17547
17548 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17549 content but also its previous major mode.
17550
17551 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
17552
17553 * emacs-lisp/debug.el (debug): Restore the previous content of the
17554 *Backtrace* buffer when we exit with C-M-c.
17555
17556 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17557
17558 * minibuffer.el: Add metadata method to completion tables.
17559 (completion-category-overrides): New defcustom.
17560 (completion-metadata, completion--field-metadata)
17561 (completion-metadata-get, completion--styles)
17562 (completion--cycle-threshold): New functions.
17563 (completion-try-completion, completion-all-completions):
17564 Add `metadata' argument to choose completion-styles.
17565 (completion--do-completion): Use metadata to choose cycling.
17566 (completion-all-sorted-completions): Use metadata for sorting.
17567 Remove :completion-cycle-penalty which is not needed any more.
17568 (completion--try-word-completion): Add `metadata' argument.
17569 (minibuffer-completion-help): Check metadata for annotation function
17570 and sorting.
17571 (completion-file-name-table): Return `category' metadata.
17572 (minibuffer-completing-file-name): Make obsolete.
17573 * simple.el (minibuffer-completing-symbol): Make obsolete.
17574 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17575 completion-try-completion.
17576
17577 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17578
17579 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17580
17581 2011-05-30 Leo Liu <sdl.web@gmail.com>
17582
17583 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17584 (rcirc-print): Decode all incoming messages (bug#8744).
17585 (rcirc-decode-coding-system): Allow value nil for automatic coding
17586 system detection.
17587
17588 2011-06-01 Glenn Morris <rgm@gnu.org>
17589
17590 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17591
17592 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17593
17594 * image.el (image-animate-max-time): Allow nil and t values.
17595 Default to nil.
17596 (create-animated-image): Doc fix.
17597 (image-animate-start): Remove second arg; just use
17598 image-animate-max-time.
17599 (image-animate-timeout): Doc fix. Args changed.
17600
17601 * image-mode.el (image-toggle-display-image): Ensure that the
17602 image spec passed to the animate timer is the same object as in
17603 the buffer's display property (Bug#6981).
17604 (image-transform-properties): Doc fix.
17605
17606 * image.el (image-animate-max-time): Default to nil.
17607
17608 2011-05-29 Martin Rudalics <rudalics@gmx.at>
17609
17610 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17611 entire buffer list (Bug#8184).
17612
17613 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17614
17615 * image.el (imagemagick-types-inhibit)
17616 (imagemagick-register-types): Doc fix.
17617
17618 2011-05-29 Deniz Dogan <deniz@dogan.se>
17619
17620 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17621 default.
17622
17623 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
17624
17625 * select.el: Don't perform clipboard-manager saving in hooks;
17626 leave the hooks empty.
17627
17628 2011-05-28 Leo Liu <sdl.web@gmail.com>
17629
17630 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17631 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17632 (occur-edit-mode): New major mode (Bug#8463).
17633 (occur-after-change-function): New function.
17634 (occur-engine): Give Occur tags a read-only property.
17635
17636 2011-05-28 Kevin Ryde <user42@zip.com.au>
17637
17638 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17639
17640 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17641
17642 * bindings.el (help-echo): Make the initial non-indicator dash
17643 empty on graphical terminals (Bug#7295).
17644
17645 * files.el (auto-mode-alist): Move config rule after the
17646 in-stripping one (Bug#8547).
17647
17648 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17649
17650 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17651 setting (Bug#8740).
17652
17653 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17654
17655 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17656 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17657 (Bug#8539).
17658
17659 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17660
17661 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17662
17663 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17664
17665 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17666 (hs-hide-block-at-point, hs-find-block-beginning)
17667 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17668 (Bug#8279).
17669
17670 2011-05-28 Glenn Morris <rgm@gnu.org>
17671
17672 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17673
17674 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
17675
17676 * help-fns.el (describe-function-1): If the function is a derived
17677 major mode, print the parent mode.
17678
17679 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17680 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17681
17682 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17683
17684 * minibuffer.el (completion--capf-wrapper): Check applicability before
17685 returning non-nil for non-exclusive completion data.
17686 * progmodes/etags.el (tags-completion-at-point-function):
17687 * info-look.el (info-lookup-completions-at-point): Mark as
17688 non-exclusive.
17689 (info-complete): Adjust accordingly.
17690
17691 * info-look.el: Convert to lexical-binding and completion-at-point.
17692 (info-lookup-completions-at-point): New function.
17693 (info-complete): Use it and completion-in-region.
17694
17695 2011-05-28 Drew Adams <drew.adams@oracle.com>
17696
17697 * isearch.el: Let M-e start with point at the first mismatched char.
17698 (isearch-fail-pos): New function.
17699 (isearch-edit-string): Use it.
17700
17701 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17702
17703 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17704
17705 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
17706
17707 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17708 traversal functions for avl-trees.
17709 (avl-tree--stack): New struct.
17710 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17711 (avl-tree-enter): Add optional `updatefun' arg.
17712 (avl-tree--do-enter): Add optional `updatefun' arg.
17713 Change return value.
17714 (avl-tree-delete): Add optional `test' and `nilflag' args.
17715 (avl-tree--do-delete): Add `test' and `nilflag' args.
17716 Change return value.
17717 (avl-tree-member): Add optional `nilflag'
17718 (avl-tree-member-p): New function.
17719 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17720 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17721 (avl-tree-stack-empty-p): New functions.
17722
17723 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17724 avl-tree--del-balance1 and make it work both ways.
17725 (avl-tree--del-balance2): Remove.
17726 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17727 make it work both ways.
17728 (avl-tree--enter-balance2): Remove.
17729 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17730 New macros.
17731 (avl-tree--mapc, avl-tree-map): Add direction argument.
17732
17733 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
17734
17735 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17736
17737 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
17738
17739 * select.el: Support clipboard managers with built-in function
17740 x-clipboard-manager-save, via delete-frame-functions and
17741 kill-emacs-hook.
17742 (xselect-convert-to-targets): Add MULTIPLE target to list.
17743 (xselect-convert-to-save-targets): New function.
17744
17745 2011-05-27 Kenichi Handa <handa@m17n.org>
17746
17747 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17748 let-binding rfc2047-encode-encoded-words to nil.
17749
17750 2011-05-27 Glenn Morris <rgm@gnu.org>
17751
17752 * mail/emacsbug.el: Don't require url-util.
17753
17754 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17755
17756 * files.el (set-auto-mode):
17757 Also respect mode: entries at the end of the file. (Bug#8586)
17758
17759 2011-05-26 Glenn Morris <rgm@gnu.org>
17760
17761 * files.el (hack-local-variables-prop-line, hack-local-variables):
17762 Downcase mode names, as seems to be traditional.
17763 (hack-local-variables, hack-local-variables-apply): Doc fixes.
17764
17765 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17766 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17767
17768 2011-05-25 Julien Danjou <julien@danjou.info>
17769
17770 * textmodes/rst.el (rst-define-level-faces): Do not define face
17771 symbol if it is already defined.
17772
17773 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17774
17775 * play/5x5.el (5x5-new-game, 5x5-randomize):
17776 Reset 5x5-solver-output to nil when a new grid is cast.
17777 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17778 these debugging traces, as defmacro breaks the compiled code.
17779
17780 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17781
17782 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17783
17784 2011-05-24 Leo Liu <sdl.web@gmail.com>
17785
17786 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17787 (vc-bzr-sha1): Adapt.
17788
17789 * sha1.el: Remove. Function `sha1' is now builtin.
17790
17791 * bindings.el: Provide sha1 feature.
17792
17793 2011-05-24 Kenichi Handa <handa@m17n.org>
17794
17795 * mail/sendmail.el: Require `rfc2047'.
17796 (mail-insert-from-field): Do not perform RFC2047 encoding.
17797 (mail-encode-header): New function.
17798 (sendmail-send-it): Set buffer-file-coding-system of the work
17799 buffer to the return value of select-message-coding-system.
17800 Call mail-encode-header.
17801
17802 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17803
17804 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
17805
17806 * mail/supercite.el (sc-default-cite-frame):
17807 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17808
17809 2011-05-24 Glenn Morris <rgm@gnu.org>
17810
17811 * progmodes/python.el (brm-menu): Declare.
17812
17813 * emulation/viper.el (viper-set-hooks): Declare.
17814
17815 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17816 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17817 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17818 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17819 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17820 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17821
17822 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17823
17824 Add an :exit-function for completion-at-point.
17825
17826 * minibuffer.el (completion--done): New fun.
17827 (completion--do-completion): Use it. New arg `expect-exact'.
17828 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17829 since completion--do-completion does it for us now.
17830 (minibuffer-force-complete): Use completion--done and
17831 completion--replace. Handle sole-completion case with more care.
17832 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17833 (completion-extra-properties): New var.
17834 (completion-annotate-function): Make obsolete.
17835 (minibuffer-completion-help): Adjust accordingly.
17836 Use completion-list-insert-choice-function.
17837 (completion-at-point, completion-help-at-point):
17838 Bind completion-extra-properties.
17839 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17840 * simple.el (completion-list-insert-choice-function): New var.
17841 (completion-setup-function): Preserve it.
17842 (choose-completion): Pay attention to it, shuffle the code a bit.
17843 (choose-completion-string): New arg `insert-function'.
17844
17845 * textmodes/bibtex.el: Convert to lexical binding.
17846 (bibtex-mode-map): Use completion-at-point.
17847 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17848 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17849 (bibtex-complete): Define as obsolete alias.
17850 (bibtex-complete-internal): Remove.
17851 (bibtex-format-entry): Remove unused sub-group in regexp.
17852 * shell.el (shell--command-completion-data)
17853 (shell-environment-variable-completion):
17854 * pcomplete.el (pcomplete-completions-at-point):
17855 * comint.el (comint--complete-file-name-data): Use :exit-function
17856 instead of completion-table-with-terminator so it also works for
17857 choose-completion.
17858
17859 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17860
17861 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17862
17863 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17864 (bug#8710).
17865
17866 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17867
17868 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17869
17870 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17871 customization variable and implement: If non-nil, auto-fill will
17872 be inhibited while on topic's header line.
17873
17874 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17875
17876 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17877 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
17878 always have a solution in grid size = 5 cases.
17879 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17880 (5x5-solver-output, 5x5-log-buffer): New vars.
17881 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17882 Make these variables buffer local to achieve 5x5 multi-session-ness.
17883 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17884 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17885 (5x5-solve-suggest): New funs.
17886 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17887 randomize a grid so that we ensure that there is always a solution.
17888 (5x5-make-random-grid): Allow other movement than flipping.
17889
17890 2011-05-23 Kevin Ryde <user42@zip.com.au>
17891
17892 * emacs-lisp/advice.el (ad-read-advised-function):
17893 Use `function-called-at-point' as the default, if it has
17894 advice and passes PREDICATE.
17895
17896 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17897
17898 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17899 byte-compile-lambda if it's actually a lambda.
17900
17901 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17902 Fix function quoting. Use backquote better.
17903
17904 2011-05-22 Yuanle Song <sylecn@gmail.com>
17905
17906 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17907 matching (Bug#8516).
17908
17909 2011-01-22 Jari Aalto <jari.aalto@cante.net>
17910
17911 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17912 different face (Bug#8178).
17913
17914 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
17915
17916 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17917 defface (Bug#8144).
17918
17919 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17920
17921 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17922 funcall as well (bug#8712). Warn when performing those conversions.
17923 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17924
17925 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17926
17927 2011-05-22 Glenn Morris <rgm@gnu.org>
17928
17929 * files.el (hack-local-variables-prop-line): Small simplifications.
17930 (hack-local-variables, hack-local-variables-prop-line):
17931 If MODE-ONLY, return the mode, rather than just `t'.
17932
17933 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17934
17935 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17936
17937 2011-05-21 Glenn Morris <rgm@gnu.org>
17938
17939 * files.el (hack-local-variables-prop-line, hack-local-variables):
17940 If only interested in the mode, don't bother doing the other stuff.
17941
17942 * image-mode.el (image-after-revert-hook):
17943 Redraw all frames on which the image is visible. (Bug#8567)
17944
17945 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17946
17947 * wid-edit.el (widget-checklist-match-inline):
17948 Fix 2011-04-19 change. (Bug#8649)
17949
17950 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17951
17952 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17953 Also allow singlespace after single-letter capitals followed by a dot.
17954
17955 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17956 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17957
17958 2011-05-20 Nix <nix@esperi.org.uk>
17959
17960 * files.el (basic-save-buffer-2):
17961 Fix handling of break-hardlink-on-save with non-existent files.
17962
17963 2011-05-19 Deniz Dogan <deniz@dogan.se>
17964
17965 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17966 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17967
17968 2011-05-19 Glenn Morris <rgm@gnu.org>
17969
17970 * progmodes/f90.el (f90-type-def-re):
17971 Handle "type, bind(c)". (Bug#8691)
17972
17973 * emacs-lisp/autoload.el (batch-update-autoloads):
17974 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17975
17976 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
17977
17978 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17979 property for the correct connection in case of multihops.
17980
17981 2011-05-18 Glenn Morris <rgm@gnu.org>
17982
17983 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17984 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17985
17986 Rationalize calendar handling of day and month abbrev-arrays.
17987 * calendar/calendar.el (calendar-customized-p): New function.
17988 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17989 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17990 Add :set function.
17991 (calendar-abbrev-length, calendar-day-abbrev-array)
17992 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17993 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17994 Elements may no longer be nil.
17995 (calendar-day-name, calendar-month-name):
17996 Update for changed nature of abbrev arrays.
17997 * calendar/diary-lib.el (diary-name-pattern):
17998 Update for changed nature of abbrev arrays.
17999 (diary-mark-entries-1): Update calendar-make-alist calls.
18000 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18001 * calendar/cal-html.el (cal-html-day-abbrev-array):
18002 Simply inherit from calendar-day-abbrev-array.
18003
18004 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18005
18006 * progmodes/grep.el (grep-mode): Disable default
18007 compilation-directory-matcher setting (bug#8684).
18008
18009 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
18010
18011 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18012 instead of "head" and "tail". There were problems with SunOS 5.9,
18013 and it performs better.
18014
18015 2011-05-17 Glenn Morris <rgm@gnu.org>
18016
18017 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18018
18019 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18020 Replace obsolete function.
18021
18022 * shell.el (pcomplete-parse-arguments-function): Declare.
18023
18024 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18025 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18026 (appt-check): Doc fixes.
18027 (appt-disp-window-function, appt-delete-window-function):
18028 Remove needless special case in custom :type.
18029 (appt-display-count): Default to 0, not nil.
18030 (appt-check): Reset appt-display-count to 0, not nil.
18031
18032 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
18033
18034 * progmodes/python.el (python-font-lock-keywords):
18035 Add the Python 3.X keyword "nonlocal" (bug#8639).
18036
18037 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18038
18039 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18040
18041 2011-05-16 Kevin Ryde <user42@zip.com.au>
18042
18043 * info-look.el (makefile-automake-mode): New setups, looking in
18044 automake manual, then makefile-mode.
18045 (makefile-mode): Remove automake manual, have it just in
18046 makefile-automake-mode since there's various things different or
18047 not relevant to plain make.
18048 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18049 believe a hypothetical automake-mode would go to makefile-mode,
18050 not the other way around.
18051
18052 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
18053
18054 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18055 hunk-end tags (Bug#8672).
18056
18057 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18058 vc-annotate-show-diff-revision-at-line (Bug#8671).
18059
18060 2011-05-14 Glenn Morris <rgm@gnu.org>
18061
18062 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18063 in the middle of an existing one with multiple authors. (Bug#8645)
18064 (change-log-font-lock-keywords): Also handle multiple author lines
18065 with leading tabs. (Bug#8644)
18066
18067 * calendar/appt.el (appt-check): Rename some local variables.
18068 Some simplification/reordering.
18069
18070 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18071 (feedmail-sendmail-f-doesnt-sell-me-out)
18072 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18073 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18074 (feedmail-queue-runner-message-sender): Set :version.
18075 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18076 (bbdb-dwim-net-address, vm-mail): Declare.
18077 (feedmail-binmail-gnulinuxish-template):
18078 Rename from feedmail-binmail-linuxish-template.
18079 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18080 Use insert-buffer-substring.
18081
18082 2011-05-14 Bill Carpenter <bill@carpenter.org>
18083
18084 * mail/feedmail.el (feedmail-patch-level): Increase.
18085 (feedmail-debug): New custom group.
18086 (feedmail-confirm-outgoing-timeout)
18087 (feedmail-sendmail-f-doesnt-sell-me-out)
18088 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18089 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18090 (feedmail-sender-line, feedmail-from-line)
18091 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18092 (feedmail-spray-this-address)
18093 (feedmail-spray-address-fiddle-plex-list)
18094 (feedmail-queue-use-send-time-for-date)
18095 (feedmail-queue-use-send-time-for-message-id)
18096 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18097 (feedmail-buffer-eating-function):
18098 Doc fixes.
18099 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18100 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18101 (feedmail-message-action-scroll-down): New functions.
18102 (feedmail-queue-directory, feedmail-queue-draft-directory):
18103 Use expand-file-name.
18104 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18105 Remove C-v help entry.
18106 (feedmail-queue-buffer-file-name): New variable.
18107 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18108 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18109 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18110 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18111 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18112 (feedmail-message-action-toggle-spray)
18113 (feedmail-run-the-queue-no-prompts)
18114 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18115 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18116 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18117 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18118 (feedmail-envelope-deducer, feedmail-fiddle-from)
18119 (feedmail-fiddle-sender, feedmail-default-date-generator)
18120 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18121 (feedmail-fiddle-spray-address)
18122 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18123 (feedmail-fiddle-list-of-fiddle-plexes)
18124 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18125 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18126 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18127 Change default. Doc fix.
18128 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18129 (feedmail-binmail-linuxish-template): New constant.
18130 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18131 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18132 (feedmail-send-it): Add debug call.
18133 Use feedmail-queue-buffer-file-name, and
18134 feedmail-send-it-immediately-wrapper.
18135 (feedmail-message-action-send): Add debug call.
18136 Use feedmail-send-it-immediately-wrapper.
18137 (feedmail-queue-express-to-queue): Add debug call.
18138 Run feedmail-queue-express-hook.
18139 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18140 (feedmail-message-action-help-blat):
18141 Rename from feedmail-queue-send-edit-prompt-help-first.
18142 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18143 Check line-endings. Handle errors better.
18144 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18145 Doc fix. Add debug call.
18146 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18147 Use feedmail-queue-send-edit-prompt-inner.
18148 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18149 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18150 from feedmail-queue-send-edit-prompt.
18151 (feedmail-queue-send-edit-prompt-help)
18152 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18153 (feedmail-tidy-up-slug): Add debug call.
18154 Respect feedmail-queue-slug-suspect-regexp.
18155 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18156 (feedmail-dump-message-to-queue): Add debug call.
18157 Expand queue-directory.
18158 (feedmail-dump-message-to-queue): Change message slightly.
18159 Use feedmail-say-chatter.
18160 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18161 (feedmail-send-it-immediately-wrapper): New function.
18162 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18163 Insert empty string rather than newline. Handle full-frame case.
18164 Use catch/throw. Use feedmail-say-chatter.
18165 (feedmail-fiddle-from): Try mail-host-address.
18166 (feedmail-default-message-id-generator): Doc fix.
18167 Bind system-time-locale. Handle missing end.
18168 (feedmail-fiddle-x-mailer): Add debug call.
18169 Handle feedmail-x-mailer-line being nil.
18170 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18171 Add debug call. Use buffer-substring-no-properties.
18172 (feedmail-say-debug, feedmail-say-chatter): New functions.
18173 (feedmail-find-eoh): Give an explicit error.
18174
18175 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
18176
18177 * net/newst-treeview.el (newsticker-treeview-face): Change default
18178 family from helvetica to sans.
18179 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18180 etc/images/newsticker.
18181
18182 * net/newst-reader.el (newsticker-feed-face): Change default
18183 family from helvetica to sans.
18184
18185 * net/newst-plainview.el (newsticker-new-item-face)
18186 (newsticker-old-item-face, newsticker-immortal-item-face)
18187 (newsticker-obsolete-item-face, newsticker-date-face)
18188 (newsticker-statistics-face): Change default family from
18189 helvetica to sans.
18190 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18191 etc/images/newsticker.
18192
18193 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18194 (newsticker--process-auto-mark-filter-match): Tell user about
18195 auto-marking.
18196
18197 2011-05-13 Didier Verna <didier@xemacs.org>
18198
18199 Common Lisp indentation improvements on defmethod and lambda-lists.
18200 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18201 TODO entries.
18202 (lisp-lambda-list-keyword-parameter-indentation)
18203 (lisp-lambda-list-keyword-parameter-alignment)
18204 (lisp-lambda-list-keyword-alignment): New customizable user options.
18205 (lisp-indent-defun-method): Improve docstring.
18206 (extended-loop-p): Fix comment.
18207 (lisp-indent-lambda-list-keywords-regexp): New variable.
18208 (lisp-indent-lambda-list): New function.
18209 (lisp-indent-259): Use it.
18210 (lisp-indent-defmethod): Support for more than one
18211 method qualifier and properly indent methods lambda-lists.
18212 (defgeneric): Provide a missing common-lisp-indent-function property.
18213
18214 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18215
18216 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18217 bounds for the empty string (bug#8667).
18218
18219 2011-05-13 Glenn Morris <rgm@gnu.org>
18220
18221 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18222
18223 * mail/sendmail.el (sendmail-program): Try executable-find first.
18224 (sendmail-send-it): `sendmail-program' cannot be unbound.
18225
18226 * calendar/appt.el (appt-make-list): Simplify.
18227 (appt-time-msg-list): Doc fix.
18228 (appt-check): Change mode-line message at the time of the appointment.
18229
18230 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18231
18232 * progmodes/ld-script.el (ld-script-keywords)
18233 (ld-script-builtins): Update keywords list.
18234
18235 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18236
18237 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18238
18239 * shell.el (shell-completion-vars): New function.
18240 (shell-mode):
18241 * simple.el (read-shell-command): Use it.
18242 (blink-matching-open): No need for " [...]" in minibuffer-message.
18243
18244 2011-05-12 Glenn Morris <rgm@gnu.org>
18245
18246 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18247 (appt-check): Simplify.
18248
18249 2011-05-12 Eli Zaretskii <eliz@gnu.org>
18250
18251 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18252 literal "/dev/null".
18253
18254 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18255
18256 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18257 Fix typo.
18258
18259 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
18260
18261 * progmodes/which-func.el (which-function):
18262 Use add-log-current-defun instead of add-log-current-defun-function,
18263 which might not be defined (Bug#8260).
18264
18265 2011-05-12 Glenn Morris <rgm@gnu.org>
18266
18267 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18268 Let byte-compile-initial-macro-environment always take precedence.
18269
18270 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18271
18272 * net/rcirc.el: Add support for SSL/TLS connections.
18273 (rcirc-server-alist): New field `encryption'.
18274 (rcirc): Check `encryption' settings.
18275 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18276 Merge make-local-variable into `set'.
18277 (rcirc--connection-open-p): New function.
18278 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18279 the process is not a network process (e.g. running gnutls-cli).
18280 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18281 Make rcirc-(en|de)code-coding-system local here.
18282 (rcirc-mode): Merge make-local-variable into `set'.
18283 (rcirc-parent-buffer): Make permanent buffer-local.
18284 (rcirc-multiline-minor-mode): Don't do it here.
18285 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18286 there's no server buffer.
18287
18288 2011-05-11 Glenn Morris <rgm@gnu.org>
18289
18290 * newcomment.el (comment-kill): Prefix "unused" local.
18291
18292 * term/w32console.el (get-screen-color): Declare.
18293
18294 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18295 Handle symbol elements of byte-compile-initial-macro-environment.
18296
18297 2011-05-10 Leo Liu <sdl.web@gmail.com>
18298
18299 * bookmark.el (bookmark-bmenu-mode-map):
18300 Bind bookmark-bmenu-search to `/'.
18301
18302 * mail/footnote.el: Convert to utf-8 encoding.
18303 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18304 (Footnote-unicode): New function.
18305 (footnote-style-alist): Add unicode style to the list.
18306 (footnote-style): Doc fix.
18307
18308 2011-05-10 Jim Meyering <meyering@redhat.com>
18309
18310 Fix doubled-word typos.
18311 * international/quail.el (quail-insert-kbd-layout): and and -> and
18312 * kermit.el: and and -> and
18313 * net/ldap.el (ldap-search-internal): to to -> to
18314 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18315 * progmodes/js.el (js-mode): and and -> and
18316 * textmodes/artist.el (artist-move-to-xy): at at -> at
18317 (artist-draw-region-trim-line-endings): if if -> if
18318 And Safetyc -> Safety.
18319 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18320
18321 2011-05-10 Glenn Morris <rgm@gnu.org>
18322 Stefan Monnier <monnier@iro.umontreal.ca>
18323
18324 * files.el (hack-one-local-variable-eval-safep):
18325 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18326
18327 2011-05-10 Glenn Morris <rgm@gnu.org>
18328
18329 * calendar/diary-lib.el (diary-list-entries-hook)
18330 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18331 (diary-nongregorian-marking-hook, diary-list-entries)
18332 (diary-include-other-diary-files, diary-mark-entries)
18333 (diary-mark-included-diary-files): Doc fixes.
18334
18335 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18336
18337 * misc.el: Require tabulated-list.el during compilation.
18338
18339 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18340
18341 * progmodes/compile.el (compilation-start):
18342 Run compilation-filter-hook for the async case too.
18343 (compilation-filter-hook): Doc fix.
18344
18345 2011-05-09 Deniz Dogan <deniz@dogan.se>
18346
18347 * wdired.el: Remove outdated installation comment. Fix usage
18348 comment.
18349
18350 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
18351
18352 * misc.el: Implement new command `list-dynamic-libraries'.
18353 (list-dynamic-libraries--loaded-only-p): New variable.
18354 (list-dynamic-libraries--refresh): New function.
18355 (list-dynamic-libraries): New command.
18356
18357 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
18358
18359 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18360 Fix the ant regexp to handle end-line and end-column info from jikes.
18361 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18362 higher priority to avoid clobbering by gnu.
18363
18364 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18365
18366 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18367 if the face has existing theme settings (Bug#8454).
18368
18369 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18370
18371 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18372 Only match variables declared via `my' or `our' (Bug#8261).
18373
18374 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18375 special file names `.' and `..' (Bug#8259).
18376
18377 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
18378
18379 * progmodes/grep.el (grep-mode-font-lock-keywords):
18380 Remove buffer-changing entries.
18381 (grep-filter): New function.
18382 (grep-mode): Add it to compilation-filter-hook.
18383
18384 * progmodes/compile.el (compilation-filter-hook)
18385 (compilation-filter-start): New defvars.
18386 (compilation-filter): Call compilation-filter-hook prior to
18387 updating the process mark.
18388
18389 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18390
18391 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18392
18393 2011-05-07 Eli Zaretskii <eliz@gnu.org>
18394
18395 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18396 mailclient-send-it even if window-system is nil. (Bug#8595)
18397
18398 * term/w32console.el (terminal-init-w32console):
18399 Call get-screen-color and use its output to set the frame
18400 background-mode. (Bug#8597)
18401
18402 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18403
18404 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18405 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18406 New functions.
18407 (defgeneric, eieio--defmethod): Use them.
18408 (eieio-defgeneric): Remove.
18409 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18410
18411 2011-05-07 Glenn Morris <rgm@gnu.org>
18412
18413 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18414 Use let rather than let*.
18415 (timeclock-find-discrep): Remove unused local.
18416
18417 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18418
18419 * calendar/appt.el (appt-time-msg-list): Doc fix.
18420
18421 2011-05-06 Noah Friedman <friedman@splode.com>
18422
18423 * apropos.el (apropos-print-doc): Only use
18424 emacs-lisp-docstring-fill-column when it is bound to an integer,
18425 per that variable's documentation.
18426
18427 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18428
18429 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18430 and warnings are not silently discarded (e.g. use -d instead of -P).
18431
18432 2011-05-06 Glenn Morris <rgm@gnu.org>
18433
18434 * calendar/appt.el (appt-message-warning-time): Doc fix.
18435 (appt-warning-time-regexp): New option.
18436 (appt-make-list): Respect appt-message-warning-time.
18437
18438 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18439 New options.
18440 (diary-add-to-list): Strip comments from the displayed string.
18441 (diary-mode): Set comment-start and comment-end.
18442
18443 * vc/diff-mode.el (smerge-refine-subst): Declare.
18444 (diff-refine-hunk): Don't require smerge-mode when compiling.
18445
18446 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
18447
18448 * simple.el (list-processes): Return nil as the docstring says.
18449
18450 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18451
18452 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18453 to "".
18454 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18455 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18456 determining of binary transfer. (Bug#7383)
18457
18458 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
18459
18460 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18461 Fix port computation bug. (Bug#8618)
18462
18463 2011-05-05 Glenn Morris <rgm@gnu.org>
18464
18465 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18466
18467 * simple.el (shell-dynamic-complete-functions)
18468 (comint-dynamic-complete-functions): Declare.
18469
18470 * net/network-stream.el (gnutls-negotiate):
18471 * simple.el (tabulated-list-print): Fix declarations.
18472
18473 * progmodes/gud.el (syntax-symbol, syntax-point):
18474 Remove unnecessary and incorrect declarations.
18475
18476 * emacs-lisp/check-declare.el (check-declare-scan):
18477 Handle byte-compile-initial-macro-environment in bytecomp.el.
18478
18479 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18480
18481 Fix earlier half-done eieio-defmethod change (bug#8338).
18482 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18483 Streamline and change calling convention.
18484 (defmethod): Adjust accordingly and simplify.
18485 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18486 new eieio--defmethod.
18487 (slot-boundp): Minor CSE simplification.
18488
18489 2011-05-05 Milan Zamazal <pdm@zamazal.org>
18490
18491 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18492 (glasses-make-readable): Use glasses-separate-capital-groups.
18493
18494 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
18495
18496 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18497 (warning-series): Doc fix.
18498 (display-warning): Don't try to create the buffer if we just found it.
18499
18500 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
18501
18502 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18503 (autoload-find-generated-file): New function.
18504 (generate-file-autoloads): Bind generated-autoload-file to
18505 buffer-file-name.
18506 (update-file-autoloads, update-directory-autoloads):
18507 Use autoload-find-generated-file. If called interactively, prompt for
18508 output file (Bug#7989).
18509 (batch-update-autoloads): Doc fix.
18510
18511 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
18512
18513 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18514
18515 2011-05-04 Glenn Morris <rgm@gnu.org>
18516
18517 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18518 function, so it follows changes in calendar-date-style.
18519 (diary-fancy-date-matcher): New function.
18520 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18521 (diary-fancy-font-lock-fontify-region-function):
18522 Use diary-fancy-date-pattern as a function.
18523
18524 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18525 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18526
18527 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18528
18529 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18530 instead of positional arguments. Allow :keylist and :crlfiles
18531 arguments.
18532 (open-gnutls-stream): Call it.
18533
18534 * net/network-stream.el (network-stream-open-starttls): Adjust to
18535 call `gnutls-negotiate' with :process and :hostname arguments.
18536
18537 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18538
18539 * minibuffer.el (completion--message): New function.
18540 (completion--do-completion, minibuffer-complete)
18541 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18542 (completion--do-completion): Don't ignore completion-auto-help when in
18543 icomplete-mode.
18544
18545 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18546 internal encoding (e.g. tibetan zero is not whitespace).
18547 (global-whitespace-mode): Prefer save-current-buffer.
18548 (whitespace-trailing-regexp): Remove useless save-match-data.
18549 (whitespace-empty-at-bob-regexp): Minor simplification.
18550
18551 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
18552
18553 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18554
18555 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18556
18557 * textmodes/ispell.el (ispell-add-per-file-word-list):
18558 Use `concat' to create string for insertion.
18559
18560 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18561
18562 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18563 Avoid open-line which runs post-self-insert-hook.
18564 (bibtex-fill-entry): Remove unused `end' var.
18565
18566 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18567
18568 * textmodes/ispell.el (ispell-add-per-file-word-list):
18569 Protect against `nil' value of `comment-start' (Bug#8579).
18570
18571 2011-05-03 Leo Liu <sdl.web@gmail.com>
18572
18573 * isearch.el (isearch-yank-pop): New command.
18574 (isearch-mode-map): Bind it to `M-y'.
18575 (isearch-forward): Mention it.
18576
18577 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18578
18579 * simple.el (minibuffer-complete-shell-command): Remove.
18580 (minibuffer-local-shell-command-map): Use completion-at-point.
18581 (read-shell-command): Setup completion vars here instead.
18582 (read-expression-map): Bind TAB to symbol completion.
18583
18584 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18585 error directly rather via storing it into `results'.
18586
18587 2011-05-02 Leo Liu <sdl.web@gmail.com>
18588
18589 * vc/diff.el: Fix description.
18590
18591 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18592
18593 * server.el (server-eval-at): New function.
18594
18595 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18596
18597 * net/network-stream.el (open-network-stream): Take a :nowait
18598 parameter and pass it on to `make-network-process'.
18599 (network-stream-open-plain): Ditto.
18600
18601 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18602
18603 * faces.el (face-spec-set-match-display): Don't match toolkit
18604 options on terminal frames.
18605
18606 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18607
18608 * progmodes/pascal.el: Use lexical binding.
18609 (pascal-mode-map): Remove author preferences.
18610
18611 * pcomplete.el (pcomplete-std-complete): Don't abuse
18612 completion-at-point.
18613
18614 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18615
18616 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18617 removing code that has been dead since 1991 or so.
18618
18619 * startup.el (command-line): When warning about "_emacs", use a
18620 delayed warning to allow the user to filter it out.
18621
18622 2011-04-28 Deniz Dogan <deniz@dogan.se>
18623
18624 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18625 user has not joined.
18626
18627 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18628
18629 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18630 aren't any completions at point.
18631
18632 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
18633
18634 * subr.el (display-delayed-warnings): New function.
18635 (delayed-warnings-hook): New variable.
18636
18637 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18638
18639 * minibuffer.el (completion-at-point, completion-help-at-point):
18640 Don't presume that a given completion-at-point-function will always
18641 use the same calling convention.
18642
18643 * pcomplete.el (pcomplete-completions-at-point):
18644 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18645 pcomplete-seen is non-nil.
18646 (pcomplete-comint-setup): Also recognize the new comint/shell
18647 completion functions.
18648 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18649 pcomplete-seen is non-nil.
18650
18651 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
18652
18653 * calendar/icalendar.el (diary-lib): Add require statement.
18654 (icalendar--create-uid): Read out a uid from a text-property on
18655 the first character in the entry. This allows for code to add its
18656 own uid to the entry.
18657 (icalendar--convert-float-to-ical): Add export of
18658 `diary-float'-entries save for those with the optional DAY
18659 argument.
18660
18661 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18662
18663 * subr.el (shell-quote-argument): Use alternate escaping strategy
18664 when we spot a variable reference in a string.
18665
18666 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18667
18668 * cus-start.el (all): Define customization for debug-on-event.
18669
18670 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18671
18672 * subr.el (shell-quote-argument): Escape correctly under Windows.
18673
18674 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18675
18676 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18677
18678 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
18679
18680 * net/tramp.el (tramp-process-actions): Add POS argument.
18681 Delete region between POS and (pos).
18682
18683 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18684 Use `nil' position in `tramp-process-actions' call.
18685 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18686
18687 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18688 position in `tramp-process-actions' call.
18689
18690 * net/trampver.el: Update release number.
18691
18692 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18693
18694 * custom.el (defcustom): Obey lexical-binding.
18695
18696 Fix octave-inf completion problems reported by Alexander Klimov.
18697 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18698 Inherit from octave-mode-syntax-table.
18699 (inferior-octave-mode): Set info-lookup-mode.
18700 (inferior-octave-completion-at-point): New function.
18701 (inferior-octave-complete): Use it and completion-in-region.
18702 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18703 comint-filename-completion.
18704 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18705 symbol elements which shouldn't be word elements.
18706 (octave-font-lock-keywords, octave-beginning-of-defun)
18707 (octave-function-header-regexp): Adjust regexps accordingly.
18708 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18709
18710 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
18711
18712 * net/gnutls.el (gnutls-errorp): Declare before first use.
18713
18714 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18715
18716 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18717 verify-error, and verify-hostname-error parameters. Check whether
18718 default trustfile exists before going to use it. Add missing
18719 argument to gnutls-message-maybe call. Return value.
18720 Reported by Claudio Bley <claudio.bley@gmail.com>.
18721 (open-gnutls-stream): Add usage example.
18722
18723 * net/network-stream.el (network-stream-open-starttls): Give host
18724 parameter to `gnutls-negotiate'.
18725 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18726 * subr.el (shell-quote-argument): Escape correctly under Windows.
18727
18728 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
18729
18730 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18731 Use correct match group (bug#8438).
18732
18733 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18734
18735 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18736 (package-menu--generate): New arg specifying packages to show.
18737 (package-menu-refresh, package-menu-execute, list-packages):
18738 Callers changed.
18739 (package-show-package-list): New function, replacing deleted
18740 package--list-packages (renamed because it is non-internal).
18741
18742 * finder.el (finder-list-matches): Use package-show-package-list
18743 instead of deleted package--list-packages.
18744
18745 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18746 Based on a previous implementation by Juanma Barranquero (Bug#8366).
18747 (vc-annotate-mode-map): Bind it to RET.
18748
18749 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18750
18751 * progmodes/etags.el (next-file): Don't use set-buffer to change
18752 buffers (Bug#8478).
18753
18754 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
18755
18756 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18757
18758 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18759 (apropos-accumulator): Doc fix.
18760 (apropos-function, apropos-macro, apropos-command)
18761 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18762 (apropos-plist): Add face property.
18763 (apropos-symbols-internal): Fix indentation.
18764 (apropos-print): Simplify help, and recognize apropos-multi-type.
18765 (apropos-print-doc): Use button-type-get to extract the button's
18766 face property. Fill docstring (Bug#8352).
18767
18768 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
18769
18770 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18771
18772 * play/mpuz.el (mpuz-silent): Doc fix.
18773 (mpuz-mode-map): Use mapc.
18774 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18775 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18776 Fix typos in docstrings.
18777
18778 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18779 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18780
18781 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18782
18783 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
18784
18785 * minibuffer.el (completion--do-completion): Avoid the "Next char
18786 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18787
18788 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18789 mouse-2 into unread-command-events, it is interpreted correctly.
18790
18791 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18792 (image-toggle-display): Doc fix.
18793
18794 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
18795
18796 * textmodes/page.el (what-page): Use line-number-at-pos to
18797 calculate line number (Bug#6825).
18798
18799 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18800
18801 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18802 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18803 Pass argument NO-DEFAULT to `find-tag-interactive'.
18804
18805 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
18806
18807 Lexical-binding cleanup.
18808
18809 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18810 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18811 * progmodes/ada-prj.el (ada-prj-initialize-values)
18812 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18813 (ada-prj-show-value):
18814 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18815 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18816 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18817 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18818 * progmodes/bug-reference.el (bug-reference-push-button):
18819 * progmodes/fortran.el (fortran-line-length):
18820 * progmodes/glasses.el (glasses-change):
18821 * progmodes/octave-mod.el (octave-fill-paragraph):
18822 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18823 (python-pdbtrack-grub-for-buffer, python-sentinel):
18824 * progmodes/sql.el (sql-save-connection):
18825 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18826 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18827 Mark unused parameters.
18828
18829 * progmodes/compile.el (compilation--flush-directory-cache)
18830 (compilation--flush-parse, compile-internal): Mark unused parameters.
18831 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18832 (compilation-next-error-function): Remove unused variable `timestamp'.
18833
18834 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18835 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18836
18837 * progmodes/dcl-mode.el (dcl-end-of-command):
18838 Remove unused variable `start'.
18839 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18840 (dcl-option-value-basic, dcl-option-value-offset)
18841 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18842 Mark unused parameters.
18843 (dcl-save-local-variable): Remove unused variable `val'.
18844 (mode): Declare.
18845
18846 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18847 Mark unused parameters.
18848 (delphi-ignore-changes): Move before first use.
18849 (delphi-charset-token-at): Remove unused variable `start'.
18850 (delphi-else-start): Remove unused variable `if-count'.
18851 (delphi-comment-block-start, delphi-comment-block-end):
18852 Remove unused variable `kind'.
18853 (delphi-indent-line): Remove unused variable `new-point'.
18854
18855 * progmodes/ebrowse.el (ebrowse-files-list)
18856 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18857 Mark unused parameters. Don't quote `lambda'.
18858 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18859 Don't quote `lambda'.
18860 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18861 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18862 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18863 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18864 Use `ignore-errors'.
18865 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18866 (ebrowse-view/find-file-and-search-pattern)
18867 (ebrowse-view/find-member-declaration/definition):
18868 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18869 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18870 Rename parameter PREFIX-ARG to PREFIX.
18871 (ebrowse-tags-read-name): Remove unused variables `start' and
18872 `member-info'.
18873 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18874 to `tags-file'.
18875
18876 * progmodes/etags.el (local-find-tag-hook): Declare.
18877 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18878 Mark unused parameters.
18879
18880 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18881 (executable-interpret): Mark unused parameter.
18882
18883 * progmodes/flymake.el (flymake-process-sentinel)
18884 (flymake-after-change-function)
18885 (flymake-create-temp-with-folder-structure)
18886 (flymake-get-include-dirs-dot): Mark unused parameters.
18887 (flymake-safe-delete-directory): Remove unused variable `err'.
18888
18889 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18890 (speedbar-timer-fn, speedbar-line-text)
18891 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18892 (speedbar-center-buffer-smartly): Declare functions.
18893 (gdb-find-watch-expression): Remove unused variable `array'.
18894 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18895 (gdb-starting): Mark unused parameters.
18896 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18897 (gdb-table-string): Remove unused variable `res'.
18898 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18899 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18900 (gdb-display-buffer): Remove unused variable `cur-size'.
18901
18902 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18903 allow lexical-binding compilation.
18904 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18905 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18906 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18907 Mark unused parameters.
18908 (gud-gdb-marker-filter): Remove unused variable `match'.
18909 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18910 lambda expressions and funcall them, instead of using `fset'.
18911
18912 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18913 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18914
18915 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18916 variable `header-beg'; use `let'.
18917
18918 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18919 `restart', `last-sexp' and `at-do'.
18920
18921 * progmodes/js.el (js--debug): Mark unused parameter.
18922 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18923 (js--splice-into-items): Remove unused variable `item'.
18924 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18925
18926 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18927 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18928 (makefile-complete): Remove unused variable `try'.
18929 (makefile-fill-paragraph, makefile-match-function-end):
18930 Mark unused parameters.
18931
18932 * progmodes/octave-inf.el (inferior-octave-complete):
18933 Remove unused variable `proc'.
18934 (inferior-octave-output-digest): Mark unused parameter.
18935
18936 * progmodes/perl-mode.el (perl-calculate-indent):
18937 Remove unused variable `err'.
18938
18939 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18940 (prolog-indent-line): Mark unused parameters.
18941 (prolog-indent-line): Remove unused variable `beg'.
18942
18943 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18944 (reporter-dont-compact-list): Declare.
18945
18946 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18947 Remove unused variable `char'.
18948 (sh-debug): Mark unused parameter.
18949 (sh-get-indent-info): Remove unused variable `start'.
18950 (sh-calculate-indent): Remove unused variable `var'.
18951
18952 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18953 (simula-electric-keyword): Remove unused variable `null'.
18954 (simula-search-backward, simula-search-forward): Remove unused
18955 variables `begin' and `end'.
18956
18957 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18958 Remove unused variable `pos'.
18959 (vera-electric-tab, vera-comment-uncomment-region):
18960 Mark unused parameters.
18961 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18962
18963 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
18964
18965 * emacs-lisp/package.el (package--builtins, package-alist)
18966 (package-load-descriptor, package-built-in-p, package-activate)
18967 (define-package, package-installed-p)
18968 (package-compute-transaction, package-buffer-info)
18969 (package--push): Doc fix. Distinguish more clearly between
18970 version strings and version lists.
18971
18972 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
18973
18974 Lexical-binding cleanup.
18975
18976 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18977 (5x5-make-mutate-best):
18978 * play/fortune.el (fortune-in-buffer):
18979 * play/gomoku.el (gomoku-init-display):
18980 * play/solitaire.el (solitaire, solitaire-do-check):
18981 * play/tetris.el (tetris-default-update-speed-function):
18982 Mark unused parameters.
18983
18984 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18985 (bubbles--shift): Remove unused variable `char-org'.
18986 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18987 (bubbles--show-images): Remove unused variable `char'.
18988
18989 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18990 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18991 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18992 (decipher-analyze-buffer): Use ?\s.
18993 (decipher-make-checkpoint): Remove unused variable `mapping'.
18994
18995 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18996
18997 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18998 Remove unused variable `result'; use `let'.
18999
19000 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19001 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19002 (gametree-children-shown-p, gametree-compute-reduced-score):
19003 Use `ignore-errors'.
19004
19005 * play/handwrite.el (ps-lpr-switches): Declare.
19006 (handwrite): Remove unused variables `pmin' and `lastp'.
19007
19008 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19009
19010 * play/landmark.el (landmark-init-display)
19011 (landmark-update-naught-weights): Mark unused parameters.
19012 (landmark-y): Remove unused variable `noise'. Simplify.
19013 (landmark-human-plays): Remove unused variable `score'.
19014
19015 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19016 (mpuz-try-proposal): Remove unused variable `game'.
19017
19018 * play/zone.el (life-patterns): Declare.
19019
19020 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
19021
19022 * vc/vc.el (ediff-vc-internal): Declare function.
19023
19024 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19025
19026 * shell.el: Use lexical-binding and std completion UI.
19027 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19028 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19029 comint-preoutput-filter-functions rather than on
19030 comint-output-filter-functions.
19031 (shell-command-completion, shell--command-completion-data)
19032 (shell-filename-completion, shell-environment-variable-completion)
19033 (shell-c-a-p-replace-by-expanded-directory): New functions.
19034 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19035 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19036 (shell-dynamic-complete-environment-variable): Use them.
19037 (shell-dynamic-complete-as-environment-variable)
19038 (shell-dynamic-complete-as-command): Remove.
19039 (shell-match-partial-variable): Match past point.
19040 * comint.el: Clean up use of completion-at-point-functions.
19041 (comint-completion-at-point): New function.
19042 (comint-mode): Use it completion-at-point-functions.
19043 (comint-dynamic-complete): Make it obsolete.
19044 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19045 (comint-c-a-p-replace-by-expanded-history): New function.
19046 (comint-dynamic-complete-functions)
19047 (comint-replace-by-expanded-history): Use it.
19048 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19049 termination strings. Try harder to avoid second try-completion.
19050 (completion-in-region-mode-map): Disable bindings that don't work yet.
19051
19052 * comint.el: Use lexical-binding. Require CL.
19053 (comint-dynamic-complete-functions): Use comint-filename-completion.
19054 (comint-completion-addsuffix): Tweak custom type.
19055 (comint-filename-completion, comint--common-suffix)
19056 (comint--common-quoted-suffix, comint--table-subvert)
19057 (comint--complete-file-name-data): New functions.
19058 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19059 (comint-dynamic-list-filename-completions): Use them.
19060 (comint-dynamic-simple-complete): Make obsolete.
19061
19062 * minibuffer.el (completion-in-region-mode):
19063 Keep completion-in-region-mode--predicate global.
19064 (completion-in-region--postch):
19065 Assume completion-in-region-mode--predicate is not null.
19066
19067 * progmodes/flymake.el (flymake-start-syntax-check-process):
19068 Obey `dir'. Simplify.
19069
19070 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19071 we're in VC after all.
19072
19073 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19074
19075 * vc/vc.el (vc-diff-build-argument-list-internal)
19076 (vc-version-ediff, vc-ediff): New commands.
19077 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19078
19079 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19080
19081 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19082 add sanity check.
19083
19084 * obsolete/erc-hecomplete.el: Make obsolete.
19085 * obsolete/: Standardize obsolescence info in the header.
19086
19087 2011-04-20 Glenn Morris <rgm@gnu.org>
19088
19089 * calendar/solar.el (solar-horizontal-coordinates):
19090 Use the longitude argument rather than `calendar-longitude'.
19091 (solar-date-next-longitude): Remove unused locals.
19092
19093 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19094
19095 * whitespace.el: New version 13.2.1.
19096
19097 2011-04-20 felix <EmacsWiki> (tiny change)
19098
19099 * whitespace.el (global-whitespace-mode): Keep highlight when
19100 switching between major modes on a file.
19101
19102 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19103
19104 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19105 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19106 multi-line comments as well.
19107
19108 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
19109
19110 Lexical-binding cleanup.
19111
19112 * arc-mode.el (archive-mode-revert):
19113 * cmuscheme.el (scheme-interactively-start-process):
19114 * custom.el (custom-initialize-delay):
19115 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19116 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19117 * emacs-lock.el (emacs-lock-clear-sentinel):
19118 * ezimage.el (defezimage):
19119 * follow.el (follow-avoid-tail-recenter):
19120 * fringe.el (set-fringe-mode-1):
19121 * generic-x.el (bat-generic-mode-compile):
19122 * help-mode.el (help-info-variable, help-do-xref)
19123 (help-mode-revert-buffer):
19124 * help.el (view-emacs-todo):
19125 * iswitchb.el (iswitchb-completion-help):
19126 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19127 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19128 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19129 * locate.el (locate-update):
19130 * longlines.el (longlines-encode-region)
19131 (longlines-after-change-function):
19132 * outline.el (outline-isearch-open-invisible):
19133 * ps-def.el (declare-function, charset-dimension, char-width)
19134 (encode-char):
19135 * ps-mule.el (ps-mule-plot-string):
19136 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19137 (recentf-edit-list-select, recentf-edit-list-validate)
19138 (recentf-open-files-action):
19139 * rect.el (delete-whitespace-rectangle-line)
19140 (rectangle-number-line-callback):
19141 * register.el (window-configuration-to-register)
19142 (frame-configuration-to-register):
19143 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19144 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19145 (xselect-convert-to-targets, xselect-convert-to-delete)
19146 (xselect-convert-to-filename, xselect-convert-to-charpos)
19147 (xselect-convert-to-lineno, xselect-convert-to-colno)
19148 (xselect-convert-to-os, xselect-convert-to-host)
19149 (xselect-convert-to-user, xselect-convert-to-class)
19150 (xselect-convert-to-name, xselect-convert-to-integer)
19151 (xselect-convert-to-atom, xselect-convert-to-identity):
19152 * subr.el (declare, ignore, process-kill-without-query)
19153 (text-clone-maintain):
19154 * terminal.el (te-get-char, te-tic-sentinel):
19155 * tool-bar.el (tool-bar-make-keymap):
19156 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19157 * type-break.el (type-break-mode, type-break-noninteractive-query):
19158 * view.el (View-back-to-mark):
19159 * wid-browse.el (widget-browse-action, widget-browse-widget)
19160 (widget-browse-widgets, widget-browse-sexp):
19161 * widget.el (define-widget-keywords):
19162 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19163 Mark unused parameters.
19164
19165 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19166 (align-areas): Remove unused variable `look'.
19167 (align-region): Remove unused variables `real-end' and `pos-list'.
19168
19169 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19170
19171 * bindings.el (mode-line-modified, mode-line-remote):
19172 Mark unused parameters.
19173 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19174
19175 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19176 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19177
19178 * comint.el (comint-history-isearch-pop-state)
19179 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19180 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19181 (comint-substitute-in-file-name): Doc fix.
19182
19183 * completion.el (cmpl-statistics-block): Mark unused parameter.
19184 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19185 (save-completions-to-file, load-completions-from-file):
19186 Remove unused local variable `e'.
19187
19188 * composite.el (compose-chars): Remove unused variable `len'.
19189 (lgstring-insert-glyph): Remove unused variable `g'.
19190 (compose-glyph-string): Remove unused variables `ascent',
19191 `descent', `lbearing' and `rbearing'.
19192 (compose-glyph-string-relative): Remove unused variables
19193 `lbearing', `rbearing' and `wadjust'.
19194 (compose-gstring-for-graphic): Remove unused variables `header',
19195 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19196 (compose-gstring-for-terminal): Remove unused variables `header'
19197 and `nchars'. Use `let', not `let*'.
19198
19199 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19200 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19201 (Custom-buffer-done, custom-buffer-create-internal)
19202 (custom-browse-visibility-action, custom-browse-group-tag-action)
19203 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19204 (widget-magic-mouse-down-action, custom-toggle-parent)
19205 (custom-add-parent-links, custom-toggle-hide-variable)
19206 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19207 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19208 (custom-face-menu-create, custom-variable-menu-create, get)
19209 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19210 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19211 (customize-apropos): Remove unused variable `tests'.
19212 (custom-group-value-create): Remove unused variable `hidden-p'.
19213 (sort-fold-case): Declare.
19214
19215 * cus-theme.el (custom-reset-standard-faces-list)
19216 (custom-reset-standard-variables-list): Declare.
19217 (customize-create-theme, custom-theme-revert, custom-theme-write)
19218 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19219 Mark unused parameters.
19220
19221 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19222
19223 * delim-col.el (delimit-columns-max): Move defvar before first use.
19224
19225 * descr-text.el (describe-char-categories): Don't quote `lambda'.
19226 (describe-char): Don't quote `lambda'. Mark unused parameter.
19227
19228 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19229 (auto-insert): Declare.
19230 (desktop-restore-file-buffer): Rename desktop-* parameters;
19231 mark unused ones.
19232 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19233 (desktop-buffer): Rename desktop-* parameters.
19234
19235 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19236 (dframe-reposition-frame-xemacs, dframe-help-echo)
19237 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19238 Mark unused parameters.
19239
19240 * dired-aux.el (backup-extract-version-start, overwrite-query)
19241 (overwrite-backup-query, rename-regexp-query)
19242 (rename-non-directory-query): Declare.
19243 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19244 (dired-add-entry): Remove unused variable `orig-file-name'.
19245 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19246 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19247 `dired-copy-preserve-time' directly.
19248 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19249 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19250
19251 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19252 (dired-virtual-revert, dired-make-relative-symlink):
19253 Mark unused parameters.
19254 (manual-program): Declare.
19255 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19256 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19257 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19258
19259 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19260
19261 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19262
19263 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19264 Declare.
19265
19266 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19267
19268 * electric.el (Electric-command-loop): Rename parameter
19269 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19270
19271 * expand.el (expand-in-literal): Remove unused variable `here'.
19272
19273 * facemenu.el (facemenu-add-new-color):
19274 Remove unused variable `docstring'.
19275
19276 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19277 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19278 (face-attr-construct): Mark unused parameter. Doc fix.
19279 (read-color): Remove unused variable `hex-string'.
19280
19281 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19282 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19283 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19284 (display-buffer-other-frame): Remove unused variable `old-window'.
19285 (kill-buffer-hook): Declare.
19286 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19287 Mark unused parameters.
19288 (after-find-file): Pass 1 to `auto-save-mode', not t.
19289
19290 * files-x.el (auto-insert): Declare.
19291 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19292
19293 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19294 variable `buf'. Mark unused parameter.
19295 (find-lisp-insert-directory): Mark unused parameter.
19296
19297 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19298 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19299 (format-common-tail): Remove, unused.
19300 (format-deannotate-region): Remove unused variable `loc'.
19301 (format-annotate-region): Remove unused variable `p'.
19302 (format-annotate-single-property-change): Remove unused variables
19303 `default' and `tail'.
19304
19305 * forms.el (read-file-filter): Declare.
19306 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19307
19308 * frame.el (frame-creation-function-alist): Mark unused parameter.
19309 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19310
19311 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19312 Remove unused parameters.
19313 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19314 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19315
19316 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19317 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19318 (hfy-prepare-tag-map): Mark unused parameters.
19319 (htmlfontify-buffer): Use `called-interactively-p'.
19320
19321 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19322 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19323 (ibuffer-do-occur): Mark unused parameters.
19324 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19325 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19326
19327 * ibuffer.el: Don't quote `lambda'.
19328 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19329 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19330 Mark unused parameters.
19331
19332 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19333 (ido-completing-read): Mark unused parameters.
19334 (ido-copy-current-word): Mark unused parameters;
19335 remove unused variable `name'.
19336 (ido-sort-merged-list): Remove unused parameter `dirs'.
19337
19338 * ielm.el (ielm-input-sender): Mark unused parameter.
19339 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19340 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19341 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19342 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19343 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19344
19345 * image-dired.el (image-dired-display-thumbs): Remove unused
19346 variables `curr-file' and `count'.
19347 (image-dired-remove-tag): Remove unused variable `start'.
19348 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19349 variable `curr-file'
19350 (image-dired-rotate-original): Remove unused variable `temp-file'.
19351 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19352 Remove unused variable `file'.
19353 (image-dired-gallery-generate): Remove unused variable `curr'.
19354 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19355
19356 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19357
19358 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19359
19360 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19361
19362 * isearch.el (minibuffer-history-symbol): Declare.
19363 (isearch-edit-string): Remove unused variable `err'.
19364 (isearch-message-prefix, isearch-message-suffix):
19365 Mark unused parameters.
19366
19367 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19368
19369 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19370
19371 * makesum.el (double-column): Remove unused variable `cnt'.
19372
19373 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19374 (ido-ignore-item-temp-list): Declare.
19375
19376 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19377 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19378 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19379 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19380 `mouse-col-delta'.
19381
19382 * mouse-sel.el (mouse-extend-internal):
19383 Remove unused variable `orig-window-frame'.
19384
19385 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19386 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19387 Move declarations before first use.
19388 (pcomplete-opt): Mark unused parameters; doc fix.
19389
19390 * proced.el (proced-revert): Mark unused parameter.
19391 (proced-send-signal): Remove unused variable `err'.
19392
19393 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19394 Rename parameter PREFIX-ARG to ARG.
19395 (ps-basic-plot-string, ps-basic-plot-whitespace):
19396 Mark unused parameters.
19397
19398 * replace.el (replace-count): Define.
19399 (occur-revert-function): Mark unused parameters.
19400 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19401 (isearch-case-fold-search, isearch-string): Declare.
19402 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19403 bind `case-fold-search'. Remove unused variables `beg' and `end',
19404 and simplify.
19405 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19406 COUNT and bind `replace-count'.
19407 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19408 to COUNT.
19409
19410 * savehist.el (print-readably, print-string-length): Declare.
19411
19412 * shadowfile.el (shadow-expand-cluster-in-file-name):
19413 Remove unused variable `cluster'.
19414 (shadow-copy-file): Remove unused variable `i'.
19415 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19416 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19417 (shadow-define-literal-group, shadow-define-regexp-group)
19418 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19419
19420 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19421 (shell): Use `called-interactively-p'.
19422 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19423
19424 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19425 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19426 (delete-backward-char): Remove unused variable `ocol'.
19427 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19428 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19429 (event-apply-hyper-modifier, event-apply-shift-modifier)
19430 (event-apply-control-modifier, event-apply-meta-modifier):
19431 Mark unused parameters.
19432 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19433 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19434
19435 * speedbar.el (speedbar-ignored-directory-expressions)
19436 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19437 (speedbar-find-file, speedbar-dir-follow)
19438 (speedbar-directory-buttons-follow, speedbar-tag-find)
19439 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19440 (speedbar-buffers-line-directory, speedbar-buffer-click):
19441 Mark unused parameters.
19442 (speedbar-tag-file): Remove unused variable `mode'.
19443 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19444
19445 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19446
19447 * talk.el (talk): Remove unused variable `display'.
19448
19449 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19450 (tar-write-region-annotate): Mark unused parameter.
19451
19452 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19453 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19454 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19455 warning by another.
19456
19457 * time-stamp.el (time-stamp-string-preprocess):
19458 Remove unused variable `require-padding'.
19459
19460 * tree-widget.el (widget-glyph-enable): Declare.
19461 (tree-widget-action): Mark unused parameter.
19462
19463 * w32-fns.el (x-get-selection): Mark unused parameter.
19464 (autoload-make-program, generated-autoload-file): Declare.
19465
19466 * wdired.el (wdired-revert): Mark unused parameters.
19467 (wdired-xcase-word): Remove unused variable `err'.
19468
19469 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19470 (whitespace-help-scroll): Remove unused variable `data-help'.
19471
19472 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19473 (widget-image-insert, widget-after-change, default)
19474 (widget-default-format-handler, widget-default-notify)
19475 (widget-default-prompt-value, widget-info-link-action)
19476 (widget-url-link-action, widget-function-link-action)
19477 (widget-variable-link-action, widget-file-link-action)
19478 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19479 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19480 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19481 (widget-insert-button-action, widget-delete-button-action, visibility)
19482 (widget-documentation-link-action, widget-documentation-string-action)
19483 (widget-const-prompt-value, widget-regexp-match, symbol)
19484 (widget-coding-system-prompt-value)
19485 (widget-key-sequence-value-to-external, sexp)
19486 (widget-sexp-value-to-internal, character, vector, cons)
19487 (widget-choice-prompt-value, widget-boolean-prompt-value)
19488 (widget-color--choose-action): Mark unused parameters.
19489 (widget-item-match-inline, widget-choice-match-inline)
19490 (widget-checklist-match, widget-checklist-match-inline)
19491 (widget-group-match): Rename parameter VALUES to VALS.
19492 (widget-field-value-set): Remove unused variable `size'.
19493 (widget-color-action): Remove unused variables `value' and `start'.
19494
19495 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19496 variable `dir'. Doc fix.
19497 (windmove-find-other-window): Don't pass it.
19498
19499 * window.el (count-windows): Mark unused parameter.
19500 (bw-adjust-window): Remove unused variable `err'.
19501
19502 * woman.el (woman-file-name): Remove unused variable `default'.
19503 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19504 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19505 (global-font-lock-mode): Declare.
19506 (woman-decode-region): Mark unused parameter.
19507 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19508
19509 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19510 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19511 (x-dnd-handle-moz-url): Remove unused variable `title'.
19512 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19513
19514 * xml.el (xml-parse-tag, xml-parse-attlist):
19515 Remove unused variable `pos'.
19516
19517 2011-04-19 Glenn Morris <rgm@gnu.org>
19518
19519 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19520 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19521 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19522 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19523 * calendar/cal-html.el (cal-html-insert-minical):
19524 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19525 (calendar-mark-date-pattern):
19526 Prefix "unused" locals.
19527
19528 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19529 optional argument `style'.
19530
19531 * calendar/appt.el (appt-make-list):
19532 * calendar/cal-china.el (calendar-chinese-date-string):
19533 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19534 (diary-hebrew-yahrzeit):
19535 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19536 * calendar/calendar.el (calendar-generate-window):
19537 * calendar/time-date.el (time-to-days):
19538 Remove unused local variables.
19539
19540 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
19541
19542 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19543 glyphless-char-display table.
19544 (tabulated-list-glyphless-char-display): New var.
19545
19546 2011-04-18 Sam Steingold <sds@gnu.org>
19547
19548 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19549 to acknowledgments.
19550
19551 2011-04-17 Glenn Morris <rgm@gnu.org>
19552
19553 * calendar/diary-lib.el (diary-sexp-entry):
19554 * calendar/holidays.el (holiday-sexp):
19555 Set debug-on-error rather than the removed stack-trace-on-error.
19556
19557 2011-04-16 Glenn Morris <rgm@gnu.org>
19558
19559 * progmodes/f90.el: Use lexical-binding.
19560 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19561
19562 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19563
19564 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19565 (mail-mode): Setup mailalias completion here instead.
19566 * mail/mailalias.el: Use lexical-binding.
19567 (pattern, mailalias-done): Declare dynamic.
19568 (mail-completion-at-point-function): New function, from mail-complete.
19569 (mail-complete): Use it.
19570 (mail-completion-expand): New function.
19571 (mail-get-names): Use it.
19572 (mail-directory, mail-directory-process, mail-directory-stream):
19573 Don't use `pattern' for lexically bound arg.
19574
19575 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19576
19577 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19578 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19579 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19580
19581 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19582 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19583 (byte-interactive-p): Define them again, for use when inlining
19584 old code.
19585
19586 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
19587
19588 * loadup.el: Use `string-to-number', not `string-to-int'.
19589
19590 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19591
19592 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19593 gud-gdb-complete-command.
19594 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19595 (gud-gdb-completion-at-point): New function.
19596 (gud-gdb-completions): Remove.
19597
19598 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
19599
19600 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19601 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19602 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19603 whether `executable-find' is bound.
19604
19605 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19606
19607 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19608
19609 * minibuffer.el (completion-in-region-mode-predicate)
19610 (completion-in-region-mode--predicate): New vars.
19611 (completion-in-region, completion-in-region--postch)
19612 (completion-in-region-mode): Use them.
19613 (completion--capf-wrapper): Also return the hook function.
19614 (completion-at-point, completion-help-at-point):
19615 Adjust and provide a predicate.
19616
19617 Preserve arg names for advice of subr and lexical functions (bug#8457).
19618 * help-fns.el (help-function-arglist): Consolidate the subr and
19619 new-byte-code cases. Add argument `preserve-names' to extract names
19620 from the docstring when needed.
19621 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19622 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19623 (ad-arglist): Use help-function-arglist's new arg.
19624 (ad-definition-type): Use cond.
19625
19626 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
19627
19628 * autorevert.el (auto-revert-handler):
19629 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19630 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19631 Don't quote lambda.
19632
19633 * image-mode.el (image-transform-set-scale):
19634 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19635
19636 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19637
19638 * net/network-stream.el (network-stream-open-starttls): Only do
19639 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19640 Upgrades via gnutls-cli are too slow to be done opportunistically.
19641
19642 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
19643
19644 * dframe.el (dframe-current-frame): Remove spurious quote.
19645
19646 2011-04-12 Glenn Morris <rgm@gnu.org>
19647
19648 * calendar/cal-tex.el (cal-tex-end-document):
19649 Try to automatically use latin1 input if needed.
19650
19651 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19652 Don't try to cons a mark onto an empty element.
19653
19654 2011-04-11 Leo Liu <sdl.web@gmail.com>
19655
19656 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19657 buffers.
19658 (ido-kill-buffer-at-head): Support killing virtual buffers.
19659
19660 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
19661
19662 * minibuffer.el (completion-show-inline-help): New var.
19663 (completion--do-completion, minibuffer-complete)
19664 (minibuffer-force-complete, minibuffer-complete-word):
19665 Inhibit minibuffer messages if completion-show-inline-help is nil.
19666
19667 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19668 to avoid interference from inline help (Bug#5849).
19669
19670 2011-04-10 Leo Liu <sdl.web@gmail.com>
19671
19672 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19673 Fix typo.
19674
19675 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
19676
19677 * image-mode.el (image-toggle-display-image): Signal an error if
19678 not in Image mode.
19679 (image-transform-mode, image-transform-resize)
19680 (image-transform-set-rotation): Doc fix.
19681 (image-transform-set-resize): Delete.
19682 (image-transform-set-scale, image-transform-fit-to-height)
19683 (image-transform-fit-to-width): Handle image-toggle-display-image
19684 and image-transform-resize directly.
19685
19686 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
19687
19688 * doc-view.el (doc-view-fit-width-to-window)
19689 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19690 New functions for fitting the shown image to the Emacs window size.
19691 (doc-view-mode-map): Add bindings for the new functions.
19692
19693 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
19694
19695 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19696 Fix typo in docstring.
19697
19698 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19699
19700 * files.el (file-size-human-readable): Produce one digit after
19701 decimal, like "ls -lh" does.
19702
19703 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19704 the file size representation.
19705
19706 * simple.el (list-processes): If async subprocesses are not
19707 available, error out with a clear error message.
19708
19709 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
19710
19711 * help.el (help-form-show): New function, to be called from C.
19712 Put help-form output in a buffer named differently than *Help*.
19713
19714 2011-04-08 Eli Zaretskii <eliz@gnu.org>
19715
19716 * files.el (file-size-human-readable): New function.
19717
19718 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19719 computing the representation inline. Don't require `cl'.
19720
19721 2011-04-08 Glenn Morris <rgm@gnu.org>
19722
19723 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19724
19725 * net/browse-url.el (browse-url-firefox):
19726 Test system-type, not system-configuration.
19727
19728 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19729 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19730 Use log-edit-empty-buffer-p. (Bug#7598)
19731
19732 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19733 (rlogin-mode-map): Initialize in the defvar.
19734 (rlogin): Use ignore-errors.
19735
19736 * replace.el (occur-mode-map): Some fixes for menu items.
19737
19738 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19739
19740 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19741
19742 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19743
19744 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19745 issuing unused warnings.
19746
19747 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19748 macro directly.
19749
19750 * simple.el: Lisp reimplement of list-processes. Based on an
19751 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19752 (process-menu-mode): New major mode.
19753 (list-processes--refresh, list-processes):
19754 (process-menu-visit-buffer): New functions.
19755
19756 * files.el (save-buffers-kill-emacs): Don't assume any return
19757 value of list-processes, which is undocumented anyway.
19758
19759 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
19760
19761 * emacs-lisp/tabulated-list.el: New file.
19762
19763 * emacs-lisp/package.el: Use Tabulated List mode.
19764 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19765 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19766 table format using Tabulated List mode variables.
19767 (package--push): New macro, replacing package-list-maybe-add.
19768 (package-menu--generate): Use package--push. Renamed from
19769 package--generate-package-list.
19770 (package-menu-refresh, list-packages): Use it.
19771 (package-menu--print-info): Rename from package-print-package.
19772 Return insertion data instead of inserting it directly.
19773 (package-menu-describe-package, package-menu-execute):
19774 Use tabulated-list-get-id.
19775 (package-menu-mark-delete, package-menu-mark-install)
19776 (package-menu-mark-unmark, package-menu-backup-unmark)
19777 (package-menu-mark-obsolete-for-deletion):
19778 Use tabulated-list-put-tag.
19779 (package--list-packages, package-menu-revert)
19780 (package-menu-get-package, package-menu-get-version)
19781 (package-menu-sort-by-column): Functions deleted.
19782 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19783 (package-menu--status-predicate, package-menu--version-predicate)
19784 (package-menu--name-predicate)
19785 (package-menu--description-predicate): Handle arguments in the
19786 Tabulated List format.
19787 (package-list-packages-no-fetch): Call list-packages.
19788
19789 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
19790
19791 * files.el (after-find-file-from-revert-buffer): Remove variable.
19792 (after-find-file): Don't bind it.
19793 (revert-buffer-in-progress-p): New variable.
19794 (revert-buffer): Bind it.
19795 Pass nil for `after-find-file-from-revert-buffer'.
19796
19797 * saveplace.el (save-place-find-file-hook): Use new variable
19798 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19799
19800 2011-04-06 Glenn Morris <rgm@gnu.org>
19801
19802 * Makefile.in (AUTOGEN_VCS): New variable.
19803 (autoloads): Use $AUTOGEN_VCS.
19804
19805 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19806 * calendar/calendar.el (calendar-mode-map):
19807 Check for toolkit scroll bars. (Bug#8305)
19808
19809 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19810
19811 * minibuffer.el (completion-in-region--postch)
19812 (completion-in-region-mode): Remove unnecessary messages.
19813
19814 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
19815
19816 * font-lock.el (font-lock-refresh-defaults):
19817 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19818 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19819
19820 * info.el (Info-directory-list, Info-read-node-name-2)
19821 (Info-split-parameter-string): Doc fixes.
19822 (Info-virtual-nodes): Reflow docstring.
19823 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19824 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19825 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19826 Fix typos in docstrings.
19827 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19828 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19829 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19830 (Info-restore-desktop-buffer): Mark unused parameters.
19831 (Info-directory-find-file, Info-directory-find-node)
19832 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19833 (Info-virtual-index-find-node, Info-apropos-find-file)
19834 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19835 Mark unused parameters; fix typos in docstrings.
19836 (Info-virtual-index): Remove unused local variable `nodename'.
19837
19838 2011-04-05 Deniz Dogan <deniz@dogan.se>
19839
19840 * net/rcirc.el: Update my e-mail address.
19841 (rcirc-mode-map): Remove M-o binding.
19842
19843 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
19844
19845 * startup.el (command-line): Save the cursor's theme-face
19846 directly, instead of using face-override-spec.
19847
19848 * custom.el (load-theme): Minor optimization in assigning faces.
19849
19850 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19851
19852 * help-fns.el (describe-variable): Complete all variables having
19853 documentation, including keywords.
19854 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19855
19856 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
19857
19858 Convert to lexical-binding.
19859
19860 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19861 (bs--get-marked-string, bs--get-modified-string)
19862 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19863 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19864 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19865
19866 * ehelp.el (electric-help-execute-extended)
19867 (electric-help-ctrl-x-prefix):
19868 * hexl.el (hexl-revert-buffer-function):
19869 * linum.el (linum-after-change, linum-after-scroll):
19870 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19871
19872 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19873
19874 2011-04-04 Daiki Ueno <ueno@unixuser.org>
19875
19876 * epa-dired.el:
19877 * epa-mail.el:
19878 * epa-hook.el:
19879 * epa-file.el:
19880 * epa.el:
19881 * epg.el: Use lexical binding.
19882
19883 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
19884
19885 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19886
19887 * textmodes/flyspell.el (flyspell-word): Recognize default
19888 dictionary case for flyspell-mark-duplications-exceptions.
19889 Use regexp matching for languages.
19890 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19891 default dictionary (Bug#7926).
19892
19893 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
19894
19895 * emacs-lisp/package.el (package--with-work-buffer):
19896 Recognize https URLs.
19897
19898 * net/network-stream.el: Move from gnus/proto-stream.el.
19899 Change prefix to network-stream throughout.
19900 (open-protocol-stream): Merge into open-network-stream, leaving
19901 open-protocol-stream as an alias. Handle nil BUFFER args.
19902
19903 * subr.el (open-network-stream): Move to net/network-stream.el.
19904
19905 2011-04-02 Glenn Morris <rgm@gnu.org>
19906
19907 * find-dired.el (find-exec-terminator): New option.
19908 (find-ls-option): Test for -ls support.
19909 (find-ls-subdir-switches): Test for -b in find-ls-option.
19910 (find-dired, find-grep-dired): Doc fixes.
19911 (find-dired): Use find-exec-terminator.
19912
19913 * find-dired.el (find-ls-option, find-ls-subdir-switches)
19914 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19915 (find-name-arg): Remove purecopy.
19916
19917 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19918 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19919 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19920 accordingly. Don't add the null-device if not needed.
19921
19922 * files.el (save-some-buffers): Doc fix.
19923
19924 2011-04-02 Eli Zaretskii <eliz@gnu.org>
19925
19926 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19927
19928 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
19929
19930 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19931 Use `dolist' rather than `mapcar'.
19932
19933 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19934
19935 Add lexical binding.
19936
19937 * subr.el (apply-partially): Use new closures rather than CL.
19938 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19939 (dolist, dotimes): Use slightly different expansion for lexical code.
19940 (functionp): Move to C.
19941 (letrec): New macro.
19942 (with-wrapper-hook): Use it and apply-partially instead of CL.
19943 (eval-after-load): Preserve lexical-binding.
19944 (save-window-excursion, with-output-to-temp-buffer): Turn them
19945 into macros.
19946
19947 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19948
19949 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19950 than the arglist.
19951 (help-add-fundoc-usage): Don't add `Not documented'.
19952 (help-function-arglist): Handle closures, subroutines, and new
19953 byte-code-functions.
19954 (help-make-usage): Remove leading underscores.
19955 (describe-function-1): Handle closures.
19956 (describe-variable): Use special-variable-p for completion.
19957
19958 * files.el (lexical-binding): Declare safe.
19959
19960 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19961 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19962 (pcase): Add `let' pattern.
19963 Change memoization so it actually works.
19964 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19965 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19966 <let>: New case.
19967
19968 * emacs-lisp/macroexp.el: Use lexical binding.
19969 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19970 Don't convert ' to #' without checking that it's indeed quoting
19971 a lambda.
19972
19973 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19974 Use eval-sexp-add-defvars.
19975 (eval-sexp-add-defvars): New fun.
19976
19977 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19978
19979 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19980 Don't autoload.
19981 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19982 than the internal `byte-compile-lambda'.
19983 (defmethod): Don't hide code under quotes.
19984 (eieio-defmethod): New `code' argument.
19985
19986 * emacs-lisp/eieio-comp.el: Remove.
19987
19988 * emacs-lisp/edebug.el (edebug-eval-defun)
19989 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19990 (edebug-toggle): Avoid `eval'.
19991
19992 * emacs-lisp/disass.el (disassemble-internal): Handle new
19993 `closure' objects.
19994 (disassemble-1): Handle new byte codes.
19995
19996 * emacs-lisp/cl.el (pushnew): Silence warning.
19997
19998 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19999 (cl-byte-compile-throw): Remove.
20000 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20001
20002 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20003 closures.
20004
20005 * emacs-lisp/cconv.el: New file.
20006
20007 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20008 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20009 (byte-compile-initial-macro-environment):
20010 Handle declare-function here.
20011 (byte-compile--lexical-environment): New var.
20012 (byte-stack-ref, byte-stack-set, byte-discardN)
20013 (byte-discardN-preserve-tos): New lap codes.
20014 (byte-interactive-p): Don't use any more.
20015 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20016 New macros.
20017 (byte-compile-lapcode): Use them and handle new lap codes.
20018 (byte-compile-obsolete): Remove.
20019 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20020 (byte-compile-arglist-warn): Check late def of inlinable funs.
20021 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20022 since they should have been expanded by now.
20023 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20024 (byte-compile-from-buffer): Remove unused second arg.
20025 (byte-compile-preprocess): New function.
20026 (byte-compile-toplevel-file-form): New function to distinguish
20027 file-form calls from outside from file-form calls from hunk-handlers.
20028 (byte-compile-file-form): Simplify.
20029 (byte-compile-file-form-defsubst): Remove.
20030 (byte-compile-file-form-defmumble): Simplify now that
20031 byte-compile-lambda always returns a byte-code-function.
20032 (byte-compile): Preprocess.
20033 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20034 Remove, not used any more.
20035 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20036 (byte-compile-make-args-desc): New funs.
20037 (byte-compile-lambda): Handle lexical functions. Always return
20038 a byte-code-function.
20039 (byte-compile-reserved-constants): New var, to make up room for
20040 closed-over variables.
20041 (byte-compile-constants-vector): Obey it.
20042 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20043 (byte-compile-macroexpand-declare-function): New function.
20044 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20045 byte-code-functions.
20046 (byte-compile-form): Check obsolescence here.
20047 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20048 (byte-compile-variable-ref): Remove.
20049 (byte-compile-dynamic-variable-op): New fun.
20050 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20051 (byte-compile-variable-set): New funs.
20052 (byte-compile-discard): Add 2 args.
20053 (byte-compile-stack-ref, byte-compile-stack-set)
20054 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20055 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20056 macroexpand-all instead.
20057 (byte-compile-quote-form): Remove.
20058 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20059 (byte-compile-bind, byte-compile-unbind): New funs.
20060 (byte-compile-let): Handle let* and lexical binding.
20061 (byte-compile-let*): Remove.
20062 (byte-compile-catch, byte-compile-unwind-protect)
20063 (byte-compile-track-mouse, byte-compile-condition-case):
20064 Handle a new :fun-body form, used for lexical scoping.
20065 (byte-compile-save-window-excursion)
20066 (byte-compile-with-output-to-temp-buffer): Remove.
20067 (byte-compile-defun): Simplify.
20068 (byte-compile-stack-adjustment): New fun.
20069 (byte-compile-out): Use it.
20070 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20071
20072 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20073 handler any more.
20074
20075 * emacs-lisp/byte-opt.el: Use lexical binding.
20076 (byte-inline-lapcode): Remove (to bytecomp).
20077 (byte-compile-inline-expand): Pay attention to inlining to/from
20078 lexically bound code.
20079 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20080 any more.
20081 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20082 any more and don't call compiler-macros.
20083 (byte-compile-splice-in-already-compiled-code): Remove.
20084 (byte-code): Don't inline any more.
20085 (disassemble-offset): Receive `bytes' as argument rather than via
20086 dynamic scoping.
20087 (byte-compile-tag-number): Declare before first use.
20088 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20089 `return' even if make-spliceable.
20090 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20091 obsolete interactive-p.
20092 (byte-optimize-lapcode): Optimize new lap-codes.
20093 Don't trip up on new form of `byte-constant' lap code.
20094
20095 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20096
20097 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20098
20099 * custom.el (custom-initialize-default, custom-declare-variable):
20100 Use `defvar'.
20101
20102 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20103 New variables.
20104 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20105 (COMPILE_FIRST): Add macroexp and cconv.
20106 * makefile.w32-in: Mirror changes in Makefile.in.
20107
20108 * vc/cvs-status.el:
20109 * vc/diff-mode.el:
20110 * vc/log-edit.el:
20111 * vc/log-view.el:
20112 * vc/smerge-mode.el:
20113 * textmodes/bibtex-style.el:
20114 * textmodes/css-mode.el:
20115 * startup.el:
20116 * uniquify.el:
20117 * minibuffer.el:
20118 * newcomment.el:
20119 * reveal.el:
20120 * server.el:
20121 * mpc.el:
20122 * emacs-lisp/smie.el:
20123 * doc-view.el:
20124 * dired.el:
20125 * abbrev.el: Use lexical binding.
20126
20127 2011-04-01 Eli Zaretskii <eliz@gnu.org>
20128
20129 * info.el (info-display-manual): New function.
20130
20131 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20132
20133 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20134
20135 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20136
20137 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20138 an entry for that server in rcirc-authinfo. (Bug#8385)
20139
20140 2011-03-31 Glenn Morris <rgm@gnu.org>
20141
20142 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20143
20144 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20145
20146 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20147
20148 * progmodes/python.el (python-default-interpreter)
20149 (python-python-command-args, python-jython-command-args)
20150 (python-which-shell, python-which-args, python-which-bufname)
20151 (python-file-queue, python-comint-output-filter-function)
20152 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20153 variables and functions.
20154
20155 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20156
20157 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20158 (completion-in-region-mode): New minor mode.
20159 (completion-in-region): Use it.
20160 (completion-in-region--data, completion-in-region-mode-map): New vars.
20161 (completion-in-region--postch): New function.
20162 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20163 New vars.
20164 (completion--capf-wrapper): New function.
20165 (completion-at-point): Use it to track well-behavedness of
20166 hook functions.
20167 (completion-help-at-point): New command.
20168
20169 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20170
20171 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20172 syntax class to search for whitespace on a single line
20173 (Message-ID: <4D938140.4030905@redhat.com>).
20174
20175 2011-03-30 Leo Liu <sdl.web@gmail.com>
20176
20177 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20178 New commands.
20179 (edit-abbrevs-map): Bind them here.
20180 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20181
20182 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20183
20184 * allout.el (allout-hide-by-annotation, allout-flag-region):
20185 Reduce possibility of overlay leakage by making them volatile.
20186
20187 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20188 hash is not shared between buffers. Mode initialization is
20189 responsible for giving it a useful starting value.
20190 (allout-item-span): Reduce possibility of overlay leakage by
20191 making them volatile.
20192 (allout-widgets-count-buttons-in-region): Add diagnostic function
20193 for tracking down button overlay leaks.
20194
20195 2011-03-29 Leo Liu <sdl.web@gmail.com>
20196
20197 * ido.el (ido-read-internal): Use the default history var
20198 minibuffer-history if no HISTORY is specified.
20199
20200 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20201
20202 * net/imap.el (imap-shell-open, imap-process-connection-type):
20203 Use imap-process-connection-type for 'shell' streams as well as
20204 Kerberos, SSL, other subprocesses.
20205
20206 2011-03-28 Leo Liu <sdl.web@gmail.com>
20207
20208 * abbrev.el (abbrev-table-empty-p): New function.
20209 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20210 nonempty ones. (Bug#5937)
20211
20212 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20213
20214 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20215
20216 2011-03-27 Leo Liu <sdl.web@gmail.com>
20217
20218 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20219 for foreground and background colors.
20220 (ansi-color-make-color-map): Adapt.
20221
20222 2011-03-25 Leo Liu <sdl.web@gmail.com>
20223
20224 * midnight.el (midnight-time-float): Remove. Note it calculates
20225 the microsecond component incorrectly and seconds-to-time does the
20226 same job.
20227 Remove redundant (require 'timer).
20228
20229 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20230 (ido-completions): Remove unused arguments. (Bug#8329)
20231
20232 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20233
20234 * minibuffer.el (completion--flush-all-sorted-completions):
20235 Remove itself from hook.
20236 (completion-at-point): Let the functions perform the completion
20237 immediately and return nil or t.
20238 * comint.el (comint-dynamic-complete-functions): Now identical to
20239 completion-at-point-functions.
20240 (comint-dynamic-list-input-ring): Remove unused var `index'.
20241 (comint--match-partial-filename, comint--unquote&expand-filename):
20242 New funs, split from comint-match-partial-filename.
20243 (comint-dynamic-complete): Use completion-at-point.
20244 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20245
20246 2011-03-24 Drew Adams <drew.adams@oracle.com>
20247
20248 * thingatpt.el: Support `defun'.
20249
20250 2011-03-23 Leo Liu <sdl.web@gmail.com>
20251
20252 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20253
20254 * help-mode.el (help-mode-finish): Tweak regexp.
20255
20256 2011-03-23 Glenn Morris <rgm@gnu.org>
20257
20258 * eshell/esh-opt.el (eshell-eval-using-options):
20259 Do not bind unused local variable `eshell-option-stub'.
20260
20261 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20262
20263 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20264
20265 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20266 keymap variable in `with-no-warnings' to avoid a warning when the
20267 keymap has been already `defconst'ed.
20268
20269 2011-03-22 Leo Liu <sdl.web@gmail.com>
20270
20271 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20272 encode all chars in abbrevs; otherwise use emacs-mule or
20273 utf-8-emacs. (Bug#8308)
20274
20275 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
20276
20277 * simple.el (backward-delete-char-untabify):
20278 Avoid warning about using `delete-backward-char'.
20279
20280 * image.el (image-type-file-name-regexps): Make it variable.
20281 `imagemagick-register-types' modifies it, and the user may want
20282 to add new extensions for known image types.
20283 (imagemagick-register-types): Throw error if not using ImageMagick.
20284
20285 2011-03-22 Leo Liu <sdl.web@gmail.com>
20286
20287 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20288 located before rcirc-prompt-end-marker.
20289 (rcirc-complete): Error if point is not after rcirc prompt.
20290 Handle the case when table is nil.
20291 (rcirc-user-authenticated): Define to fix compiler warning.
20292
20293 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
20294
20295 * custom.el (custom--inhibit-theme-enable): Make it affect only
20296 custom-theme-set-variables and custom-theme-set-faces.
20297 (provide-theme): Ignore custom--inhibit-theme-enable.
20298 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20299 (custom-enabling-themes): Delete variable.
20300 (enable-theme): Accept only loaded themes as arguments.
20301 Ignore the special custom-enabled-themes variable.
20302 (custom-enabled-themes): Forbid themes from setting this.
20303 Eliminate use of custom-enabling-themes.
20304 (custom-push-theme): Quote "changed" custom var entry.
20305
20306 2011-03-21 Leo Liu <sdl.web@gmail.com>
20307
20308 * ido.el (ido-read-internal): Add ido-selected to history instead
20309 of user input.
20310
20311 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20312
20313 * subr.el (deferred-action-list, deferred-action-function):
20314 Mark obsolete.
20315
20316 2011-03-21 Leo Liu <sdl.web@gmail.com>
20317
20318 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20319 change on 2011-02-13 (bug#8309).
20320
20321 * minibuffer.el (read-file-name-function): Change default value.
20322 (read-file-name--defaults): Rename from read-file-name-defaults.
20323 (read-file-name-default): Rename from read-file-name.
20324 (read-file-name): Call read-file-name-function.
20325
20326 2011-03-21 Glenn Morris <rgm@gnu.org>
20327
20328 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20329 Doc fixes.
20330
20331 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
20332
20333 * cus-theme.el: Add missing provide statement.
20334 (customize-create-theme): Extract theme value correctly.
20335 (custom-theme-visit-theme): Autoload.
20336 (customize-create-theme): Prompt before inserting default faces.
20337
20338 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20339
20340 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20341 units and musical notes.
20342
20343 2011-03-20 Leo Liu <sdl.web@gmail.com>
20344
20345 * ido.el (ido-read-internal): Use completing-read-default.
20346 (ido-completing-read): Fix compatibility with completing-read.
20347
20348 2011-03-20 Christian Ohler <ohler@gnu.org>
20349
20350 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20351 (ert-delete-all-tests): Use `called-interactively-p' rather than
20352 `interactive-p'.
20353 (ert--make-xrefs-region): Respect END.
20354
20355 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20356
20357 * dired-aux.el (dired-create-directory): Signal an error if the
20358 directory already exists (Bug#8246).
20359
20360 * facemenu.el (list-colors-display): Call list-faces-display
20361 inside with-help-window.
20362 (list-colors-print): Use display property to align the final
20363 column, instead of checking window-width.
20364
20365 2011-03-19 Eli Zaretskii <eliz@gnu.org>
20366
20367 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20368 windows-nt systems.
20369 (emerge-protect-metachars): Quote correctly for ms-dos and
20370 windows-nt systems.
20371
20372 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
20373
20374 * info.el (info-initialize): Replace all uses of `:' with
20375 path-separator for compatibility with non-Unix systems.
20376 Cache quoting of path-separator. (Bug#8258)
20377
20378 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
20379
20380 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20381 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20382 (mouse-avoidance-mode): Fix typos in docstrings.
20383
20384 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
20385
20386 * startup.el (package-subdirectory-regexp): Move from package.el.
20387 Omit \\` and \\', and let callers add them.
20388
20389 * emacs-lisp/package.el (package-strip-version)
20390 (package-load-all-descriptors): Add \\` and \\' to
20391 package-subdirectory-regexp before using it.
20392 (package-untar-buffer): New arg DIR; ensure that file untars only
20393 into this expected directory. Remove superfluous delete-region.
20394 (package-unpack): Caller changed.
20395 (package-tar-file-info): Use package-subdirectory-regexp.
20396
20397 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
20398
20399 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20400 diff-mode-shared-map (bug#8284).
20401 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20402
20403 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20404
20405 * calendar/time-date.el (format-seconds): Use assoc instead of
20406 assoc-string, since assoc-string doesn't exist in XEmacs.
20407
20408 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
20409
20410 * custom.el (custom-known-themes): Reflow docstring.
20411 (custom-theme-load-path): Fix typo in docstring.
20412 (load-theme): Fix typo in error message.
20413 (custom-available-themes, custom-variable-theme-value):
20414 Use `let', not `let*'.
20415
20416 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20417
20418 * calc/README: Mention inclusion of musical notes.
20419
20420 * calc/calc-units.el (calc-lu-quant): Rename from
20421 `calc-logunits-quantity'.
20422 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20423 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20424 (calc-db): Rename from `calc-dblevel'.
20425 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20426 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20427 (calc-np): Rename from `calc-nplevel'.
20428 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20429 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20430 (calc-lu-plus): Rename from `calc-logunits-add'.
20431 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20432 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20433 (calc-lu-minus): Rename from `calc-logunits-sub'.
20434 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20435 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20436 (calc-lu-times): Rename from `calc-logunits-mul'.
20437 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20438 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20439 (calc-lu-divide): Rename from `calc-logunits-div'.
20440 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20441 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20442
20443 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20444 functions being autoloaded.
20445
20446 * calc/calc.el (calc-lu-power-reference): Rename from
20447 `calc-logunits-power-reference'.
20448 (calc-lu-field-reference): Rename from
20449 `calc-logunits-field-reference'.
20450
20451 * calc/calc-help.el (calc-l-prefix-help):
20452 Mention musical note functions.
20453
20454 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20455
20456 * minibuffer.el (completion-all-sorted-completions):
20457 Use :completion-cycle-penalty text property if present.
20458
20459 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20460
20461 * allout.el (allout-yank-processing): Adjust for new rebulleting
20462 regime so bullet being yanked is used without prompting the user
20463 for a choice.
20464
20465 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20466
20467 * startup.el (command-line): Warn the user that _emacs is deprecated.
20468
20469 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
20470
20471 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20472 (delphi-verbose, delphi-comment-face, delphi-string-face)
20473 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20474 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20475 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20476 (delphi-new-comment-line, delphi-font-lock-defaults)
20477 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20478 Fix typos in docstrings.
20479
20480 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20481
20482 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20483 Invert the roles of character and string values for INSTEAD, so a
20484 string is used for the more common case of a defaulting prompt.
20485
20486 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20487
20488 * progmodes/ruby-mode.el (ruby-backward-sexp):
20489 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20490 * play/gamegrid.el (gamegrid-make-face):
20491 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20492 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20493 * notifications.el (notifications-notify):
20494 * net/xesam.el (xesam-search-engines):
20495 * net/quickurl.el (quickurl-list-insert):
20496 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20497
20498 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
20499
20500 * startup.el (command-line): Update package subdirectory regexp.
20501
20502 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20503
20504 * allout.el (allout-abbreviate-flattened-numbering)
20505 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20506
20507 * subr.el (read-char-choice): Only show the cursor after the prompt,
20508 not after the answer.
20509
20510 2011-03-15 Kevin Ryde <user42@zip.com.au>
20511
20512 * help-fns.el (variable-at-point): Skip leading quotes, if any
20513 (bug#8253).
20514
20515 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20516
20517 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20518 warning message.
20519
20520 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
20521
20522 * shell.el (shell): When called interactively, offer to change the
20523 shell file name on remote hosts.
20524
20525 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20526
20527 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20528 integration for LDAP parameters. The host, base, user or binddn,
20529 and secret tokens can be specified in a netrc file, for instance.
20530 This is optional because an `auth-source' parameter must be
20531 specified in the search attributes.
20532
20533 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
20534
20535 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20536
20537 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20538
20539 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20540 into declaration. Remove redundant and harmful binding.
20541
20542 2011-03-12 Eli Zaretskii <eliz@gnu.org>
20543
20544 * files.el (file-ownership-preserved-p): Pass `integer' as an
20545 explicit 2nd argument to `file-attributes'. If the file's owner
20546 is the Administrators group on Windows, and the current user is
20547 Administrator, consider that a match.
20548
20549 * server.el (server-ensure-safe-dir): Consider server directory
20550 safe on MS-Windows if its owner is the Administrators group while
20551 the current Emacs user is Administrator. Use `=' to compare
20552 numerical UIDs, since they could be integers or floats.
20553
20554 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
20555
20556 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20557
20558 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
20559
20560 Sync with Tramp 2.2.1.
20561
20562 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20563
20564 * net/trampver.el: Update release number.
20565
20566 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20567
20568 * progmodes/compile.el (compilation--previous-directory): Fix up
20569 various nil/dead-marker mismatches (bug#8014).
20570 (compilation-directory-properties, compilation-error-properties):
20571 Don't call it at a position past the one we're about to change.
20572
20573 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20574 Disable obsolescence warnings in the file that declares it.
20575
20576 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20577
20578 * allout-widgets.el (allout-widgets-tally):
20579 Initialize allout-widgets-tally as a hash table rather than nil to
20580 prevent mode-line redisplay warnings. Also, clarify the module
20581 description and fix a comment typo.
20582
20583 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
20584
20585 * help-fns.el (describe-variable): Don't complete keywords.
20586 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20587
20588 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
20589
20590 * emacs-lisp/package.el (package-version-join): Impose a standard
20591 string representation for pre/alpha/beta version lists.
20592 (package-unpack-single): Standardize the directory name by passing
20593 it through package-version-join.
20594 (package-strip-rcs-id): Accept any version string that does not
20595 signal an error in version-to-list.
20596
20597 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
20598
20599 * simple.el (delete-trailing-whitespace): Return nil for the
20600 benefit of `write-file-functions'.
20601
20602 2011-03-10 Glenn Morris <rgm@gnu.org>
20603
20604 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20605
20606 * vc/vc-git.el (vc-git-program): New option.
20607 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20608 (vc-git--call): Use it.
20609
20610 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20611
20612 * cus-edit.el (Custom-newline): If no button at point, look
20613 for a subgroup button at start-of-line. (Bug#2298)
20614
20615 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20616
20617 2011-03-10 Julien Danjou <julien@danjou.info>
20618
20619 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20620 `cursor-type' is nil.
20621
20622 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20623
20624 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20625
20626 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20627
20628 * allout.el: Change so yank of distinctive-bullet items
20629 preserves the existing header prefix, rebulleting it if necessary,
20630 rather than replacing it. This is necessary for proper operation
20631 of cooperative addons like allout-widgets.
20632 (allout-make-topic-prefix, allout-rebullet-heading):
20633 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20634 value as alternate bullet to be used, instead of prompting the user
20635 for a bullet character.
20636
20637 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
20638
20639 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20640 Do not use `tramp-file-name-port', because this returns also
20641 `tramp-default-port'.
20642
20643 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20644
20645 * net/rcirc.el (rcirc-handler-001): Remove useless
20646 with-rcirc-process-buffer.
20647 (rcirc-check-auth-status): Swap arguments to string-match.
20648
20649 2011-03-09 Glenn Morris <rgm@gnu.org>
20650
20651 * shell.el (shell-mode):
20652 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20653
20654 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20655 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20656
20657 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20658
20659 * emacs-lisp/package.el (package-refresh-contents)
20660 (package-menu-execute): Use condition-case-no-debug.
20661
20662 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
20663
20664 * simple.el (shell-command-to-string): Use `process-file'.
20665
20666 * emacs-lisp/package.el (package-tar-file-info): Handle also
20667 remote files.
20668
20669 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20670 Use `equal' for upload base check.
20671
20672 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20673
20674 * textmodes/texinfo.el (texinfo-environments):
20675 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20676
20677 2011-03-08 Glenn Morris <rgm@gnu.org>
20678
20679 * cus-start.el (cursor-in-non-selected-windows):
20680 Fix :set quoting oddness. (Bug#8192)
20681
20682 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20683 in some setf expressions. (Bug#2159)
20684
20685 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
20686
20687 * custom.el (custom-available-themes): Return themes in
20688 alphabetical order.
20689
20690 See ChangeLog.15 for earlier changes.
20691
20692 ;; Local Variables:
20693 ;; coding: utf-8
20694 ;; End:
20695
20696 Copyright (C) 2011-2012 Free Software Foundation, Inc.
20697
20698 This file is part of GNU Emacs.
20699
20700 GNU Emacs is free software: you can redistribute it and/or modify
20701 it under the terms of the GNU General Public License as published by
20702 the Free Software Foundation, either version 3 of the License, or
20703 (at your option) any later version.
20704
20705 GNU Emacs is distributed in the hope that it will be useful,
20706 but WITHOUT ANY WARRANTY; without even the implied warranty of
20707 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20708 GNU General Public License for more details.
20709
20710 You should have received a copy of the GNU General Public License
20711 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.