* tramp.texi (Frequently Asked Questions): Mention
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
a05cb6e3
GM
12012-10-25 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4
3c92de70
SM
52012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * minibuffer.el (minibuffer-force-complete): Use one more marker
8 for the temporary-overlay-map command (bug#12619).
9
a4b6d7c6
CY
102012-10-24 Chong Yidong <cyd@gnu.org>
11
12 * time.el (display-time-world-mode): Derive from special-mode.
13 (display-time-world): Use display-buffer (Bug#12708).
14 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
15 (display-time-world-display): Wrap the final delete-char inside
16 inhibit-read-only.
a4b6d7c6 17
75e8f9d2
CY
182012-10-24 Chong Yidong <cyd@gnu.org>
19
cd996018
CY
20 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
21 Doc fix.
22
75e8f9d2
CY
23 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
24
d92df117
SM
252012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * minibuffer.el (completion--all-sorted-completions-location): New var.
28 (completion--cache-all-sorted-completions)
29 (completion--flush-all-sorted-completions): Use it.
30 (completion-in-region, completion-in-region--postch)
31 (completion-at-point, completion-help-at-point): Use markers in
32 completion-in-region--data (bug#12619).
33
9c3e39f3
SM
342012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
35
c79825bd
SM
36 * progmodes/compile.el (compilation-start): Try to handle common
37 quoting of `cd' argument (bug#12640).
38
9c3e39f3
SM
39 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
40 (bug#12671).
41
a6709bc7
GM
422012-10-23 Glenn Morris <rgm@gnu.org>
43
44 * progmodes/gud.el (gud-menu-map):
45 Check gdb-active-process is bound. (Bug#12358)
46
d1069532
SM
472012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
48
d20d69c0
SM
49 * repeat.el (repeat): Set real-this-command (bug#12232).
50
d1069532
SM
51 * htmlfontify.el (hfy-post-html-hook):
52 * filesets.el (filesets-cache-fill-content-hook):
53 * arc-mode.el (archive-extract-hook):
54 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
55 * net/rcirc.el (rcirc-sentinel-functions)
56 (rcirc-receive-message-functions, rcirc-activity-functions)
57 (rcirc-print-functions):
58 * net/dbus.el (dbus-event-error-functions):
59 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
60 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
61 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
62 * term/sun.el (sun-raw-prefix-hooks):
63 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
64
f7eac6d8
MA
652012-10-23 Michael Albinus <michael.albinus@gmx.de>
66
d1069532
SM
67 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
68 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
69 (tramp-smb-wait-for-output): Add timeout to
70 `tramp-accept-process-output' calls.
71
608d9d7c
CY
722012-10-23 Chong Yidong <cyd@gnu.org>
73
49238e7f
CY
74 * faces.el (font-list-limit): Define as an obsolete variable.
75
76 * startup.el (command-line):
77 * cus-start.el: Don't refer to font-list-limit.
78
608d9d7c
CY
79 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
80
4ff5b1b2
SM
812012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
82
83 * subr.el (internal-temp-output-buffer-show): Rename from
84 temp-output-buffer-show, since previously compiled files expect this name.
85
ea1d4aac
GM
862012-10-23 Glenn Morris <rgm@gnu.org>
87
88 * image.el (image-type-from-file-name): If multiple types match,
89 return the first one that is supported. (Bug#9045)
90
eda82a31
GM
912012-10-22 Glenn Morris <rgm@gnu.org>
92
93 * image.el (imagemagick-enabled-types): Doc fix.
94
4f020bec
TA
952012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
96
97 * progmodes/which-func.el (which-func-current): The hash-table may have
98 an explicit nil (bug#12338).
99
c77d37e2
SM
1002012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
101
102 * electric.el (electric-pair-delete-selection-self-insert-function):
103 Rename to electric-pair-will-use-region, return a boolean.
104 (electric-pair-mode): Adjust accordingly. Don't require delsel.
105
106 * delsel.el (delete-selection-helper): Use a function instead of a hook.
107 (delete-selection-pre-hook): Use use-region-p.
108 (delete-selection-self-insert-function): Remove.
109 (self-insert-command): Obey self-insert-uses-region-functions.
110 (self-insert-iso): Revert to previous setting, since we don't actually
111 know what that command does.
112 (delete-selection-self-insert-hooks): Remove.
113
b1d39ccc
SL
1142012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
115
116 * delsel.el (delete-selection-helper): New function, extracted from
117 delete-selection-pre-hook.
118 (delete-selection-pre-hook): Use it.
119 (delete-selection-self-insert-function): New function.
120 (delete-selection-self-insert-hooks): New hook.
121 (self-insert-command, self-insert-iso): Use it.
122 * electric.el (electric-pair-syntax): New function, extracted from
123 electric-pair-post-self-insert-function.
124 (electric-pair-post-self-insert-function): Use it.
125 (electric-pair-delete-selection-self-insert-function): New function.
126 (electric-pair-mode): Require delsel and setup
127 delete-selection-self-insert-hooks (bug#11520).
128
045ef729
CY
1292012-10-20 Chong Yidong <cyd@gnu.org>
130
4c5d08a8
CY
131 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
132 no changes to show (Bug#12586).
133
045ef729
CY
134 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
135 list explicitly (Bug#12571).
136
3503c798 1372012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 138
b1d39ccc
SL
139 * progmodes/flymake.el (flymake-create-temp-inplace):
140 Use file-truename.
79e1997a 141
2068905b
EZ
1422012-10-20 Eli Zaretskii <eliz@gnu.org>
143
144 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
145
4c9e9550
JB
1462012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
147
148 * calc/calc-units.el (math-extract-units): Properly extract powers
149 of units.
150
1a6e7e38
DC
1512012-10-20 Daniel Colascione <dancol@dancol.org>
152
153 * frame.el (make-frame): Set x-display-name as we used to in order
154 to unbreak creating an X11 frame from an Emacs daemon started
155 without a display.
156
8e808318
SM
1572012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
158
159 * minibuffer.el (minibuffer-force-complete): Make the next completion use
160 the same completion-field (bug@12221).
161
fb0104da
MR
1622012-10-19 Martin Rudalics <rudalics@gmx.at>
163
164 * emacs-lisp/debug.el (debug): Record height of debugger window
165 also when debugger will be back (Bug#8789).
166
8c27235e
CY
1672012-10-18 Chong Yidong <cyd@gnu.org>
168
169 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
170 Convert to defcustom.
171 (gdb-get-source-file): Don't bind pop-up-windows.
172
173 * progmodes/gud.el (gud-display-line): Don't specially re-use
174 other frames for the gdb-mi case (Bug#12648).
175
90eacf99
SM
1762012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
177
aaf0c300
SM
178 * emacs-lisp/advice.el: Clean up commentary a bit.
179 (ad-do-advised-functions, ad-with-originals): Use `declare'.
180 (byte-code-function-p): Never redefine.
181
90eacf99
SM
182 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
183
281c9d2b
GM
1842012-10-18 Glenn Morris <rgm@gnu.org>
185
40714e3d
GM
186 * dired.el (dired-sort-toggle): Some ls implementations only allow
187 a single option string. (Bug#12666)
188
281c9d2b
GM
189 * minibuffer.el (completion-cycle-threshold): Doc fix.
190
b278604e
KH
1912012-10-17 Kenichi Handa <handa@gnu.org>
192
90eacf99
SM
193 * international/mule.el (set-keyboard-coding-system):
194 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
195 Supply TERMINAL arg to set-input-meta-mode.
196
7ebc5f5a
MH
1972012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
198
199 * wdired.el (wdired-old-marks): New variable.
200 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
201 (wdired-do-renames): Move point with renamed file and don't lose
202 mark status (Bug#11795).
203
e5a94ec4
JL
2042012-10-16 Juri Linkov <juri@jurta.org>
205
206 * replace.el (query-replace-help): Mention multi-buffer replacement
207 keys in the Help message. (Bug#12655)
208
d18a0d24
CY
2092012-10-15 Chong Yidong <cyd@gnu.org>
210
211 * emacs-lisp/byte-run.el (defsubst): Doc fix.
212
8111f5e6
EZ
2132012-10-14 Eli Zaretskii <eliz@gnu.org>
214
7b9abf24
EZ
215 * window.el (display-buffer): Doc fix.
216
8111f5e6
EZ
217 * progmodes/compile.el (compilation-error-regexp-alist-alist):
218 Adjust the msft regexp to the output of Studio 2010, and move msft
219 before edg-1. See the discussion on emacs-devel,
220 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
221 for the details.
222
5046ef67
SM
2232012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
224
9760c73c
SM
225 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
226 (oset): Move uses of object-class-fast macro after its definition.
227
5046ef67
SM
228 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
229
0d11ff1c
CY
2302012-10-13 Chong Yidong <cyd@gnu.org>
231
232 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
233 enabled, re-enable it (Bug#11963).
234
88ded8ac
MR
2352012-10-13 Martin Rudalics <rudalics@gmx.at>
236
237 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
238 non-nil, restore window configuration (Bug#12623).
239
bd0ffffd
SM
2402012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
241
06485aa8
SM
242 * help-fns.el (describe-variable, describe-function-1):
243 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
244
bd0ffffd
SM
245 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
246
3a989246
GM
2472012-10-12 Glenn Morris <rgm@gnu.org>
248
249 * mail/rmailsum.el (rmail-header-summary):
250 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
251
55cd00c8
FEG
2522012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
253
bd0ffffd
SM
254 * progmodes/python.el (python-mode-map):
255 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
256 (python-nav--up-list): Fix behavior for blocks on the same level.
257
ac9fc2c7
SM
2582012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
259
d8cc4c00 260 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 261
5253a5fd
SM
262 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
263 changes to the format of load-history.
264
ac9fc2c7
SM
265 * international/mule-cmds.el (read-char-by-name): Move let-binding of
266 completion-ignore-case in case that var is buffer-local (bug#12615).
267
cde44a77
KH
2682012-10-11 Kenichi Handa <handa@gnu.org>
269
270 * international/eucjp-ms.el: Re-generated.
271
4ef4a10d
KH
2722012-10-10 Kenichi Handa <handa@gnu.org>
273
274 * select.el (xselect--encode-string): If a coding is specified for
275 selection, and that is compatible with COMPOUND_TEXT, use it.
276
9d7f027b
MR
2772012-10-10 Martin Rudalics <rudalics@gmx.at>
278
279 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
280 (switch-to-buffer):
281 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 282
238f3a58
SM
2832012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
284
285 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
286 Don't document nil as a useful value (bug#12583).
287
1d51f99c
MA
2882012-10-09 Michael Albinus <michael.albinus@gmx.de>
289
238f3a58
SM
290 * net/tramp.el (tramp-debug-message):
291 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
292 (with-tramp-progress-reporter): Rename from
293 `tramp-with-progress-reporter'.
238f3a58
SM
294 (with-tramp-file-property, with-tramp-connection-property):
295 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
296 `with-connection-property', respectively.
297
298 * net/tramp-cache.el: Remove `with-file-property' and
299 `with-connection-property'.
300
301 * net/tramp.el:
302 * net/tramp-gvfs.el:
303 * net/tramp-sh.el:
304 * net/tramp-smb.el: Adapt callees.
305
306 * net/trampver.el: Update release number.
307
26b77251
GM
3082012-10-09 Glenn Morris <rgm@gnu.org>
309
9a5f296f
GM
310 * w32-fns.el (set-message-beep):
311 * term/w32-win.el (set-message-beep): Update declarations.
312
94c66ce5
SM
3132012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
314
10766e9e
SM
315 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
316 (mode-line-widen, mode-line-input-method-map)
317 (mode-line-coding-system-map, mode-line-remote)
318 (mode-line-unbury-buffer, mode-line-bury-buffer)
319 (mode-line-next-buffer, mode-line-previous-buffer):
320 Replace save-selected-window+select-window => with-selected-window.
321
f754db08
SM
322 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
323 * progmodes/cc-vars.el (bq-process): Remove, unused.
324
94c66ce5
SM
325 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
326
a4ff7fe1
FEG
3272012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
328
329 Implemented `backward-up-list'-like navigation.
330 * progmodes/python.el (python-nav-up-list)
331 (python-nav-backward-up-list): New functions.
332 (python-mode-map): Define substitute key for backward-up-list to
333 python-nav-backward-up-list.
334
24517d82
FEG
3352012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
336
337 * progmodes/python.el (python-fill-paragraph): Rename from
338 python-fill-paragraph-function. Fixed fill-paragraph for
339 decorators (Bug#12605).
340
51867ae2
FEG
3412012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
342
343 * progmodes/python.el (python-shell-output-filter): Handle extra
344 carriage return in OSX (Bug#12409).
345
a5b773c4
FEG
3462012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
347
348 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 349 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
350 (python-syntax-propertize-function): Use it.
351 (python-shell-output-syntax-table): New var.
352 (inferior-python-mode): Prevent unbalanced parens/quotes from
353 previous output mess with current input context.
354
13373538
JB
3552012-10-08 Juanma Barranquero <lekktu@gmail.com>
356
357 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
358 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
359
775a132d
MA
3602012-10-08 Michael Albinus <michael.albinus@gmx.de>
361
362 * ffap.el (ffap-replace-file-component): Support Tramp file name
363 syntax, not only ange-ftp's one.
364
3ab44929
GM
3652012-10-08 Glenn Morris <rgm@gnu.org>
366
57f1dee4
GM
367 * cus-start.el (message-log-max): Set :version.
368
3ab44929
GM
369 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
370
6a088630
MR
3712012-10-08 Martin Rudalics <rudalics@gmx.at>
372
373 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
374 the minibuffer window (Bug#10851).
375
8dbce54c
FEG
3762012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
377
378 Enhancements on forward-sexp movement.
379 * progmodes/python.el (python-nav-beginning-of-statement)
380 (python-nav-end-of-statement): Return point-marker.
381 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
382 (python-info-current-symbol)
383 (python-info-statement-starts-block-p): Rename from
384 python-info-beginning-of-block-p.
385 (python-info-statement-ends-block-p): Rename from
386 python-info-end-of-block-p.
387 (python-info-beginning-of-statement-p)
388 (python-info-end-of-statement-p)
389 (python-info-beginning-of-block-p, python-info-end-of-block-p):
390 New functions.
391
5acd2b3e
SM
3922012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
395 frame-selected-windows.
396
e08348a0
DC
3972012-10-08 Daniel Colascione <dancol@dancol.org>
398
399 * battery.el (battery-status-function): Check for
400 w32-battery-status itself, not system-time windows-nt.
401
402 * frame.el: Require cl-lib.
403 (display-format-alist): New variable mapping frame types to
404 functions that initialize them.
405 (window-system-for-display): New function: interprets
406 display-format-alist.
407 (make-frame-on-display): Remove existing display-selection logic
408 and just forward to make-frame, which will now DTRT.
409 (make-frame): Restructure to use window-system-for-display to
410 figure out how to create a frame on a given display.
411 (display-mouse-p): Look for frame-type w32, not a particular
412 system-type.
413
414 * loadup.el: Load w32 lisp code when we have the w32 feature.
415
416 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
417 system-type windows-nt.
418
419 * server.el (server-create-window-system-frame): Look for window
420 type.
421 (server-proces-filter): Only force a window system when windows-nt
422 _and_ w32. Explain why.
423
424 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
425 of window systems we configure for the mode.
426
427 * startup.el (command-line): Mark window system is initialized
428 after we've done it.
429
430 * common-win.el (x-select-text): Look for w32, not windows-nt.
431
432 * ns-win.el: Require cl-lib. Add ourselves to
433 display-format-alist.
434 (ns-initialize-window-system): Assert we're not initialized twice.
435
436 * w32-win.el: Enable lexical binding; require cl-lib; add
437 ourselves to display-format-alist.
438 (w32-handle-dropped-file): Convert incoming dropped files from
439 Windows paths to Cygwin ones before passing them on to the rest of
440 Emacs.
441 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
442 (w32-initialize-window-system): Assert we're not initialized twice.
443
444 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
445 (x-initialize-window-system): Assert we're not initialized twice.
446
447 * w32-common-fns.el: New File.
448 (w32-version, w32-using-nt, w32-get-clipboard-data)
449 (w32-set-clipboard-data, x-set-selection, x-get-selection)
450 (w32-charset-info-alist, x-last-selected, text)
451 (x-get-selection-value, x-selection-value): Move here.
452
453 * w32-fns.el: Require w32-common-fns.
454 (w32-version, w32-using-nt, w32-get-clipboard-data)
455 (w32-set-clipboard-data, x-set-selection, x-get-selection)
456 (w32-charset-info-alist, x-last-selected, text)
457 (x-get-selection-value, x-selection-value): Move to
458 w32-common-fns.
459
460 * w32-vars.el:
461 (w32-allow-system-shell, w32-system-shells): Define only in
462 non-cygwin case.
463
795b1482
SM
4642012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
465
466 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
467 (read-passwd): Remove a few more potential sources of leaks.
468
f27c99dc
FEG
4692012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
470
471 * progmodes/python.el (inferior-python-mode)
795b1482 472 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
473 variables copied from parent buffer.
474
fcacb558
JD
4752012-10-07 Jan Djärv <jan.h.d@swipnet.se>
476
477 * term/ns-win.el (ns-read-file-name): Update declaration to match
478 nsfns.m.
479 (ns-respond-to-change-font): Change fontsize separatly so we are sure
480 it is set when font is acted upon.
481
be0d5bae
FEG
4822012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
483
484 Enhancements to indentation.
485 * progmodes/python.el (python-indent-context): Give priority to
486 inside-string context. Make comments indentation markers.
487 (python-indent-region): Do not mess with strings, unless it's the
488 enclosing set of quotes.
489
13af0d10
SM
4902012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
491
662a9d0e
SM
492 * window.el (internal--before-save-selected-window)
493 (internal--after-save-selected-window): New functions extracted from
494 save-selected-window. Make sure we return the `alist' we construct.
495 (save-selected-window): Use them.
496
497 * textmodes/tex-mode.el (tex-recenter-output-buffer):
498 Use with-selected-window.
499
13af0d10
SM
500 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
501 forms that define macros (bug#12593).
502
6aa75fb6
KH
5032012-10-07 Kenichi Handa <handa@gnu.org>
504
13af0d10
SM
505 * international/mule-conf.el (compound-text-with-extensions):
506 Add :mime-charset property as x-ctext.
6aa75fb6 507
78d876b9
SM
5082012-10-07 Stefan Merten <smerten@oekonux.de>
509
510 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
511 (rst-indent-literal-normal, rst-indent-literal-minimized)
512 (rst-indent-comment): Correct :version tag.
557337e9 513 (rst-official-cvs-rev): Correct version string.
78d876b9 514
99a1e701
GM
5152012-10-07 Glenn Morris <rgm@gnu.org>
516
517 * mail/rmailmm.el (rmail-mime-process-multipart):
518 Do not confuse a multipart message with an epilogue
519 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
520
08f18c3d
FEG
5212012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
522
523 Fix shell output retrieval and comint-prompt-regexp init.
524 * progmodes/python.el (inferior-python-mode):
525 (python-shell-make-comint): Fix initialization of
526 comint-prompt-regexp from copied file local variables.
527 (python-shell-fetched-lines): Remove var.
528 (python-shell-output-filter-in-progress): Rename from
529 python-shell-fetch-lines-in-progress.
530 (python-shell-output-filter-buffer): Rename from
531 python-shell-fetch-lines-string.
532 (python-shell-fetch-lines-filter): Delete function.
533 (python-shell-output-filter): New function.
534 (python-shell-send-string-no-output): Use them.
535
82ed3ab4
GM
5362012-10-07 Glenn Morris <rgm@gnu.org>
537
1595ecfa
GM
538 * hi-lock.el (hi-lock-process-phrase):
539 Try to make it less fragile. (Bug#7161)
540
82ed3ab4
GM
541 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
542
f1f4dba0
GM
5432012-10-06 Glenn Morris <rgm@gnu.org>
544
addc11ed 545 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
546 non-existent mode `help'.
547 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 548
460042b8
GM
549 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
550 (reftex-create-bibtex-footer): Fix custom types.
551
67667c70
GM
552 * progmodes/sh-script.el (sh-indent-after-continuation):
553 Add explicit :group.
554
18dec750
GM
555 * textmodes/rst.el (rst-preferred-decorations)
556 (rst-shift-basic-offset): Clarify obsolescence versions.
557
d1a1c7e6
GM
558 * profiler.el (profiler): Add missing group :version tag.
559 * avoid.el (mouse-avoidance-banish-position):
560 * proced.el (proced-renice-command):
561 * calc/calc.el (calc-ensure-consistent-units):
562 * calendar/icalendar.el (icalendar-import-format-uid):
563 * net/tramp.el (tramp-save-ad-hoc-proxies):
564 * progmodes/bug-reference.el (bug-reference-bug-regexp):
565 * progmodes/flymake.el (flymake-error-bitmap)
566 (flymake-warning-bitmap, flymake-fringe-indicator-position):
567 * progmodes/sh-script.el (sh-indent-after-continuation):
568 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
569 (verilog-before-save-font-hook, verilog-after-save-font-hook):
570 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
571 (vhdl-array-index-record-field-in-sensitivity-list)
572 (vhdl-indent-comment-like-next-code-line):
573 * textmodes/reftex-vars.el (reftex-ref-style-alist)
574 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
575 (reftex-cite-key-separator, reftex-create-bibtex-header)
576 (reftex-create-bibtex-footer):
577 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
578 (rst-indent-literal-normal, rst-indent-literal-minimized)
579 (rst-indent-comment): Add missing custom :version tags.
580
ef35abb4
GM
581 * calendar/timeclock.el (timeclock-modeline-display):
582 Add missing obsolete alias for renamed user option.
583
d1aae614
GM
584 * strokes.el (strokes-modeline-string):
585 * emulation/crisp.el (crisp-mode-modeline-string):
586 * eshell/esh-mode.el (eshell-status-in-modeline):
587 Aliases to defcustoms must come before the defcustom.
588
f1f4dba0
GM
589 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
590 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
591 (cal-tex-cursor-week-monday): Doc fixes.
592 (cal-tex-cursor-week2-summary): Doc fix.
593 Rename from cal-tex-cursor-week-at-a-glance.
594
595 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
596 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
597
598 * calendar/calendar.el (calendar-mode-map):
599 Add cal-tex-cursor-week2-summary.
600
d39109c3
SM
6012012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
602
685f87b0
SM
603 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
604
d39109c3
SM
605 * subr.el (read-passwd-map): New var.
606 (read-passwd): Use `read-string' again.
607 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
608
5694896d
J
6092012-10-06 Jambunathan K <kjambunathan@gmail.com>
610
611 * register.el (append-to-register, prepend-to-register):
612 Deactivate mark, as does `copy-to-register' (bug#12389).
613
9414dd8d
CY
6142012-10-06 Chong Yidong <cyd@gnu.org>
615
616 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
617
2b89bca4
KH
6182012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
619
620 * international/characters.el: Fix simple mistake ((car chars) ->
621 elt), delete duplicated code.
622
d5acb99a
GM
6232012-10-06 Glenn Morris <rgm@gnu.org>
624
625 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
626
123ec157
JS
6272012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
628
629 * color.el (color-hsl-to-rgb): Fix incorrect results for
630 small and large hue values. (Bug#12559)
631
7fa36ccb
FEG
6322012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
633
634 Enhancements to docstring formatting when filling paragraphs.
635 * progmodes/python.el (python-fill-docstring-style): Rename from
636 python-fill-string-style. Added new style.
637 (python-fill-string): Use new style. Better checks for
638 docstrings.
639
d8788e1e
GM
6402012-10-05 Glenn Morris <rgm@gnu.org>
641
204f3953
GM
642 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
643
d8788e1e
GM
644 * color.el (color-name-to-rgb, color-rgb-to-hex)
645 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
646 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
647 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
648 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
649
8d956cef
GM
650 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
651
e8757f09 6522012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
653
654 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
655 to get the correct size across symlinks.
656
e8757f09
GM
657 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
658
0e2ae83d
JL
6592012-10-04 Juri Linkov <juri@jurta.org>
660
661 * replace.el (query-replace-interactive): Declare obsolete.
662 (query-replace-read-from): Add the last incremental search string
663 to the list of default values accessible via M-n.
664 (map-query-replace-regexp): Use `read-regexp'.
665 (query-replace, query-replace-regexp, query-replace-regexp-eval)
666 (map-query-replace-regexp, replace-string, replace-regexp):
667 Fix docstrings to replace mentions of `query-replace-interactive'
668 with alternatives. (Bug#12526)
669
93cacb6d
JL
6702012-10-04 Juri Linkov <juri@jurta.org>
671
672 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
673 (dired-pop-to-buffer): Declare obsolete.
674 (dired-mark-pop-up): Doc fix.
675
fc345011
FEG
6762012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
677
678 Allow user to set docstring style for fill-paragraph.
679 * progmodes/python.el
680 (python-fill-comment-function, python-fill-string-function)
681 (python-fill-decorator-function, python-fill-paren-function):
682 Remove :safe for defcustoms.
683 (python-fill-string-style): New defcustom
5694896d 684 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
685 (python-fill-string): Honor python-fill-string-style settings.
686
6bab5d8b
MR
6872012-10-04 Martin Rudalics <rudalics@gmx.at>
688
689 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
690 after setting its buffer (Bug#10805).
691
a1a9f411
FEG
6922012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
693
694 Fix cornercase for string syntax.
695 * progmodes/python.el (python-syntax-propertize-function):
696 Simplify and enhance the regexp for unescaped quotes. Now it also
697 matches quotes in weird situations like the single quote in
698 "something\"'".
699 (python-syntax-stringify): Simplify num-quotes detecting code.
700
05e153a6
GM
7012012-10-03 Glenn Morris <rgm@gnu.org>
702
703 * help-macro.el (three-step-help):
704 Revert 2012-09-29 change. (Bug#12567)
705
2e566ecb
MR
7062012-10-03 Martin Rudalics <rudalics@gmx.at>
707
96ef9ccd
MR
708 * menu-bar.el (kill-this-buffer): Don't do anything when
709 `menu-frame' is not alive or visible (Bug#8184).
710
2e566ecb
MR
711 * emacs-lisp/debug.el (debug): When quitting the debugger window
712 restore current buffer (Bug#12502).
713
a96e1cb7
CY
7142012-10-02 Chong Yidong <cyd@gnu.org>
715
5694896d
J
716 * progmodes/hideif.el (hif-lookup, hif-defined):
717 Handle semantic-c-takeover-hideif.
a96e1cb7 718
b3ecad33
PE
7192012-10-02 Paul Eggert <eggert@cs.ucla.edu>
720
721 Change sampling interval units from ms to ns.
722 * profiler.el (profiler-sampling-interval): Change units
723 from ms to ns, multiplying the default by 1000000 so that
724 it remains 1 ms.
725 (profiler-report-cpu-line-format): Give enough room for
726 the maximum counters on 64-bit hosts.
727 (profiler-report-render-calltree-1): Call them "CPU samples",
728 not "Time (ms)", since they are not milliseconds now (and
729 never really were).
730
8cb51b66 7312012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 732
5694896d
J
733 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
734 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 735
fd795bf4
CY
7362012-10-02 Chong Yidong <cyd@gnu.org>
737
738 * emacs-lisp/eieio.el: Restore Version header.
739
fe0a74f9
SM
7402012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
741
6be9197e
SM
742 * vc/diff-mode.el (diff--auto-refine-data): New var.
743 (diff-hunk): Use it to delay refinement.
744 (diff-mode): Remove overlays when we turn off font-lock.
745
18486139
SM
746 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
747 (table-initialize-table-fixed-width-mode)
748 (table-set-table-fixed-width-mode): Remove functions.
749 (table-command-list): Move initialization into declaration.
750 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
751 (table-with-cache-buffer): Use `declare'.
752 (table-span-cell): Simplify via CSE.
753 (table-fixed-width-mode): Use define-minor-mode.
754 (table-call-interactively, table-funcall, table-apply): Remove.
755 (table-function): New function, to replace them.
756
d83ef976
SM
757 * bookmark.el (bookmark-search-pattern): Remove var.
758 (bookmark-read-search-input): Remove function.
759 (bookmark-bmenu-search): Reimplement using a minibuffer.
760
cd386662
SM
761 * faces.el (modeline): Remove obsolete face name.
762
fe0a74f9
SM
763 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
764 and give a non-nil default value.
765 (add-change-log-entry): Simplify accordingly.
766
9f7b98f8
DG
7672012-10-01 Dmitry Gutov <dgutov@yandex.ru>
768
769 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
770 (vc-git-log-edit-toggle-amend): New function.
771 (vc-git-log-edit-toggle-signoff): New function.
772 (vc-git-log-edit-mode): New major mode.
773 (vc-git-log-edit-mode-map): Keymap for it.
774 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
775
776 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
777 header names.
778 (log-edit-toggle-header): New function.
779 (log-edit-extract-headers): Accept function values in HEADERS alist.
780
62a81506
CY
7812012-10-01 David Engster <deng@randomsample.de>
782
783 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
784 from symbol property and change message to be more consistent with
785 Emacs proper.
786 (eieio-describe-generic): Add filename for each implementation.
787 Fix indices for generic and normal methods.
788 (eieio-method-def, eieio-class-def): New buttons.
789 (eieio-help-find-method-definition)
790 (eieio-help-find-class-definition): New functions.
791 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
792 class, constructor and method definitions.
793
794 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
795 information in symbol property.
796 (scoped-class): Remove.
797 (eieio-slot-name-index, call-next-method): Check if it is bound.
798
7992012-10-01 Leo P. White <lpw25@cam.ac.uk>
800
801 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
802 (eieio-custom-mode): New major mode.
803 (eieio-customize-object): Use it.
804
8052012-10-01 Eric Ludlam <zappo@gnu.org>
806
807 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
808 specifying the expected class, and whether subclassing is allowed.
809 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
810 (eieio-persistent-validate/fix-slot-value)
811 (eieio-persistent-slot-type-is-class-p): New functions.
812 (eieio-named::slot-missing): Doc fix.
62a81506
CY
813
814 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
815 Stop using unused publd variable.
816
817 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
818 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
819 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
820 (eieio-speedbar-handle-click): Do not specify a class for the
821 method. Fixes method invocation order problems with EDE.
822
375e49d4
SM
8232012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
824
825 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
826 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
827
16ce6ccd
KF
8282012-10-01 Karl Fogel <kfogel@red-bean.com>
829
830 * bookmark.el (bookmark-version-control): Give tags in the
831 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
832 (bookmark-write-file): Bind `print-circle' to `t' to allow
833 circular custom bookmark types. (Bug#12503)
16ce6ccd 834
19e54a4d
PE
8352012-10-01 Paul Eggert <eggert@cs.ucla.edu>
836
86ec63ba
PE
837 Revert the FOLLOW-SYMLINKS change for file-attributes.
838 * files.el (remote-file-name-inhibit-cache, after-find-file):
839 * time.el (display-time-file-nonempty-p): Undo last change.
840
19e54a4d
PE
841 * profiler.el (profiler-sampling-interval): Change default back to 1.
842 See Stefan Monnier in
843 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
844
0478776b
FEG
8452012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
846
847 Shell output catching a la gud-gdb.
848 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
849 (python-shell-fetch-lines-string, python-shell-fetched-lines):
850 New Vars.
0478776b
FEG
851 (python-shell-fetch-lines-filter): New function.
852 (python-shell-send-string-no-output): Use them.
853
c22bac2c
TM
8542012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
855
856 * profiler.el (profiler-sampling-interval): Rename from
857 profiler-sample-interval.
858 (profiler-sampling-interval): Default to 10.
859 (profiler-find-profile): New command (was profiler-find-log).
860 (profiler-find-profile-other-window): New command.
861 (profiler-find-profile-other-frame): New command.
862 (profiler-profile): Introduce API-level data structure.
863
e7a2937b
PE
8642012-09-30 Paul Eggert <eggert@cs.ucla.edu>
865
866 file-attributes has a new optional arg FOLLOW-SYMLINKS.
867 * files.el (remote-file-name-inhibit-cache):
868 * time.el (display-time-file-nonempty-p): Use it.
869 * files.el (after-find-file): Don't chase links before calling
870 file-exists-p, as file-exists-p already does the right thing.
871
4f595e15
RA
8722012-09-30 Ralf Angeli <angeli@caeruleus.net>
873
874 Merge from standalone RefTeX repository.
875
876 The following ChangeLog entries are shortened versions of the
877 original ones with file paths adapted. A not so strongly edited
878 version of the original ChangeLog can be found in the commit log.
879
880 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
881 (reftex-arg-cite): Use `reftex-cite-key-separator'.
882 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
883
884 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
885 that entries with whitespace at various places are found.
886 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
887 Include @String definitions in the resulting bib file. Add header
888 and footer defined in `reftex-create-bibtex-header' and
889 `reftex-create-bibtex-footer'.
890 (reftex-do-citation): Make it possible again to insert
891 non-existent entries. Save match data when asking for optional
892 arguments. Return all keys, not just the first one.
893 (reftex-all-used-citation-keys): Fix regexp to correctly extract
894 all citations in the same line.
895 (reftex-parse-bibtex-entry): Accept additional optional argument
896 `raw' and keep quotes or braces if it is non-nil. Match fields
897 containing hyphens besides word constituents.
898 (reftex-get-string-refs): New function.
899 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
900 and ask if it should be reread in case it did.
901 (reftex-pop-to-bibtex-entry)
902 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
903 entries with spaces or tabs in front of arguments.
904 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
905 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
906 Match entries containing numbers and symbol constituents.
907 (reftex-do-citation, reftex-figure-out-cite-format):
908 Use `reftex-cite-key-separator'.
4f595e15
RA
909
910 * textmodes/reftex-dcr.el: Move provide statement to end of file.
911 (reftex-mouse-view-crossref): Explain why point is set.
912
913 * textmodes/reftex-global.el: Whitespace changes.
914
915 * textmodes/reftex-index.el: Move provide statement to end of
916 file.
917 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
918 (reftex-index-visit-phrases-buffer): Set marker when visiting
919 buffer. This allows for returning from the phrases file to the
920 file one was just editing instead of the file where the last
921 phrases was added from.
922 (reftex-index-phrases-syntax-table): New variable. Give ?\"
923 punctuation syntax as it usually is not used as string quote in
924 TeX-related modes and may occur unmatched. The change also
925 prevents fontification of quoted content.
926 (reftex-index-phrases-mode): Use it.
927
375e49d4
SM
928 * textmodes/reftex-parse.el (reftex-parse-from-file):
929 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
930 (reftex-parse-from-file): Use beginning of match instead of end as
931 bound.
932
933 * textmodes/reftex-ref.el: Adapt creation of
934 `reftex-<package>-<macro>' functions to new structure of
935 `reftex-ref-style-alist'.
375e49d4
SM
936 (reftex-reference): Use `reftex-ref-style-list' function.
937 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
938 reference macro if `reftex-ref-macro-prompt' is non-nil.
939 (reftex-reference): Pass refstyle to `reftex-format-special'.
940 Determine reference macro by looking at
375e49d4
SM
941 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
942 Use only one special format function.
4f595e15
RA
943 (reftex-varioref-vref, reftex-fancyref-fref)
944 (reftex-fancyref-Fref): Remove definitions. The functions are now
945 generated from `reftex-ref-style-alist'.
946 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
947 Remove.
948 (reftex-format-special): New function.
949
950 * textmodes/reftex-sel.el
951 (reftex-select-cycle-ref-style-internal): Adapt to new structure
952 of `reftex-ref-style-alist'. Remove code for testing macro type.
953 (reftex-select-toggle-varioref)
954 (reftex-select-toggle-fancyref): Remove.
955 (reftex-select-cycle-ref-style-internal)
956 (reftex-select-cycle-ref-style-forward)
957 (reftex-select-cycle-ref-style-backward): New functions.
958 (reftex-select-label-map): Use `v' and `V' for general cycling
959 through reference styles. Add `p' for switching between number
960 and page reference types.
961
375e49d4
SM
962 * textmodes/reftex-toc.el (reftex-re-enlarge):
963 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
964 the horizontal version throws an error even if the parameter is 0.
965
966 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
967 (reftex-plug-into-AUCTeX): Doc fix.
968 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
969 string. Adapt to new name.
970 (reftex-ref-style-alist): Change structure so that it is not
971 possible to use multiple different package names within a style.
375e49d4
SM
972 Remove the symbols for symbols for macro type distinction.
973 Add characters for macro selection.
4f595e15
RA
974 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
975 (reftex-create-bibtex-footer): New variables.
976 (reftex-format-ref-function): Mention third argument of special
977 format function.
375e49d4
SM
978 (reftex-ref-style-alist, reftex-ref-style-default-list):
979 New variables.
4f595e15
RA
980 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
981 to new implementation. Mark as obsolete. Add compatibility code
982 for honoring the variable values in case they are set.
375e49d4
SM
983 (reftex-cite-format-builtin, reftex-bibliography-commands):
984 Add support for ConTeXt.
985 (reftex-format-ref-function, reftex-format-cite-function):
986 Fix custom type.
4f595e15
RA
987 (reftex-cite-key-separator): New variable.
988
989 * textmodes/reftex.el (reftex-syntax-table-for-bib)
990 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
991 `reftex-syntax-table' because parens have to retain their paren
992 syntax in order for parsing of BibTeX entries like @book(...) to
993 work.
994 (reftex-in-comment): Do not error out if `comment-start-skip' is
995 not set. Deal correctly with escaped comment characters.
375e49d4
SM
996 (reftex-tie-multifile-symbols): Add doc string.
997 Initialize `reftex-ref-style-list'.
4f595e15
RA
998 (reftex-untie-multifile-symbols): Add doc string.
999 (reftex-add-index-macros): Doc fix.
1000 (reftex-ref-style-activate, reftex-ref-style-toggle)
1001 (reftex-ref-style-list): New functions.
1002 (reftex-mode-menu): Use them. Adapt to new structure of
1003 `reftex-ref-style-alist'.
1004 (reftex-select-with-char): Kill the RefTeX Select buffer when
1005 done.
1006 (reftex-remove-if): New function.
1007 (reftex-erase-all-selection-and-index-buffers)
1008 (reftex-mode-menu): Reference styles are now computed from
1009 `reftex-ref-style-alist'. Fix typo.
1010 (reftex-report-bug): New function.
1011 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1012 algorithms with O(n log n). Introduce optional argument SORT (not
1013 yet used).
1014
440ba395
FEG
10152012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1016
1017 Enhancements for triple-quote string syntax.
375e49d4
SM
1018 * progmodes/python.el (python-syntax-propertize-function):
1019 Match both quote cases in one regexp.
440ba395
FEG
1020 (python-syntax-stringify): Handle matches properly.
1021
4c478e6b
JL
10222012-09-30 Juri Linkov <juri@jurta.org>
1023
1024 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1025 to nil around the call to `insert' to prevent
4c478e6b
JL
1026 directory time modification by lock_file. (Bug#2295)
1027 * tar-mode.el (tar-summarize-buffer): Idem.
1028
d80d54b2
JL
10292012-09-30 Juri Linkov <juri@jurta.org>
1030
1031 * facemenu.el (list-colors-sort): Add option "Luminance".
1032 (list-colors-sort-key): Implement it.
1033
1034 * vc/diff-mode.el (diff-refine-removed):
1035 * vc/ediff-init.el (ediff-fine-diff-A):
1036 * vc/smerge-mode.el (smerge-refined-removed):
1037 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1038
d7e642cc
JD
10392012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1040
1041 * term/ns-win.el (x-file-dialog): New function.
1042
ee41332b
JB
10432012-09-30 Juanma Barranquero <lekktu@gmail.com>
1044
1045 * ido.el (ido-max-directory-size): Default to nil; the current
1046 default is small for POSIX systems, and impractical on Windows 7
1047 now that lstat returns directory sizes for NTFS.
1048
5938d519
MR
10492012-09-30 Martin Rudalics <rudalics@gmx.at>
1050
1051 In buffer display functions handle window-height/window-width
1052 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1053 * window.el (window--display-buffer): New argument ALIST.
1054 Obey window-height and window-width alist entries.
1055 (window--try-to-split-window): New argument ALIST.
1056 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1057 changed and window-combination-limit equals `window-size'.
1058 (display-buffer-in-atom-window)
1059 (display-buffer-in-major-side-window)
1060 (display-buffer-in-side-window, display-buffer-same-window)
1061 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1062 (display-buffer-pop-up-window, display-buffer-below-selected)
1063 (display-buffer-at-bottom, display-buffer-in-previous-window)
1064 (display-buffer-use-some-window): Adjust all callers of
1065 window--display-buffer and window--try-to-split-window.
1066 (fit-frame-to-buffer): New option.
1067 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1068 is non-nil.
1069 (display-buffer-in-major-side-window): Evaluate window-height /
1070 window-width alist entries.
1071
1072 * help.el (temp-buffer-resize-frames)
1073 (temp-buffer-resize-regexps): Remove options.
1074 (temp-buffer-resize-mode): Adjust doc-string.
1075 (resize-temp-buffer-window): Don't consult
1076 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1077 temp-buffer-resize-frames.
1078
375e49d4
SM
1079 * dired.el (dired-mark-pop-up):
1080 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1081 entry.
1082
c4c0c2df
CY
10832012-09-30 Chong Yidong <cyd@gnu.org>
1084
48de8b12
CY
1085 * server.el (server-host): Document the security implications.
1086 (server-auth-key): Doc fix.
1087
1088 * startup.el (initial-buffer-choice): Doc fix.
1089
1090 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1091
a97dc380
CY
1092 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1093 restriction change.
1094
d39d3c8e
CY
1095 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1096
c4c0c2df
CY
1097 * help-fns.el (help-fns--obsolete): Fix last change.
1098
98a5e33b
SM
10992012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1100
34cf6f39
SM
1101 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1102 (minor-mode-map-alist): Remove redundant code.
1103
e01c13fe
SM
1104 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1105 visited in a buffer.
1106 (cvs-insert-visited-file): New function.
1107 (find-file-hook): Use it.
1108
1109 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1110
02661b3a
SM
1111 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1112 chose face.
1113 (log-edit-empty-buffer-p): Don't require a space after a header.
1114
43711d4b
SM
1115 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1116
38a30d64
SM
1117 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1118
4ffb41a9
SM
1119 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1120 a proper minor-mode.
1121
98a5e33b
SM
1122 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1123
de82e29b
GM
11242012-09-29 Glenn Morris <rgm@gnu.org>
1125
5cc2e639
GM
1126 * winner.el (winner-mode): Remove variable (let define-minor-mode
1127 handle it).
1128 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1129 Doc fixes.
1130 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1131 (winner-mode): Use define-minor-mode.
1132
7bd302eb
GM
1133 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1134 the full definition in loaddefs, rather than duplicating it.
1135
2923922f 1136 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1137
0e3e4156
GM
1138 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1139 (inferior-lisp-program, inferior-lisp-load-command)
1140 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1141 No need to autoload defcustoms.
0e3e4156 1142
de82e29b
GM
1143 * hippie-exp.el (hippie-expand-try-functions-list)
1144 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1145 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1146 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1147 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1148 * progmodes/vhdl-mode.el (vhdl-line-expand):
1149 Explicitly load hippie-exp, so it does not get autoloaded
1150 while hippie-expand-try-functions-list is let-bound.
1151
e60b51ab
GM
11522012-09-28 Glenn Morris <rgm@gnu.org>
1153
277f0cfa
GM
1154 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1155
e60b51ab
GM
1156 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1157 Only "cl.el" counts as cl these days.
1158
53baf48a
JL
11592012-09-28 Juri Linkov <juri@jurta.org>
1160
1161 Display archive errors in the echo area instead of inserting
1162 to the file buffer.
1163
1164 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1165 to STDERR-TEST that can be a regexp matching a successful output.
1166 Create a temporary file and redirect stderr to it. Search for
1167 STDERR-TEST in the stderr output and display it in the echo area
1168 if no match is found.
1169 (archive-extract-by-file): New function like
1170 `archive-extract-by-stdout' but extracting archives to files
1171 and looking for successful matches in stdout. Function body is
1172 mostly copied from `archive-rar-extract'.
1173 (archive-rar-extract): Use `archive-extract-by-file'.
1174 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1175
9c1228c3
LL
11762012-09-28 Leo Liu <sdl.web@gmail.com>
1177
375e49d4
SM
1178 * pcomplete.el (pcomplete-show-completions):
1179 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1180
9c1228c3
LL
1181 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1182
7f457c06
SM
11832012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1184
3df749b0
SM
1185 * type-break.el: Use lexical-binding.
1186 (type-break-mode): Use define-minor-mode.
1187
7f457c06
SM
1188 * emacs-lisp/pcase.el (pcase--mark-used): New.
1189 (pcase--u1): Use it (bug#12512).
1190
1191 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1192 in load-history with the right file name.
1193
c00ebc98
TH
11942012-09-28 Tassilo Horn <tsdh@gnu.org>
1195
1196 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1197 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1198 (doc-view-get-bounding-box): Make bounding box slicing work for
1199 ODF and DVI documents.
1200
96fb7170
GM
12012012-09-28 Glenn Morris <rgm@gnu.org>
1202
1203 * type-break.el (type-break-mode, type-break-interval)
1204 (type-break-good-rest-interval, type-break-keystroke-threshold):
1205 No need to autoload.
1206 (type-break-good-rest-interval, type-break-keystroke-threshold):
1207 Add :set-after.
1208
5bc93c67
CY
12092012-09-28 Chong Yidong <cyd@gnu.org>
1210
1211 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1212 Add :version tag.
1213
9cad61d6
SM
12142012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1215
e28e67b3 1216 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1217
daee954c
GM
12182012-09-27 Glenn Morris <rgm@gnu.org>
1219
a88324d4
GM
1220 * faces.el (x-display-name): Declare (for without-x builds).
1221
8e5064e5
GM
1222 * linum.el (linum-format): Don't autoload it. Improve :type.
1223
cc1783c2
GM
1224 * progmodes/tcl.el: Don't require outline when compiling.
1225 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1226 * textmodes/sgml-mode.el: Don't require outline when compiling.
1227 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1228
48c339f2
GM
1229 * term.el (term-ansi-reset):
1230 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1231
daee954c
GM
1232 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1233 files for RCS and SCCS. (Bug#9781)
1234
b7f42161
CY
12352012-09-27 Chong Yidong <cyd@gnu.org>
1236
1237 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1238 change; value should be t.
1239
a2e770db
SM
12402012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1241
83600dc8
SM
1242 * image-mode.el: Use lexical-binding.
1243 (image-mode-winprops): Use t to stand for the window of
1244 a buffer that's not displayed.
1245 * doc-view.el (doc-view-new-window-function): Handle the new
1246 t in winprops.
1247 (doc-view-enlarge): Make it a real nop if the size is not changed.
1248 (doc-view-display): Handle the case where the buffer is not (yet?)
1249 displayed in any window.
1250 (doc-view-saved-settings): New var.
1251 (doc-view-mode): Use it.
1252 (doc-view-fallback-mode): Set it.
1253
a2e770db
SM
1254 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1255 Set lexical-binding.
1256 (minibuffer-eldef-shorten-default): New var.
1257 (minibuffer-default-in-prompt-regexps): Use it for new default.
1258 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1259
e3b60857
JB
12602012-09-26 Juanma Barranquero <lekktu@gmail.com>
1261
1262 * international/uni-bidi.el:
1263 * international/uni-category.el:
1264 * international/uni-name.el:
1265 * international/uni-numeric.el: Regenerate.
1266
3a880af4
SM
12672012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1268 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * profiler.el: New file.
1271
07b1a5fb
SM
12722012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1273
1274 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1275 (testcover-reinstrument): Simplify with CSE.
1276
42019c2e
JB
12772012-09-26 Juanma Barranquero <lekktu@gmail.com>
1278
1279 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1280
179f044b
WS
12812012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1282
1283 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1284 (verilog-auto-input, verilog-auto-insert-lisp)
1285 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1286 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1287 (verilog-auto-unused, verilog-auto-wire)
1288 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1289 newline. Reported by Andrew Jones.
1290 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1291 Reported by Brad Dobbie.
07b1a5fb
SM
1292 (verilog-batch-delete-trailing-whitespace):
1293 Create verilog-batch-delete-trailing-whitespace.
1294 Reported by Brad Dobbie.
179f044b
WS
1295 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1296 parameters from another module. Reported by Dan Katz.
1297 (verilog-auto, verilog-auto-assign-modport)
1298 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1299 AUTOINOUTMODPORT for UVM interface module shell generation.
1300 Reported by Brad Dobbie.
1301 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1302 standard behavior.
1303 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1304 Reported by Matt Martin.
1305
9c52dd5a
MR
13062012-09-25 Martin Rudalics <rudalics@gmx.at>
1307
1308 * window.el (window--resize-child-windows): When resizing child
1309 windows proportionally, process them in reverse order to
1310 preserve the "when splitting a window the new one gets the odd
1311 line" behavior.
1312 (window--resize-root-window-vertically): When resizing the
1313 minibuffer window try to affect only windows at the bottom of the
1314 frame. (Bug#12419)
1315
863666eb
CY
13162012-09-25 Chong Yidong <cyd@gnu.org>
1317
1318 * subr.el (declare): Doc fix.
1319
1320 * help-fns.el (help-fns--obsolete): Handle macros properly.
1321
59f7af81
CY
13222012-09-25 Chong Yidong <cyd@gnu.org>
1323
1324 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1325 this function obsolete.
1326
1327 * calendar/cal-x.el (calendar-two-frame-setup)
1328 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1329 * calendar/calendar.el (american-calendar, european-calendar)
1330 (calendar-for-loop):
1331 * comint.el (comint-dynamic-simple-complete)
1332 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1333 * desktop.el (desktop-load-default):
1334 * dired-x.el (dired-omit-here-always)
1335 (dired-hack-local-variables, dired-default-directory):
1336 * emacs-lisp/derived.el (derived-mode-class):
1337 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1338 * emacs-lock.el (toggle-emacs-lock):
1339 * epa.el (epa-display-verify-result):
1340 * epg.el (epg-sign-keys, epg-start-sign-keys)
1341 (epg-passphrase-callback-function):
1342 * eshell/esh-util.el (eshell-for):
1343 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1344 (eshell-add-to-window-buffer-names):
1345 * files.el (locate-file-completion):
1346 * imenu.el (imenu-example--create-c-index)
1347 (imenu-example--create-lisp-index)
1348 (imenu-example--lisp-extract-index-name)
1349 (imenu-example--name-and-position):
1350 * international/mule-cmds.el (princ-list):
1351 * international/mule-diag.el (decode-codepage-char):
1352 * international/mule-util.el (detect-coding-with-priority):
1353 * iswitchb.el (iswitchb-read-buffer):
1354 * mail/mailalias.el (mail-complete):
1355 * mail/sendmail.el (mail-sent-via):
1356 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1357 (mouse-major-mode-menu):
1358 * password-cache.el (password-read-and-add):
1359 * pcomplete.el (pcomplete-parse-comint-arguments):
1360 * progmodes/sh-script.el (sh-maybe-here-document):
1361 * replace.el (query-replace-regexp-eval):
1362 * savehist.el (savehist-load):
1363 * simple.el (choose-completion-delete-max-match):
1364 * term.el (term-dynamic-simple-complete):
1365 * vc/ediff-init.el (ediff-check-version):
1366 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1367 * vc/vc.el (vc-diff-switches-list):
1368 * view.el (view-return-to-alist-update): Likewise.
1369
1370 * subr.el (eval-next-after-load, makehash, insert-string)
1371 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1372 mark obsolete.
1373 (mode-line-inverse-video): Variable deleted.
1374
1375 * international/mule-util.el (string-to-sequence): Remove.
1376
1377 * calendar/calendar.el (calendar-version):
1378 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1379 (icalendar-convert-diary-to-ical):
1380 * cus-edit.el (custom-mode):
1381 * ansi-color.el (ansi-color-unfontify-region):
1382 * international/latin1-disp.el (latin1-char-displayable-p):
1383 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1384 * progmodes/which-func.el (which-func-update-1):
1385 Use define-obsolete-function-alias.
59f7af81
CY
1386
1387 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1388 * net/newst-treeview.el (newsticker-groups-filename):
1389 Fix incorrect obsolescence declaration.
59f7af81
CY
1390
1391 * allout.el (allout-passphrase-hint-string): Likewise.
1392 (allout-init): Use a declare form to mark obsolete.
1393
1394 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1395 this applies to functions.
1396
1397 * iswitchb.el (iswitchb-read-buffer): Move code of
1398 iswitchb-define-mode-map here, and delete that obsolete function.
1399
1400 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1401 font-lock-reference-face.
1402
cca96c97
GM
14032012-09-25 Glenn Morris <rgm@gnu.org>
1404
b06eeda8
GM
1405 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1406 Doc fixes.
1407
cca96c97
GM
1408 * eshell/em-term.el (eshell-term-name):
1409 Default to term-term-name. (Bug#12485)
1410
dc4f818b
FEG
14112012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1412
cca96c97
GM
1413 * progmodes/python.el (python-shell-send-buffer): Better handling
1414 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1415
289c24bd
GM
14162012-09-24 Glenn Morris <rgm@gnu.org>
1417
1418 * eshell/esh-cmd.el (eshell-find-alias-function):
1419 Tighten up file-name regexp. (Bug#12499)
1420
8fb8b88f
FEG
14212012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1422
1423 Enhancements for triple-quote string syntax.
1424 * progmodes/python.el (python-quote-syntax): Remove.
1425 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1426 (python-syntax-count-quotes, python-syntax-stringify):
1427 New functions.
8fb8b88f 1428
6c27f0f8
CY
14292012-09-24 Chong Yidong <cyd@gnu.org>
1430
a5f2b6ec
CY
1431 * mail/supercite.el (sc-version): Remove obsolete function.
1432 (sc-describe): Don't mark as obsolete, since it is bound.
1433 (sc-submit-bug-report): Remove.
1434
1435 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1436 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1437 (log-edit-require-final-newline)
1438 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1439
1440 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1441 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1442 * vc/vc.el (vc-checkout-carefully): Likewise.
1443
1444 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1445 (emerge-version): Remove.
1446
1447 * progmodes/compile.el (compile-internal): Remove.
1448 (compilation-parse-errors-function): Fix typo.
1449
1450 * international/mule.el (set-char-table-default): Remove.
1451 (set-coding-priority, make-coding-system, generic-char-p)
1452 (charset-list, charset-bytes, charset-id): Use declare to mark
1453 functions as obsolete.
1454
1455 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1456 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1457 * vc/vc-hooks.el (vc-default-registered): Don't use
1458 vc-master-templates.
1459
07b1a5fb
SM
1460 * font-lock.el (font-lock-reference-face):
1461 Use define-obsolete-variable-alias.
6c27f0f8
CY
1462
1463 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1464 * calendar/calendar.el (calendar-font-lock-keywords):
1465 * calendar/diary-lib.el (diary-font-lock-keywords)
1466 (diary-fancy-font-lock-keywords):
1467 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1468 * textmodes/reftex-index.el (reftex-insert-index):
1469 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1470 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1471 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1472 * progmodes/prolog.el (prolog-font-lock-keywords):
1473 * progmodes/idlwave.el (idlwave-idl-keywords):
1474 * progmodes/ada-mode.el (ada-font-lock-keywords):
1475 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1476
bcc0adbf
GM
14772012-09-24 Glenn Morris <rgm@gnu.org>
1478
1479 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1480
095bb823
FEG
14812012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1482
1483 * progmodes/python.el (python-indent-line): More consistent cursor
1484 movement behavior.
1485
70efc5c9
SM
14862012-09-23 Stefan Merten <smerten@oekonux.de>
1487
1488 * textmodes/rst.el: Fix compiler warning.
1489
2f438239
RW
14902012-09-23 Roland Winkler <winkler@gnu.org>
1491
07b1a5fb
SM
1492 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1493 Transcribe also LaTeX hyphenation.
2f438239
RW
1494 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1495 bibtex-reformat-previous-options.
1496
936ad041
RW
14972012-09-23 Roland Winkler <winkler@gnu.org>
1498
1499 * proced.el (proced-renice-command): New variable.
1500 (proced-marked-processes): New function.
1501 (proced-with-processes-buffer): New macro.
1502 (proced-send-signal): Use them.
1503 (proced-renice): New command bound to r.
1504
6fab0274
RW
15052012-09-23 Roland Winkler <winkler@gnu.org>
1506
1507 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1508 ibuffer-saved-filter-groups has one element, shortcut the call of
1509 completing-read. (Bug#12331)
1510
9a930676
CY
15112012-09-23 Chong Yidong <cyd@gnu.org>
1512
1513 * bindings.el (mode-line-toggle-read-only):
1514 * bs.el (bs-toggle-readonly):
1515 * buff-menu.el (Buffer-menu-toggle-read-only):
1516 * dired.el (dired-toggle-read-only):
1517 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1518
d07ff9db
CY
15192012-09-23 Chong Yidong <cyd@gnu.org>
1520
1521 * image.el (image-type-available-p): Adapt to init-image-library
1522 argument changes.
1523
51c4474e
JL
15242012-09-22 Juri Linkov <juri@jurta.org>
1525
1526 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1527 `dired-toggle-read-only'. (Bug#12462)
1528
43bf5e8e
MR
15292012-09-22 Martin Rudalics <rudalics@gmx.at>
1530
1531 * subr.el (temp-output-buffer-show): New function.
1532 (with-output-to-temp-buffer): Call temp-output-buffer-show
1533 instead of internal-temp-output-buffer-show.
1534
c88b867f
CY
15352012-09-22 Chong Yidong <cyd@gnu.org>
1536
3df47cd5
CY
1537 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1538 (Bug#12462).
1539
c88b867f
CY
1540 * repeat.el (repeat): Doc fix (Bug#12348).
1541
1542 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1543 (Bug#10909).
1544
1545 * simple.el (shell-command-on-region): Doc fix.
3171e303 1546 (read-only-mode): Doc fix.
c88b867f 1547
df9685f3
EZ
15482012-09-22 Eli Zaretskii <eliz@gnu.org>
1549
1550 * emacs-lisp/timer.el (run-with-idle-timer)
1551 (timer-activate-when-idle): Warn against reinvoking an idle timer
1552 from within its own timer action. (Bug#12447)
1553
8e17c9ba
MR
15542012-09-22 Martin Rudalics <rudalics@gmx.at>
1555
1556 * cus-start.el (window-combination-limit): Add new optional
1557 values.
1558 * window.el (temp-buffer-window-show)
1559 (window--try-to-split-window): Handle new values of
1560 window-combination-limit (Bug#1806).
1561 (split-window): Test window-combination-limit for t instead of
1562 non-nil.
1563 (display-buffer-at-bottom): New buffer display action function.
1564 * help.el (temp-buffer-resize-regexps): New option.
1565 (temp-buffer-resize-mode): Rewrite doc-string.
1566 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1567 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1568
48a24920
SM
15692012-09-22 Stefan Merten <smerten@oekonux.de>
1570
70efc5c9 1571 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1572 (rst-official-version)
1573 (rst-package-emacs-version-alist): Sync with official version
1574 V1.4.0.
1575 (rst-faces-defaults, rst-set-level-default)
1576 (rst-level-face-max, rst-level-face-base-color)
1577 (rst-level-face-base-light, rst-level-face-format-light)
1578 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1579 (rst-adornment-faces-alist): Match new setup.
1580 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1581 (rst-level-5, rst-level-6): New faces.
1582
82f8cd94
CY
15832012-09-22 Chong Yidong <cyd@gnu.org>
1584
1585 * simple.el (undo): Handle indirect buffers (Bug#8207).
1586
acfa068f 15872012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1588
1589 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1590 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1591 (ido-set-matches-1): Use it. (Bug#2042)
1592
acfa068f 15932012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1594
1595 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1596 Fix 2011-05-17 change. (Bug#12418)
1597
acfa068f 15982012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1599
1600 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1601
acfa068f 16022012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1603
1604 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1605 Be more robust about locating simple.el.
1606
acfa068f 16072012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1608
1609 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1610
acfa068f
CY
16112012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1612
1613 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1614
41a97e6f
JL
16152012-09-20 Juri Linkov <juri@jurta.org>
1616
eb2deaff
JL
1617 * replace.el (query-replace-read-from): Use `read-regexp' instead
1618 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1619 (occur-read-primary-args): Use `read-regexp' instead of
1620 `read-string'.
1621 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1622 `read-from-minibuffer'.
1623 * isearch.el (isearch-occur): Use `read-regexp' instead of
1624 `read-string'.
1625 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1626 `read-from-minibuffer'.
1627 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1628 of `read-string'. (Bug#7567)
1629
5825610b
JL
1630 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1631 and allow accepting a list of strings prepended to a list of
1632 standard default values. Doc fix. (Bug#12321)
1633
eebbf404
JL
1634 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1635
41a97e6f
JL
1636 * replace.el (read-regexp): Don't add ": " when PROMPT already
1637 ends with a colon and space. (Bug#12321)
1638
c9e452d3
TH
16392012-09-20 Tassilo Horn <tsdh@gnu.org>
1640
1641 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1642 error.
1643
ee97deee
SM
16442012-09-20 Stefan Merten <smerten@oekonux.de>
1645
70efc5c9 1646 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1647 Fixes feature request bug#11711.
1648 (rst-mode): Create `imenu-create-index-function'.
1649 (rst-get-stripped-line): Delete after refactoring.
1650 (rst-section-tree, rst-section-tree-rec)
1651 (rst-section-tree-point): Refactor and document properly.
1652 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1653 (rst-imenu-convert-cell, rst-imenu-create-index):
1654 New function.
ee97deee 1655
f490dab9
SM
16562012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1657
95b9712e
SM
1658 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1659 (macroexp--expand-all): Use it.
1660 (macroexp--funcall-and-return): Remove by folding it into its sole
1661 caller (macroexp--warn-and-return).
1662 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1663 Use macroexp--obsolete-warning.
1664
f490dab9
SM
1665 * calc/calc.el: Fix last change by removing the whole chunk, since it
1666 was only needed back when Calc was not bundled.
1667
96e8d411
MR
16682012-09-20 Martin Rudalics <rudalics@gmx.at>
1669
1670 * emacs-lisp/debug.el (debug): Restore assignment to
1671 debugger-old-buffer removed on 2012-09-08.
1672
0876a82d
JL
16732012-09-20 Juri Linkov <juri@jurta.org>
1674
1675 * dired-aux.el (dired-diff): Remove (require 'diff) since
1676 `diff-latest-backup-file' is now autoloaded.
1677
9f7c28f0
CY
16782012-09-20 Chong Yidong <cyd@gnu.org>
1679
1680 * vc/diff.el (diff-latest-backup-file): Autoload.
1681
7a04bee9
SM
16822012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1683
e6f0a80d
SM
1684 * calc/calc.el: Remove redundant autoload shape check.
1685 (sel-mode): Don't defvar.
1686 (calc-get-stack-element): Add `sel-mode' arg instead.
1687 (calc-top, calc-top-list): Pass it this additional argument.
1688 * calc/calc-store.el (calc-store-map):
1689 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1690 (calc-map-equation, calc-outer-product, calc-inner-product):
1691 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1692
7a04bee9
SM
1693 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1694
12734222
JL
16952012-09-19 Juri Linkov <juri@jurta.org>
1696
1697 * dired-aux.el (dired-diff): Add (require 'diff) because
1698 `diff-latest-backup-file' is not autoloaded.
1699 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1700 of `dired-get-filename' to t to not report error when there is
1701 no default file on the current line.
1702
46624b4f
SM
17032012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1704
ce97595b
SM
1705 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1706 macroexp--eval-if-compile.
1707 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1708 (macroexp--expand-all): Use them (bug#12371).
1709
46624b4f
SM
1710 * doc-view.el (doc-view-guess-paper-size)
1711 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1712
db8a5a18
TH
17132012-09-19 Tassilo Horn <tsdh@gnu.org>
1714
1715 New feature: set optimal slice from BoundingBox information.
1716 * doc-view.el (doc-view-mode-map): Add keybinding.
1717 (doc-view-menu): Add menu entry.
1718 (doc-view-set-slice): Adapt docstring.
1719 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1720 (doc-view-scale-bounding-box)
1721 (doc-view-set-slice-from-bounding-box): New functions.
1722 (doc-view-paper-sizes): New defvar.
1723
69f6644c
GM
17242012-09-19 Glenn Morris <rgm@gnu.org>
1725
35f5b19d
GM
1726 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1727 (byte-compile-log-warning): Autoload. (Bug#12371)
1728
69f6644c
GM
1729 * calendar/calendar.el (calendar-american-month-header)
1730 (calendar-european-month-header, calendar-iso-month-header)
1731 (calendar-month-header): New options.
1732 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1733 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1734
e543ae91
JD
17352012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1736
1737 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1738
2fd5e67d
JL
17392012-09-18 Juri Linkov <juri@jurta.org>
1740
1741 * dired-aux.el (dired-diff): Restore original functionality of
1742 getting the default value, but keep new feature of using the
1743 latest existing backup file (`diff-latest-backup-file').
1744
42917e79
JL
17452012-09-18 Juri Linkov <juri@jurta.org>
1746
1747 * dired.el (dired-mark): If the region is active in Transient Mark
1748 mode, mark all files in the active region. Doc fix.
1749 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1750 Doc fix. (Bug#10624)
1751
20f70ede
JL
17522012-09-18 Juri Linkov <juri@jurta.org>
1753
1754 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1755 attributes for M-n are pulled from the file at point.
1756 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1757 Suggested by Drew Adams. (Bug#10624)
1758
32fb8162
DG
17592012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1760
1761 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1762 whitespace after "end".
1763 (ruby-do-end-to-brace): Collapse block to one line if it fits
1764 within fill-column.
1765
37ab5092
MR
17662012-09-18 Martin Rudalics <rudalics@gmx.at>
1767
1768 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1769 value.
1770 (debug): Don't remove debugger window when debugger is expected
1771 to be back.
1772
ed1f0bd3
CY
17732012-09-18 Chong Yidong <cyd@gnu.org>
1774
1775 * custom.el (defface): Doc fix.
1776
1777 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1778
a11035b8
MB
17792012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1780
1781 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1782 to initialize query-on-exit; then test that instead (bug#12288).
1783
64f6a736
SM
17842012-09-17 Stefan Merten <smerten@oekonux.de>
1785
70efc5c9 1786 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1787 (rst-defcustom-testcover, rst-testcover-add-compose)
1788 (rst-testcover-add-1value): New functions.
1789 (rst-portable-mark-active-p): Replace by `use-region-p'.
1790 (rst-update-section, rst-classify-adornment)
1791 (rst-find-title-line): Mark `1value' forms.
1792 (rst-classify-adornment): Remove superfluous form.
1793 (rst-update-section, rst-get-adornments-around)
1794 (rst-adornment-complete-p, rst-get-next-adornment)
1795 (rst-adjust, rst-promote-region)
1796 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1797 (rst-find-pfx-in-region, rst-section-tree-rec)
1798 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1799 (rst-toc-node, rst-toc, rst-forward-section)
1800 (rst-iterate-leftmost-paragraphs)
1801 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1802 (rst-bullet-list-region)
1803 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1804 (rst-compile-find-conf, rst-compile)
1805 (rst-repeat-last-character): Fix style.
1806
580bd868
CY
18072012-09-17 Chong Yidong <cyd@gnu.org>
1808
1809 * comint.el (comint--complete-file-name-data): Don't add a space
1810 if the status is `sole'; that adds a gratuitous space in the
1811 completion-cycling case (Bug#12092).
1812
1813 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1814
69de3ec6
RS
18152012-09-17 Richard Stallman <rms@gnu.org>
1816
0dee970c
RS
1817 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1818 only in the mime-shown mode, not in raw mode.
1819 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1820 mime processing. (Bug#12305)
0dee970c 1821
6b250df6
GM
1822 * mail/rmail.el (rmail-retry-failure):
1823 Turn off mime processing first. (Bug#12037)
acb1c47b 1824
69de3ec6
RS
1825 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1826
d079ee5f
CY
18272012-09-17 Chong Yidong <cyd@gnu.org>
1828
1829 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1830 (shell-dynamic-complete-functions): Convert to defcustom.
1831 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1832
865fe16f
CY
1833 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1834 * comint.el (comint-prompt-read-only):
1835 * custom.el (defcustom):
1836 * hi-lock.el (hi-lock-mode):
1837 * ibuffer.el (ibuffer-formats):
1838 * ielm.el (ielm-prompt-read-only):
1839 * novice.el (disable-command):
1840 * saveplace.el (toggle-save-place):
1841 * speedbar.el (speedbar-supported-extension-expressions):
1842 * startup.el (auto-save-list-file-prefix, init-file-user)
1843 (after-init-hook, inhibit-startup-echo-area-message):
1844 * strokes.el (strokes-help):
1845 * time-stamp.el (time-stamp):
1846 * calendar/calendar.el (calendar, diary-file):
1847 * calendar/diary-lib.el (diary-mail-entries, diary)
1848 (diary-list-entries-hook):
1849 * calendar/holidays.el (holidays, calendar-holidays):
1850 * calendar/lunar.el (lunar-phases):
1851 * calendar/solar.el (sunrise-sunset):
1852 * emulation/edt.el (edt-load-keys):
1853 * emulation/viper.el (viper-mode):
1854 * eshell/em-alias.el (eshell-command-aliases-list):
1855 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1856 * international/ogonek.el (ogonek-information):
1857 * net/tramp-cmds.el (tramp-bug):
1858 * net/quickurl.el (quickurl-reread-hook-postfix):
1859 * play/decipher.el (decipher-font-lock-keywords):
1860 * progmodes/cc-styles.el (c-set-style):
1861 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1862 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1863 * progmodes/octave-mod.el (octave-mode):
1864 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1865 * progmodes/verilog-mode.el (verilog-read-defines):
1866 * textmodes/two-column.el (2C-mode): Likewise.
1867
48093eb9
KY
18682012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1869
1870 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1871 that holds many addresses.
1872
c584eaf9
CY
18732012-09-16 Chong Yidong <cyd@gnu.org>
1874
40d70ecb
CY
1875 * align.el (align-areas): Call the indication function with
1876 positions instead of markers for arguments (Bug#12343).
1877
1667e065
CY
1878 * files.el (parse-colon-path): Use split-string (Bug#12351).
1879
fdc2806d 1880 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1881 (display-buffer-function): Mark as obsolete.
fdc2806d 1882
f1be615c 1883 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1884 values similar to font-lock-keywords (Bug#12136).
1885 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1886 (compilation-error-regexp-alist): Doc fix.
1887
f40a9709
GM
18882012-09-15 Glenn Morris <rgm@gnu.org>
1889
72aa16e1
GM
1890 * version.el (emacs-bzr-version-bzr): New function.
1891 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1892
82375160
GM
1893 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1894 checkouts, check the parent dirstate matches the branch.
1895 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1896 empty string.
1897
f40a9709
GM
1898 * version.el (emacs-bzr-version): Doc fix.
1899 (emacs-bzr-version-dirstate): New function.
1900 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1901 is local try and check that it matches the branch. If not, just
1902 use dirstate information. (Bug#12441)
1903
cb26b7f5
JL
19042012-09-14 Juri Linkov <juri@jurta.org>
1905
1906 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1907 (Bug#12399)
1908
2de39f08
SM
19092012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1910
0fb3cb7c
SM
1911 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1912
2de39f08
SM
1913 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1914 Remove obsolete byte-compiler hack that tried to silence some warnings.
1915 (edebug-submit-bug-report): Remove.
1916 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1917 Remove aliases, use the un-prefixed name instead.
1918 (edebug-pop-to-buffer): Consider other frames.
1919 (edebug-original-read):: Make it more obvious that it's always defined.
1920 (edebug--make-form-data-entry, edebug--form-data-name)
1921 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1922 single-dashed name, and implement with cl-defstruct.
1923 (edebug-set-form-data-entry): Use the standard accessors.
1924 (edebug-make-top-form-data-entry): Use push.
1925 (edebug-no-match): Drop useless `funcall'.
1926 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1927 to functions.
1928 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1929 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1930 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1931 (easy-menu-define, with-custom-print): Remove redundant specs.
1932 (edebug-outside-overriding-local-map)
1933 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1934 (edebug--display): Bind unread-command-events directly to nil rather
1935 than binding it to unread-command-events and later setting it to nil.
1936 (edebug--display): Kill edebug-eval-buffer here...
1937 (edebug--recursive-edit): ...rather than here.
1938 Bind standard-output and standard-input.
1939 (edebug-eval): Check cl-macroexpand-all is fboundp.
1940 (edebug-temp-display-freq-count): Fix last change.
1941
1942 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1943 * subr.el (noreturn, 1value): Add `debug' spec.
1944 * emacs-lisp/advice.el: Require cl-lib.
1945 (ad-copy-tree): Remove, use copy-tree instead.
1946 (ad-dolist): Remove use dolist or cl-dolist instead.
1947 (ad-do-return): Remove, use cl-return instead.
1948 (defadvice): Add `debug' spec.
1949
5b68b333
JL
19502012-09-13 Juri Linkov <juri@jurta.org>
1951
1952 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1953 (Bug#12399)
1954
b9800ec4
GM
19552012-09-13 Glenn Morris <rgm@gnu.org>
1956
6a2e6868
GM
1957 * calc/calc.el (math-compose-expr):
1958 * calc/calc-ext.el (math-compose-expr):
1959 * progmodes/cc-defs.el (cl-macroexpand-all):
1960 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1961 (cl-macroexpand-all): Update declarations.
1962
b9800ec4
GM
1963 * vc/vc.el: No need to require ediff.
1964 (ediff-load-version-control): Declare.
1965 (ediff-vc-internal): Fix declaration.
1966 (vc-version-ediff): Require ediff.
1967
c18e885b
PE
19682012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1969
1970 Use a more backwards-compatible timer format (Bug#12430).
1971 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1972 being right after USECS, as that better supports old code that
1973 inadvisedly looked directly at the timer vector.
1974
d607d303
KH
19752012-09-13 Kenichi Handa <handa@gnu.org>
1976
1977 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1978 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1979 `coding-priority' property of these language environment.
1980
72eac303
PE
19812012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1982
1983 Fix glitches caused by addition of psec to timers (Bug#12430).
1984 * image.el (image-animate-timer):
1985 * time.el (display-time-world-timer):
1986 Use timer--function and timer--args rather than raw access to
1987 timer vector.
1988
2168fe4f
GM
19892012-09-13 Glenn Morris <rgm@gnu.org>
1990
1991 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1992 If not compiling a file, try using load-file-name.
1993
bd8d6108
SM
19942012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1995
c0c54fbd
SM
1996 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1997 Fix last change.
1998 (edebug-update-eval-list): Use `push'.
1999
bd8d6108
SM
2000 * emacs-lisp/edebug.el: Use lexical-binding.
2001 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2002 Mark unused args with underscore.
2003 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2004 (edebug-form-data): Use defvar-local.
2005 (edebug-make-before-and-after-form, edebug-make-after-form):
2006 Use backquote.
2007 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2008 Not dynamically scoped any more.
2009 (edebug--enter-trace): Add arguments `function' and `args'.
2010 Rename from edebug-enter-trace.
2011 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2012 (edebug--update-coverage): Add `after-index' and `value' args.
2013 Rename from edebug-update-coverage.
2014 (edebug-slow-after): Call it accordingly.
2015 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2016 edebug-recursive-edit.
2017 (edebug--display): Call it accordingly. Add args `value',
2018 `offset-index', and `arg-mode'. Rename from edebug-display.
2019 (edebug-debugger, edebug): Call it accordingly.
2020 (edebug-eval-display-list): Use dolist.
2021
a9f9d9de
JL
20222012-09-12 Juri Linkov <juri@jurta.org>
2023
2024 * info.el (Info-search): Don't check for isearch-mode and
2025 isearch-regexp before let-binding search-spaces-regexp to
2026 Info-search-whitespace-regexp.
2027 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2028 search-whitespace-regexp if isearch-lax-whitespace or
2029 isearch-regexp-lax-whitespace is non-nil.
2030 (Info-mode): Don't set local variable search-whitespace-regexp.
2031 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2032
bfeae2cf
SM
20332012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2036 (debugger-env-macro): Remove support for unread-command-char.
2037
2038 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2039 the temporary map re-appearing on emulation-mode-map-alists.
2040
2041 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2042 since 22.1.
2043
2044 * ehelp.el (with-electric-help): Accept functions in
2045 electric-help-form-to-execute.
2046 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2047 And replace unread-command-char -> unread-command-events.
2048
fbbcaf1b
MA
20492012-09-12 Michael Albinus <michael.albinus@gmx.de>
2050
2051 Sync with Tramp 2.2.6.
2052
2053 * net/tramp.el (tramp-accept-process-output): Don't use
2054 JUST-THIS-ONE in the XEmacs case.
2055
2056 * net/trampver.el: Update release number.
2057
4dece104
MR
20582012-09-12 Martin Rudalics <rudalics@gmx.at>
2059
bfeae2cf
SM
2060 * emacs-lisp/debug.el (debugger-previous-window-height):
2061 New variable.
4dece104
MR
2062 (debug): When debugger-jumping-flag is non-nil try to restore
2063 height of debugger window. (Bug#8789)
2064
45b82ad0
SM
20652012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2066
60c49c0f
SM
2067 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2068 overriding-local-map and pre/post-command-hook here.
2069 (edebug-recursive-edit): Do it here instead (bug#12345).
2070 (edebug-outside-unread-command-char): Remove all uses of
2071 unread-command-char.
2072
45b82ad0
SM
2073 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2074 inhibit-debugger is bound instead.
2075
baa26ea0
BG
20762012-09-11 Bastien Guerry <bzg@gnu.org>
2077
2078 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2079 (Bug#12346)
baa26ea0 2080
04e8abfa
BG
20812012-09-11 Bastien Guerry <bzg@gnu.org>
2082
96d03571 2083 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2084 (Bug#12347)
96d03571
BG
2085
20862012-09-11 Bastien Guerry <bzg@gnu.org>
2087
fc0c31f8 2088 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2089
04e082b0
MM
20902012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2091
2092 * progmodes/sql.el: Version 3.1
2093 (sql-db2-escape-newlines): New variable.
2094 (sql-escape-newlines-filter): Use it.
2095
399a361b
JB
20962012-09-10 Juanma Barranquero <lekktu@gmail.com>
2097
2098 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2099
0780c517
DN
21002012-09-10 Dan Nicolaescu <dann@gnu.org>
2101
45b82ad0
SM
2102 * vc/diff-mode.el (diff-mode-menu):
2103 Bind diff-remove-trailing-whitespace.
0780c517 2104
9b851e25
SM
21052012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2106
2107 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2108 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2109 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2110 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2111 (eval-defun-2): Remove bogus interactive spec.
2112 (lisp-indent-line): Remove redundant whole-exp code, now done in
2113 indent-according-to-mode.
2114 (save-match-data): Remove redundant indent data.
2115
2116 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2117 Use `declare'.
2118
3231d532
JL
21192012-09-09 Juri Linkov <juri@jurta.org>
2120
2121 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2122 (replace-lax-whitespace, query-replace-regexp)
2123 (query-replace-regexp-eval, replace-regexp): Doc fix.
2124 (perform-replace, replace-highlight): Let-bind
2125 isearch-lax-whitespace to replace-lax-whitespace and
2126 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2127
2128 * isearch.el (isearch-query-replace): Let-bind
2129 replace-lax-whitespace to isearch-lax-whitespace and
2130 replace-regexp-lax-whitespace to
2131 isearch-regexp-lax-whitespace. (Bug#10885)
2132
70fe8236
SM
21332012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2134
2135 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2136
8ed43f15
AM
21372012-09-09 Alan Mackenzie <acm@muc.de>
2138
70fe8236
SM
2139 * progmodes/cc-engine.el (c-state-cache-init):
2140 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2141 (c-record-parse-state-state):
2142 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2143
bfabf70a
AS
21442012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2145
2146 * register.el (register-separator): Rename from
2147 separator-register. All uses changed. Doc fix.
2148 (register): Fix version.
2149
011474aa
CY
21502012-09-09 Chong Yidong <cyd@gnu.org>
2151
2152 * replace.el (query-replace-map): Bind four new symbols for
2153 requesting window scrolling.
2154
2155 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2156 query-replace-map (Bug#8948).
2157
2158 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2159
2160 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2161 since they are now in query-replace-map.
2162
2163 * window.el (scroll-other-window-down): Make the arg optional.
2164
a8b7cd8d
CY
21652012-09-09 Chong Yidong <cyd@gnu.org>
2166
2167 * files.el (hack-local-variables-confirm): Use quit-window to kill
2168 the *Local Variables* buffer.
2169
c3268831
DG
21702012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2171
2172 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2173 not just expect to be at its beginning. Adjust callees.
2174 Succeed when do-end block has no space before the pipe character.
2175 (ruby-brace-to-do-end): When the original block is one-liner,
2176 convert to multiline. Reindent the result.
2177
0979429b
J
21782012-09-08 Jambunathan K <kjambunathan@gmail.com>
2179
2180 * register.el (register): New group.
27359e99 2181 (separator-register): New user option.
0979429b
J
2182 (increment-register): Route it to `append-to-register', if
2183 register contains text. Implication is that `C-x r +' can now be
2184 used for appending to a text register (bug#12217).
2185 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2186 `separator-register'.
0979429b 2187
ace2989a
AM
21882012-09-08 Alan Mackenzie <acm@muc.de>
2189
2190 AWK Mode: make auto-newline work when there's "==" in the pattern.
2191 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2192 correctly.
0979429b
J
2193 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2194 Test more rigorously for "=" token.
ace2989a 2195
616c6c36
DG
21962012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2197
0979429b
J
2198 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2199 Only fail when reached LIMIT.
616c6c36 2200
35d98877
CY
22012012-09-08 Chong Yidong <cyd@gnu.org>
2202
2203 * dired.el (dired-mode-map): Don't bind M-=.
2204
2205 * dired-aux.el (dired-diff): Use backup file as default.
2206
1715f2db
DA
22072012-09-08 Drew Adams <drew.adams@oracle.com>
2208
2209 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2210
6dcef6ec
CY
22112012-09-08 Chong Yidong <cyd@gnu.org>
2212
2213 * subr.el (syntax-after, syntax-class): Doc fix.
2214
fa2bcf43
MR
22152012-09-08 Martin Rudalics <rudalics@gmx.at>
2216
2217 * window.el (display-buffer-in-previous-window): New buffer
2218 display action function.
2219
2220 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2221 (debugger-previous-window): New variable.
2222 (debug): Rewrite using display-buffer-in-previous-window,
2223 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2224
daac280a
SM
22252012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2226
2227 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2228
9dd40b00
MM
22292012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2230
daac280a
SM
2231 * progmodes/python.el (python-shell-send-string):
2232 When default-directory is remote, create temp file on remote
9dd40b00
MM
2233 filesystem.
2234 (python-shell-send-file): When file is remote, pass local view of
2235 file paths to remote Python interpreter. (Bug#12340)
2236
145823ec
CY
22372012-09-07 Chong Yidong <cyd@gnu.org>
2238
cee2e90d
CY
2239 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2240
0d7eb2ea
CY
2241 * files.el (after-find-file): Don't fail on a read-only buffer if
2242 require-final-newline is `visit' or `visit-save' (Bug#11156).
2243
145823ec
CY
2244 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2245
daac280a
SM
2246 * userlock.el (ask-user-about-supersession-threat):
2247 Use read-char-choice (Bug#12093).
145823ec 2248
74c582e6
CY
22492012-09-07 Chong Yidong <cyd@gnu.org>
2250
e5c2edf7
CY
2251 * subr.el (buffer-narrowed-p): New function.
2252
2253 * ses.el (ses-widen):
2254 * simple.el (count-words--buffer-message):
1f9f395d 2255 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2256
2257 * simple.el (count-words-region): Don't signal an error if there
2258 is a non-nil prefix arg and the mark is not set.
c640e87d 2259
74c582e6
CY
2260 * help.el (describe-key-briefly): Allow the message to be seen
2261 when invoked from the minibuffer (Bug#7014).
2262
d81ceaaf
DG
22632012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2264
2265 * progmodes/ruby-mode.el (ruby-end-of-defun)
2266 (ruby-beginning-of-defun): Simplify, allow indentation before
2267 block beginning and end keywords.
8f06acce
DG
2268 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2269 (ruby-end-of-defun): Expect that the point is at the beginning of
2270 the defun.
d81ceaaf 2271
d458ef98
SM
22722012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2275 (bug#12367).
2276 (cl--make-usage-args): Strip _ from argument names.
2277
20367d28
RS
22782012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2279
2280 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2281 obsolete alias speedbar-key-map.
2282 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2283 (vhdl-index-menu-init): Don't use obsolete variable
2284 font-lock-maximum-size.
2285
3424a4f6
CY
22862012-09-06 Chong Yidong <cyd@gnu.org>
2287
2288 * frame.el (window-system-version): Mark as obsolete.
2289
fcbfbdea
CY
2290 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2291 of obsolete variable speedbar-key-map.
2292
826b3235
JL
22932012-09-06 Juri Linkov <juri@jurta.org>
2294
2295 * replace.el (replace-lax-whitespace): New defcustom.
2296 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2297 (replace-string, replace-regexp): Mention it in docstrings.
2298 (perform-replace, replace-highlight): Let-bind
2299 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2300 to the values of replace-lax-whitespace and regexp-flag.
2301 Don't let-bind search-whitespace-regexp. (Bug#10885)
2302
2303 * isearch.el (isearch-query-replace): Let-bind
2304 replace-lax-whitespace instead of let-binding
2305 replace-search-function and replace-re-search-function.
2306 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2307 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2308 (isearch-toggle-symbol): Set isearch-regexp to nil
2309 in isearch-word mode (like in isearch-toggle-word).
2310
1ec5e41d
JL
23112012-09-06 Juri Linkov <juri@jurta.org>
2312
2313 * replace.el (replace-search-function)
2314 (replace-re-search-function): Set default values to nil.
2315 (perform-replace): Let-bind isearch-related variables based on
2316 replace-related values, call `isearch-search-fun' and let-bind
2317 the result to `search-function'. Remove code that sets
2318 `search-function' and `search-string' separately for
2319 `delimited-flag'.
2320 (replace-highlight): Add new argument `delimited-flag' and
2321 rename other arguments to the names used in `perform-replace'.
2322 Let-bind `isearch-word' to the argument `delimited-flag'.
2323 (Bug#10885, bug#10887)
2324
0ba2d4b6
DG
23252012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2326
2327 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2328 ruby-beginning-of-indent, simplify, allow all keywords to have
2329 indentation before them.
2330 (ruby-beginning-of-indent): Adjust for above. Search until the
2331 found point is not inside a string or comment.
2332 (ruby-font-lock-keywords): Allow symbols to start with "@"
2333 character, give them higher priority than variables.
2334 (ruby-syntax-propertize-function)
2335 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2336 matchers. Expression expansions are not comments when inside a
2337 string, and there comment syntax status is irrelevant.
2338 (ruby-match-expression-expansion): New function. Check that
2339 expression expansion is inside a string, and it's not escaped.
2340 (ruby-font-lock-keywords): Use it.
2341
ef654460
MR
23422012-09-05 Martin Rudalics <rudalics@gmx.at>
2343
2344 * help.el (temp-buffer-max-height): New default value.
2345 (temp-buffer-resize-frames): New option.
2346 (resize-temp-buffer-window): Optionally resize frame.
2347
2348 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2349 (fit-frame-to-buffer): New function.
2350
7e570fbf 23512012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2352
2353 * emulation/cua-rect.el (cua--init-rectangles):
2354 * textmodes/picture.el (picture-mode-map):
2355 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2356 like forward-char and backward-char. (Bug#12317)
2357
7e570fbf 23582012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2359
2360 * progmodes/flymake.el (flymake-warning-re): New variable.
2361 (flymake-parse-line): Use it.
2362
7e570fbf 23632012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2364
2365 * calendar/holidays.el (holiday-christian-holidays):
2366 Rename an entry. (Bug#12289)
2367
7e570fbf 23682012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2369
2370 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2371 (bug#12222).
2372
972debf2
SM
23732012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2374
2375 * loadup.el: Load macroexp. Remove hack.
2376 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2377 (macroexp--expand-all): Use it to get better warnings.
2378 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2379 (internal-macroexpand-for-load): New functions.
2380 (macroexp--pending-eager-loads): New var.
2381 (emacs-startup-hook): New hack to replace one in loadup.el.
2382 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2383 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2384 (cl-psetf): Simplify.
2385 (cl-defstruct): Add indent rule.
2386
8ce192e3
LI
23872012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2388
2389 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2390 over `user-mail-address' for the SMTP MAIL FROM envelope.
2391 (smtpmail-via-smtp): Ditto.
2392
6578b4d8
DG
23932012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2394
2395 * progmodes/ruby-mode.el: Clean up keybindings.
2396 (ruby-mode-map): Don't bind ruby-electric-brace,
2397 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2398 backward-kill-word, reindent-then-newline-and-indent.
2399 (ruby-mark-defun): Remove.
2400 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2401 (ruby-mode): Set local beginning-of-defun-function and
2402 end-of-defun-function values.
2403
c5e28e39
MR
24042012-09-03 Martin Rudalics <rudalics@gmx.at>
2405
2406 * window.el (temp-buffer-window-setup-hook)
2407 (temp-buffer-window-show-hook): New hooks.
2408 (temp-buffer-window-setup, temp-buffer-window-show)
2409 (with-temp-buffer-window): New functions.
972debf2
SM
2410 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2411 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2412
2413 * help.el (temp-buffer-resize-mode): Fix doc-string.
2414 (resize-temp-buffer-window): New optional argument WINDOW.
2415
2416 * files.el (recover-file, save-buffers-kill-emacs):
2417 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2418
73406194
MA
24192012-09-02 Michael Albinus <michael.albinus@gmx.de>
2420
2421 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2422 remote definition of `default-directory', ensure we can connect.
2423
63dd1c6f
JL
24242012-09-02 Juri Linkov <juri@jurta.org>
2425
2426 Toggle whitespace matching mode with M-s SPC.
2427 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2428
2429 * isearch.el (search-whitespace-regexp): Doc fix.
2430 Remove cons cell customization.
2431 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2432 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2433 New variables.
2434 (isearch-forward, isearch-forward-regexp): Doc fix.
2435 (isearch-toggle-lax-whitespace): New command.
2436 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2437 (re-search-forward-lax-whitespace)
2438 (re-search-backward-lax-whitespace): New functions.
2439 (isearch-whitespace-regexp): Remove function.
2440 (isearch-query-replace): Let-bind replace-search-function and
2441 replace-re-search-function.
2442 (isearch-occur): Let-bind search-spaces-regexp according to the
2443 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2444 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2445 condition for C-q SPC.
2446 (isearch-search-fun-default): Use new functions mentioned above.
2447 (isearch-search-forward, isearch-search-backward): Remove functions.
2448 (isearch-search): Don't let-bind search-spaces-regexp.
2449 (isearch-lazy-highlight-space-regexp): Remove variable.
2450 (isearch-lazy-highlight-lax-whitespace)
2451 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2452 (isearch-lazy-highlight-new-loop): Use them.
2453 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2454
af7dda05
CY
24552012-09-02 Chong Yidong <cyd@gnu.org>
2456
2457 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2458
d67d3afd
GM
24592012-09-02 Glenn Morris <rgm@gnu.org>
2460
2461 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2462
69678719
GM
24632012-09-01 Glenn Morris <rgm@gnu.org>
2464
2465 * term.el: Tidy up menu definitions.
2466 (term-mode-map): Use easymenu for In/Out, Complete menus.
2467 (term-pager-break-map): Initialize in the defvar.
2468 (term-terminal-menu, term-signals-menu): Define with easymenu.
2469 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2470 (term-pager-menu): New, extracted from term-process-pager.
2471 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2472 (term-update-mode-line): Propertize line/char and page items.
2473 (term-process-pager): Move keymap initialization elsewhere.
2474
78dd6ab1
MR
24752012-09-01 Martin Rudalics <rudalics@gmx.at>
2476
2477 * window.el (switch-to-prev-buffer): Handle additional values of
2478 BURY-OR-KILL argument. Don't switch in minibuffer window.
2479 (switch-to-next-buffer): Don't switch in minibuffer window.
2480 (quit-restore-window): New function based on quit-window.
2481 Handle additional values of former KILL argument.
2482 (quit-window): Call quit-restore-window with appropriate
2483 interpretation of KILL argument.
2484 (display-buffer-below-selected): New buffer display action
2485 function.
2486
3d10e134
SM
24872012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * minibuffer.el (completion-at-point-functions): Complete docstring
2490 (bug#12254).
2491
0e23ef9d
PE
24922012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2493
2494 Better seed support for (random).
2495 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2496 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2497 * play/mpuz.el, play/tetris.el, play/zone.el:
2498 * calc/calc-comb.el (math-init-random-base):
2499 * play/blackbox.el (bb-init-board):
2500 * play/life.el (life):
2501 * server.el (server-use-tcp):
2502 * type-break.el (type-break):
2503 Remove unnecessary call to (random t).
2504 * net/sasl.el (sasl-unique-id-function):
2505 Change (random t) to (random), now that the latter is more random.
2506 * play/life.el (life-initialized): Remove no-longer-needed var.
2507
862382df
MR
25082012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2509
2510 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2511 Consider frame's buffer predicate when choosing the buffer.
2512 (Bug#12081)
2513
262a66e1
RS
25142012-08-30 Richard Stallman <rms@gnu.org>
2515
2516 * simple.el (special-mode-map): Delete binding for `z'.
2517
f17e1d00
AS
25182012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2519
2520 * progmodes/compile.el (compilation-always-kill): Doc fix.
2521
24777832
CY
25222012-08-30 Chong Yidong <cyd@gnu.org>
2523
2524 * window.el (display-buffer-reuse-frames): Make the obsolescence
2525 message more informative.
2526
69ba1f04
GM
25272012-08-30 Glenn Morris <rgm@gnu.org>
2528
2529 * paren.el (show-paren-delay):
2530 Add a :set function. Doc fix. (Bug#12297)
2531
f0019ede
MB
25322012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2533
2534 * progmodes/compile.el (compilation-always-kill): New var.
2535 (compilation-start): Use it.
2536
35e62fc9
SM
25372012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2538
af070a1c
SM
2539 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2540 * files.el (read-only-mode): Move to simple.el.
2541
35e62fc9
SM
2542 * files.el (read-only-mode): New minor mode.
2543 (toggle-read-only): Use it and mark obsolete.
2544 (find-file--read-only):
2545 * vc/vc.el (vc-next-action, vc-checkout):
2546 * vc/vc-cvs.el (vc-cvs-checkout):
2547 * obsolete/vc-mcvs.el (vc-mcvs-update):
2548 * ffap.el (ffap--toggle-read-only): Update callers.
2549
c2c43c23
MA
25502012-08-29 Michael Albinus <michael.albinus@gmx.de>
2551
2552 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2553 remote shell scripts.
2554 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2555
2556 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2557 "/usr/local/sbin".
2558
9fba804b
SM
25592012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2560
2561 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2562
eada0861 25632012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2564
806f0cc7
LL
2565 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2566 completion-at-point. (Bug#12220)
2567
3bb213b9
LL
2568 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2569
22ab32ef
LL
2570 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2571
eada0861 25722012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2573
19c17fc1
CY
2574 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2575 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2576
eada0861 25772012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2578
2579 * progmodes/hideif.el (hif-compress-define-list):
2580 Fix typo. (Bug#11951)
2581
eada0861 25822012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2583
2584 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2585 buffer local setting.
2586
27d6c5a8
LL
2587 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2588 rcirc-encode-coding-system.
2589
eada0861 25902012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2591
2592 * net/rcirc.el (rcirc-split-message): New function.
2593 (rcirc-send-message): Use it. (Bug#12051)
2594
d44688e4
JL
25952012-08-28 Juri Linkov <juri@jurta.org>
2596
2597 * info.el (Info-fontify-node): Hide empty lines at the end of
2598 the node. (Bug#12272)
2599
34f10d41
MR
26002012-08-27 Drew Adams <drew.adams@oracle.com>
2601
2602 * dired.el (dired-pop-to-buffer): Make window start at beginning
2603 of buffer (Bug#12281).
2604
77f1f99c
CY
26052012-08-26 Chong Yidong <cyd@gnu.org>
2606
2607 * window.el (special-display-regexps, special-display-frame-alist)
2608 (special-display-buffer-names, special-display-function)
2609 (display-buffer-reuse-frames): Mark as obsolete.
2610
2611 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2612
2613 * help.el (help-print-return-message): Don't treat
2614 display-buffer-reuse-frames specially.
2615
d97af5a0
CY
26162012-08-26 Chong Yidong <cyd@gnu.org>
2617
9fba804b
SM
2618 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2619 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2620 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2621 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2622 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2623 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2624 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2625 the functions directly with gdb-display-buffer-other-frame-action.
2626 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2627 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2628 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2629 (gdb-display-registers-buffer): Define directly.
2630 (def-gdb-display-buffer): Macro deleted.
2631 (gdb-display-buffer): Remove second and third args, callers don't
2632 use them. Defer to the default display-buffer behavior, apart
2633 from making windows dedicated.
2634 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2635
2636 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2637
2638 * window.el (display-buffer-pop-up-frame): Handle a
2639 pop-up-frame-parameters alist entry.
2640 (display-buffer): Document it.
2641
dd7ffad6
CY
26422012-08-26 Chong Yidong <cyd@gnu.org>
2643
2644 * isearch.el (search-whitespace-regexp): Make string and nil
2645 values apply to both ordinary and regexp search. Allow a cons
2646 cell value to distinguish between the two.
2647 (isearch-whitespace-regexp, isearch-search-forward)
2648 (isearch-search-backward): New functions.
2649 (isearch-occur, isearch-search-fun-default, isearch-search)
2650 (isearch-lazy-highlight-new-loop): Use them.
2651 (isearch-forward, isearch-forward-regexp): Doc fix.
2652
4c47bd1e
CY
26532012-08-26 Chong Yidong <cyd@gnu.org>
2654
2655 * faces.el (help-argument-name): Always inherit from italic
2656 (Bug#12213).
2657
9aba119d
MR
26582012-08-25 Martin Rudalics <rudalics@gmx.at>
2659
2660 * window.el (window--even-window-heights): Even heights when
2661 WINDOW and the selected window form a vertical combination.
2662 (display-buffer-use-some-window): Provide that window used gets
2663 sized back by quit-window. (Bug#11880) and (Bug#12091)
2664
ca5256ad
PE
26652012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2666
2667 Fix file time stamp problem with bzr and CVS (Bug#12001).
2668 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2669 in the file's time stamp, since the version control system loses
2670 that information.
2671
d1c0d176
JL
26722012-08-22 Juri Linkov <juri@jurta.org>
2673
2674 * info.el (Info-fontify-node): Hide the suffix of the
2675 Info file name in the header line. (Bug#12187)
2676
141562ff
GM
26772012-08-22 Glenn Morris <rgm@gnu.org>
2678
2679 * calendar/cal-tex.el (cal-tex-weekly-common):
2680 Restore leading blank page.
2681
61a48e19 26822012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2683
2684 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2685 the region under `shift-select-mode'. (Bug#12231)
2686
26872012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2688
2689 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2690 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2691 gives details on why the space is never needed.
2692
ea95074e
MR
26932012-08-22 Martin Rudalics <rudalics@gmx.at>
2694
9fba804b
SM
2695 * window.el (walk-window-tree, window-with-parameter):
2696 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2697 should run on the minibuffer window.
2698 (window-at-side-list): Don't operate on minibuffer window.
2699 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2700 (window--size-ignore): Rename to window--size-ignore-p.
2701 Update callers.
caceae25
MR
2702 (display-buffer-in-atom-window, window--major-non-side-window)
2703 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2704 (delete-side-window, display-buffer-in-side-window):
2705 New functions.
caceae25
MR
2706 (window--side-check, window-deletable-p, delete-window)
2707 (delete-other-windows, split-window): Handle side windows and
2708 atomic windows appropriately.
2709 (window--display-buffer): Call display-buffer-record-window also
2710 when the window buffer did not change.
ea95074e 2711
80a51fa0
CS
27122012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2713
2714 * help-fns.el (help-fns--key-bindings):
2715 Abbreviate non-symbol remap targets. (Bug#12174)
2716
fbb6300b
MR
27172012-08-22 Martin Rudalics <rudalics@gmx.at>
2718
2719 * dired.el (dired-mark-remembered): Don't clobber point.
2720 (Bug#11795)
2721
2b2c0794
GM
27222012-08-22 Glenn Morris <rgm@gnu.org>
2723
2724 * progmodes/bug-reference.el (bug-reference): New custom group.
2725 (bug-reference-bug-regexp): Make it a defcustom.
2726
37219830
DU
27272012-08-22 Daiki Ueno <ueno@unixuser.org>
2728
2729 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2730 (js-paren-indent-offset, js-square-indent-offset)
2731 (js-curly-indent-offset): Add :safe (Bug#12257).
2732
94e0e559
EC
27332012-08-22 Edward O'Connor <hober0@gmail.com>
2734
2735 * json.el (json-key-format): Add error properties.
2736 (json-encode-key): New function.
2737 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2738 Use json-encode-key.
2739
da485f5e
GM
27402012-08-22 Glenn Morris <rgm@gnu.org>
2741
2742 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2743 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2744 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2745 Update for above change.
2746
c6cc78b8
AS
27472012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2748
2749 * cus-face.el (custom-face-attributes): Fix customize type for the
2750 :underline attribute. (Bug#11805)
2751
5481664a
MR
27522012-08-21 Martin Rudalics <rudalics@gmx.at>
2753
2754 * window.el (window-point-1, set-window-point-1): Remove.
2755 (window-in-direction, record-window-buffer)
2756 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2757 (window--state-get-1, display-buffer-record-window):
2758 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2759 window-point and set-window-point respectively.
2760
6d74698e
GM
27612012-08-21 Glenn Morris <rgm@gnu.org>
2762
b7fa2691
GM
2763 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2764 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2765 Use it.
2766
52f56d5a
GM
2767 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2768 (cal-tex-shortday): New function.
2769 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2770 (cal-tex-cursor-filofax-daily): Use the above.
2771
9f1ee09e
GM
2772 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2773 New functions.
2774 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2775 (cal-tex-cursor-filofax-week): Use them.
2776
79858159
GM
2777 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2778 New constants.
2779 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2780 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2781
d346b2b4
GM
2782 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2783 (cal-tex-end-document): Don't rely on buffer name.
2784
b2403709
GM
2785 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2786 Use cal-tex-vspace.
2787 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2788 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2789 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2790 Use cal-tex-arg.
b2403709 2791
1cebb5c0
GM
2792 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2793 (cal-tex-cursor-week, cal-tex-cursor-week2)
2794 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2795 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2796 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2797 (cal-tex-insert-preamble, cal-tex-b-document)
2798 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2799 Improve cal-tex-cmd usage.
2800
c68cd5d4
GM
2801 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2802 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2803 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2804 (cal-tex-weekly-paper): New function.
2805 (cal-tex-cursor-week, cal-tex-cursor-week2)
2806 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2807 (cal-tex-cursor-day): Use it.
2808
9dca4801
GM
2809 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2810 (cal-tex-cursor-filofax-week): Remove leading blank page.
2811
1941e134
GM
2812 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2813 Add autoload cookie. For now at least, don't use color, since
2814 no other cal-tex function does.
2815
6d74698e
GM
2816 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2817 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2818 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2819
64cde199
JL
28202012-08-21 Juri Linkov <juri@jurta.org>
2821
2822 * info.el (Info-file-attributes): New variable.
2823 (info-insert-file-contents): Add file attributes to
2824 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2825 `Info-toc-nodes' when previous modtime of the Info file is less
2826 than new modtime.
2827 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2828 of info.el. (Bug#12230)
2829
32757648
GM
28302012-08-20 Glenn Morris <rgm@gnu.org>
2831
2832 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2833 * calendar/holidays.el (calendar-holiday-list):
2834 Report errors with display-warning rather than beep'n'sleep.
2835
a32fbbcf
MA
28362012-08-20 Michael Albinus <michael.albinus@gmx.de>
2837
2838 * net/tramp.el (tramp-accept-process-output): Accept only output
2839 from PROC. Otherwise, process filters and sentinels might be
2840 confused. (Bug#12145)
2841
a05731a0
CY
28422012-08-20 Chong Yidong <cyd@gnu.org>
2843
2844 * descr-text.el (describe-text-properties-1): Use overlays-in to
2845 report on empty overlays (Bug#3322).
2846
36e8d1eb
GM
28472012-08-20 Glenn Morris <rgm@gnu.org>
2848
3d300447
GM
2849 * mail/rmailout.el (rmail-output-read-file-name):
2850 Trap and report errors in rmail-output-file-alist elements.
2851
36e8d1eb
GM
2852 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2853 since most non-font-lock faces are not also variables).
2854
b96e5814
ER
28552012-08-20 Edward Reingold <reingold@iit.edu>
2856
2857 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2858 New function. (Bug12160)
2859
7cef3569
GM
28602012-08-19 Glenn Morris <rgm@gnu.org>
2861
2862 * mail/rmailout.el (rmail-output-read-file-name):
2863 Fix previous change (when the alist is nil or does not match).
2864
17975d7f
CY
28652012-08-19 Chong Yidong <cyd@gnu.org>
2866
2867 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2868 (Bug#12228).
2869
2170b1bd
CY
28702012-08-18 Chong Yidong <cyd@gnu.org>
2871
2872 * simple.el (yank-handled-properties): New defcustom.
2873 (yank-excluded-properties): Add font-lock-face and category.
2874 (yank): Doc fix.
2875
9fba804b
SM
2876 * subr.el (remove-yank-excluded-properties):
2877 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2878 and category is now done this way, instead of being hard-coded.
2879 (insert-for-yank-1): Remove font-lock-face handling.
2880 (yank-handle-font-lock-face-property)
2881 (yank-handle-category-property): New function.
2882
ee218151
GM
28832012-08-17 Glenn Morris <rgm@gnu.org>
2884
2885 * mail/rmailout.el (rmail-output-read-file-name):
2886 Check rmail-output-file-alist against the full message body
2887 in the correct rmail buffer. (Bug#12214)
2888
4a6bc3fd
MA
28892012-08-17 Michael Albinus <michael.albinus@gmx.de>
2890
9fba804b
SM
2891 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2892 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2893
383dcbf9
CY
28942012-08-17 Chong Yidong <cyd@gnu.org>
2895
2896 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2897 font spec, set the font directly (Bug#3228).
2898
998c4a6a
MR
28992012-08-17 Martin Rudalics <rudalics@gmx.at>
2900
2901 * window.el (delete-window): Fix last fix.
2902
52162052
MR
29032012-08-16 Martin Rudalics <rudalics@gmx.at>
2904
2905 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2906 (window-child, window-child-count, window-last-child)
2907 (window-normalize-window, window-combined-p)
2908 (window-combinations, window-atom-root, window-min-size)
2909 (window-sizable, window-sizable-p, window-size-fixed-p)
2910 (window-min-delta, window-max-delta, window--resizable)
2911 (window--resizable-p, window-resizable, window-total-size)
2912 (window-full-height-p, window-full-width-p, window-body-size)
2913 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2914 (minimize-window, window-deletable-p, delete-window)
2915 (delete-other-windows, set-window-buffer-start-and-point)
2916 (next-buffer, previous-buffer, split-window, balance-windows-2)
2917 (set-window-text-height, window-buffer-height)
2918 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2919 (truncated-partial-width-window-p): Minor code adjustments.
2920 In doc-strings state whether the argument window has to denote a
85c2386b 2921 live, valid or any window.
52162052 2922
1c308380
PS
29232012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2924
2925 * progmodes/subword.el (subword-forward-function)
2926 (subword-backward-function, subword-forward-regexp)
2927 (subword-backward-regexp): New variables.
2928 (subword-forward, subword-forward-internal, subword-backward-internal):
2929 Use new variables, eg so that different "word" definitions
2930 can be easily used. (Bug#11411)
2931
94c9ece1
SM
29322012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2935 for composite selectors.
2936 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2937 operation just because we can't find a previous revision.
2938
f2045622
CY
29392012-08-15 Chong Yidong <cyd@gnu.org>
2940
2941 * frame.el (set-frame-font): Accept font objects.
2942
582db660
SM
29432012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2946
2f29c200
WJ
29472012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2948
456e62c2
WJ
2949 * man.el (Man-overstrike-face, Man-underline-face)
2950 (Man-reverse-face): Remove variables.
2951 (Man-overstrike, Man-underline, Man-reverse): New faces.
2952 (Man-fontify-manpage): Use them instead of the variables.
2953 (Man-cleanup-manpage): Comment change.
2954 (Man-ansi-color-map): New variable.
2955 (Man-fontify-manpage): Use it.
2956 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2957
2f29c200
WJ
2958 Implement ANSI SGR parameters 22-27 (bug#12146).
2959 * ansi-color.el (ansi-colors): Doc fix.
2960 (ansi-color-context, ansi-color-context-region): Doc fix.
2961 (ansi-color--find-face): New function.
2962 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2963 Rename the local variable `face' to `codes' since it is now a list of
2964 ansi codes. Doc fix.
2965 (ansi-color-get-face): Remove.
2966 (ansi-color-parse-sequence): New function, derived from
2967 ansi-color-get-face.
2968 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2969 codes 22-27.
2970
b4f5e9df
SM
29712012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2972
2973 * subr.el (read-passwd): Allow use from a minibuffer.
2974
ba025fbd
EZ
29752012-08-14 Eli Zaretskii <eliz@gnu.org>
2976
2977 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2978 inside comments and strings as identifiers.
2979
2980 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2981 expression to evaluate. This allows to evaluate expressions with
2982 embedded whitespace.
2983 (gud-tooltip-tips): Add a blank before the newline in the
2984 message-box text, for the benefit of message-box emulation on
2985 MS-Windows.
2986
2987 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2988 messages from GDB, pop them up in a tooltip to give feedback to
2989 user.
b4f5e9df
SM
2990 (gdb-tooltip-print-1): Quote the expression to evaluate.
2991 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2992 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2993 if the TTY name is nil or empty (which happens when communicating
2994 with the inferior via pipes, e.g. on MS-Windows).
2995 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2996 don't send that to the GUD buffer.
2997
c548f821
GM
29982012-08-14 Glenn Morris <rgm@gnu.org>
2999
3000 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3001 Optimize away setq-default with no args, as for setq. (Bug#12195)
3002
55802e4a
CY
30032012-08-14 Chong Yidong <cyd@gnu.org>
3004
4abcdac8
CY
3005 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3006
55802e4a
CY
3007 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3008 (Bug#12085).
3009
3c3cda1a
GM
30102012-08-14 Glenn Morris <rgm@gnu.org>
3011
3012 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3013
e1873bd0
MA
30142012-08-14 Michael Albinus <michael.albinus@gmx.de>
3015
3016 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3017 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3018 Use cached shell name.
3019
925411b4
FEG
30202012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3021
3022 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3023 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3024
e636fafe
DG
30252012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3026
3027 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3028 (ruby-percent-literal-beg-re): New constant.
3029 (ruby-syntax-general-delimiters-goto-beg): Rename to
3030 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3031 (ruby-syntax-propertize-general-delimiters): Rename to
3032 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3033 popular term. Adjust comments everywhere.
3034 (ruby-syntax-propertize-percent-literal): Only propertize when not
3035 inside a simple string or comment. When the literal is unclosed,
3036 leave the text after it unpropertized.
f063063a
DG
3037 (ruby-syntax-methods-before-regexp): New constant.
3038 (ruby-syntax-propertize-function): Use it to recognize regexps.
3039 Don't look at the text after regexp, just use the whitelist.
e636fafe 3040
e5b19827
AS
30412012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3042
3043 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3044 non-nil always load the compiled file if it exists. (Bug#12197)
3045
a9f6f311
CY
30462012-08-14 Chong Yidong <cyd@gnu.org>
3047
3048 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3049 (hi-lock-set-pattern): When deciding whether to use font lock or
3050 overlays, look at font-lock-mode instead of font-lock-fontified
3051 (Bug#12168).
3052 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3053 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3054
7d806b1e
DU
30552012-08-14 Daiki Ueno <ueno@unixuser.org>
3056
3057 * subr.el (internal--after-with-selected-window): Fix typo
3058 (Bug#12193).
3059
5beed586
FEG
30602012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3061
3062 Use `completion-table-dynamic' for completion functions.
3063 * progmodes/python.el
3064 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3065 (python-shell-completion--get-completions):
3066 Remove functions.
5beed586
FEG
3067 (python-shell-completion-complete-at-point): New function.
3068 (python-completion-complete-at-point): Use it.
3069
92cb3b04
J
30702012-08-13 Jambunathan K <kjambunathan@gmail.com>
3071
3072 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3073 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3074
89660017
SM
30752012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3c98c962
SM
3077 * subr.el (function-get): Refine `autoload' arg so it can also
3078 autoload functions for gv.el (bug#12191).
3079 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3080 autoloads macros.
3081
aa7c6dbe
SM
3082 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3083 Prefer pcase-let over destructuring-bind.
3084 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3085 Also, remove whitespace as we go, rather than after accumulating the
3086 various places.
3087
89660017
SM
3088 * subr.el (internal--before-with-selected-window)
3089 (internal--after-with-selected-window): Fix typo seleted->selected.
3090 (with-selected-window): Adjust callers.
3091 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3092
31cd32c9
BG
30932012-08-13 Bastien Guerry <bzg@gnu.org>
3094
0fcd3d9f 3095 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3096 enhancement. (Bug#12172)
3097
1b15d8ad
AS
30982012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3099
31e54db0
AS
3100 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3101 type 1-6.
3102 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3103 extended headers.
3104
1b15d8ad
AS
3105 * files.el (hack-local-variables-filter): Remove useless eval.
3106
35cb9c06
MR
31072012-08-13 Martin Rudalics <rudalics@gmx.at>
3108
3109 * subr.el (with-selected-window): Fix last change.
3110
1439443b
SM
31112012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * subr.el (internal--before-with-seleted-window)
3114 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3115 (with-selected-window): Use them, to replace dependency on
3116 tty-top-frame.
1439443b 3117
0d9e2599
NN
31182012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3119
3120 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3121 binding for `newline'.
3122 (ruby-move-to-block): When moving backward, stop at block opening,
3123 not indentation.
3124 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3125 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3126 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3127 `ruby-toggle-block'.
3128
ba10c48c
SM
31292012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * ibuffer.el (ibuffer-do-toggle-read-only):
3132 * dired.el (dired-toggle-read-only):
3133 * buff-menu.el (Buffer-menu-toggle-read-only):
3134 * bindings.el (mode-line-toggle-read-only):
3135 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3136
9229c658
AS
31372012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3138
3139 * descr-text.el (describe-char): Put the overlays over the
3140 "displayed as" character.
3141
0fd09128
JB
31422012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3143
3144 * calc/calc-units.el (math-default-units-table): Give an
3145 initial value.
3146 (math-put-default-units): Add options to put composite units and
3147 unit systems in the default units table.
3148 (calc-convert-units): Send composite units to
3149 `math-put-default-units' when appropriate.
3150
9ff9402d 31512012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3152
fbb5e336
GM
3153 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3154
7aacaf15
GM
3155 * tutorial.el (help-with-tutorial):
3156 * emacs-lisp/copyright.el (copyright-update-directory):
3157 * emacs-lisp/autoload.el (autoload-find-generated-file)
3158 (autoload-find-file): Disable local eval: (for insurance).
3159
f40b9f10
GM
3160 * files.el (hack-local-variables-filter): If an eval: form is not
3161 known to be safe, and enable-local-variables is :safe, then ignore
3162 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3163 This is CVE-2012-3479.
f40b9f10 3164
daa9f1a6
SM
31652012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3166
3167 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3168 (rx-form): Simplify.
3169
9cd80478
DG
31702012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3171
0d9e2599
NN
3172 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3173 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3174 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3175 (ruby-syntax-propertize-function): Adjust for changes in
3176 `ruby-syntax-propertize-heredoc'.
3177
31782012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3179
9cd80478
DG
3180 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3181 binding (use `M-;' instead).
9cd80478 3182 (ruby-singleton-class-p): New function.
0d9e2599 3183 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3184
d301b413
SM
31852012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3188
1530c98e
CY
31892012-08-10 Chong Yidong <cyd@gnu.org>
3190
3191 * progmodes/python.el (python-shell-get-process-name): Don't mess
3192 with same-window-buffer-names.
3193
3194 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3195 (eshell-remove-from-window-buffer-names): Make obsolete.
3196 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3197 (eshell): Just use pop-to-buffer-same-window instead.
3198
e1293765
CY
31992012-08-10 Chong Yidong <cyd@gnu.org>
3200
3201 * bindings.el: Bind M-= back to count-words-region.
3202
3203 * simple.el (count-words-region): Accept a prefix arg for acting
3204 on the entire buffer.
3205 (count-words--buffer-message): New helper function.
3206
e1894109
SM
32072012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3210 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3211 (event-start, event-end): Use posn-at-point to return a more
3212 informative posn.
3213 (posnp): New function.
3214 * mouse.el (popup-menu-normalize-position): Use it.
3215
c69f56a2
MY
32162012-08-10 Masatake YAMATO <yamato@redhat.com>
3217
3218 * mouse.el (popup-menu-normalize-position): New function.
3219 (popup-menu): Use `popup-menu-normalize-position' to normalize
3220 the form for POSITION argument.
3221
3222 * term/x-win.el (x-menu-bar-open):
3223 Use the value returend from (posn-at-point) as position
3224 passed to `popup-menu'.
3225
31673780
JB
32262012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3227
3228 * calc/calccomp.el (math-compose-expr): Add extra argument
3229 indicating that parentheses should be put around products in
3230 denominators. Give multiplication precedence over division during
3231 composition.
3232
dab7711b
CY
32332012-08-09 Chong Yidong <cyd@gnu.org>
3234
dee4ef93
CY
3235 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3236 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3237 (Man-untabify-command, manual-program): Convert to defcustom
3238 (Bug#10429).
3239
73e2bbc5
CY
3240 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3241
3e861c8a
CY
3242 * descr-text.el (describe-char): Don't insert extra newlines
3243 (Bug#10127).
3244
a9f5a649
CY
3245 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3246 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3247
dab7711b
CY
3248 * align.el (align-region): Delete temporary markers (Bug#10047).
3249 Plus some code cleanups.
3250
e0cc4efa
FEG
32512012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3252
3253 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3254 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3255 (python-shell-internal-last-output): Use make-local-variable
3256 instead of make-variable-buffer-local.
3257
489af14f
FEG
32582012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3259
3260 * progmodes/python.el: Enhancements to forward-sexp.
3261 (python-nav-forward-sexp): Rename from
3262 python-nav-forward-sexp-function.
c69f56a2
MY
3263 (python-nav--forward-sexp, python-nav--backward-sexp):
3264 New functions.
489af14f 3265
0fc50303
JB
32662012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3267
3268 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3269 modes and simplification modes.
3270
5d65606a
SM
32712012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3272
3273 * delsel.el (delete-selection-pre-hook): Don't propagate the
3274 file-supersession signals (bug#12161).
3275
4250fdf5
SM
32762012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3277
3278 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3279 (cl-map-extents): Add compatibility aliases (bug#12135).
3280
d9f9b465
MA
32812012-08-08 Michael Albinus <michael.albinus@gmx.de>
3282
3283 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3284 tests by `ignore-error'.
3285 (tramp-find-shell): Open also a new shell, when cache is already
3286 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3287
ce0fcefa
JL
32882012-08-08 Juri Linkov <juri@jurta.org>
3289
3290 * bookmark.el: Add `defaults' property to the bookmark record.
3291 (bookmark-current-buffer): Doc fix.
3292 (bookmark-make-record): Add `defaults' property with default values
3293 to the bookmark record.
3294 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3295 with `bookmark-insert-current-bookmark'.
3296 (bookmark-set): Get `defaults' property from the bookmark record
3297 and use it in `read-from-minibuffer'.
3298 (bookmark-insert-current-bookmark): Remove function.
3299
3300 * info.el (Info-bookmark-make-record): Add `defaults' property
3301 with values of canonical Info node name, the current Info file
3302 name and the current Info node name. (Bug#12107)
3303
53fa8652
JL
33042012-08-08 Juri Linkov <juri@jurta.org>
3305
3306 * files.el (basic-save-buffer): Use `buffer-name' as the default
3307 of `read-file-name' when buffer is not visiting a file (bug#12128).
3308
242c0a95
JL
33092012-08-08 Juri Linkov <juri@jurta.org>
3310
3311 * info.el (Info-isearch-search): Doc fix.
3312 (Info-search): Change search-failed message from "initial node" to
3313 "end of node" (bug#12078).
3314 (Info-isearch-search): Change `isearch-string-state' to
3315 `isearch--state-string'.
3316
32ac3a6b
GM
33172012-08-08 Glenn Morris <rgm@gnu.org>
3318
3319 * language/persian.el: Remove file.
f8c1afd5 3320 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3321 * loadup.el: Remove language/persian.
3322
2c2d9c9c
OF
33232012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3324
3325 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3326
2d79ec42
FEG
33272012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3328
3329 * progmodes/python.el Fixed defsubst warning.
3330 (python-syntax-context) Rename from python-info-ppss-context.
3331 (python-syntax-context-type): Rename from
3332 python-info-ppss-context-type.
3333 (python-syntax-comment-or-string-p): Rename from
3334 python-info-ppss-comment-or-string-p.
3335
2bd255dd
JB
33362012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3337
3338 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3339
c395097f
AS
33402012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3341
6125983e
AS
3342 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3343 a defcustom that is quoted with backquote.
3344
4250fdf5
SM
3345 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3346 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3347 (math-do-arg-check, math-define-function-body): Use backquote forms.
3348 * calc/calc-ext.el (math-defcache): Likewise.
3349 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3350 * allout.el (allout-new-exposure): Likewise.
3351 * calc/calcalg2.el (math-tracing-integral): Likewise.
3352 * info.el (Info-last-menu-item): Likewise.
3353 * emulation/vip.el (vip-loop): Likewise.
3354 * textmodes/artist.el (artist-funcall): Likewise.
3355 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3356 Construct menu-item directly.
3357
4250fdf5
SM
3358 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3359 Don't declare.
c395097f 3360
5fb50dd3
CY
33612012-08-07 Chong Yidong <cyd@gnu.org>
3362
3363 * simple.el (deactivate-mark): Preserve text properties when
3364 saving the primary selection (Bug#8384).
3365
54eea618
KR
33662012-08-07 Kevin Ryde <user42@zip.com.au>
3367
3368 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3369 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3370 and continue processing (Bug#12110).
3371
638eaeb9
SM
33722012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3373
3374 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3375 syntax-propertize-function (bug#10095).
3376
ea376861
SM
33772012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3378
f91b35be
SM
3379 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3380 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3381 describe-function-1.
3382 (describe-function-1): Use them. Move compiler macro after sig.
3383 (help-fns--compiler-macro): Use function-get. Assume we're already in
3384 standard-output. Adjust layout to new call order.
3385
ea376861
SM
3386 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3387 re-binding a symbol that has a symbol-macro (bug#12119).
3388
d5be7bd0
MB
33892012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3390
3391 * language/persian.el: New file. (Bug#11812)
3392 * loadup.el: Add language/persian.el.
3393
90749b53
CY
33942012-08-06 Chong Yidong <cyd@gnu.org>
3395
3396 * window.el (window--maybe-raise-frame): New function.
3397 (window--display-buffer): Split off from here.
3398 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3399 (display-buffer-pop-up-window, display-buffer-use-some-window):
3400 Obey an inhibit-switch-frame action alist entry.
3401 (display-buffer): Update doc.
3402
3403 * replace.el (occur-after-change-function): Avoid losing focus by
3404 using the inhibit-switch-frame display parameter (Bug#12139).
3405
ba7b0154
FEG
34062012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3407
3408 Make internal shell process buffer names start with space.
3409 * progmodes/python.el (python-shell-make-comint): Add optional
3410 argument INTERNAL.
3411 (run-python-internal): Use it.
3412 (python-shell-internal-get-or-create-process): Check for new
3413 internal buffer names.
3414
5eaeacb5
GM
34152012-08-06 Glenn Morris <rgm@gnu.org>
3416
e296d94b 3417 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3418 Do less getting and setting of environment variables.
3419
b7ccbdc2
CY
34202012-08-05 Chong Yidong <cyd@gnu.org>
3421
777fe95e
CY
3422 * proced.el (proced): Add substitution string to docstring to
3423 trigger autoloading of the proced library on C-h f (Bug#1768).
3424
4250fdf5
SM
3425 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3426 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3427
3428 * imenu.el (imenu-generic-expression): Move documentation here
3429 from imenu--generic-function.
3430 (imenu--generic-function): Refer to imenu-generic-expression.
3431
9e3b7800 34322012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3433
3434 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3435 indentation declaration.
3436 (viper-loop): Add indentation declaration (Bug#7025).
3437
e5d9c0d1
CY
34382012-08-05 Chong Yidong <cyd@gnu.org>
3439
f0422feb
CY
3440 * help-fns.el (describe-variable): Add hyperlink for
3441 directory-local variables files. Improve buffer-local and
3442 permanent-local reporting; suggested by MON KEY (Bug#6644).
3443
3444 * help-mode.el (help-dir-local-var-def): New button type.
3445
e5d9c0d1
CY
3446 * files.el (kill-buffer-hook): Provide a defvar.
3447
a4f2deaa
GM
34482012-08-05 Glenn Morris <rgm@gnu.org>
3449
3450 * eshell/esh-ext.el (eshell/addpath):
3451 Also update eshell-path-env. (Bug#12013)
3452
a9dd5754
CY
34532012-08-05 Chong Yidong <cyd@gnu.org>
3454
a4f2deaa 3455 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3456
d014c740
CY
3457 * fringe.el (fringe-styles): Add docstring.
3458 (fringe--check-mode): New function.
3459 (set-fringe-mode, set-fringe-style): Use it.
3460 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3461
a9dd5754
CY
3462 * files.el (set-auto-mode): Fix invalid setq call.
3463
7c2dc8bd
SM
34642012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3465
3466 * isearch.el: Misc simplification; use defstruct.
3467 (isearch-mode-map): Dense maps now work like sparse ones.
3468 (isearch--state): New defstruct.
3469 (isearch-string-state, isearch-message-state, isearch-point-state)
3470 (isearch-success-state, isearch-forward-state)
3471 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3472 (isearch-wrapped-state, isearch-barrier-state)
3473 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3474 replaced by defstruct's accessors.
3475 (isearch--set-state): Rename from isearch-top-state and change
3476 calling convention.
3477 (isearch-push-state): Use new isearch--get-state.
3478 (isearch-toggle-word): Disable regexp when enabling word.
3479 (isearch-message-prefix): Remove unused arg _c-q-hack.
3480 (isearch-message-suffix): Remove unused arg _ellipsis.
3481
7fcc0070
AS
34822012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3483
3484 * simple.el (list-processes--refresh): For a server use :host or
3485 :local as the address.
97ad0769 3486 (list-processes): Doc fix.
7fcc0070 3487
a11035b8 34882012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3489
3490 * lisp/mpc.el: Support password in host argument.
3491 (mpc--proc-connect): Parse and use new password element.
3492 Set mpc-proc variable instead of returning process.
3493 (mpc-proc): Adjust accordingly.
3494
6dad7178
EZ
34952012-08-03 Eli Zaretskii <eliz@gnu.org>
3496
18949c2f
EZ
3497 * whitespace.el (whitespace-display-mappings): Use Unicode
3498 codepoints, instead of emacs-mule codepoints. See
3499 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3500 for the details.
3501
6dad7178
EZ
3502 * files.el (file-truename): Don't skip symlink-chasing part on
3503 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3504 Windows into the loop that recursively chases symlinks.
3505 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3506 MS-DOS.
3507
385b0198
CY
35082012-08-03 Chong Yidong <cyd@gnu.org>
3509
6200f3c4
CY
3510 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3511
385b0198
CY
3512 * sort.el (sort-regexp-fields): Doc fix.
3513
b9e74744
TH
35142012-08-03 Tassilo Horn <tsdh@gnu.org>
3515
3516 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3517 labels regex position point at the expected place.
3518
41013cb4
MK
35192012-08-03 MON KEY <monkey@sandpframing.com>
3520
3521 * net/imap.el (imap-interactive-login, imap-authenticate)
3522 (imap-mailbox-lsub, imap-mailbox-list)
3523 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3524 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3525 (imap-parse-response): Doc fix.
3526
0ffee616
JT
35272012-08-03 João Távora <joaotavora@gmail.com>
3528
3529 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3530 if sexp scanning does not move point (Bug#5734).
3531
cfcc9cc8
TH
35322012-08-02 Tassilo Horn <tsdh@gnu.org>
3533
3534 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3535 Add listings, minted, and ctable packages.
3536 (reftex-label-alist-builtin): Move listings, minted, and ctable
3537 entries before LaTeX.
a01bbb84 3538 (reftex-label-alist): Docfix.
cfcc9cc8 3539
66ec2442
BG
35402012-08-02 Bastien Guerry <bzg@gnu.org>
3541
3542 * replace.el (occur): Fix docstring (bug#12122).
3543
837b365b
GM
35442012-08-02 Glenn Morris <rgm@gnu.org>
3545
3546 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3547
e098de97
PE
35482012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3549
3550 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3551 * international/mule-cmds.el: Create
3552 inactivate-current-input-method-function as an obsolete alias for
3553 deactivate-current-input-method-function. See Katsumi Yamaoka in
3554 <http://bugs.gnu.org/10150#46>.
3555
a0f95636
JB
35562012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3557
3558 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3559 of nested `if's.
3560
0d26d7c4
GM
35612012-08-01 Glenn Morris <rgm@gnu.org>
3562
3563 * progmodes/autoconf.el (autoconf-definition-regexp):
3564 Add AH_TEMPLATE, adjust submatch numbering.
3565 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3566 (autoconf-current-defun-function): Update for above change.
3567 (autoconf-current-defun-function): First skip to end of current word.
3568
b686ba06
RS
35692012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3570
3571 * calendar/cal-html.el (cal-html-insert-agenda-days):
3572 Fix typo. (Bug#12018)
3573
0d49da68
FEG
35742012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3575
3576 Shell processes: enhancements to startup and CEDET compatibility.
3577 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3578 (python-shell-make-comint): accept-process-output at startup.
3579 (run-python-internal): Set inferior-python-mode-hook to nil.
3580 (python-shell-internal-get-or-create-process): call sit-for.
3581 (python-preoutput-result): Add obsolete alias.
3582 (python-shell-internal-send-string): Use it.
3583 (python-shell-send-setup-code): Remove call to
3584 accept-process-output.
3585
f1a71c6e
AS
35862012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3587
3588 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3589 (Bug#12108)
3590
d2605269
JB
35912012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3592
3593 * calc-mode.el (calc-basic-simplification-mode): Rename from
3594 `calc-limited-simplification-mode'.
3595 (calc-alg-simplification-mode): New function.
fc0c31f8 3596 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3597
d2605269
JB
3598 * calc.el (calc-set-mode-line): Adjust mode line display for
3599 basic simplification mode.
3600
3601 * calc-help.el (calc-m-prefix-help): Update help message.
3602
3603 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3604 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3605
a3827a43
BG
36062012-07-31 Bastien Guerry <bzg@gnu.org>
3607
3608 * man.el (man): Fix comment. (bug#12101)
3609
502e3f89
MR
36102012-07-31 Martin Rudalics <rudalics@gmx.at>
3611
3612 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3613 Don't return a non-nil value when no suitable buffer was found.
3614
d7714961
FEG
36152012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3616
3617 * progmodes/python.el (run-python-internal): Disable font lock for
3618 internal shells.
3619
1f45e27e
SM
36202012-07-30 Stefan Merten <smerten@oekonux.de>
3621
70efc5c9 3622 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3623 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3624 (rst-official-version, rst-official-cvs-rev)
3625 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3626 (rst-mode-map): New key binding.
3627
0aee6912
PE
36282012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3629
3630 Update .PHONY listings in makefiles.
3631 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3632 autoloads, update-subdirs, updates, bzr-update, update-authors,
3633 compile-onefile, compile-calc, backup-compiled-files,
3634 compile-after-backup, compile-one-process, mh-autoloads,
3635 bootstrap-clean, distclean, maintainer-clean.
3636
9052f9f0
JB
36372012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3638
1823ac5a
JB
3639 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3640 (calc-set-mode-line): Don't display "AlgSimp ".
3641
3642 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3643 (calc-lim-simplify-mode): New function.
3644 (calc-set-simplify-mode): Default to 'alg.
3645 (calc-default-simplify-mode): Make algebraic simplifications
3646 the default.
3647
3648 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3649 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3650
8d7c7eed 3651 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3652 indicate new simplification modes.
3653
1823ac5a
JB
3654 * calc/README: Mention new default simplification mode.
3655
9052f9f0
JB
3656 * calc/calc.el (math-normalize-error): New variable.
3657 (math-normalize): Set `math-normalize-error' to t
3658 when there's an error.
3659
3660 * calc/calc-alg.el (math-simplify): Don't simplify when
3661 `math-normalize' returns an error.
3662
20ba0cb4
EZ
36632012-07-29 Eli Zaretskii <eliz@gnu.org>
3664
3665 * international/mule-cmds.el (set-locale-environment): Revert last
3666 change, since display-graphic-p returns nil when this function is
3667 called during startup. Instead...
3668
3669 * term/w32console.el (terminal-init-w32console): ...setup the
3670 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3671
a5dcc929
JL
36722012-07-29 Juri Linkov <juri@jurta.org>
3673
3674 * simple.el (goto-line): Don't display default line number in the
3675 prompt because it should be displayed by `read-number' (bug#9952).
3676 Add the current line number to the defaults of `goto-line' to
3677 allow its easier modification by users with `M-n' (bug#9201).
3678
3679 * subr.el (read-number): Support multiple default values like in
3680 other minibuffer reading functions. Replace `read' with
3681 `string-to-number' for consistency with `number-to-string'.
3682
72b255c7
PE
36832012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3684
3685 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3686 * emulation/viper-init.el (viper-deactivate-input-method-action):
3687 Rename from viper-inactivate-input-method-action.
3688 (viper-deactivate-input-method):
3689 Rename from viper-inactivate-input-method.
3690 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3691 * international/mule-cmds.el (deactivate-input-method):
3692 Rename from inactivate-input-method.
3693 Also run input-method-deactivate-hook.
3694 (deactivate-current-input-method-function):
3695 Rename from inactivate-current-input-method-function.
3696 (input-method-deactivate-hook): New hook.
3697 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3698 (inactivate-input-method): Mark obsolete.
3699
72b255c7
PE
3700 * international/quail.el (quail-activate):
3701 Also run quail-deactivate-hook.
3702 (quail-deactivate): Rename from quail-inactivate.
3703 * international/robin.el (robin-activate):
3704 Also run robin-deactivate-hook.
3705 (robin-deactivate): Rename from robin-inactivate.
3706
2549c068
CY
37072012-07-29 Chong Yidong <cyd@gnu.org>
3708
3709 * simple.el (indicate-copied-region): New function.
3710 (kill-ring-save): Split off from here.
3711
3712 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3713 (kill-rectangle): Set deactivate-mark to t on read-only error.
3714
3715 * register.el (copy-to-register, copy-rectangle-to-register):
3716 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3717 (append-to-register, prepend-to-register): Call indicate-copied-region.
3718
37192012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3720
3721 * simple.el (async-shell-command-buffer): New defcustom.
3722 (shell-command): Use it. (Bug#4719)
3723
01bd1b0d
EZ
37242012-07-28 Eli Zaretskii <eliz@gnu.org>
3725
3726 * international/mule-cmds.el (set-locale-environment): In a
3727 console session on MS-Windows, set up keyboard and terminal
3728 encoding from the OEM codepage, not the ANSI codepage.
3729 (Bug#12055)
3730
a55739d3
CY
37312012-07-28 Chong Yidong <cyd@gnu.org>
3732
3733 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3734 gdb-get-location.
3735
0e1a094f 37362012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3737
3738 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3739 the alist (bug#12029).
3740
20329d73
EZ
37412012-07-28 Eli Zaretskii <eliz@gnu.org>
3742
3743 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3744 (compile-always, compile-first)
3745 ($(lisp)/calendar/cal-loaddefs.el)
3746 ($(lisp)/calendar/diary-loaddefs.el)
3747 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3748 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3749 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3750 instead of on update-subdirs.
3751 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3752
345a2258
CY
37532012-07-28 Chong Yidong <cyd@gnu.org>
3754
1eee6341
CY
3755 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3756 directory if vc-deduce-backend returns nil (Bug#7350).
3757
345a2258
CY
3758 * simple.el (delete-trailing-lines): New option.
3759 (delete-trailing-whitespace): Obey it (Bug#11879).
3760
049a0936
DE
37612012-07-28 David Engster <deng@randomsample.de>
3762
3763 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3764 Explanation of new 'symbol-qnames feature in doc-strings.
3765 (xml-maybe-do-ns): Return expanded names as plain symbols if
3766 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3767 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3768
aa81af71
FEG
37692012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3770
3771 Consistent completion in inferior python with emacs -nw.
3772 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3773 binding in inferior-python-mode-map with "\t".
3774 (python-shell-completion-complete-at-point)
3775 (python-completion-complete-at-point): Remove interactive spec.
3776
e827b1eb
JB
37772012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3778
3779 * calc/calccomp.el (math-compose-expr): Undo previous change.
3780
a90dfb95
FEG
37812012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3782
4250fdf5 3783 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3784 run-python.
3785 (python-shell-make-comint): Fix pop-to-buffer call.
3786 (run-python): Autoload. New arg SHOW.
3787 (python-shell-get-or-create-process): Do not pop python process
3788 buffer.
3789
32770973 37902012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3791
3792 * notifications.el (notifications-on-action-signal)
3793 (notifications-on-closed-signal): Use also the bus address for the map.
3794 (notifications-notify, notifications-close-notification)
fc0c31f8 3795 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3796
86332df2
TH
37972012-07-27 Tassilo Horn <tsdh@gnu.org>
3798
4250fdf5
SM
3799 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3800 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3801 ctable macro.
3802 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3803 labels written in keyvals syntax.
3804
ca1302a4
JB
38052012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3806
3807 * calc/calccomp.el (math-compose-expr): Use parentheses when
3808 there is a product in the denominator of a fraction.
3809
f8b91036
EZ
38102012-07-26 Eli Zaretskii <eliz@gnu.org>
3811
3812 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3813 ($(lisp)/calendar/diary-loaddefs.el)
3814 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3815 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3816 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3817 rewritten while the autoload files are built at the same time,
3818 which needs to load subdirs.el.
3819
c8e5a42c
MR
38202012-07-26 Martin Rudalics <rudalics@gmx.at>
3821
3822 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3823 (mouse-drag-line): Don't exit tracking when a switch-frame or
3824 switch-window event occurs (Bug#12006).
3825
670d85ea
SM
38262012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * mouse.el (popup-menu): Fix last change.
3829
7abaf5cc
SM
38302012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 Autoload from Lisp with more care. Follow aliases when looking for
3833 function properties.
3834 * subr.el (autoloadp): New function.
3835 (symbol-file): Use it.
3836 (function-get): New function.
3837 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3838 autoload-do-load.
3839 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3840 (lisp-indent-function):
3841 * emacs-lisp/gv.el (gv-get):
3842 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3843 * emacs-lisp/byte-opt.el (byte-optimize-form):
3844 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3845 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3846 Use function-get.
3847 * emacs-lisp/cl.el: Don't propagate function properties any more.
3848
3849 * speedbar.el (speedbar-add-localized-speedbar-support):
3850 * emacs-lisp/disass.el (disassemble-internal):
3851 * desktop.el (desktop-load-file):
3852 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3853 (describe-function-1):
3854 * emacs-lisp/find-func.el (find-function-noselect):
3855 * emacs-lisp/elp.el (elp-instrument-function):
3856 * emacs-lisp/advice.el (ad-has-proper-definition):
3857 * apropos.el (apropos-safe-documentation, apropos-macrop):
3858 * emacs-lisp/debug.el (debug-on-entry):
3859 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3860 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3861 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3862
b1364986
AA
38632012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3864
3865 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3866 function, not an obsolete variable (Bug#12046).
3867
67ada220
AS
38682012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3869
3870 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3871
f08088e3
CS
38722012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3873
3874 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3875 window only if it is still live (Bug#12034).
3876
8137e7b3
MR
38772012-07-25 Martin Rudalics <rudalics@gmx.at>
3878
3879 * subr.el (redirect-frame-focus): Add advertised calling
3880 convention (Bug#12030).
3881
09ae5da1
PE
38822012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3883
3884 Prefer typical American spelling for "acknowledgment".
3885 * vc/add-log.el (change-log-acknowledgment): Rename from
3886 change-log-acknowledgement, with an alias for the old name.
3887
3cc5a3a8
JB
38882012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3889
3890 * calc-alg.el (math-simplify-divide): Don't cross multiply
3891 in an equation when the lhs is a variable.
3892
b7af7f62
JD
38932012-07-24 Julien Danjou <julien@danjou.info>
3894
3895 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3896 Remove, unused.
3897
ec1b09b1
EZ
38982012-07-23 Eli Zaretskii <eliz@gnu.org>
3899
3900 * startup.el (command-line): Don't display an empty user name in
3901 the error message about non-existent home directory, when
3902 init-file-user was set to an empty string. See
3903 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3904 for the details and context.
3905
b525fd8a
VB
39062012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3907
3908 * ses.el (ses-cell-formula-aset): New macro.
3909 (ses-cell-references-aset): New macro.
3910 (ses-cell-p): New function.
3911 (ses-rename-cell): Do no longer rely on complex operations like
3912 ses-cell-set-formula or ses-set-cell to change the cell and handle
3913 the undo at the same time, but rather use lower level new macros
3914 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3915 the undo directly. Refresh the mode line.
b525fd8a 3916
2c73e345
LL
39172012-07-21 Leo Liu <sdl.web@gmail.com>
3918
670d85ea
SM
3919 * progmodes/cc-cmds.el (c-defun-name):
3920 Use match-string-no-properties instead for consistency.
2c73e345 3921
542dfbde
LL
39222012-07-20 Leo Liu <sdl.web@gmail.com>
3923
3646bcd6
LL
3924 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3925 (Bug#7879)
3926
542dfbde
LL
3927 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3928
25721031
CY
39292012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3930
3931 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3932 * progmodes/bug-reference.el, misearch.el: Provide themselves
3933 (bug#11915).
3934
3935 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3936 of narrowed buffer (bug#11966).
3937
316e68a7
VB
39382012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3939
3940 * ses.el (ses-rename-cell): Set new name also in reference list of
3941 cells of which the renamed cell depends.
3942
bbf0e7d9
MY
39432012-07-20 Masatake YAMATO <yamato@redhat.com>
3944
3945 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3946 to check whether menu-bar is shown or not. If not shown,
3947 show the menu-bar as a popup menu instead of using tmm.
3948 * mouse.el (popup-menu): Accept `point' as `position' argument.
3949
c28662a8
DG
39502012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3951
3952 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3953 up inside string symbol literal (bug#11923).
3954
87ab808f
EZ
39552012-07-20 Eli Zaretskii <eliz@gnu.org>
3956
3957 * startup.el (fancy-startup-text): Read the whole tutorial, not
3958 just its first 256 bytes. Prevents gibberish in display of the
3959 tutorial title.
3960
89dea803
DA
39612012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3962
3963 Drop idle buffer compaction due to an absence of the
3964 proved efficiency.
3965 * compact.el: Remove.
3966
8a4e6db8
SS
39672012-07-19 Sam Steingold <sds@gnu.org>
3968
3969 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3970 vc-bzr-pull & vc-bzr-merge-branch.
3971 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3972 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3973 for consistency with compilation-error-regexp-alist.
3974 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3975 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3976 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3977 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3978
5db81e33
SM
39792012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * emacs-lisp/chart.el: Use lexical-binding.
3982 (chart-emacs-storage): Don't hardcode the list of entries.
3983
5b835e1d
DA
39842012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3985
3986 Next round of tweaks caused by Fgarbage_collect changes.
3987 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3988
9cd47b72
DA
39892012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3990
3991 Compact buffers when idle.
3992 * compact.el: New file.
3993
1d6fc0df
SM
39942012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * subr.el (eventp): Presume that if it looks vaguely like an event,
3997 it's an event (bug#10190).
3998
1d29cc7d
FEG
39992012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4000
4001 Enhancements to ppss related code (thanks Stefan).
4002 * progmodes/python.el (python-indent-context)
4003 (python-indent-calculate-indentation, python-indent-dedent-line)
4004 (python-indent-electric-colon, python-nav-forward-block)
4005 (python-mode-abbrev-table)
1d6fc0df 4006 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4007 for ppss context.
4008 (python-info-continuation-line-p): Cleanup.
4009 (python-info-ppss-context): Do not catch 'quote.
4010 (python-info-ppss-context-type)
4011 (python-info-ppss-comment-or-string-p): Simplify.
4012
d583cbe6
FEG
40132012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4014
4015 * progmodes/python.el: Enhancements to eldoc support.
4016 (python-info-current-symbol): New function.
4017 (python-eldoc-at-point): Use python-info-current-symbol.
4018 (python-info-current-defun): Fix cornercase on first defun scan.
4019 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4020 and signal error when no inferior python process is available.
4021
eceb6feb
DG
40222012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4023
4024 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4025 assume it's always t.
4026 (vc-git-registered): Remove caching, the function is only called
4027 once.
4028 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4029
4c8ff0fe
CY
40302012-07-18 Chong Yidong <cyd@gnu.org>
4031
19fb7186
CY
4032 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4033
9587c688
CY
4034 * simple.el (count-words): Report on narrowing (Bug#9959).
4035
0fe776a1
CY
4036 * bindings.el: Bind M-= to count-words.
4037
4c8ff0fe
CY
4038 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4039
7f5331cc
MY
40402012-07-18 Masatake YAMATO <yamato@redhat.com>
4041
4042 * progmodes/sh-script.el (sh-imenu-generic-expression):
4043 Capture a function with `function' keyword and without parentheses
4044 like "function FOO" (bug#11856).
4045
2dc2a609
TH
40462012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4047
4048 * window.el (split-window-sensibly): Make WINDOW argument
4049 optional.
4050
439f7677
CY
40512012-07-18 Chong Yidong <cyd@gnu.org>
4052
9aeb25a6
CY
4053 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4054
439f7677
CY
4055 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4056 and make C-x 8 RET exit isearch (Bug#11439).
4057
4058 * international/iso-transl.el: Move isearch-mode-map key
4059 definitions to isearch.el.
4060
12999ea8
SM
40612012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4064 (eieio-defclass): Use gv-define-setter when possible.
4065
3ab6e069
DA
40662012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4067
4068 Reflect recent changes in Fgarbage_collect.
4069 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4070 reflect new format of data returned by Fgarbage_collect.
4071
0a60bc10
FEG
40722012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4073
4074 New utility functions + python-info-ppss-context fix (Bug#11910).
4075 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4076 (python-info-ppss-comment-or-string-p): New functions.
4077 (python-info-ppss-context): Small fix for string check.
4078
6dafa0d5
JL
40792012-07-17 Juri Linkov <juri@jurta.org>
4080
4081 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4082 (dired-do-async-shell-command): Don't add `*' at the end of the
4083 command (Bug#11815).
4084 (dired-do-shell-command): Doc fix.
4085 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4086 Join the individual commands using either "&" or ";" as the
4087 separator depending on the values of these trailing characters.
4088 At the end re-add the trailing "&". (Bug#10598)
4089
4090 * simple.el (async-shell-command): Sync the interactive spec with
4091 `shell-command'. Doc fix.
4092 (shell-command): Doc fix.
4093
b19dd9d1
JL
40942012-07-17 Juri Linkov <juri@jurta.org>
4095
4096 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4097
bcdc27d7 40982012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4099
bcdc27d7 4100 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4101 * progmodes/python.el (python-nav-beginning-of-statement):
4102 Rename from python-nav-statement-start.
bcdc27d7
FEG
4103 (python-nav-end-of-statement): Rename from
4104 python-nav-statement-end.
4105 (python-nav-beginning-of-block): Rename from
4106 python-nav-block-start.
4107 (python-nav-end-of-block): Rename from python-nav-block-end.
4108
191da00e
FEG
41092012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4110
7f5331cc
MY
4111 * progmodes/python.el (python-shell-send-string-no-output):
4112 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4113 future interactions (Bug#11868).
4114
4dc7c8d5 41152012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4116
88ecaf8f
SM
4117 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4118
ef501ef0
SM
4119 * emacs-lisp/elint.el (elint-find-args-in-code):
4120 Use help-function-arglist, so as to handle lexical byte-code.
4121
aa7aaf8f
SM
4122 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4123 change (bug#11826).
4124
45fd731c
SM
41252012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4126
2143fa32
SM
4127 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4128 Avoid spuriously marking the buffer as modified because of c-is-sws.
4129
efc26dbe
SM
4130 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4131 as not-a-comment (bug#11946).
4132
f5695c9a
SM
4133 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4134 for uninterned vars.
4135
4136 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4137 Use read-event since we don't really want to read chars but bytes.
4138
45fd731c
SM
4139 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4140 $$..$$ but also $..$ using regexps (bug#11953).
4141 Use tex-verbatim for \url and \path.
4142 (tex-font-lock-keywords): Define as defconst like the others.
4143 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4144
ddfc8813
RK
41452012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4146
4147 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4148 alias for insert-char.
4149
758e556a
FEG
41502012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4151
4152 * progmodes/python.el: Simplified imenu implementation.
4153 (python-nav-jump-to-defun): Remove command.
4154 (python-mode-map): Use `imenu' instead.
4155 (python-nav-list-defun-positions-cache)
4156 (python-imenu-include-defun-type, python-imenu-make-tree)
4157 (python-imenu-subtree-root-label, python-imenu-index-alist):
4158 Remove vars.
4159 (python-nav-list-defun-positions, python-nav-read-defun)
4160 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4161 (python-imenu-make-tree, python-imenu-create-index):
4162 Remove functions.
758e556a
FEG
4163 (python-mode): Update to interact with imenu by setting
4164 `imenu-extract-index-name-function' only.
4165
032d23ab
FEG
41662012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4167
4168 * progmodes/python.el: Enhancements to navigation commands.
4169 (python-nav-backward-sentence)
4170 (python-nav-forward-sentence): Remove.
4171 (python-nav-backward-statement, python-nav-forward-statement)
4172 (python-nav-statement-start, python-nav-statement-end)
4173 (python-nav-backward-block, python-nav-forward-block)
4174 (python-nav-block-start, python-nav-block-end)
4175 (python-nav-forward-sexp-function)
4176 (python-info-current-line-comment-p)
4177 (python-info-current-line-empty-p): New functions.
4178 (python-indent-context): Use `python-nav-statement-start'.
4179
01795a1b
MA
41802012-07-16 Michael Albinus <michael.albinus@gmx.de>
4181
9328d9aa
MA
4182 * eshell/em-ls.el (eshell/ls): Use `apply'.
4183
4184 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4185 multi-hops, instead of Tramp internals.
4186
01795a1b
MA
4187 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4188
4189 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4190 when F1 and F2 are located on different hosts.
4191
63408057
CY
41922012-07-14 Chong Yidong <cyd@gnu.org>
4193
4194 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4195 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4196 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4197 (xterm-mouse--read-event-sequence-1000)
4198 (xterm-mouse--read-event-sequence-1006): New functions. For old
4199 mouse protocol, handle M-mouse-X events correctly.
4200 (xterm-mouse-event): New arg specifying mouse protocol.
4201 (turn-on-xterm-mouse-tracking-on-terminal)
4202 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4203 sequence to toggle extended coordinates on newer XTerms.
4204 This appears to be harmless on terminals which do not support this.
63408057 4205
cd276f6e
LL
42062012-07-14 Leo Liu <sdl.web@gmail.com>
4207
28ca98ac
LL
4208 Add fringe bitmap indicators for flymake. (Bug#11253)
4209 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4210 (flymake-make-overlay): New arg BITMAP.
4211 (flymake-error-bitmap, flymake-warning-bitmap)
4212 (flymake-fringe-indicator-position): New user variables.
4213
cd276f6e
LL
4214 * fringe.el: New bitmap exclamation-mark.
4215
04408072
JD
42162012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4217
4218 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4219 also (Bug#7879).
4220
b5cf7fc4
CY
42212012-07-14 Chong Yidong <cyd@gnu.org>
4222
4223 * electric.el (electric-pair-post-self-insert-function): Fix pair
4224 insertion in empty-region case (Bug#11520).
4225
be755c79
RT
42262012-07-14 Chong Yidong <cyd@gnu.org>
4227
45fd731c
SM
4228 * bindings.el: Consolidate ctl-x-r-map bindings.
4229 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4230
4231 * rect.el, register.el: Move bindings to bindings.el.
4232
42332012-07-14 Reuben Thomas <rrt@sc3d.org>
4234
4235 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4236
7f5b3198
AS
42372012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4238
4239 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4240
97662200
JB
42412012-07-13 Juanma Barranquero <lekktu@gmail.com>
4242
80185fed
JB
4243 * bindings.el (top): Use `mapc' instead of `mapcar'.
4244
97662200
JB
4245 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4246
2bb1ae55
MA
42472012-07-13 Michael Albinus <michael.albinus@gmx.de>
4248
4249 * progmodes/sql.el (sql-comint): Suppress the check for program on
4250 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4251 (Bug#11908)
4252
dea31bd3
CY
42532012-07-13 Chong Yidong <cyd@gnu.org>
4254
4255 * bindings.el: Assign a non-nil permanent-local property to
4256 per-buffer variables which lack a default value (Bug#11930).
4257
4258 * help-fns.el (describe-variable): In the "automatically becomes
4259 local" notice, take note of permanent-local variables.
4260
b68b3337
CY
42612012-07-13 Chong Yidong <cyd@gnu.org>
4262
4263 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4264 to allow printing the message when called from Lisp.
4265
4266 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4267 Remove toggle-read-only.
4268
4269 * bs.el (bs-toggle-readonly):
45fd731c
SM
4270 * buff-menu.el (Buffer-menu-toggle-read-only):
4271 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4272
4273 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4274 Remove with-no-warnings around toggle-read-only.
4275 (ffap-read-only, ffap-read-only-other-window)
4276 (ffap-read-only-other-frame): Callers changed.
4277
4278 * help-mode.el: Don't require view package.
4279 (help-mode-finish): Set buffer-read-only instead of calling
4280 toggle-read-only.
4281
4282 * bindings.el (mode-line-toggle-read-only):
4283 * dired.el (dired-toggle-read-only):
4284 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4285 with non-nil second arg.
4286
4287 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4288 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4289 directly.
4290
56bc1586
EZ
42912012-07-12 Eli Zaretskii <eliz@gnu.org>
4292
4293 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4294 not incf.
4295
a464a6c7
SM
42962012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4297
4298 More CL cleanups and reduction of use of cl.el.
4299 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4300 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4301 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4302 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4303 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4304 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4305 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4306 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4307 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4308 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4309 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4310 * eshell/em-cmpl.el, eshell/em-banner.el:
4311 * calendar/parse-time.el: Use cl-lib.
4312 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4313 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4314 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4315 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4316 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4317 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4318 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4319 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4320 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4321 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4322 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4323 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4324 `lambda' rather than with `quote'.
4325 (eshell-do-opt): Adjust accordingly.
4326 (eshell-process-option): Simplify.
4327 * eshell/esh-var.el:
4328 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4329 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4330 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4331 to `pcase--dontcare'.
4332 * emacs-lisp/cl.el (labels): Mark obsolete.
4333 (cl--letf, letf): Move to cl-lib.
4334 (cl--letf*, letf*): Remove.
4335 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4336 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4337 (cl-progv): Rewrite.
4338 (cl--letf, cl-letf): Move from cl.el.
4339 (cl-letf*): New macro.
4340 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4341
7ad4afe1
MA
43422012-07-11 Michael Albinus <michael.albinus@gmx.de>
4343
4344 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4345
9af57756
CY
43462012-07-11 Chong Yidong <cyd@gnu.org>
4347
4348 * vc/log-edit.el (log-edit-vc-backend): New variable.
4349 (log-edit): Doc fix.
4350
4351 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4352 argument of log-edit to set up all local variables.
4353 (vc-start-logentry): New optional arg specifying VC backend.
4354
4355 * vc/vc.el (vc-checkin): Use it.
4356 (vc-deduce-fileset): Handle Log Edit buffers.
4357 (vc-diff): Make first argument optional too.
4358
4359 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4360
8477cc7a
MA
43612012-07-10 Michael Albinus <michael.albinus@gmx.de>
4362
4363 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4364 command, just in case. The function is not needed anymore.
4365 (eshell-external-command): Do not call `eshell-remote-command'.
4366
19faa8e8
SM
43672012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4368
f58e0fd5
SM
4369 Reduce use of (require 'cl).
4370 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4371 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4372 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4373 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4374 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4375 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4376 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4377 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4378 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4379 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4380 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4381 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4382 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4383 (byte-compile-unfold-bcf, byte-compile-check-variable):
4384 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4385 (byte-compile-nilconstp):
4386 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4387 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4388
2519d43a
SM
4389 * emacs-lisp/gv.el (cond): Make it a valid place.
4390 (if): Simplify slightly.
4391
19faa8e8
SM
4392 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4393 (pcase--self-quoting-p): New function.
4394 (pcase--u1): Use it.
4395
c4907a5e
GM
43962012-07-10 Glenn Morris <rgm@gnu.org>
4397
4398 * emacs-lisp/authors.el (authors-fixed-entries):
4399 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4400
c4444d16
PE
44012012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4402
4403 Rename configure.in to configure.ac (Bug#11603).
4404 * emacs-lisp/authors.el (authors-canonical-file-name):
4405 * progmodes/autoconf.el (autoconf-mode):
4406 Prefer configure.ac to configure.in.
4407
d75be97d
CY
44082012-07-08 Chong Yidong <cyd@gnu.org>
4409
01ac65bd
CY
4410 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4411 Implement the mouse-1-click-follows-link handling properly.
4412
4413 * info.el (Info-link-keymap): Use follow-link mechanism for
4414 header-line links (Bug#374).
4415
d75be97d
CY
4416 * simple.el (deactivate-mark): Do not set the primary selection
4417 if another program has acquired it (Bug#11772).
4418
87a92845 44192012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4420
4421 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4422 (woman-decode-region): Replace escaped-escapes without destroying
4423 bold or underline (Bug#11552).
87a92845 4424 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4425
621b9d6c
CY
44262012-07-07 Chong Yidong <cyd@gnu.org>
4427
4428 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4429 (interprogram-cut-function, interprogram-paste-function):
4430 Mention that we typically mean the clipboard.
621b9d6c 4431
133a11fc
GM
44322012-07-06 Glenn Morris <rgm@gnu.org>
4433
0d27a45e
GM
4434 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4435
133a11fc
GM
4436 * files.el (toggle-read-only): Restrict message to interactive use.
4437
07b151f1
MA
44382012-07-06 Michael Albinus <michael.albinus@gmx.de>
4439
4440 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4441
4442 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4443
211b896b
GM
44442012-07-06 Glenn Morris <rgm@gnu.org>
4445
50394322
GM
4446 * Makefile.in (compile-one-process): Rename from "recompile".
4447
211b896b
GM
4448 * Makefile.in (bzr-update): "compile" is the same as "recompile
4449 autoloads", but parallelizable, so use that instead.
4450
4737eec9
DG
44512012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4452
4453 * window.el (quit-window): Always restore window height when
8137e7b3 4454 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4455
226c3633 44562012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4457
4458 * simple.el (kill-whole-line): Doc tweak.
4459
226c3633 44602012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4461
4462 * files.el (file-relative-name): Compare file names
4463 case-insensitively if on MS-Windows or MS-DOS, or if
4464 read-file-name-completion-ignore-case is non-nil. Don't use
4465 case-fold-search for this purpose. (Bug#11827)
4466
4dc7c8d5
SM
44672012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4468
4469 * calendar/cal-dst.el (calendar-current-time-zone):
4470 Return calendar-current-time-zone-cache if non-nil.
4471
44722012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 44732012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4474
19faa8e8
SM
4475 * calendar/cal-dst.el (calendar-current-time-zone):
4476 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4477
60198fc9
GM
44782012-07-06 Glenn Morris <rgm@gnu.org>
4479
4480 * Makefile.in (cvs-update): Remove old alias.
4481
957b3189
MA
44822012-07-05 Michael Albinus <michael.albinus@gmx.de>
4483
4484 Sync with Tramp 2.2.6-pre.
4485
4486 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4487 compatible declaration.
4488
19faa8e8
SM
4489 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4490 Protect `list-load-path-shadows' call.
957b3189
MA
4491
4492 * net/tramp-compat.el (top): Require packages, which aren't
4493 autoloaded anymore for XEmacs. Protect call of
4494 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4495 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4496 it hurts at least for SXEmacs.
4497 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4498 standard-value for `temporary-file-directory'.
4499
4500 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4501 Redirect stderr to /dev/null.
4502 (tramp-sh-handle-write-region): uid and gid can be floats.
4503 Reported by Russell Sim <russell.sim@gmail.com>.
4504 (tramp-sh-handle-vc-registered): Hide errors.
4505 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4506 and `start-file-process'.
4507 (tramp-maybe-open-connection): Check also whether `non-essential'
4508 is bound.
4509
566df3fc
CY
45102012-07-04 Chong Yidong <cyd@gnu.org>
4511
4512 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4513 (xml-parse-tag): Likewise, and avoid changing entity tables.
4514 (xml-syntax-table): Define from scratch, making sure not to give
4515 x2000 and other Unicode spaces whitespace syntax, since those are
4516 not spaces in XML.
4517 (xml-parse-fragment): Delete unused function.
4518 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4519 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4520 (xml-entity-ref, xml-pe-reference-re)
4521 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4522 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4523 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4524 (xml-entity-value-re): Use syntax references in regexps where
4525 possible; no need to define inside a let-binding.
4526 (xml-parse-dtd): Use xml-pe-reference-re.
4527 (xml-entity-or-char-ref-re): New defconst.
4528 (xml-parse-string, xml-substitute-special): Use it.
4529
30eabd7a
SM
45302012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4531
0781098a
SM
4532 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4533 (find-file--read-only): New function.
4534 (find-file-read-only, find-file-read-only-other-window)
4535 (find-file-read-only-other-frame): Use it.
4536 (insert-file-contents-literally): Don't `fset'.
4537 (get-free-disk-space): Use locate-dominating-file.
4538
b5771c0d
SM
4539 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4540 function is already compiled.
4541
30eabd7a
SM
4542 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4543
b4886f6e
MA
45442012-07-03 Michael Albinus <michael.albinus@gmx.de>
4545
4546 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4547 files on the same host.
4548
b9d82339
AS
45492012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4550
4551 * help-fns.el (describe-function-1): Only call
4552 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4553
a76e6535
CY
45542012-07-03 Chong Yidong <cyd@gnu.org>
4555
4556 * xml.el: Protect parser against XML bombs.
4557 (xml-entity-expansion-limit): New variable.
4558 (xml-parse-string, xml-substitute-special): Use it.
4559 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4560
b544fef2
GM
45612012-07-03 Glenn Morris <rgm@gnu.org>
4562
4563 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4564 Allow linking to specific messages in debbugs reports (eg 123#5).
4565
a7aef6f5
CY
45662012-07-02 Chong Yidong <cyd@gnu.org>
4567
4568 * xml.el: Fix entity and character reference expansion, allowing
4569 them to expand into markup as per XML spec.
4570 (xml-default-ns): New variable.
4571 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4572 (xml-parse-region): Make first two arguments optional.
4573 Discard text properties.
4574 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4575 All callers changed.
a7aef6f5
CY
4576 (xml-parse-tag): Call xml-parse-tag-1. For backward
4577 compatibility, this function should not modify buffer contents.
4578 (xml-parse-tag-1): Fix opening-tag regexp.
4579 (xml-parse-string): Rewrite, handling entity and character
4580 references properly.
4581 (xml--entity-replacement-text): Signal an error if a parameter
4582 entity is undefined.
4583
3df31c9f
SM
45842012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4585
2b5208f1
SM
4586 * comint.el (comint-output-filter): Filter out repeated prompts.
4587
3df31c9f
SM
4588 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4589 and file-name-absolute-p.
4590 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4591 internal calls.
4592
e3ac1281
PE
45932012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4594
4595 Spelling fixes.
4596 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4597 Rename from byte-compile--refiy-function. All uses changed.
4598
fbf2e7ad
CY
45992012-07-01 Chong Yidong <cyd@gnu.org>
4600
4601 * xml.el (xml--parse-buffer): New function. Move most of
4602 xml-parse-region here.
4603 (xml-parse-region): Copy region into a temporary buffer, since
4604 parameter entity substitution requires changing buffer contents.
4605 Use xml--parse-buffer.
4606 (xml-parse-file): Use xml--parse-buffer.
4607 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4608 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4609
9bf0aa15
GM
46102012-06-30 Glenn Morris <rgm@gnu.org>
4611
bbce2853
GM
4612 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4613
9bf0aa15
GM
4614 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4615 Remove outdated and unnecessary dbus declarations.
4616
0d23c240
EZ
46172012-06-30 Eli Zaretskii <eliz@gnu.org>
4618
4619 * emacs-lisp/timer.el (timer-until): Subtract results of
4620 float-time, instead of taking float-time of the result of
4621 time-subtract, since float-time signals an error for negative time
4622 arguments.
4623
b3218de1
CY
46242012-06-30 Chong Yidong <cyd@gnu.org>
4625
4626 * xml.el (xml-*-re): Convert defvars into defconsts, and
4627 eval-and-compile them so eval-and-compile works on derivatives.
4628 (xml--entity-replacement-text): Use eval-and-comple.
4629
a40c87a0
MA
46302012-06-30 Michael Albinus <michael.albinus@gmx.de>
4631
4632 * vc/vc-git.el (vc-git-registered): Use cache property
4633 `git-registered'.
4634 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4635 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4636 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4637
ac87de97
DG
46382012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4639
4640 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4641 removed (likely outside Emacs). (Bug#11757)
ac87de97 4642
ac10fe06
SM
46432012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4644
3df31c9f 4645 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4646
7f3fbd5d
CY
46472012-06-30 Chong Yidong <cyd@gnu.org>
4648
4649 * xml.el: Implement XML parameter entities.
4650 (xml-parameter-entity-alist): New variable.
4651 (xml-parse-region, xml-parse-fragment): Preserve previous values
4652 of xml-entity-alist and xml-parameter-entity-alist, so that
4653 repeated calls on different documents do not change them.
4654 (xml-parse-tag): Fix doctype regexp.
4655 (xml--entity-replacement-text): New function.
4656 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4657 properly requires url retrieval which is unimplemented.
4658 (xml-escape-string): Doc fix.
4659
3cfbebba
SM
46602012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4661
4662 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4663
2af3565e
DA
46642012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4665
4666 * fringe.el (fringe-mode): Doc fix.
4667
929df0e7
MA
46682012-06-29 Michael Albinus <michael.albinus@gmx.de>
4669
4670 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4671 is non-nil.
4672 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4673 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4674
c8d3a25c 46752012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4676
c8d3a25c
GM
4677 * calendar/cal-dst.el (calendar-current-time-zone):
4678 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4679
c8d3a25c 46802012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4681
4682 * progmodes/which-func.el (which-func-format):
4683 Add mouse-face. (Bug#11698)
4684
c8d3a25c
GM
46852012-06-29 Leo Liu <sdl.web@gmail.com>
4686
4687 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4688
46892012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 * minibuffer.el (minibuffer-confirm-exit-commands):
4692 Add completion-at-point (bug#11725).
4693
46942012-06-29 Glenn Morris <rgm@gnu.org>
4695
4696 * progmodes/f90.el (f90-font-lock-keywords-2):
4697 Add some preprocessor elements. (Bug#10499)
4698
46992012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4700
4701 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4702 Use syntax-propertize (bug#11739).
4703
2badeec4
JB
47042012-06-28 Juanma Barranquero <lekktu@gmail.com>
4705
4706 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4707
ae4969c2
JD
47082012-06-28 Julien Danjou <julien@danjou.info>
4709
4710 * term.el (term-handle-colors-array): Use a set of new faces to
4711 color the terminal. Also uses :inverse-video property.
4712 (term-default-fg-color): Set to nil by default, deprecate in favor
4713 of `term-face'.
4714 (term-default-bg-color): Set to nil by default, deprecate in favor
4715 of `term-face'.
4716 (term-current-face): Use `term-face' by default.
4717 (term-bold-attribute): Variable deleted.
4718
1c9bd870
GM
47192012-06-28 Glenn Morris <rgm@gnu.org>
4720
4721 * simple.el (completion-list-mode-finish):
4722 Don't use toggle-read-only. (Since completion-list-mode has
4723 a special mode-class, it wasn't doing anything extra anyway.)
4724
c207708c
SM
47252012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4726
4727 Make inlining of other-mode interpreted functions work (bug#11799).
4728 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4729 (byte-compile): Use it to fix compilation of lexical-binding closures.
4730 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4731 function, if needed.
4732
3fd56834
SM
47332012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4734
04901786
SM
4735 * help-mode.el (help-make-xrefs): Don't just withstand
4736 cyclic-variable-indirection but any error in documentation-property.
4737
1ec4b7b2
SM
4738 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4739 memory use.
4740 * bindings.el (bindings--define-key): New function.
4741 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4742 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4743 * bindings.el: Use it to purecopy define-key bindings.
4744
e309e2a5
SM
4745 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4746
d5c6faf9
SM
4747 * emacs-lisp/cl.el (flet): Mark obsolete.
4748 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4749 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4750 * progmodes/js.el (js-c-fill-paragraph):
4751 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4752 (ebrowse-switch-member-buffer-to-derived-class):
4753 * play/5x5.el (5x5-solver): Use cl-flet.
4754
6e9590e2
SM
4755 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4756 (cl--symbol-function): New macro.
4757 (cl--letf, cl--letf*): Use it.
4758
3fd56834
SM
4759 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4760 Strip "toggle-" if any.
4761
35ff222c
GM
47622012-06-27 Glenn Morris <rgm@gnu.org>
4763
1ba6038a
GM
4764 * info.el (Info-default-directory-list): Move here from paths.el.
4765 * paths.el: Remove file, which is now empty.
4766 * loadup.el: No longer load "paths".
4767
0ea0e51b
GM
4768 * custom.el (custom-initialize-delay): Doc fix.
4769
35ff222c
GM
4770 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4771 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4772 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4773 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4774 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4775 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4776 * eshell/eshell.el (eshell-defgroup): Remove alias.
4777
c89926a5
CY
47782012-06-27 Chong Yidong <cyd@gnu.org>
4779
4780 * help.el (help-enable-auto-load): New variable.
4781
4782 * help-fns.el (help-fns--autoloaded-p): New function.
4783 (describe-function-1): Refer to a function as "autoloaded" if it
4784 was autoloaded at any time in the past. Perform autoloading if
4785 help-enable-auto-load is non-nil.
4786
cc06e7e7
EZ
47872012-06-26 Eli Zaretskii <eliz@gnu.org>
4788
4789 * makefile.w32-in (compile, compile-always): Depend on
4790 update-subdirs, not on subdirs.el. Otherwise, several different
4791 sub-targets of 'bootstrap' running in parallel could
4792 simultaneously write to subdirs.el, producing a garbled file.
4793
d2c32364
SS
47942012-06-26 Sam Steingold <sds@gnu.org>
4795
4796 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4797 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4798 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4799 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4800 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4801 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4802 * textmodes/tex-mode.el: Use it.
4803 Did not touch cedet and org because they are maintained elsewhere.
4804
5cf983b2
MR
48052012-06-26 Martin Rudalics <rudalics@gmx.at>
4806
4807 * calendar/calendar.el (calendar-exit): Don't try to delete or
4808 iconify last frame. See:
4809 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4810
8c4f2952
JD
48112012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4812
4813 * server.el (server-process-filter): Remember dir in the
4814 process's `server-client-directory' properties.
4815
772b2e2c
CY
48162012-06-24 Chong Yidong <cyd@gnu.org>
4817
4818 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4819 non-tag text.
4820
711b11e1
JB
48212012-06-23 Juanma Barranquero <lekktu@gmail.com>
4822
4823 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4824
dc5d230c
SM
48252012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4826
4827 * help-fns.el (describe-variable): Don't croak when doc is not found.
4828 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4829 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4830 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4831 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4832 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4833 ((lambda ..) ..).
4834 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4835
136e1c1d
CY
48362012-06-23 Chong Yidong <cyd@gnu.org>
4837
e8c1cabf
CY
4838 * info.el (Info-mouse-follow-link): Accept symbol values of
4839 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4840 (Info-fontify-node): Use Info-link-keymap for all navigation
4841 buttons, with link-args property to perform the desired action.
4842 (Info-link-keymap): Doc fix.
4843 (Info-next-link-keymap, Info-prev-link-keymap)
4844 (Info-up-link-keymap): Delete now-unused keymaps.
4845
0e9e6c6a
CY
48462012-06-23 Chong Yidong <cyd@gnu.org>
4847
05e89fea
CY
4848 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4849
0e9e6c6a
CY
4850 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4851 system abbrevs.
4852
4853 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4854
e33c6771
SM
48552012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4856
b68581e2
SM
4857 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4858 (bug#11719).
4859
e33c6771
SM
4860 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4861 the requote function doesn't work properly (bug#11714).
4862
7117e105
GM
48632012-06-23 Glenn Morris <rgm@gnu.org>
4864
4865 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4866
36cec983
SM
48672012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 Further GV/CL cleanups.
4870 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4871 gv-expander.
4872 (gv--defun-declaration): New function.
4873 (defun-declarations-alist): Use it.
4874 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4875 (gv-place): Autoload.
4876 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4877 original definition of dotimes and dolist.
4878 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4879 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4880 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4881 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4882 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4883 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4884 to the function's definition.
4885 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4886 * window.el:
4887 * files.el:
4888 * faces.el:
4889 * env.el: Don't use CL.
4890
d35af63c
PE
48912012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4892
4893 Support higher-resolution time stamps (Bug#9000).
4894
4895 * calendar/time-date.el (with-decoded-time-value): New arg
4896 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4897 (encode-time-value): New optional arg PICO. New type 3.
4898 (time-to-seconds) [!float-time]: Support the new picoseconds
4899 component if it's used.
4900 (seconds-to-time, time-subtract, time-add):
4901 Support ps-resolution time stamps as well.
4902
4903 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4904 (timerp): Timer vectors now have length 9, not 8.
4905 (timer--time): Support new-style (4-part) time stamps.
4906 (timer-next-integral-multiple-of-time): Time stamps now have
4907 picosecond resolution, so take a bit more care about rounding.
4908 (timer-relative-time, timer-inc-time): New optional arg psecs.
4909 (timer-set-time-with-usecs): Set psecs to 0.
4910 (timer--activate): Check psecs component, too.
4911
4912 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4913
ac77b21a
SM
49142012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4915
f143bfe3
SM
4916 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4917 Move the non-essential binding to the post/pre-command-hook where it is
4918 more obviously correct.
4919
ac77b21a
SM
4920 * subr.el (read-passwd): Don't use a history at all.
4921 * savehist.el (savehist-save): Remove password saved accidentally
4922 because of the above bug.
4923
76386c5a
BG
49242012-06-22 Bastien Guerry <bzg@gnu.org>
4925
4926 * files.el (toggle-read-only): Display a message telling whether
4927 the buffer is read-only or not (bug#11726).
4928
2ee3d7f0
SM
49292012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4930
4931 * emacs-lisp/gv.el: New file.
4932 * subr.el (push, pop): Extend to generalized variables.
4933 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4934 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4935 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4936 gv-define-simple-setter, and gv-define-expander.
4937 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4938 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4939 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4940 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4941 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4942 gv-letplace.
4943 (cl-defstruct): Don't define setf-method any more.
4944 * emacs-lisp/cl.el (flet): Don't autoload.
4945 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4946 (define-setf-expander, defsetf, define-modify-macro)
4947 (cl-struct-setf-expander): Move from cl-lib.el.
4948 * emacs-lisp/syntax.el:
4949 * emacs-lisp/ewoc.el:
4950 * emacs-lisp/smie.el:
4951 * emacs-lisp/cconv.el:
4952 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4953 (timer--time): Use gv-define-simple-setter.
4954 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4955 to avoid coding-system problems in subr.el. Adjust all users.
4956 (macroexp--maxsize, macroexp-small-p): New functions.
4957 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4958 * scroll-bar.el (scroll-bar-mode):
4959 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4960 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4961 * winner.el (winner-configuration, winner-make-point-alist)
4962 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4963 * files.el (locate-file-completion-table): Avoid list*.
4964
c5695d1d
CY
49652012-06-22 Chong Yidong <cyd@gnu.org>
4966
4967 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4968 (dired-create-files): Doc fix (Bug#11329).
4969 (dired-do-copy): Doc fix (Bug#11334).
4970 (dired-mark-read-string): Doc fix (Bug#11553).
4971
2ee3d7f0
SM
4972 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4973 Doc fix (Bug#11326).
c5695d1d
CY
4974 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4975 (dired-dwim-target): Doc fix.
4976
4977 * wdired.el (wdired-mode): Doc fix.
4978
89b5595a
GM
49792012-06-22 Glenn Morris <rgm@gnu.org>
4980
575db3f1
GM
4981 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4982 (pcmpl-rpm-cache-stamp-file): New constant.
4983 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4984 (pcmpl-rpm-packages): Optionally cache list of packages.
4985
a4c8dd51
GM
4986 * pcmpl-rpm.el (pcmpl-rpm): New group.
4987 (pcmpl-rpm-query-options): New option.
4988 (pcmpl-rpm-packages): No need to inline it.
4989 Use pcmpl-rpm-query-options.
4990
89b5595a
GM
4991 * calendar/calendar.el (calendar-in-read-only-buffer):
4992 Avoid some needless mode changes.
4993
e76f0800
CY
49942012-06-21 Chong Yidong <cyd@gnu.org>
4995
4996 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4997 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4998 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4999
297a8f1d
CY
50002012-06-20 Chong Yidong <cyd@gnu.org>
5001
5002 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5003
d34c18b1
DR
50042012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5005
5006 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5007 (bug#11201).
5008
32f7f28e
CY
50092012-06-20 Chong Yidong <cyd@gnu.org>
5010
5011 * term.el (term-window-width): Handle the case of a missing right
5012 fringe (Bug#8837).
5013 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5014 (term-mode): Use define-derived-mode. Minor cleanups.
5015 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5016 (term-move-columns, term-insert-char, term-emulate-terminal)
5017 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5018
493c6688
MA
50192012-06-20 Michael Albinus <michael.albinus@gmx.de>
5020
d34c18b1
DR
5021 * net/ange-ftp.el (ange-ftp-get-passwd):
5022 Bind `enable-recursive-minibuffers'.
493c6688
MA
5023 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5024
3f06ecf4
DR
50252012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5026
5027 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5028
68f12411
GM
50292012-06-19 Glenn Morris <rgm@gnu.org>
5030
5031 * progmodes/python.el (python-mode): Derive from prog-mode.
5032
b3820318
KG
50332012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5034
5035 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5036 (edt-user-menu-bar-update-buffers): New functions.
5037 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5038
c6bf3022
CY
50392012-06-19 Chong Yidong <cyd@gnu.org>
5040
5041 * subr.el (with-selected-window): Preserve the selected window's
5042 terminal's top-frame (Bug#4702).
5043
5044 * window.el (save-selected-window): Likewise.
5045
25f09295
SM
50462012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * progmodes/python.el (python-rx-constituents): Move backquote.
5049 (python-skeleton-define, python-define-auxiliary-skeleton):
5050 Use `declare'.
5051
6b11952a
MA
50522012-06-18 Michael Albinus <michael.albinus@gmx.de>
5053
5054 * minibuffer.el (read-file-name-default): Revert the patch from
5055 2012-06-17.
5056
ee4b1330
SM
50572012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5060 (pcase--u1, pcase--q1): Don't use apply-partially.
5061
35647f79
GM
50622012-06-18 Glenn Morris <rgm@gnu.org>
5063
5064 * progmodes/python.el (python-proc, python-buffer)
5065 (python-send-receive, python-send-string): Fix obsolete versions.
5066
24b0cff0
MR
50672012-06-18 Martin Rudalics <rudalics@gmx.at>
5068
5069 * window.el (special-display-p): Completely remove stringp
5070 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5071
29855149
MA
50722012-06-17 Michael Albinus <michael.albinus@gmx.de>
5073
5074 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5075
5076 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5077
5078 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5079 * net/tramp-sh.el (tramp-maybe-open-connection):
5080 Throw if `non-essential' is non-nil.
5081
07463363
MR
50822012-06-17 Martin Rudalics <rudalics@gmx.at>
5083
5084 * window.el (special-display-p): Signal an error if BUFFER-NAME
5085 is not a string (Bug#11713).
5086
48d1354e
PE
50872012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5088
5089 * progmodes/python.el (python-info-beginning-of-backslash):
5090 Rename from python-info-beginning-of-backlash, as a spelling fix.
5091
eb4a8a9a
CY
50922012-06-17 Chong Yidong <cyd@gnu.org>
5093
5094 * term.el (term-emulate-terminal): If term-check-size is called,
5095 move point to the process mark without resetting point (Bug#4635).
5096
ddfbf826 50972012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5098
5099 * international/mule-cmds.el (mule-menu-keymap)
5100 (set-language-environment, set-locale-environment): Doc tweaks.
5101
9b0e3eba
AA
51022012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5103
5104 * cus-face.el (custom-face-attributes): Add wave-style underline
5105 attribute.
5106 * faces.el (set-face-attribute): Update docstring to describe
5107 wave-style underline attribute.
5108
771e3eae
CY
51092012-06-16 Chong Yidong <cyd@gnu.org>
5110
5111 * term/xterm.el (terminal-init-xterm): Discard input before
5112 querying background mode (Bug#10959).
5113
7ae2ea10
SM
51142012-06-16 Stefan Merten <smerten@oekonux.de>
5115
5116 * textmodes/rst.el: Added and corrected some comments.
5117 (rst-re-alist-def): Improve symbol syntax.
5118 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5119 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5120 (rst-official-version, rst-official-cvs-rev): Update version
5121 information.
7ae2ea10 5122
b6974efa
JB
51232012-06-15 Juanma Barranquero <lekktu@gmail.com>
5124
5125 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5126 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5127
8826d473
GM
51282012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5129
5130 * progmodes/python.el: New python.el merge.
5131 (python-guess-indent): Obsolete var.
5132 (python-indent-guess-indent-offset): New defcustom.
5133 (python-indent): Obsolete var.
5134 (python-indent-offset): New defcustom.
5135 (python-python-command, python-jython-command): Delete var.
5136 (python-shell-interpreter): New defcustom.
5137 (python-pdbtrack-do-tracking-p): Delete var.
5138 (python-pdbtrack-activate): New defcustom.
5139 (python-use-skeletons): Obsolete var.
5140 (python-skeleton-autoinsert): New defcustom.
5141 (inferior-python-filter-regexp, python-continuation-offset)
5142 (python-honour-comment-indentation, python-indent-string-contents)
5143 (python-jython-packages, python-mode-hook)
5144 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5145 (python-shell-prompt-alist)
5146 (python-source-modes): Delete defcustoms.
5147 (python-check-buffer-name, python-eldoc-setup-code)
5148 (python-eldoc-string-code, python-ffap-setup-code)
5149 (python-ffap-string-code, python-fill-comment-function)
5150 (python-fill-decorator-function, python-fill-paren-function)
5151 (python-fill-string-function, python-imenu-include-defun-type)
5152 (python-imenu-make-tree, python-imenu-subtree-root-label)
5153 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5154 (python-shell-compilation-regexp-alist)
5155 (python-shell-completion-module-string-code)
5156 (python-shell-completion-pdb-string-code)
5157 (python-shell-completion-setup-code)
5158 (python-shell-completion-string-code)
5159 (python-shell-enable-font-lock, python-shell-exec-path)
5160 (python-shell-extra-pythonpaths)
5161 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5162 (python-shell-process-environment)
5163 (python-shell-prompt-block-regexp)
5164 (python-shell-prompt-output-regexp)
5165 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5166 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5167 (python-shell-virtualenv-path): New defcustoms.
5168 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5169 (inferior-python-mode-syntax-table, python--prompt-regexp)
5170 (python-buffer, python-command python-python-command)
5171 (python-default-template, python-imports, python-indent-index)
5172 (python-indent-list, python-indent-list-length)
5173 (python-mode-running, python-pdbtrack-is-tracking-p)
5174 (python-preoutput-continuation, python-preoutput-leftover)
5175 (python-preoutput-result, python-preoutput-skip-next-prompt)
5176 (python-prev-dir/file, python-recursing)
5177 (python-saved-check-command, python-version-checked)
5178 (python-which-func-length-limit)
5179 (view-return-to-alist): Delete vars.
5180 (python-check-custom-command, python-dotty-syntax-table)
5181 (python-imenu-index-alist, python-indent-current-level)
5182 (python-indent-dedenters, python-indent-levels)
5183 (python-nav-beginning-of-defun-regexp)
5184 (python-nav-list-defun-positions-cache)
5185 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5186 (python-shell-internal-buffer)
5187 (python-skeleton-available): New vars.
5188 (def-python-skeleton): Delete macro.
5189 (python-skeleton-define): New macro.
5190 (python-define-auxiliary-skeleton, python-rx): New macros.
5191 (python-insert-class): Delete command.
5192 (python-skeleton-class): New command.
5193 (python-insert-def): Delete command.
5194 (python-skeleton-def): New command.
5195 (python-insert-for): Delete command.
5196 (python-skeleton-for): New command.
5197 (python-insert-if): Delete command.
5198 (python-skeleton-if): New command.
5199 (python-insert-try/except, python-insert-try/finally): Delete commands.
5200 (python-skeleton-try): New command.
5201 (python-insert-while): Delete command.
5202 (python-skeleton-while): New command.
5203 (python-backspace): Delete command.
5204 (python-indent-dedent-line-backspace): New command.
5205 (python-electric-colon): Delete command.
5206 (python-indent-electric-colon): New command.
5207 (python-guess-indent): Delete command.
5208 (python-indent-guess-indent-offset): New command.
5209 (python-shift-left): Delete command.
5210 (python-indent-shift-left): New command.
5211 (python-shift-right): Delete command.
5212 (python-indent-shift-right): New command.
5213 (python-find-function): Delete command.
5214 (python-nav-jump-to-defun): New command.
5215 (python-next-statement): Delete command.
5216 (python-nav-forward-sentence): New command.
5217 (python-previous-statement): Delete command.
5218 (python-nav-backward-sentence): New command.
5219 (python-fill-paragraph): Delete command.
5220 (python-fill-paragraph-function): New command.
5221 (python-send-buffer): Delete command.
5222 (python-shell-send-buffer): New command.
5223 (python-send-defun): Delete command.
5224 (python-shell-send-defun): New command.
5225 (python-send-region, python-send-region-and-go): Delete commands.
5226 (python-shell-send-region)
5227 (python-shell-switch-to-shell): New commands.
5228 (python-send-string): Delete command.
5229 (python-shell-send-string): New command.
5230 (python-switch-to-python): Delete command.
5231 (python-shell-switch-to-shell): New command.
5232 (python-describe-symbol): Delete command.
5233 (python-eldoc-at-point): New command.
5234 (python--set-prompt-regexp, python-args-to-list)
5235 (python-after-info-look, python-check-version)
5236 (python-check-comint-prompt, python-find-imports)
5237 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5238 (python-unload-function, python-expand-template)
5239 (python-maybe-jython, python-preoutput-filter)
5240 (python-pdbtrack-get-source-buffer)
5241 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5242 (python-pdbtrack-toggle-stack-tracking)
5243 (python-pdbtrack-track-stack-file, python-initial-text)
5244 (python-first-word, python-comment-line-p, python-send-command)
5245 (python-setup-brm, python-sentinel, python-set-proc)
5246 (python-skip-out, python-input-filter, python-outdent-p)
5247 (python-outline-level, python-backslash-continuation-line-p)
5248 (python-end-of-block, python-end-of-statement, python-mark-block)
5249 (python-beginning-of-block, python-beginning-of-statement)
5250 (python-blank-line-p, python-beginning-of-string)
5251 (python-open-block-statement-p): Delete functions.
5252 (python-indent-line, python-indent-line-1): Delete functions.
5253 (python-indent-line): New function.
5254 (python-indentation-levels): Delete function.
5255 (python-indent-calculate-levels): New function.
5256 (python-proc): Delete function.
5257 (python-shell-get-process): New function.
5258 (python-send-receive): Delete function.
5259 (python-shell-send-string-no-output): New function.
5260 (python-module-path): Delete function.
5261 (python-ffap-module-path): New function.
5262 (python-completion-at-point)
5263 (python-symbol-completions): Delete functions.
5264 (python-completion-complete-at-point): New function.
5265 (python-load-file): Delete function.
5266 (python-shell-send-file): New function.
5267 (python-calculate-indentation): Delete function.
5268 (python-indent-calculate-indentation): New function.
5269 (python-skip-comments/blanks): Delete function.
5270 (python-util-forward-comment): New function.
5271 (python-continuation-line-p): Delete function.
5272 (python-info-continuation-line-p): New function.
5273 (python-which-func, python-current-defun): Delete function.
5274 (python-info-current-defun): New function.
5275 (python-beginning-of-defun): Delete function.
5276 (python-nav-beginning-of-defun): New function.
5277 (python-close-block-statement-p)
5278 (python-block-end-p): Delete function.
5279 (python-info-closing-block): New function.
5280 (python-comint-output-filter-function)
5281 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5282 (python-fill-comment, python-fill-decorator, python-fill-paren)
5283 (python-fill-string, python-imenu-make-element-tree)
5284 (python-imenu-make-tree, python-imenu-tree-assoc)
5285 (python-indent-context, python-indent-dedent-line)
5286 (python-indent-line-function)
5287 (python-indent-post-self-insert-function)
5288 (python-indent-toggle-levels)
5289 (python-info-assignment-continuation-line-p)
5290 (python-info-beginning-of-backlash)
5291 (python-info-block-continuation-line-p)
5292 (python-info-closing-block-message)
5293 (python-info-line-ends-backslash-p)
5294 (python-info-looking-at-beginning-of-defun)
5295 (python-info-ppss-context, python-info-ppss-context-type)
5296 (python-nav-list-defun-positions, python-nav-read-defun)
5297 (python-nav-sentence-end, python-nav-sentence-start)
5298 (python-pdbtrack-comint-output-filter-function)
5299 (python-pdbtrack-set-tracked-buffer)
5300 (python-shell-calculate-exec-path)
5301 (python-shell-calculate-process-environment)
5302 (python-shell-completion--do-completion-at-point)
5303 (python-shell-completion--get-completions)
5304 (python-shell-completion-complete-at-point)
5305 (python-shell-completion-complete-or-indent)
5306 (python-shell-get-or-create-process)
5307 (python-shell-get-process-name)
5308 (python-shell-internal-get-or-create-process)
5309 (python-shell-internal-get-process-name)
5310 (python-shell-internal-send-string, python-shell-make-comint)
5311 (python-shell-parse-command, python-shell-send-setup-code)
5312 (python-skeleton-add-menu-items)
5313 (python-util-clone-local-variables, python-util-position)
5314 (run-python-internal, python-indentation-levels)
5315 (python-nav-beginning-of-defun)
5316 (python-completion-complete-at-point): New functions.
5317 (run-python): Change arguments. New API requirements.
5318
4302f5ba
SM
53192012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5320
f38ea36d
SM
5321 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5322 (bug#11649).
5323
5324 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5325 (macroexp--expand-all): Use it.
5326
4302f5ba
SM
5327 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5328 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5329 Use `cl-function' instead.
5330
33377562
JB
53312012-06-14 Juanma Barranquero <lekktu@gmail.com>
5332
5333 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5334 Suggested by Stefan Monnier while discussing bug#11657.
5335
54c5ba1a
SS
53362012-06-14 Sam Steingold <sds@gnu.org>
5337
5338 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5339
f9f1b1fe
AS
53402012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5341
5342 * play/doctor.el (doctor-doc): Remove parameter and use
5343 doctor-sent instead of sent.
5344 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5345
a81068ba
SM
53462012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5347
5a315f9c
SM
5348 * files.el: Require cl-lib.
5349 (file-name-non-special): Replace case -> cl-case.
5350
5351 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5352
a81068ba
SM
5353 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5354 mapping from #' to function*.
5355
8cca9703
CY
53562012-06-13 Chong Yidong <cyd@gnu.org>
5357
5358 * mouse.el (mouse-drag-track): Do not set the mark if the user
5359 releases the mouse without selecting anything (Bug#11588).
5360
a12ac9d7
SM
53612012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5362
ccf1dc18
SM
5363 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5364 as well (bug#11646).
5365
ef62b23d
SM
5366 * loadup.el: Count byte-code functions as well.
5367
c4c8444a
SM
5368 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5369 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5370
a12ac9d7
SM
5371 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5372 (bug#11649). Add cl-defun and cl-defmacro.
5373
87e6e64f
DA
53742012-06-13 Drew Adams <drew.adams@oracle.com>
5375
5376 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5377 Fix last change.
5378
682cefaf
MA
53792012-06-13 Michael Albinus <michael.albinus@gmx.de>
5380
5381 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5382 Otherwise, it blocks in batch mode.
5383
773e1f08
JB
53842012-06-13 Juanma Barranquero <lekktu@gmail.com>
5385
5386 * help-mode.el (bookmark-make-record-default): Declare.
5387
60057926
CY
53882012-06-13 Chong Yidong <cyd@gnu.org>
5389
5390 * emacs-lisp/package.el (list-packages): Compute a list of
5391 packages that are newly-available since the last list-packages
5392 invocation.
5393 (package-menu--new-package-list): New var.
5394 (package-menu--generate, package-menu--print-info)
5395 (package-menu--status-predicate, package-menu-mark-install):
5396 Handle new status label "new".
5397
ad4d226c
SM
53982012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5399
5400 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5401 conversion to backquotes.
5402
f1a4e679
CY
54032012-06-12 Chong Yidong <cyd@gnu.org>
5404
5405 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5406 Rename from gud-inhibit-global-bindings.
5407
5408 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5409
5410 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5411 hook from nxml-glyph-set-hook.
5412
5413 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5414 declaration.
5415
5416 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5417
5418 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5419 Convert to defcustom.
5420
0c9e42b5
DA
54212012-06-12 Drew Adams <drew.adams@oracle.com>
5422
5423 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5424 New functions.
5425 (help-mode): Use them.
5426
09e06855
GM
54272012-06-11 Glenn Morris <rgm@gnu.org>
5428
5429 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5430 Use preprocessor face for directives.
5431 (fortran-directive-re): Doc fix.
5432
71adb94b
SM
54332012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5434
2eb87922
SM
5435 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5436 conversion to backquotes (bug#11652).
5437
71adb94b
SM
5438 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5439 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5440 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5441 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5442 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5443 (cl-ninth, cl-tenth): Mark them as inlinable.
5444 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5445 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5446 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5447 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5448 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5449 (cl-list*, cl-adjoin): Don't put an autoload manually.
5450 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5451 (cl--compiler-macro-list*): Add autoload cookie.
5452 (cl--compiler-macro-cXXr): New function.
2eb87922 5453
71adb94b
SM
5454 * help-fns.el (help-fns--compiler-macro): New function extracted from
5455 describe-function-1; follow aliases and use `compiler-macro' property.
5456 (describe-function-1): Use it.
5457
a6674402
CY
54582012-06-11 Chong Yidong <cyd@gnu.org>
5459
5460 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5461 is uninstalled, if imagemagick is installed.
5462
bb3faf5b
SM
54632012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5464
5465 * emacs-lisp/cl-lib.el: Use lexical-binding.
5466 (cl-map-extents, cl-maclisp-member): Remove.
5467 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5468 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5469 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5470 * emacs-lisp/cl-extra.el: Use lexical-binding.
5471 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5472 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5473 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5474 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5475 * emacs-lisp/cl-seq.el: Use lexical-binding.
5476 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5477 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5478 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5479 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5480 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5481 CL's internals.
5482
2fe4b125
MA
54832012-06-11 Michael Albinus <michael.albinus@gmx.de>
5484
5485 Sync with Tramp 2.2.6-pre.
5486
5487 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5488 `print-length' and `print-level' to nil, in order to avoid
5489 truncation. Reported by Christopher Schmidt
5490 <christopher@ristopher.com>.
5491
5492 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5493
5494 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5495 New defmacro.
5496 (tramp-compat-copy-directory): Add optional argument
5497 COPY-CONTENTS. It is not handled yet.
5498
5499 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5500 (tramp-ftp-file-name-p): Simplify.
5501
5502 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5503 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5504 connection vector.
5505
5506 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5507 (tramp-methods): Do not use `tramp-password-end-of-line'.
5508 (tramp-completion-function-alist-putty): Handle UNIX case.
5509 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5510 (tramp-do-file-attributes-with-stat)
5511 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5512 gid as real numbers. They could run out of integer range on cygwin.
5513 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5514 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5515 (tramp-open-connection-setup-interactive-shell):
5516 Use `tramp-cleanup'. Move check for busyboxes ...
5517 (tramp-find-shell): ... here. Simplify implementation.
5518 Set "remote-shell" property also for alternative shells.
5519 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5520 If failing, a regular file would be written otherwise.
5521 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5522 (tramp-find-inline-encoding): Cache the coding commands in the
5523 process cache. Apply test command on the remote side, if defined.
5524 (tramp-find-inline-compress): Cache the compress commands in the
5525 process cache.
5526 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5527 when requested. Handle hops.
5528 (tramp-current-connection): New defvar.
87e6e64f
DA
5529 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5530 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5531 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5532 (tramp-get-inline-compress, tramp-get-inline-coding):
5533 Read connection properties from the process cache.
2fe4b125
MA
5534
5535 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5536 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5537 New defconsts.
2fe4b125
MA
5538 (tramp-smb-prompt): Extend for powershell prompt.
5539 (tramp-smb-file-name-handler-alist): Add handlers for
5540 `process-file', `shell-command' and `start-file-process'.
5541 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5542 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5543 (tramp-smb-file-name-p): Simplify.
5544 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5545 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5546 (tramp-smb-shell-quote-argument): New defuns.
5547 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5548 Implement using "tar". By this, time-stamps are preserved.
5549 (tramp-smb-handle-copy-file): Handle also the case of directories.
5550 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5551 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5552 Use `tramp-get-connection-buffer').
2fe4b125
MA
5553 (tramp-smb-handle-rename-file): Use "rename", when source and
5554 target are on the same share.
87e6e64f
DA
5555 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5556 Use `tramp-smb-server-version'.
2fe4b125
MA
5557 (tramp-smb-wait-for-output): Remove prompt.
5558
5559 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5560 (tramp-methods, tramp-rsh-end-of-line):
5561 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5562 (tramp-save-ad-hoc-proxies): New defcustom.
5563 (tramp-completion-function-alist): Adapt docstring.
5564 (tramp-default-password-end-of-line): Remove defcustom.
5565 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5566 (tramp-user-regexp, tramp-file-name-regexp-unified)
5567 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5568 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5569 (tramp-remote-file-name-spec-regexp): New defconst.
5570 (tramp-file-name-structure): Extend structure for hops.
5571 (tramp-get-method-parameter): Move up.
5572 (tramp-file-name-p, tramp-dissect-file-name)
5573 (with-parsed-tramp-file-name): Handle hops.
5574 (tramp-file-name-hop): New defun.
5575 (tramp-make-tramp-file-name): New optional arg HOP.
5576 (tramp-message-show-progress-reporter-message): New defvar.
5577 (tramp-with-progress-reporter): Use it. We cannot use
5578 `tramp-message-show-message' here, because this suppresses also
5579 error buffers.
5580 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5581 `tramp-message-show-message' is nil.
5582 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5583 (tramp-cleanup): New defun.
5584 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5585 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5586 an error unchanged.
5587 (tramp-completion-handle-file-name-all-completions): Handle hops.
5588 Fix an error when called from ido.
5589 (tramp-completion-dissect-file-name): Use better local variable
5590 name. Add hop to the vector.
5591 (tramp-handle-insert-file-contents): Use progress-reporter for the
5592 whole scenario.
5593 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5594 to `t'.
5595 (tramp-check-for-regexp): Simplify search.
5596 (tramp-enter-password): Remove it. Move implementation ...
5597 (tramp-action-password): ... here.
5598 (tramp-mode-string-to-int, tramp-local-host-p)
5599 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5600 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5601 Set tramp-autoload cookie.
2fe4b125
MA
5602
5603 * net/trampver.el: Update release number.
5604
56052012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5606 Michael Albinus <michael.albinus@gmx.de>
5607
5608 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5609 (tramp-parse-group, tramp-parse-file)
5610 (tramp-parse-shostkeys-sknownhosts): New defuns.
5611 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5612 (tramp-parse-shosts-group, tramp-parse-sconfig)
5613 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5614 (tramp-parse-sknownhosts, tramp-parse-hosts)
5615 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5616 Use them.
5617 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5618 (tramp-parse-putty-group): Don't narrow.
5619 (tramp-parse-putty): Make a loop.
5620 (tramp-file-name-handler): Catch the `suppress' signal.
5621
72834e10
CY
56222012-06-11 Chong Yidong <cyd@gnu.org>
5623
5624 * image.el (imagemagick-register-types): Put the ImageMagick entry
5625 at the end of image-type-file-name-regexps.
5626
a4712e11
JB
56272012-06-11 Johan Bockgård <bojohan@gnu.org>
5628
5629 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5630 (pcase, pcase-let*, pcase-dolist): Use them.
5631
82ad98e3
SM
56322012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * emacs-lisp/pcase.el (pcase--let*): New function.
5635 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5636 (pcase--expand): Use macroexp-let².
5637
f80efb86
SM
56382012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5639
5640 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5641 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5642 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5643 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5644 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5645 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5646
31ca4639 56472012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5648
31ca4639
CY
5649 * mail/rmail.el (rmail-yank-current-message): Leave point at
5650 correct position. (Bug#11660)
94f0aa34 5651
31ca4639 56522012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5653
31ca4639 5654 * allout-widgets.el: Fix code header.
9e1b8ec4 5655
31ca4639 56562012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5657
f80efb86
SM
5658 * cus-edit.el (customize-changed-options-previous-release):
5659 Bump to 24.1.
31ca4639 5660
642b6d30
AS
56612012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5662
5663 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5664
4f5d2ba1
CY
56652012-06-09 Chong Yidong <cyd@gnu.org>
5666
5667 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5668
e75852fd
MR
56692012-06-09 Martin Rudalics <rudalics@gmx.at>
5670
5671 * window.el (special-display-popup-frame): Don't use
5672 window--display-buffer (Bug#11651).
5673
1e48e282
EZ
56742012-06-09 Eli Zaretskii <eliz@gnu.org>
5675
8a26b487
EZ
5676 Fix parallel builds: make sure loaddefs.el is not being written
5677 while Lisp files are compiled.
5678 (compile): Don't depend on 'mh-autoloads'.
5679 (compile-CMD, compile-SH): Depend on 'autoloads'.
5680 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5681
1e48e282
EZ
5682 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5683
6175e34b
CY
56842012-06-09 Chong Yidong <cyd@gnu.org>
5685
5686 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5687 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5688 Doc fixes (Bug#11225).
5689
d9857e53
SM
56902012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5691
5692 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5693 a function if there's a clear indication that it has a compiler-macro.
5694 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5695 (macro-declarations-alist): Add arglist to declaration functions.
5696 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5697 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5698 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5699 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5700 Also add autoload to find the compiler macro.
5701 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5702 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5703 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5704 (cl--compiler-macro-get): New functions, replacing calls to
5705 cl-define-compiler-macro.
5706 (cl-typep) [compiler-macro]: Use macroexp-let².
5707
f81298f8 57082012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5709
5710 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5711 string properly, fixes Bug#11473.
5712
4b56d0fe
CY
57132012-06-08 Chong Yidong <cyd@gnu.org>
5714
5715 * faces.el (set-face-attribute): Doc fix.
5716 (modify-face): Don't use :bold and :italic.
5717 (error, warning, success): Tweak definitions.
5718
5719 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5720 (custom-modified, custom-set, custom-changed, custom-themed)
5721 (custom-saved, custom-button, custom-button-mouse)
5722 (custom-button-pressed, custom-state, custom-comment-tag)
5723 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5724 (custom-group-subtitle): Use new-style face specs.
5725 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5726 (custom-set-face, custom-changed-face, custom-saved-face)
5727 (custom-button-face, custom-button-pressed-face)
5728 (custom-documentation-face, custom-state-face)
5729 (custom-comment-face, custom-comment-tag-face)
5730 (custom-variable-tag-face, custom-variable-button-face)
5731 (custom-face-tag-face, custom-group-tag-face-1)
5732 (custom-group-tag-face): Remove obsolete face alias.
5733
5734 * epa.el (epa-validity-high, epa-validity-medium)
5735 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5736 (epa-field-name, epa-field-body):
5737 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5738 (font-lock-keyword-face, font-lock-builtin-face)
5739 (font-lock-function-name-face, font-lock-variable-name-face)
5740 (font-lock-type-face, font-lock-constant-face):
5741 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5742 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5743 * speedbar.el (speedbar-button-face, speedbar-file-face)
5744 (speedbar-directory-face, speedbar-tag-face)
5745 (speedbar-selected-face, speedbar-highlight-face)
5746 (speedbar-separator-face):
5747 * whitespace.el (whitespace-newline, whitespace-space)
5748 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5749 (whitespace-line, whitespace-space-before-tab)
5750 (whitespace-space-after-tab, whitespace-indentation)
5751 (whitespace-empty):
5752 * emulation/cua-base.el (cua-global-mark):
5753 * eshell/em-prompt.el (eshell-prompt):
5754 * net/newst-plainview.el (newsticker-new-item-face)
5755 (newsticker-old-item-face, newsticker-immortal-item-face)
5756 (newsticker-obsolete-item-face, newsticker-date-face)
5757 (newsticker-statistics-face, newsticker-default-face):
5758 * net/newst-reader.el (newsticker-feed-face)
5759 (newsticker-extra-face, newsticker-enclosure-face):
5760 * net/newst-treeview.el (newsticker-treeview-face)
5761 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5762 (newsticker-treeview-immortal-face)
5763 (newsticker-treeview-obsolete-face)
5764 (newsticker-treeview-selection-face):
5765 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5766 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5767 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5768 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5769 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5770 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5771 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5772 (mpuz-text):
5773 * progmodes/vera-mode.el (vera-font-lock-number)
5774 (vera-font-lock-function, vera-font-lock-interface):
5775 * textmodes/table.el (table-cell): Use new-style face specs, and
5776 don't use the old :bold and :italic attributes.
5777
5778 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5779 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5780 (ebrowse-member-class, ebrowse-progress): Likewise.
5781 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5782 (ebrowse-file-name-face, ebrowse-default-face)
5783 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5784 (ebrowse-progress-face): Remove obsolete faces.
5785
5786 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5787 Inherit from error and warning faces respectively.
5788
5789 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5790 Likewise.
f80efb86
SM
5791 (flyspell-incorrect-face, flyspell-duplicate-face):
5792 Remove obsolete aliases.
4b56d0fe 5793
03310646
MA
57942012-06-08 Michael Albinus <michael.albinus@gmx.de>
5795
5796 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5797 Avoid infloop.
5798
513749ee
SM
57992012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5800
5801 * startup.el (argv, argi): Make lexically scoped.
5802 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5803 * emacs-lisp/cl-macs.el: Use lexical-binding.
5804 Rename cl-bind-* to cl--bind-*.
5805 * files.el: Don't require `cl' since it doesn't use it.
5806 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5807
595ef4ad
JB
58082012-06-08 Juanma Barranquero <lekktu@gmail.com>
5809
5810 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5811 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5812 instead of calling external sort utility.
5813 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5814
e9f66fcb
EZ
58152012-06-08 Eli Zaretskii <eliz@gnu.org>
5816
5817 * descr-text.el (describe-char): Mention how to insert the
5818 character, if the current input method doesn't support it.
5819 See the discussion in this thread for the details:
5820 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5821
3d10db47
SS
58222012-06-08 Sam Steingold <sds@gnu.org>
5823
5824 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5825 XF86Back to previous-buffer.
5826 (minibuffer-local-map): Bind them to next-history-element and
5827 previous-history-element respectively.
5828 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5829 help-go-back respectively.
5830 * info.el (Info-mode-map): Bind them to Info-history-forward and
5831 Info-history-back respectively.
5832 These are the keys next to Up on the ThinkPad keyboard.
5833
de7e2b36
SM
58342012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5837 * emacs-lisp/cl-macs.el: Provide itself.
5838 (cl--labels-convert-cache): New var.
5839 (cl--labels-convert): New function.
5840 (cl-flet, cl-labels): New implementation with new semantics, relying on
5841 lexical-binding.
5842 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5843 (cl-closure-vars, cl--function-convert-cache)
5844 (cl--function-convert): Move from cl-macs.el.
5845 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5846 rename by removing the "cl-" prefix.
5847 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5848
6fa6c4ae
SM
58492012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5850
5851 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5852 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5853 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5854 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5855 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5856 (cl-hash-table-count): Add old compatibility aliases.
5857
5858 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5859 Use macroexpand-all-environment instead.
5860 (cl--old-macroexpand): New var.
5861 (cl--sm-macroexpand): New function.
5862 (cl-symbol-macrolet): Use it during macro expansion.
5863 (cl--function-convert-cache): New var.
5864 (cl--function-convert): New function, extracted from
5865 cl-macroexpand-all.
5866 (cl-lexical-let): Use it.
5867
5868 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5869 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5870 (cl-member): Remove old alias.
5871
5872 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5873 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5874 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5875 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5876 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5877 (cl-macroexpand-cmacs): Remove var.
5878 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5879 Use macroexpand-all instead.
5880
4dd1c416
SM
58812012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5882
5883 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5884 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5885 (macroexp-copyable-p): New functions and macros.
5886 * emacs-lisp/edebug.el (edebug-unwrap):
5887 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5888 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5889 (pcase--let*): Remove.
5890 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5891 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5892 macroexp-const-p instead.
5893 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5894
5895 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5896 instead of "cl-" for internal definitions. Use macroexp-const-p.
5897 (cl-old-bc-file-form): Remove var.
5898 (cl-const-exprs-p): Remove fun.
5899 (cl-labels, cl-macrolet): Use backquote.
5900 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5901 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5902 (cl-define-setf-expander): Rename from cl-define-setf-method.
5903 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5904
5905 * international/mule-cmds.el: Don't require CL.
5906 (view-hello-file): Don't use `letf'.
5907
ed8bd4d7
SM
59082012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5909
7287f2f3
SM
5910 * tmm.el (tmm-prompt): Use string-prefix-p.
5911 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5912 (tmm-add-prompt): Use minibuffer-completion-help.
5913 (tmm-delete-map): Remove.
5914
ed8bd4d7
SM
5915 * subr.el (kbd): Make it its own function.
5916
7b4cdbf4
SM
59172012-06-07 Stefan Merten <smerten@oekonux.de>
5918
5919 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5920 Silence compiler warnings. Fix versions.
ed8bd4d7 5921 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5922 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5923 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5924 (rst-package-emacs-version-alist): Correct Emacs version to
5925 represent major merge with upstream.
ed8bd4d7 5926 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5927
2b48d721
GM
59282012-06-06 Glenn Morris <rgm@gnu.org>
5929
5930 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5931 Only print environment variables if set.
5932
fa779ab0
SM
59332012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5934
5935 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5936 (macroexp--cons): Rename from maybe-cons.
5937 (macroexp--accumulate): Rename from macroexp-accumulate.
5938 (macroexp--all-forms): Rename from macroexpand-all-forms.
5939 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5940 (macroexp--expand-all): Rename from macroexpand-all-1.
5941
628299e0
SS
59422012-06-06 Sam Steingold <sds@gnu.org>
5943
5944 * calendar/calendar.el (calendar-in-read-only-buffer):
5945 Call `special-mode' to enable the standard read-only keybindings.
5946
b7bb5838
SM
59472012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5948
5949 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5950 with "loading" messages (bug#11635).
5951
dfb308ba
MA
59522012-06-06 Michael Albinus <michael.albinus@gmx.de>
5953
5954 * files.el (enable-remote-dir-locals): New option.
5955 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5956
0372ee92
MA
5957 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5958 Ensure, that the temp directory is local.
5959
5960 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5961 `temporary-file-directory'.
5962
eed0bb91
MA
5963 * progmodes/python.el (python-send-region): Ensure, that the
5964 temporary file is created also in the remote case.
5965
7a58f64d
GM
59662012-06-06 Glenn Morris <rgm@gnu.org>
5967
f7dd4e98
GM
5968 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5969 (vc-rcs-update-changelog): Use it.
5970
090bd7cb 5971 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5972
7a58f64d
GM
5973 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5974 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5975 (vc-sccs-diff): Replace use of the external vcdiff script.
5976
daed4003
GM
59772012-06-05 Glenn Morris <rgm@gnu.org>
5978
5979 * ledit.el: Move to obsolete/.
5980
48c455c7
SS
59812012-06-05 Sam Steingold <sds@gnu.org>
5982
ed9265fc 5983 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5984 patch (Bug#11140).
5985
57a7d507
SM
59862012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5987
090bd7cb 5988 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5989
53aacf21
SM
5990 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5991 compiler-macro expansion.
5992
57a7d507
SM
5993 Add native compiler-macro support.
5994 * emacs-lisp/macroexp.el (macroexpand-all-1):
5995 Support compiler-macros directly. Properly follow aliases and apply
5996 the compiler macros more thoroughly.
5997 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5998 macroexpand now properly follows aliases.
5999 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6000 (cl-compiler-macroexpand): Use new prop.
6001 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6002
6003 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6004
51a5f9d8
MR
60052012-06-05 Martin Rudalics <rudalics@gmx.at>
6006
6007 * window.el (get-lru-window, get-mru-window, get-largest-window):
6008 New argument NOT-SELECTED to avoid picking the selected window.
6009 (window--display-buffer-1, window--display-buffer-2): Replace by
6010 new function window--display-buffer
6011 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6012 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6013 Use window--display-buffer.
51a5f9d8
MR
6014 (display-buffer-use-some-window): Remove temporary dedication
6015 hack by calling get-lru-window and get-largest-window with
6016 NOT-SELECTED argument non-nil. Call window--display-buffer.
6017
08f9f738
GM
60182012-06-05 Glenn Morris <rgm@gnu.org>
6019
6020 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6021 Replace external vcdiff script.
6022
e364a2b7
SM
60232012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6026
041df390
CY
60272012-06-04 Chong Yidong <cyd@gnu.org>
6028
e364a2b7
SM
6029 * image.el (imagemagick-types-inhibit): Revert last change.
6030 Add INFO and M.
47b36b94 6031 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6032
7c1898a7
SM
60332012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6034
6035 * emacs-lisp/cl-lib.el: Rename from cl.el.
6036 * emacs-lisp/cl.el: New compatibility file.
6037 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6038 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6039 to obey the "cl-" prefix.
6040 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6041
0c3461de
GM
60422012-06-03 Glenn Morris <rgm@gnu.org>
6043
1e266c88
GM
6044 * emacs-lisp/authors.el (authors-aliases): Addition.
6045
0c3461de
GM
6046 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6047 Fix :version.
6048
d8a52e15
SM
60492012-06-03 Stefan Merten <smerten@oekonux.de>
6050
6051 * textmodes/rst.el: Add comments.
6052 (rst-transition, rst-adornment): New faces.
6053 (rst-adornment-faces-alist): Make default safe to reevaluate.
6054 Fixes
6055 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6056 Improve customization tags.
6057 (rst-define-level-faces): Clarify meaning.
6058
5205d6f6
CY
60592012-06-03 Chong Yidong <cyd@gnu.org>
6060
6061 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6062 (compilation-mode-line-run, compilation-mode-line-exit):
6063 New faces.
5205d6f6
CY
6064 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6065
757ee657
JD
60662012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6067
7c1898a7
SM
6068 * progmodes/which-func.el (which-func-update-ediff-windows):
6069 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6070
5f2c76c6
CY
60712012-06-03 Chong Yidong <cyd@gnu.org>
6072
6073 * bindings.el: Remove explicit help text from format-mode-line.
6074 It is now supplied by mode-line-default-help-echo.
6075 (mode-line-front-space, mode-line-end-spaces)
6076 (mode-line-misc-info): New variables.
6077 (mode-line-modes, mode-line-position): Move the default value to
6078 the variable definition.
6079 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6080 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6081 (mode-line-modified-help-echo): New functions.
6082 (mode-line-mule-info, mode-line-modified): Use them.
6083 (mode-line-eol-desc, propertized-buffer-identification):
6084 Consistency fixes for help text.
cbe46e5f
CY
6085 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6086 set-buffer-file-coding-system (Bug#289).
6087 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6088
f2d6a3df
SM
60892012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * simple.el (execute-extended-command): Set real-this-command
6092 (bug#11506).
6093
37269466
CY
60942012-06-02 Chong Yidong <cyd@gnu.org>
6095
6096 Remove incorrect uses of "modeline" in comments, docstrings, and
6097 function/variable names (Bug#10329).
6098
6099 * cus-edit.el (mode-line):
6100 * dframe.el (dframe-mouse-hscroll):
6101 * emacs-lisp/re-builder.el:
6102 * emacs-lisp/easy-mmode.el (define-minor-mode):
6103 * frame.el (set-frame-name):
6104 * help.el (lookup-minor-mode-from-indicator):
6105 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6106 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6107 (c-toggle-hungry-state):
6108 * progmodes/antlr-mode.el (antlr-language-alist):
6109 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6110 * progmodes/vhdl-mode.el (vhdl-mode):
6111 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6112 * term/ns-win.el (ns-face-at-pos):
6113 * term/sup-mouse.el (sup-mouse-report):
6114 * textmodes/flyspell.el (flyspell-mode-line-string):
6115 * textmodes/ispell.el (ispell-highlight-face):
6116 * textmodes/reftex-global.el:
6117 * vc/vc-arch.el (vc-arch-mode-line-string):
6118 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6119 * vc/vc-git.el (vc-git-mode-line-string):
6120 * vc/vc-hooks.el (vc-display-status)
6121 (vc-default-mode-line-string):
6122 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6123
6124 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6125
6126 * dired.el (dired-sort-set-mode-line): Rename from
6127 dired-sort-set-modeline. All callers changed.
6128
6129 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6130 eshell-status-in-modeline.
6131
6132 * foldout.el (foldout-mode-line-string): Rename from
6133 foldout-modeline-string. All callers changed.
6134 (foldout-update-mode-line): Rename from foldout-update-modeline.
6135
6136 * subr.el (redraw-modeline): Make into obsolete alias.
6137
6138 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6139 timeclock-modeline-display. Make old name an alias.
6140 (timeclock-update-mode-line): Likewise. All callers changed.
6141 (timeclock-mode-line-display): No need to check before using
6142 add-hook.
6143 (timeclock-relative, timeclock-day-over-hook)
6144 (timeclock-use-elapsed, timeclock-mode-string)
6145 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6146
6147 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6148 crisp-mode-modeline-string.
6149
6150 * play/solitaire.el (solitaire-build-mode-line): Rename from
6151 solitaire-build-modeline. All callers changed.
6152
6153 * play/zone.el (zone-hiding-mode-line): Rename from
6154 zone-hiding-modeline. All callers changed.
6155 (zone): Remove unusued `modeline-hidden-level' property.
6156
6157 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6158 xscheme-modeline-initialize. All callers changed.
6159
6160 * strokes.el (strokes-lighter): Rename from
6161 strokes-modeline-string.
6162
6163 * textmodes/sgml-mode.el (html-face-tag-alist)
6164 (html-tag-face-alist): Use mode-line face instead of obsolete
6165 alias modeline.
6166
42152ee4
SM
61672012-06-02 Stefan Merten <smerten@oekonux.de>
6168
6169 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6170 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6171
95f520b5
CY
61722012-06-02 Chong Yidong <cyd@gnu.org>
6173
6174 * image.el (imagemagick-enabled-types): Rename from
6175 imagemagick-types-enable. Add many more types.
6176 (imagemagick-types-inhibit): Change default to nil.
6177 (imagemagick-filter-types): Caller changed.
6178
4a5f187a
SM
61792012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6180
03fef3e6
SM
6181 * emacs-lisp/cl-macs.el: Use backquotes.
6182 (cl-transform-function-property): Use eval-and-compile rather than
6183 abusing `require'.
6184 (defstruct): Use declare-function instead of with-no-warnings.
6185
4a5f187a
SM
6186 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6187 (byte-compile-output-docform): Re-add the print-circle bindings.
6188 (byte-compile-fix-header): Use #$ just because it's shorter.
6189 (byte-compile-output-file-form): Remove defun/defmacro.
6190
bd56924f
MR
61912012-06-01 Martin Rudalics <rudalics@gmx.at>
6192
6193 * simple.el (choose-completion): Remove now obsolete binding for
6194 owindow.
6195
046e38ce
MA
61962012-06-01 Michael Albinus <michael.albinus@gmx.de>
6197
6198 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6199 in order to avoid "Stack overflow in regexp matcher".
6200
32d72c2f
GM
62012012-05-31 Glenn Morris <rgm@gnu.org>
6202
6203 * image.el: For clarity, call imagemagick-register-types at
6204 top-level, rather than relying on a custom :initialize.
6205 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6206 (imagemagick-filter-types): New function. (Bug#7406)
6207 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6208 If disabling support, remove elements altogether rather
6209 than using an impossible regexp.
6210 (imagemagick-types-inhibit): Give it the default init function.
6211
dd41169b
SM
62122012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6213
4a5f187a
SM
6214 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6215 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6216
efc00ab1 62172012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6218
6219 * desktop.el (desktop-read): Clear previous and next buffers for
6220 all windows and bury *Messages* buffer (bug#11556).
6221
500fcedc
SM
62222012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6223
6224 Add `declare' for `defun'. Align `defmacro's with it.
6225 * emacs-lisp/easy-mmode.el (define-minor-mode)
6226 (define-globalized-minor-mode): Don't autoload the var definitions.
6227 * emacs-lisp/byte-run.el: Use lexical-binding.
6228 (defun-declarations-alist, macro-declarations-alist): New vars.
6229 (defmacro, defun): Use them.
6230 (make-obsolete, define-obsolete-function-alias)
6231 (make-obsolete-variable, define-obsolete-variable-alias):
6232 Use `declare'.
6233 (macro-declaration-function): Mark obsolete.
6234 * emacs-lisp/autoload.el: Use lexical-binding.
6235 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6236
6e8a1786
AM
62372012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6238
6239 * textmodes/ispell.el (ispell-with-no-warnings):
6240 Define as a macro.
500fcedc
SM
6241 (ispell-kill-ispell, ispell-change-dictionary):
6242 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6243 `interactive-p'.
6244
61b108cc
SM
62452012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6248 (macro-declaration-function): Move var from C code.
6249 (macro-declaration-function): Define function with defalias.
6250 * emacs-lisp/macroexp.el (macroexpand-all-1):
6251 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6252 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6253 defun/defmacro any more.
6254 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6255 Provide fallback for unknown arglist.
6256 (byte-compile-arglist-warn): Change calling convention.
6257 (byte-compile-output-file-form): Move print-vars binding.
6258 (byte-compile-output-docform): Simplify accordingly.
6259 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6260 (byte-compile-defmacro-declaration): Remove.
6261 (byte-compile-file-form-defmumble): Generalize to defalias.
6262 (byte-compile-output-as-comment): Return byte-positions.
6263 Simplify callers accordingly.
6264 (byte-compile-lambda): Use `assert'.
6265 (byte-compile-defun, byte-compile-defmacro): Remove.
6266 (byte-compile-file-form-defalias):
6267 Use byte-compile-file-form-defmumble.
6268 (byte-compile-defalias-warn): Remove.
6269
6d3f7c2f
SM
62702012-05-29 Stefan Merten <smerten@oekonux.de>
6271
6272 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6273 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6274
6275 (rst-mode-abbrev-table): Merge definition.
6276 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6277 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6278
6dbaa1c7
UJ
62792012-05-29 Ulf Jasper <ulf.jasper@web.de>
6280
6281 * calendar/icalendar.el
6282 (icalendar-export-region): Export UID properly.
6283
d209e2fb 62842012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6285 * calendar/icalendar.el (icalendar-import-format):
6286 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6287 (icalendar-import-format-uid): New.
6288 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6289 Export UID.
6290
6876a58d
SM
62912012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6294 different alternative patterns.
6295 (pcase-codegen): Be more careful to preserve identity.
6296 (pcase--u1): Don't forget to mark vars as used.
6297
6298 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6299 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6300 (byte-compile-from-buffer): ...rather than here.
6301
6302 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6303 functions from byte-compile-function-environment.
6304
46b7967e
TN
63052012-05-29 Troels Nielsen <bn.troels@gmail.com>
6306
6307 * window.el (window-deletable-p): Avoid deleting the root window
6308 of a frame with an active minibuffer.
6309
69d565e2
MR
63102012-05-29 Martin Rudalics <rudalics@gmx.at>
6311
6312 * simple.el (choose-completion): Use quit-window (Bug#11567).
6313
a149fa51
CY
63142012-05-29 Chong Yidong <cyd@gnu.org>
6315
6316 * whitespace.el (whitespace-cleanup): Fix usage of
6317 whitespace-empty-at-bob-regexp (Bug#11492).
6318
2b311310
AH
63192012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6320
6321 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6322 revert (Bug#11488).
6323
b9cb2387
JL
63242012-05-29 Juri Linkov <juri@jurta.org>
6325
6326 * isearch.el (isearch-mode-map): Bind `M-s _' to
6327 `isearch-toggle-symbol'. Bind `M-s c' to
6328 `isearch-toggle-case-fold'.
6329 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6330 (isearch-forward): Add `M-s _' to the docstring.
6331 (isearch-forward-symbol, isearch-toggle-case-fold)
6332 (isearch-symbol-regexp): New functions. (Bug#11381)
6333
d5e61c1c
JL
63342012-05-29 Juri Linkov <juri@jurta.org>
6335
6336 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6337 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6338 a function, call it to get the regexp.
6339 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6340 property `isearch-message-prefix' instead of the string "word ".
6341 (isearch-search-fun-default): For the case of `isearch-word',
6342 return a lambda that calls re-search-forward/re-search-backward
6343 with a regexp returned by `word-search-regexp' or by the function
6344 in `isearch-word'.
6345
8cbd80f7
JL
63462012-05-29 Juri Linkov <juri@jurta.org>
6347
6348 * isearch.el (isearch-search-fun-default): New function.
6349 (isearch-search-fun): Move default part to the new function
6350 `isearch-search-fun-default'.
6351 (isearch-search-fun-function): Set the default value to
6352 `isearch-search-fun-default'. (Bug#11381)
6353
6354 * comint.el (comint-history-isearch-end):
6355 Use `isearch-search-fun-default'.
6356 (comint-history-isearch-search): Use `isearch-search-fun-default'
6357 and remove spacial case for `isearch-word'.
6358 (comint-history-isearch-wrap): Remove spacial case for
6359 `isearch-word'.
6360
6361 * hexl.el (hexl-isearch-search-function):
6362 Use `isearch-search-fun-default'.
6363
6364 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6365 Use `word-search-regexp' for `isearch-word'.
6366
6367 * misearch.el (multi-isearch-search-fun):
6368 Use `isearch-search-fun-default'.
6369
6370 * simple.el (minibuffer-history-isearch-search):
6371 Use `isearch-search-fun-default' and remove spacial case for
6372 `isearch-word'.
6373 (minibuffer-history-isearch-wrap): Remove spacial case for
6374 `isearch-word'.
6375
6376 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6377 Remove spacial case for `isearch-word'.
6378 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6379
85c8c5b6
AM
63802012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6381
6382 Decrease XEmacs incompatibilities.
6383 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6384 Use `string-match'.
6385 (flyspell-delete-region-overlays): Use alternative definition for
6386 XEmacs.
6387 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6388 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6389 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6390 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6391 `define-obsolete-face-alias' under XEmacs, but old method.
6392
6393 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6394 `with-no-warnings' definition or Emacs alias.
6395 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6396 (ispell-word): Do not use `region-p' if XEmacs.
6397
8cab9efc
AM
63982012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6399
6400 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6401 Check for `ispell-dictionary-base-alist' instead of full
6402 `ispell-dictionary-alist'.
6403 (ispell-init-process): Show spellchecker when starting new Ispell
6404 process.
6405
fda91268
RZ
64062012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6407
6408 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6409 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6410
694ea8e3
JB
64112012-05-27 Juanma Barranquero <lekktu@gmail.com>
6412
6413 * version.el (motif-version-string, gtk-version-string)
6414 (ns-version-string): Declare.
6415
e4d4f539
JL
64162012-05-27 Juri Linkov <juri@jurta.org>
6417
6418 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6419 after the `eval-defun-1' specialcaseing
6420 like in `edebug-eval-defun' (bug#10181).
6421
6422 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6423 like in `eval-defun-1'.
6424
33017faf 64252012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6426
fda91268
RZ
6427 * mail/sendmail.el (mail-yank-region):
6428 Recognize rmail-yank-current-message in addition to insert-buffer.
6429 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6430 a *mail* buffer created through rmail-start-mail with sendmail as
6431 mail-user-agent.
6432
33017faf
GM
64332012-05-27 Chong Yidong <cyd@gnu.org>
6434
6435 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6436 Default to 256 (Bug#11267).
6437
6438 * help.el (describe-mode): Doc fix.
6439
04188bb9
GM
64402012-05-26 Glenn Morris <rgm@gnu.org>
6441
38264cc9
GM
6442 * w32-fns.el (w32-init-info): Remove.
6443 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6444
eb7afdad
GM
6445 * info.el (info-initialize): For self-contained NS builds, put the
6446 included info/ directory at the front. (Bug#2791)
6447
04188bb9
GM
6448 * paths.el (Info-default-directory-list): Make it a defcustom,
6449 mainly so that we can use custom-initialize-delay.
6450
a179e3f7
SM
64512012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6452
43416392
SM
6453 * subr.el (buffer-has-markers-at): Mark obsolete.
6454
a179e3f7 6455 * subr.el (lambda): Use declare.
43416392 6456
a179e3f7
SM
6457 * emacs-lisp/lisp-mode.el (lambda):
6458 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6459
34a008d9
AH
64602012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6461
6462 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6463
0a3b289f
GM
64642012-05-26 Glenn Morris <rgm@gnu.org>
6465
6466 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6467
758c81e8
GM
64682012-05-25 Glenn Morris <rgm@gnu.org>
6469
f9f334f0
GM
6470 * paths.el: Remove no-byte-compile.
6471 * loadup.el: No need to load paths.el uncompiled.
6472
87eb79c2
GM
6473 * image.el (imagemagick-types-inhibit): Doc fix.
6474
758c81e8
GM
6475 * version.el: Remove no-byte-compile and associated formatting.
6476 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6477 is ancient code from when there was an "inc-vers.el".
6478
e7e85dc0
SM
64792012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * progmodes/gdb-mi.el: Minor style changes.
6482 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6483 Turn into minor modes.
6484 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6485 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6486 (gdb-shell): Remove unneeded let-binding.
6487 (gdb-get-many-fields): Eliminate O(n²) behavior.
6488
f31237a4
EZ
64892012-05-25 Eli Zaretskii <eliz@gnu.org>
6490
6491 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6492 platforms that don't link in fontset.c.
6493
bc1b21bb
JL
64942012-05-25 Juri Linkov <juri@jurta.org>
6495
6496 Use the same diff color scheme as in modern VCSes (bug#10181).
6497
6498 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6499 to avoid confusion with `diff-added' that now uses green colors.
6500 (diff-removed): Use shades of red.
6501 (diff-added): Use shades of green.
6502 (diff-changed): Leave just the yellow color.
6503 (diff-use-changed-face): New variable.
6504 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6505 how to highlight context diff changes.
6506 (diff-refine-change): Use shades of yellow.
6507 (diff-refine-removed): New face that uses shades of red.
6508 (diff-refine-added): New face that uses shades of green.
6509 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6510 `diff-refine-removed' in the call to `smerge-refine-subst'
6511 depending on the value of `diff-use-changed-face'.
6512
6513 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6514 (smerge-other): Use shades of green.
6515 (smerge-base): Use shades of yellow.
6516 (smerge-refined-change): Empty face.
6517 (smerge-refined-removed): New face that uses shades of red.
6518 (smerge-refined-added): New face that uses shades of green.
6519 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6520 args `props-r' and `props-a', and use them. Doc fix.
6521 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6522 on its value use different faces `smerge-refined-change',
6523 `smerge-refined-removed', `smerge-refined-added' in the call to
6524 `smerge-refine-subst'.
6525
6526 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6527 Add face condition `min-colors 88' with shades of red.
6528 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6529 `min-colors 88' with shades of green.
6530 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6531 `min-colors 88' with shades of yellow.
6532
6df9112c
GM
65332012-05-24 Glenn Morris <rgm@gnu.org>
6534
ead5edc0
GM
6535 * paths.el (prune-directory-list, remote-shell-program): Move to...
6536 * files.el (prune-directory-list, remote-shell-program): ...here.
6537 For the latter, delay initialization, prefer ssh, just search PATH.
6538
f18b81e6
GM
6539 * paths.el (term-file-prefix): Move to faces.el (the only user).
6540 * faces.el (term-file-prefix): Move here, make it a defcustom.
6541
ee2f89a6
GM
6542 * paths.el (news-directory, news-path, news-inews-program):
6543 Move to gnus/nnspool.el.
61a583ca 6544
f8815e4c
GM
6545 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6546
c8f3b42c
GM
6547 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6548 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6549 Make the latter a defcustom, with a delayed initialization.
6550
6df9112c
GM
6551 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6552 These were deleted from Gnus itself late 2010.
6553
5dadff36
JB
65542012-05-22 Juanma Barranquero <lekktu@gmail.com>
6555
9e1701c6
JB
6556 * progmodes/which-func.el (which-func-ff-hook):
6557 Check against user-error, not error.
6558
bd7239f5 6559 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6560 cl-specs.el, which no longer exists.
6561
3290526d
GM
65622012-05-22 Glenn Morris <rgm@gnu.org>
6563
6564 * info.el (info-emacs-bug): New command.
6565 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6566 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6567
ff0c3cfb
GM
65682012-05-21 Glenn Morris <rgm@gnu.org>
6569
6570 * makefile.w32-in (update-subdirs-SH):
6571 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6572
5814f126
SM
65732012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6574
a52c0aa0
SM
6575 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6576
5814f126
SM
6577 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6578 Simplify Maven regexp, and make sure the file can't start with a space
6579 (bug#11517).
6580
b847032c
GM
65812012-05-21 Glenn Morris <rgm@gnu.org>
6582
6583 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6584 Scrap superfluous subshells.
6585
3858bfe7
SM
65862012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6589 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6590
d14b0029
JB
65912012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6592
6593 * calc/calc.el (calc-ensure-consistent-units): New variable.
6594
a52c0aa0
SM
6595 * calc/calc-units.el (math-consistent-units-p)
6596 (math-check-unit-consistency): New functions.
6597 (calc-quick-units, calc-convert-units):
6598 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6599 is non-nil.
d14b0029
JB
6600 (calc-extract-units): Fix typo.
6601
60c4db3a
SM
66022012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6603
77f3b62e
SM
6604 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6605
60c4db3a
SM
6606 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6607 (flyspell-default-deplacement-commands): Don't spell check after
6608 repeated window/frame switches (e.g. triggered by mouse-movement).
6609 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6610 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6611 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6612 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6613 Remove unused vars.
6614 (flyspell-get-casechars, flyspell-get-not-casechars):
6615 Simplify; Don't bother removing a ] just to add it back.
6616 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6617
d209e2fb 66182012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6619
6620 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6621 New functions.
bd7239f5 6622 (math-function-table): Add support for more C functions.
b1a10716 6623
3f1b25b5
AM
66242012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6625
090bd7cb
JB
6626 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6627 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6628 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6629
b581bb5c
SM
66302012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6633 their respective macro declarations.
6634 * skeleton.el (define-skeleton):
6635 * progmodes/compile.el (define-compilation-mode):
6636 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6637 (define-ibuffer-filter):
6638 * emacs-lisp/generic.el (define-generic-mode):
6639 * emacs-lisp/easy-mmode.el (define-minor-mode)
6640 (define-globalized-minor-mode):
6641 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6642 * emacs-lisp/byte-run.el (defsubst):
6643 * custom.el (deftheme): Add doc-string metadata.
6644
70b8ef8f
SM
66452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6648
b1198e17
SM
66492012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6650
9abdc45d
SM
6651 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6652
b1198e17
SM
6653 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6654 * emacs-lisp/cl-macs.el: Idem.
6655 * emacs-lisp/cl-specs.el: Remove.
6656
4735906a
SM
66572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 Minor renaming of internal CL functions and variables.
6660 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6661 (cl--position): Rename from cl-position.
6662 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6663 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6664 (cl--random-state): Rename from *random-state*.
6665
ac348012
SM
66662012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6667
6668 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6669 parens around the arg list (bug#11499).
6670
a0a79cde
JL
66712012-05-17 Juri Linkov <juri@jurta.org>
6672
6673 * isearch.el (word-search-regexp, word-search-backward)
6674 (word-search-forward, word-search-backward-lax)
6675 (word-search-forward-lax): Move functions from search.c
6676 (bug#10145, bug#11381).
6677
65034a51
AM
66782012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6679
090bd7cb
JB
6680 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6681 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6682 Delay for otherchars as for normal word components.
65034a51 6683
1a72a195
SM
66842012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 * minibuffer.el (completion--sifn-requote): Fix last change.
6687 (minibuffer-local-must-match-filename-map):
6688 Move define-obsolete-variable-alias before its var.
6689
fdb058c2
SM
66902012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6691
c41045e6
SM
6692 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6693
036dfb8b
SM
6694 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6695 behavior.
6696 (completion--string-equal-p): New function.
6697 (completion--twq-all): Use it to get better assertion failure data.
6698
2473256d
SM
6699 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6700 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6701 (shell--requote-argument): New functions.
6702 (shell-completion-vars): Use them.
6703 (shell--parse-pcomplete-arguments): Rename from
6704 shell-parse-pcomplete-arguments.
6705 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6706 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6707 Obey comint-file-name-quote-list.
6708
fdb058c2
SM
6709 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6710 (smie-indent-keyword): Use it.
6711
51fa99f1
SM
67122012-05-14 Stefan Merten <smerten@oekonux.de>
6713
6714 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6715
e18afed7 67162012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6717
6718 * net/rlogin.el (rlogin-mode-map): Fix last change.
6719
e18afed7 67202012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6721
6722 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6723 the following \r\n using a single `process-send-string', since the
6724 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6725 with two `process-send-string's (Bug#11444).
8633b1f4 6726
e18afed7 67272012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6728
fdb058c2
SM
6729 * shell.el (shell-parse-pcomplete-arguments):
6730 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6731
2d21d7f6
WJ
67322012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6733
e18afed7 6734 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6735 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6736 (image-transform-width, image-transform-fit-width): New functions.
6737 (image-transform-properties): Use them.
6738 (image-transform-check-size): New function.
6739 (image-toggle-display-image): Use it (for testing).
6740 (image-transform-set-rotation): Reduce angle mod 360.
6741 Delete obsolete comment.
6742
7102e6d0
WJ
67432012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6744
6745 * image-mode.el: Fix scaling (bug#11399).
6746 (image-transform-resize): Doc fix.
6747 (image-transform-properties): Default scale is 1 and height should
6748 be an integer.
6749
06bc5e6e
SM
67502012-05-13 Johan Bockgård <bojohan@gnu.org>
6751
6752 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6753 than hard-coding `car', to fix misbehavior when moving forward.
6754
0ae03b6a
CY
67552012-05-13 Chong Yidong <cyd@gnu.org>
6756
6757 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6758 (tabulated-list-entries, tabulated-list-padding)
6759 (tabulated-list-sort-key): Make permanent-local.
6760
6761 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6762 (electric-buffer-list): Put electric buffer menu
6763 command descriptions in this docstring, instead of the docstring
6764 of electric-buffer-menu-mode. Code cleanups.
6765 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6766 Electric-buffer-menu-mode.
6767 (electric-buffer-update-highlight): Minor code cleanup.
6768
205a7391
MA
67692012-05-13 Michael Albinus <michael.albinus@gmx.de>
6770
6771 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6772 (Bug#11447)
6773
e5bd0a28
SM
67742012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6775
6776 Move define-obsolete-variable-alias before the var's definition.
6777 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6778 * tooltip.el (tooltip-hook):
6779 * textmodes/reftex-toc.el (reftex-toc-map):
6780 * textmodes/reftex-sel.el (reftex-select-label-map)
6781 (reftex-select-bib-map):
6782 * textmodes/reftex-index.el (reftex-index-map)
6783 (reftex-index-phrases-map):
6784 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6785 * progmodes/meta-mode.el (meta-mode-map):
6786 * novice.el (disabled-command-hook):
6787 * loadhist.el (unload-hook-features-list):
6788 * frame.el (blink-cursor):
6789 * files.el (find-file-not-found-hooks, write-file-hooks)
6790 (write-contents-hooks):
6791 * emulation/tpu-edt.el (GOLD-map):
6792 * emacs-lock.el (emacs-lock-from-exiting):
6793 * emacs-lisp/generic.el (generic-font-lock-defaults):
6794 * emacs-lisp/chart.el (chart-map):
6795 * dos-fns.el (register-name-alist):
6796 * dired-x.el (dired-omit-files-p):
6797 * desktop.el (desktop-enable):
6798 * cus-edit.el (custom-mode-hook):
6799 * buff-menu.el (buffer-menu-mode-hook):
6800 * bookmark.el (bookmark-read-annotation-text-func)
6801 (bookmark-exit-hooks):
6802 * allout.el (allout-mode-deactivate-hook)
6803 (allout-exposure-change-hook, allout-structure-added-hook)
6804 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6805 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6806 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6807 comes before the corresponding variable's definition.
6808
ac59c2f6
CY
68092012-05-12 Chong Yidong <cyd@gnu.org>
6810
6811 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6812 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6813 (Buffer-menu-mode-map): Bind it.
6814 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6815
dee6c9a3
SM
68162012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6817
2171cea5
SM
6818 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6819 (prolog-upper-case-string, prolog-lower-case-string)
6820 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6821 (prolog-use-smie, prolog-smie-grammar): New vars.
6822 (prolog-smie-forward-token, prolog-smie-backward-token)
6823 (prolog-smie-rules): New funs.
6824 (prolog-comment-indent): Remove.
6825 (prolog-mode-variables): Use default comment indentation instead.
6826 Setup SMIE.
6827 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6828 (prolog-mode): Don't call them any more.
6829 (prolog-electric-colon, prolog-electric-dash)
6830 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6831
aa0382bd
SM
6832 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6833
dbacb4bd
SM
6834 * minibuffer.el (completion--twq-all): Again, allow case differences.
6835
13bdd94c
SM
6836 * term.el: Move keymap initialization code to be more idiomatic.
6837 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6838 (term-terminal-menu): Move initialization into declaration.
6839 (term-escape-char): Let the user set it in her .emacs.
6840
ff46c759
SM
6841 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6842 Provide SMIE-based indentation (not enabled by default yet).
6843 (sh-mode-map): Don't bind electric keys.
6844 Use electric-pair-mode instead of skeleton-pair.
6845 (sh-assignment-regexp): Fit within 80 columns.
6846 (sh-indent-supported): Specify actual shell name instead of boolean.
6847 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6848 (sh-maybe-here-document): Use it. Make obsolete.
6849 (sh-electric-here-document-mode) New minor mode.
6850 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6851 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6852 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6853 (sh-smie-rc-grammar, sh-use-smie): New vars.
6854 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6855 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6856 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6857 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6858 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6859 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6860 (sh-set-shell): Use smie-setup if requested.
6861
dee6c9a3
SM
6862 * term.el (term-set-escape-char): Properly set term-escape-char.
6863 See http://stackoverflow.com/questions/10524656.
6864
9f9aa044
CY
68652012-05-10 Chong Yidong <cyd@gnu.org>
6866
6867 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6868 Use url-generic-parse-url, and handle host names and Windows
6869 filenames properly.
6870 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6871 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6872 URL schemes to work on.
6873 (ffap--toggle-read-only): New function.
6874 (ffap-read-only, ffap-read-only-other-window)
6875 (ffap-read-only-other-frame): Use it.
6876 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6877 necessary for ffap-url-unwrap-remote.
6878
836d29b3
DA
68792012-05-10 Dave Abrahams <dave@boostpro.com>
6880
6881 * cus-start.el (create-lockfiles): Add it.
6882
00fd78ed
CY
68832012-05-09 Chong Yidong <cyd@gnu.org>
6884
6885 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6886 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6887
666b903b 68882012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6889
6890 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6891
666b903b 68922012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6893
6894 * ansi-color.el (ansi-color-process-output): Check for validity of
6895 comint-last-output-start before using it. This avoids a bad
6896 interaction with gdb-mi's input/output buffer.
6897
666b903b 68982012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6899
6900 * files.el (dir-locals-read-from-file):
6901 Mention dir-locals in any error message.
6902
666b903b 69032012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6904
6905 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6906 package (Bug#11410).
6907
f677562b
CY
6908 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6909 variables into description.
6910
666b903b 69112012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6912
6913 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6914 shell-delimiter-argument-list (bug#11348).
6915 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6916
b499d8d0
JB
69172012-05-09 Juanma Barranquero <lekktu@gmail.com>
6918
8f6b6da8
JB
6919 * textmodes/rst.el: Silence byte-compiler warnings.
6920 (rst-re-alist, rst-reset-section-caches): Move around.
6921 (rst-re): Use `characterp', not `char-valid-p'.
6922 (font-lock-beg, font-lock-end): Declare.
6923
4824146a
JB
6924 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6925 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6926
b499d8d0
JB
6927 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6928
ad89bb83
GM
69292012-05-08 Glenn Morris <rgm@gnu.org>
6930
6931 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6932
8bba5a75
SM
69332012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6934
49ed9c8e
SM
6935 * vc/log-edit.el: Add GNU coding standards highlighting.
6936 (log-edit-font-lock-gnu-style)
6937 (log-edit-font-lock-gnu-keywords): New vars.
6938 (log-edit-font-lock-keywords): New fun.
6939 (log-edit-mode): Don't fold case in font-lock.
6940 (log-edit-font-lock-keywords): Do not assume case-folding.
6941
07d00b56
SM
6942 * imenu.el: Misc cleanup. Make docstrings out of comments.
6943 Use lexical-binding.
6944 (imenu--index-alist, imenu--last-menubar-index-alist)
6945 (imenu-menubar-modified-tick): Use defvar-local.
6946 (imenu--split-menu): Remove unused var.
6947 (imenu--cleanup-seen): Declare as global.
6948 (imenu--cleanup): Use dolist.
6949
8bba5a75
SM
6950 * subr.el (defvar-local): Add debug spec and doc-string position.
6951
5075bdb5
GM
69522012-05-08 Glenn Morris <rgm@gnu.org>
6953
090bd7cb 6954 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6955 * language/english.el, language/georgian.el, language/greek.el:
6956 * language/japanese.el, language/khmer.el, language/korean.el:
6957 * language/lao.el, language/misc-lang.el, language/romanian.el:
6958 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6959 * language/thai.el, language/utf-8-lang.el:
6960 Remove no-byte-compile setting.
6961
5075bdb5
GM
6962 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6963
06f679a7
AH
69642012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6965
6966 * progmodes/make-mode.el (makefile-browse):
6967 Remove unnecessary interactive. (Bug#11324)
6968
03794570
GM
69692012-05-07 Glenn Morris <rgm@gnu.org>
6970
af8630f4
GM
6971 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6972
03794570
GM
6973 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6974
f0809a9d
SM
69752012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6976
28be5ce7
SM
6977 * loadup.el: Preload newcomment.el.
6978 * newcomment.el: Move autoload-only code to toplevel.
6979
f0809a9d
SM
6980 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6981 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6982 Handle new :right-align column property.
6983 (tabulated-list-print-col): Idem, plus use `display' text-property to
6984 try and preserve alignment for variable pitch fonts.
6985
1241b724
CY
69862012-05-07 Chong Yidong <cyd@gnu.org>
6987
6988 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6989 (tabulated-list-use-header-line): New var.
6990 (tabulated-list-init-header): Use it.
6991 (tabulated-list-print-fake-header): New function.
6992 (tabulated-list-print): Use it.
6993 (tabulated-list-sort-button-map): Add non-header-line commands.
6994 (tabulated-list-init-header): Add column name property to basic
6995 labels as well.
6996 (tabulated-list-col-sort): Handle non-header-line button case.
6997 (tabulated-list--sort-by-column-name): Fix a corner case.
6998
f0809a9d
SM
6999 * buff-menu.el (list-buffers--refresh):
7000 Handle Buffer-menu-use-header-line.
1241b724 7001
e5f9458f
CY
70022012-05-06 Chong Yidong <cyd@gnu.org>
7003
7004 * buff-menu.el: Convert to Tabulated List mode.
7005 (Buffer-menu-buffer+size-width): Make obsolete.
7006 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7007 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7008 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7009 documentation into docstring of buffer-menu.
7010 (Buffer-menu-toggle-files-only): Add an informative message.
7011 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7012 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7013 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7014 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7015 (Buffer-menu-execute, Buffer-menu-select)
7016 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7017 (Buffer-menu-bury): Use Tabulated List machinery.
7018 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7019 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7020 Delete.
e5f9458f
CY
7021 (list-buffers--refresh): New function.
7022 (list-buffers-noselect): Use it.
7023 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7024 (Buffer-menu--pretty-file-name): New helper functions.
7025
7026 * loadup.el: Preload tabulated-list.
7027
7028 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7029 tabulated-list-sort-column.
7030 (tabulated-list-init-header): Add the initial aligning space even
7031 if tabulated-list-padding is zero.
7032
e129292c
CS
70332012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7034
7035 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7036 whose cdr is not a cons cell correctly (bug#11038).
7037
6632d361
CY
70382012-05-06 Chong Yidong <cyd@gnu.org>
7039
e129292c
CS
7040 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7041 Accept additional plist in column descriptors.
6632d361
CY
7042 (tabulated-list-init-header): Obey it.
7043 (tabulated-list-get-entry): New function.
7044 (tabulated-list-put-tag): Use it. Use string-width instead of
7045 length.
7046 (tabulated-list--column-number): New function.
7047 (tabulated-list-print): Use it.
e129292c
CS
7048 (tabulated-list-print-col): New function.
7049 Set `tabulated-list-column-name' property on each column's text.
6632d361 7050 (tabulated-list-print-entry): Use it.
e129292c
CS
7051 (tabulated-list-delete-entry, tabulated-list-set-col):
7052 New functions.
6632d361
CY
7053 (tabulated-list-sort-column): New command (Bug#11337).
7054
3cc99f68
CY
7055 * buff-menu.el (list-buffers): Move C-x C-b binding from
7056 buff-menu.el to bindings.el.
7057
7058 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7059 :advertised-binding feature.
7060
52b61776
TN
70612012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7062
7063 * progmodes/compile.el (compilation-internal-error-properties):
7064 Calculate start position correctly when end-col is set but
7065 end-line is not (Bug#11382).
7066
ebfe2597
WJ
70672012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7068
7069 * man.el (Man-unindent): Use text-property-default-nonsticky to
7070 prevent untabify from inheriting face properties (Bug#11408).
7071
6d3f7c2f
SM
70722012-05-05 Stefan Merten <smerten@oekonux.de>
7073
7074 * textmodes/rst.el: Major merge with upstream development up to
7075 Docutils SVN r7399 / rst.el V1.2.1.
7076
7077 Clarify maintainership and authors.
7078
7079 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7080 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7081 (rst-official-version, rst-official-cvs-rev, rst-version)
7082 (rst-package-emacs-version-alist): New functions and variables
7083 for version information.
7084
7085 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7086 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7087 (rst-mode-syntax-table, rst-mode): New and corrected functions
7088 and variables representing reStructuredText features.
7089
7090 (rst-re): New function for reStructuredText regexes. Use in
7091 many places.
7092
7093 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7094 (rst-mode-map): Rebind keys.
7095
7096 (rst-mode-lazy, rst-font-lock-keywords)
7097 (rst-font-lock-extend-region)
7098 (rst-font-lock-extend-region-internal)
7099 (rst-font-lock-extend-region-extend)
7100 (rst-font-lock-find-unindented-line-limit)
7101 (rst-font-lock-find-unindented-line-match)
7102 (rst-adornment-level, rst-font-lock-adornment-level)
7103 (rst-font-lock-adornment-match)
7104 (rst-font-lock-handle-adornment-pre-match-form)
7105 (rst-font-lock-handle-adornment-matcher): Major revision of
7106 font-locking. Integrate with other code. Use `jit-lock-mode'.
7107
7108 (rst-preferred-adornments, rst-adjust-hook)
7109 (rst-new-adornment-down, rst-preferred-bullets)
7110 (rst-preferred-bullets, rst-indent, rst-indent-width)
7111 (rst-indent-field, rst-indent-literal-normal)
7112 (rst-indent-literal-minimized, rst-indent-comment): Change,
7113 extend and improve customization.
7114
7115 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7116 (rst-normalize-cursor-position, rst-get-decoration)
7117 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7118 (rst-rstrip, rst-toc-insert-find-delete-contents)
7119 (rst-shift-fill-region, rst-compute-bullet-tabs)
7120 (rst-debug-print-tabs, rst-debug-mark-found)
7121 (rst-shift-region-guts, rst-shift-region-right)
7122 (rst-shift-region-left, rst-use-char-classes)
7123 (rst-font-lock-keywords-function)
7124 (rst-font-lock-indentation-point)
7125 (rst-font-lock-find-unindented-line-begin)
7126 (rst-font-lock-find-unindented-line-end)
7127 (rst-font-lock-find-unindented-line)
7128 (rst-font-lock-adornment-point, rst-font-lock-level)
7129 (rst-adornment-level-alist): Remove functions and variables.
7130
7131 (rst-compare-adornments, rst-get-adornment-match)
7132 (rst-suggest-new-adornment, rst-get-adornments-around)
7133 (rst-adornment-complete-p, rst-get-next-adornment)
7134 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7135 (rst-straighten-adornments): Standardize function names to
7136 use "adornment" instead of "decoration". Correct callers.
7137 Similar standardizing in many places.
7138
7139 (rst-update-section, rst-adjust, rst-promote-region)
7140 (rst-enumerate-region, rst-bullet-list-region)
7141 (rst-repeat-last-character): Correct use of `interactive'.
7142
7143 (rst-classify-adornment, rst-find-all-adornments)
7144 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7145 (rst-find-leftmost-column, rst-repeat-last-character):
7146 Refactor functions.
7147
7148 (rst-find-title-line, rst-reset-section-caches)
7149 (rst-get-adornments-around, rst-adjust-adornment-work)
7150 (rst-arabic-to-roman, rst-roman-to-arabic)
7151 (rst-insert-list-pos, rst-insert-list-new-item)
7152 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7153 New functions.
7154
7155 (rst-all-sections, rst-section-hierarchy)
7156 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7157 New variables.
7158
7159 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7160 configuration instead of only buffer. Change where necessary.
7161
7162 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7163 (rst-shift-region, rst-adaptive-fill): New functions for
7164 indentation and filling.
7165
7166 (rst-comment-line-break, rst-comment-indent)
7167 (rst-comment-insert-comment, rst-comment-region)
7168 (rst-uncomment-region): New functions for handling comments.
7169
7170 (rst-compile): Quote shell arguments.
7171
7172 (rst-compile-pdf-preview, rst-compile-slides-preview):
7173 Delete temporary files after use.
7174
a43f98b3
GM
71752012-05-05 Glenn Morris <rgm@gnu.org>
7176
48176e8b
GM
7177 * calendar/cal-html.el: Optionally include holidays in the output.
7178 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7179 (cal-html-holidays): New option.
7180 (cal-html-css-default): Add holiday entry.
7181 (holiday-in-range): Autoload it.
7182 (cal-html-htmlify-entry): Add optional class argument.
7183 (cal-html-htmlify-list): Add optional holidays argument.
7184 (cal-html-insert-agenda-days): Include holidays in the output.
7185 (cal-html-one-month): Maybe include holidays.
7186
a43f98b3
GM
7187 * calendar/holidays.el (holiday-in-range):
7188 Move here from cal-tex-list-holidays.
7189 * calendar/cal-tex.el (cal-tex-list-holidays):
7190 Make it an obsolete alias for holiday-in-range. Update all callers.
7191
fef9d149 71922012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7193
7194 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7195 Nextstep.
7196
248da2f4
RW
71972012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7198
7199 * files.el (file-auto-mode-skip): New var.
7200 (set-auto-mode-1): Use it.
7201
f95e9344
SM
72022012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7203
df96ab1e
SM
7204 * repeat.el: Use lexical-binding.
7205 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7206 (repeat-undo-count): Remove.
7207 (repeat):
7208 * progmodes/octave-mod.el (octave-abbrev-start):
7209 * progmodes/f90.el (f90-abbrev-start):
7210 * face-remap.el (text-scale-adjust):
7211 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7212
5342bb06
SM
7213 * emacs-lisp/pcase.el (pcase--let*): New function.
7214 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7215 a bit more.
7216 (pcase--split-pred): Be more clever about ruling out overlap between
7217 a predicate and some constant pattern.
7218 (pcase--q1): Use `null' instead of (eq foo nil).
7219
f95e9344
SM
7220 * subr.el (setq-local, defvar-local): New macros.
7221 (kbd): Redefine as an alias.
7222 (with-selected-window): Leave unrelated frames alone.
7223 (set-temporary-overlay-map): New function.
7224
71873e2b
SM
72252012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7226
7227 * subr.el (user-error): New function.
7228 * window.el (switch-to-buffer):
7229 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7230 (smerge-match-conflict):
7231 * simple.el (previous-matching-history-element)
7232 (next-matching-history-element, goto-history-element, undo-more)
7233 (undo-start):
7234 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7235 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7236 (next-file, tags-loop-scan, list-tags, complete-tag):
7237 * progmodes/compile.el (compilation-loop):
7238 * mouse.el (mouse-minibuffer-check):
7239 * man.el (Man-bgproc-sentinel, Man-goto-page):
7240 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7241 (Info-history-forward, Info-follow-reference, Info-menu)
7242 (Info-extract-menu-item, Info-extract-menu-counting)
7243 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7244 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7245 (Info-next-reference, Info-prev-reference, Info-index)
7246 (Info-index-next, Info-follow-nearest-node)
7247 (Info-copy-current-node-name):
7248 * imenu.el (imenu--make-index-alist)
7249 (imenu-default-create-index-function, imenu-add-to-menubar):
7250 * files.el (basic-save-buffer, recover-file):
7251 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7252 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7253 (checkdoc-message-text, checkdoc-defun):
7254 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7255 * cus-edit.el (customize-changed-options, customize-rogue)
7256 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7257 (custom-variable-mark-to-reset-standard)
7258 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7259 (custom-file):
7260 * completion.el (check-completion-length):
7261 * comint.el (comint-search-arg)
7262 (comint-previous-matching-input-string-position)
7263 (comint-previous-matching-input)
7264 (comint-replace-by-expanded-history-before-point, comint-send-input)
7265 (comint-copy-old-input, comint-backward-matching-input)
7266 (comint-goto-process-mark, comint-set-process-mark):
7267 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7268 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7269
8a61ee22
SM
72702012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7271
66408d1e
SM
7272 * dabbrev.el (dabbrev--ignore-case-p): New function.
7273 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7274 Use it.
7275
8a61ee22
SM
7276 * files.el (automount-dir-prefix): Mark as obsolete.
7277
3c74813a
GM
72782012-05-04 Glenn Morris <rgm@gnu.org>
7279
7280 * patcomp.el, play/bruce.el: Move to obsolete/.
7281
0bfcf5c5
PE
72822012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7283
7284 Fix minor Y10k bugs.
7285 * arc-mode.el (archive-unixdate):
7286 * autoinsert.el (auto-insert-alist):
7287 * calc/calc-forms.el (math-this-year):
7288 * emacs-lisp/copyright.el (copyright-current-year)
7289 (copyright-update-year, copyright):
7290 * tar-mode.el (tar-clip-time-string):
7291 * time.el (display-time-update):
7292 Don't assume years have 4 digits.
7293
78f3273a
CY
72942012-05-04 Chong Yidong <cyd@gnu.org>
7295
7296 * dos-w32.el (file-name-buffer-file-type-alist)
7297 (direct-print-region-use-command-dot-com):
7298 * ffap.el (ffap-menu-regexp):
7299 * find-file.el (ff-special-constructs):
7300 * follow.el (follow-debug):
7301 * forms.el (forms--debug):
7302 * iswitchb.el (iswitchb-all-frames):
7303 * ido.el (ido-all-frames):
7304 * emacs-lisp/timer.el (timer-max-repeats):
7305 * mail/feedmail.el (feedmail-mail-send-hook)
7306 (feedmail-mail-send-hook-queued):
7307 * mail/footnote.el (footnote-signature-separator):
7308 * mail/mailabbrev.el (mail-alias-separator-string)
7309 (mail-abbrev-mode-regexp):
7310 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7311 * progmodes/idlwave.el (idlwave-libinfo-file)
7312 (idlwave-default-completion-case-is-down)
7313 (idlwave-library-routines): Convert defvars to defcustoms.
7314
7315 * mail/rmail.el (rmail-decode-mime-charset):
7316 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7317 (idlwave-shell-fix-inserted-breaks)
7318 (idlwave-shell-activate-alt-keybindings)
7319 (idlwave-shell-use-breakpoint-glyph):
7320 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7321
f7ae6719
SM
73222012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7325
47086495
WS
73262012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7327
7328 * progmodes/verilog-mode.el (font-lock-keywords):
7329 Fix mis-highligting auto. Reported by Craig Barner.
7330 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7331 defines from global name space. Reported by Dan Dever.
47086495
WS
7332 (verilog-auto-reset, verilog-auto-reset-widths)
7333 (verilog-auto-tieoff): Support using unbased numbers for
7334 AUTORESET and AUTOTIEOFF.
7335 (verilog-submit-bug-report): Update variable list.
7336 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7337 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7338 (verilog-auto-template-lint): Fix hash error when linting modules
7339 with no used templates.
7340 (verilog-warn, verilog-warn-error)
7341 (verilog-warn-fatal): When non-interactive report multiple
7342 warnings before exiting. Suggested by Brad Dobbie.
7343 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7344 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7345 to report unused template errors. Reported by Brad Dobbie.
7346 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7347 nets, bug438. Reported by Vns Blore.
47086495
WS
7348 (verilog-auto-inout-module, verilog-auto-reg)
7349 (verilog-read-decls, verilog-read-sub-decls-sig)
7350 (verilog-signals-edit-wire-reg, verilog-signals-with):
7351 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7352 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7353 "reg" for backwards compatibility presuming Verilog 2001.
7354 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7355 (verilog-preprocess): Fix replication of preprocess output.
7356 Reported by Brad Dobbie.
7357 (verilog-auto-inst-interfaced-ports):
7358 Create verilog-auto-inst-interfaced-ports, bug429.
7359 Reported by Julian Gorfajn.
7360 (verilog-after-save-font-hook)
7361 (verilog-before-save-font-hook): New variable.
7362 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7363 (verilog-save-font-mods): Wrap disabling fontification, reported
7364 by David Rogoff.
7365 (verilog-do-indent, verilog-pretty-declarations-auto)
7366 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7367 Reported by Pierre-David Pfister.
7368 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7369 of class declarations, bug292. Reported by Kevin Heilman.
7370 (verilog-read-decls): Fix 'parameter type' not appearing in
7371 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7372 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7373 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7374 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7375 Reported by David Kravitz.
7376
73772012-05-03 Michael McNamara <mac@mail.brushroad.com>
7378
7379 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7380 assignment with tests in ifs and for loops.
7381 (verilog-extended-complete-re, verilog-complete-reg): Change so
7382 that DPI inport functions don't look like fuction declarations.
7383 (verilog-pretty-expr): Don't line up assignment
7384 operations to the test and increment in if and for loops
7385 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7386 that DPI inport functions don't look like fuction declarations.
47086495 7387
2e51d4b5
KH
73882012-05-03 Kenichi Handa <handa@m17n.org>
7389
7390 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7391 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7392 (Bug#11282).
7393
2bd785a2
SM
73942012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * emacs-lisp/bytecomp.el
7397 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7398 since cconv.el might have introduced :fun-body, internal-make-closure,
7399 and friends for bytecomp to handle (bug#11391).
7400 * custom.el (defcustom): Avoid ((λ ..) ..).
7401
99d27583
SM
74022012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7403
7404 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7405
55a71479
JB
74062012-05-02 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * notifications.el (dbus-debug):
7409 * term/linux.el (gpm-mouse-enable):
7410 * term/screen.el (xterm-register-default-colors): Declare.
7411
7b97c764
CY
74122012-05-02 Chong Yidong <cyd@gnu.org>
7413
2bc356d7
CY
7414 * cus-start.el (gc-cons-percentage, exec-suffixes)
7415 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7416 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7417 (make-cursor-line-fully-visible, void-text-area-pointer)
7418 (font-list-limit): Add customization data.
7419
7b97c764
CY
7420 * allout.el (allout-exposure-change-functions)
7421 (allout-structure-added-functions)
7422 (allout-structure-deleted-functions)
7423 (allout-structure-shifted-functions): Rename abnormal hooks from
7424 *-hook, and convert to defcustoms.
5d3385a0
JB
7425 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7426 Convert to defcustoms.
7b97c764
CY
7427 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7428
7429 * allout-widgets.el: Hook callers changed.
7430
90207a15 74312012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7432
7433 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7434 the yanked message in preference to the default value of
7435 buffer-file-coding-system.
7436
90207a15 74372012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7438
5d3385a0
JB
7439 * window.el (display-buffer--action-function-custom-type):
7440 Fix entry.
d9558cad 7441
90207a15 74422012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7443
7444 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7445
d80ac57b
GM
74462012-05-01 Glenn Morris <rgm@gnu.org>
7447
976f7668
GM
7448 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7449
beb83b5a
GM
7450 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7451
d80ac57b
GM
7452 * cus-edit.el (custom-variable-documentation): Simplify with format.
7453
b593d6a9 74542012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7455 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7456
7457 * simple.el (suggest-key-bindings, execute-extended-command):
7458 Move from keyboard.c.
7459
782fbf2a
CY
74602012-05-01 Chong Yidong <cyd@gnu.org>
7461
7462 * follow.el: Eliminate advice.
7463 (set-process-filter, process-filter, sit-for): Advice deleted.
7464 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7465 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7466 Vars deleted.
782fbf2a
CY
7467 (follow-auto): Use a :set function.
7468 (follow-mode): Rewritten. Don't advise process filters.
7469 (follow-switch-to-current-buffer-all, follow-scroll-up)
7470 (follow-scroll-down): Assume follow-mode is bound.
7471 (follow-comint-scroll-to-bottom)
7472 (follow-align-compilation-windows): New functions.
7473 (follow--window-sorter): New function.
7474 (follow-all-followers): Use it to explicitly sort windows by their
7475 positions; don't make assumptions about next-window order.
7476 (follow-windows-start-end, follow-delete-other-windows-and-split)
7477 (follow-calc-win-start): Doc fix.
7478 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7479 vertical-motion unnecessarily.
7480 (follow-adjust-window): New function.
7481 (follow-post-command-hook): Use it.
7482 (follow-call-set-process-filter, follow-call-process-filter)
7483 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7484 (follow-stop-intercept-process-output, follow-generic-filter):
7485 Functions deleted.
7486 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7487 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7488 New functions, replacing advice on scroll-bar-* commands.
87233a14 7489 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7490
7491 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7492 (comint-postoutput-scroll-to-bottom): Use it.
7493 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7494
290af740
GM
74952012-05-01 Glenn Morris <rgm@gnu.org>
7496
7497 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7498 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7499 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7500 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7501 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7502 Remove no-byte-compile setting.
7503
6eac8dc9
SM
75042012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7505
7506 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7507 all-completions code to not return a number in the last cdr.
7508
9cc7819c
LL
75092012-04-30 Leo Liu <sdl.web@gmail.com>
7510
7511 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7512 read-only error.
7513
c93b886f
CY
75142012-04-29 Chong Yidong <cyd@gnu.org>
7515
7516 * follow.el (follow-calc-win-end): Rewrite to handle partial
7517 screen lines correctly (Bug#8390).
7518 (follow-avoid-tail-recenter): Minor cleanup.
7519
8b6c19f4
SM
75202012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 Avoid the obsolete `assoc' package.
7523 * speedbar.el (speedbar-refresh): Avoid adelete.
7524 (speedbar-file-lists): Simplify and avoid aput.
7525 * man.el (Man--sections, Man--refpages): New vars, replacing
7526 Man-sections-alist and Man-refpages-alist.
7527 (Man-build-section-alist, Man-build-references-alist):
7528 Use them; avoid aput.
7529 (Man--last-section, Man--last-refpage): New vars.
7530 (Man-follow-manual-reference): Use them.
7531 Use the `default' arg of completing-read.
7532 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7533
c5bb7569
CY
75342012-04-27 Chong Yidong <cyd@gnu.org>
7535
d1d2e2e8
CY
7536 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7537
15cd8efd
CY
7538 * startup.el (x-apply-session-resources): New function.
7539
7540 * term/ns-win.el (ns-initialize-window-system):
7541 * term/w32-win.el (w32-initialize-window-system):
7542 * term/x-win.el (x-initialize-window-system): Use it to properly
7543 set menu-bar-mode and other vars from X resources, even if the
7544 initial frame is not a window-system frame (Bug#2299).
7545
c5bb7569
CY
7546 * subr.el (read-key): Avoid running filter function when setting
7547 up temporary tool bar entries (Bug#9922).
7548
a8e7d6d7 75492012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7550
7551 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7552 (Bug#11344)
7553
a8e7d6d7 75542012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7555
7556 * select.el (xselect--encode-string): New function, split from
7557 xselect-convert-to-string.
7558 (xselect-convert-to-string): Use it.
7559 (xselect-convert-to-filename, xselect-convert-to-os)
7560 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7561 returned strings are properly encoded (Bug#11315).
7562
a8e7d6d7 75632012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7564
7565 * simple.el (delete-active-region): Move to killing custom group.
7566
a8e7d6d7 75672012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7568
7569 * progmodes/which-func.el (which-func-current): Quote %
7570 characters for mode-line processing.
7571
578c1d4b 75722012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7573
7574 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7575 reaching eob (Bug#11286).
7576
a8e7d6d7 75772012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7578
7579 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7580 (gdb): Make it buffer-local and init to zero.
7581 (gdb-control-commands-regexp): New variable.
7582 (gdb-send): Don't wrap in "-interpreter-exec console" if
7583 gdb-control-level is positive. Increment gdb-control-level
7584 whenever the command matches gdb-control-commands-regexp, and
7585 decrement it each time the command is "end". (Bug#11279)
7586
a8e7d6d7 75872012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7588
7589 * window.el (adjust-window-trailing-edge, enlarge-window)
7590 (shrink-window, window-resize):
7591 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7592 windows (Bug#11276).
7593
b3608390
CY
75942012-04-27 Chong Yidong <cyd@gnu.org>
7595
7596 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7597 fix "missing prefix" warning. All callers changed.
b3608390 7598
797e6e88
SM
75992012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7600
7601 * emacs-lisp/assoc.el: Move to obsolete/.
7602
e95a67dc
SM
76032012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7604
657c21e4 7605 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7606
7607 * term/ns-win.el (ns-define-service):
7608 * progmodes/pascal.el (pascal-goto-defun):
7609 * progmodes/js.el (js--read-tab):
7610 * progmodes/etags.el (tags-lazy-completion-table):
7611 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7612 * emacs-lisp/ewoc.el (ewoc--wrap):
7613 * emacs-lisp/assoc.el (aput, adelete, amake):
7614 * doc-view.el (doc-view-convert-current-doc):
7615 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7616
cb3e7ae0
CY
76172012-04-26 Chong Yidong <cyd@gnu.org>
7618
dce04f7f
CY
7619 * image.el (image-type-from-buffer): Only return supported image
7620 type (Bug#9045).
7621
cb3e7ae0
CY
7622 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7623 value, for symmetry with diff-end-of-hunk.
7624 (diff-split-hunk, diff-find-source-location)
7625 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7626 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7627 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7628 compute the relevant hunk or file properly (Bug#6005).
7629 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7630
0d42eb3e
SM
76312012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7632
7633 * vc/vc-mtn.el:
7634 * vc/vc-hg.el:
7635 * vc/vc-git.el:
7636 * vc/vc-dir.el:
7637 * vc/vc-cvs.el:
7638 * vc/vc-bzr.el:
7639 * vc/vc-arch.el:
7640 * vc/vc.el: Replace lexical-let by lexical-binding.
7641 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7642 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7643 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7644
f08ae1c9
CY
76452012-04-26 Chong Yidong <cyd@gnu.org>
7646
8b71081d
CY
7647 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7648 (diff-mode-shared-map): Bind it to / and [remap undo].
7649
f08ae1c9
CY
7650 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7651 (ediff-window-setup-function): Use it as the default, to set up
7652 windows based on whether the current frame is graphical (Bug#2138).
7653 (ediff-choose-window-setup-function-automatically): Make obsolete.
7654
7655 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7656
ef24141c
SM
76572012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7658
cc356a5d
SM
7659 * ffap.el: Remove old code for obsolete package.
7660 (ffap-complete-as-file-p): Remove.
7661
b4ff4f1f
SM
7662 Use completion-table-with-quoting for comint and pcomplete.
7663 * comint.el (comint--unquote&requote-argument)
7664 (comint--unquote-argument, comint--requote-argument): New functions.
7665 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7666 (comint-quote-filename): Use regexp-opt-charset.
7667 (comint--common-suffix, comint--common-quoted-suffix)
7668 (comint--table-subvert): Remove.
7669 (comint-unquote-function, comint-requote-function): New vars.
7670 (comint--complete-file-name-data): Use them with
7671 completion-table-with-quoting.
7672 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7673 * pcomplete.el (pcomplete-arg-quote-list)
7674 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7675 (pcomplete-unquote-argument-function): Default to non-nil.
7676 (pcomplete-unquote-argument): Simplify.
7677 (pcomplete--common-quoted-suffix): Remove.
7678 (pcomplete-requote-argument-function): New var.
7679 (pcomplete--common-suffix): New function.
7680 (pcomplete-completions-at-point): Use completion-table-with-quoting
7681 and completion-table-subvert.
7682
79c4eeb4
SM
7683 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7684 (minibuffer--double-dollars): Preserve properties.
7685 (completion--sifn-requote): New function.
7686 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7687
ef24141c
SM
7688 * minibuffer.el: Add support for completion of quoted/escaped data.
7689 (completion-table-with-quoting, completion-table-subvert): New funs.
7690 (completion--twq-try, completion--twq-all): New functions.
7691 (completion--nth-completion): New function.
7692 (completion-try-completion, completion-all-completions): Use it.
7693
784e7d6e
LL
76942012-04-25 Leo Liu <sdl.web@gmail.com>
7695
dd2ac746
SM
7696 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7697 Use compilation-message if available to find real filename.
784e7d6e 7698
07875ee7
CY
76992012-04-25 Chong Yidong <cyd@gnu.org>
7700
7701 * vc/diff-mode.el (diff-setup-whitespace): New function.
7702 (diff-mode): Use it.
7703
7704 * vc/diff.el (diff-sentinel):
7705 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7706 Whitespace mode variables based on diff style (Bug#8612).
7707
5055880d
LL
77082012-04-25 Leo Liu <sdl.web@gmail.com>
7709
daf75653
LL
7710 * progmodes/python.el (python-send-region): Add suffix .py to the
7711 temp file.
7712
5055880d
LL
7713 * files.el (auto-mode-alist): Use javascript-mode instead.
7714
db9b177b
AH
77152012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7716
ef24141c 7717 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7718
090bd7cb 7719 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7720 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7721 references, see Bug#9.
ef24141c 7722 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7723 when receiving a fault reply.
ef24141c 7724 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7725
090bd7cb 7726 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7727 (soap-inspect-simple-type): New function.
db9b177b 7728
090bd7cb 7729 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7730 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7731 (soap-decode-basic-type, soap-encode-basic-type):
7732 support unsignedInt and double basic types.
db9b177b 7733 (soap-resolve-references-for-simple-type)
ef24141c
SM
7734 (soap-parse-simple-type, soap-encode-simple-type): New function.
7735 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7736
090bd7cb 7737 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7738 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7739 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7740 the local name of "soapenc:Array".
7741 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7742 decoding integer, byte and anyURI xsd types.
7743
1fc6097b
CY
77442012-04-25 Chong Yidong <cyd@gnu.org>
7745
7746 * cus-edit.el (custom-buffer-create-internal): Update header text.
7747
afc6df87
EZ
77482012-04-25 Eli Zaretskii <eliz@gnu.org>
7749
7750 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7751 settings on 'system-type', not on 'window-system'. On MS-Windows,
7752 set interactive-mode on in GDB.
7753
dfbd787f
SM
77542012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7755
7756 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7757 (ruby-syntax-propertize-regexp): Remove.
7758 (ruby-syntax-propertize-function): Split regexp into chunks.
7759 Match following code directly.
7760
85222d44
DG
77612012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7762
51a8ea2a
DG
7763 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7764 (ruby-syntax-propertize-regexp): New function.
7765 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7766 by a special keyword.
7767
85222d44
DG
7768 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7769 (ruby-syntax-general-delimiters-goto-beg)
7770 (ruby-syntax-propertize-general-delimiters): New functions.
7771 (ruby-syntax-propertize-function): Use them to handle GDL.
7772 (ruby-font-lock-keywords): Move old handling of GDL...
7773 (ruby-font-lock-syntactic-keywords): .. to here.
7774 (ruby-calculate-indent): Adjust indentation for GDL.
7775
b613912b
MA
77762012-04-24 Michael Albinus <michael.albinus@gmx.de>
7777
b5380639
MA
7778 * notifications.el (top): Remove unneeded declarations.
7779 (notifications-specification-version): Change to "1.2".
e43042fe 7780 (notifications-interface, notifications-notify-method)
b613912b
MA
7781 (notifications-close-notification-method): Fix docstring.
7782 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7783 (notifications-notify): Add :action-items, :resident and
7784 :transient hints. Change "image_data" to "image-data" and
7785 "image_path" to "image-path".
b613912b
MA
7786 (notifications-get-capabilities): New defun.
7787
257440aa
LL
77882012-04-24 Leo Liu <sdl.web@gmail.com>
7789
7790 * progmodes/python.el: Move hideshow setup to the end.
7791
b1bac16e
MR
77922012-04-24 Martin Rudalics <rudalics@gmx.at>
7793
7794 * window.el (handle-select-window): Clear echo area since this is
7795 no more done by read_char (Bug#11304).
7796
d81bd059
SM
77972012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7798
7799 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7800 and `/ M' to filter-derived-mode.
7801 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7802 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7803 (ibuffer-mark-by-mode): Use default rather than initial-input.
7804 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7805
c4cf6d91
IA
78062012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7807
7808 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7809 (ibuffer-filter-by-derived-mode): New filter.
7810 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7811
7511ded8
CY
78122012-04-23 Andreas Politz <politza@fh-trier.de>
7813
7814 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7815
775c916b
CY
78162012-04-23 Chong Yidong <cyd@gnu.org>
7817
7818 * cus-edit.el (customize-apropos, customize-apropos-options):
7819 Disable matching of non-option variables (Bug#11176).
7820 (customize-option, customize-option-other-window)
7821 (customize-changed-options): Doc fix.
7822 (customize-apropos-options, customize-apropos-faces)
7823 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7824
7825 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7826 Fix word list splitting (Bug#11132).
46c71e23
CY
7827 (apropos-symbol, apropos-keybinding, apropos-label)
7828 (apropos-property, apropos-function-button)
7829 (apropos-variable-button, apropos-misc-button): New faces.
7830 (apropos-symbol-face, apropos-keybinding-face)
7831 (apropos-label-face, apropos-property-face, apropos-match-face):
7832 Variables removed (Bug#8396).
7833 (apropos-library-button, apropos-format-plist, apropos-print)
7834 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7835
2df41f9c
MA
78362012-04-23 Michael Albinus <michael.albinus@gmx.de>
7837
7838 * net/xesam.el (xesam-mode-map): Use let-bound map in
7839 initialization. (Bug#11292)
7840
da00640a
AM
78412012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7842
7843 Preserve ispell session localwords when switching back to
7844 original buffer.
7845
090bd7cb
JB
7846 * textmodes/ispell.el (ispell-buffer-session-localwords):
7847 New buffer-local variable to hold buffer session localwords.
ed9265fc 7848 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7849 localwords.
7850 (ispell-command-loop, ispell-change-dictionary)
7851 (ispell-buffer-local-words): Preserve session localwords when
7852 needed.
7853
090bd7cb
JB
7854 * textmodes/flyspell.el (flyspell-process-localwords)
7855 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7856
f621ccf5
AM
78572012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7858
090bd7cb
JB
7859 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7860 using obsolete `translation-table-for-input'.
ef24141c
SM
7861 (ispell-word, ispell-process-line, ispell-complete-word):
7862 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7863
c2d1019e
CY
78642012-04-22 Chong Yidong <cyd@gnu.org>
7865
7866 * cus-edit.el (custom-variable-menu)
7867 (custom-variable-reset-saved, custom-face-menu)
7868 (custom-face-reset-saved): If there is no saved value, make the
7869 "reset-saved" operation bring back the default (Bug#9509).
7870 (custom-face-state): Properly detect themed faces.
7871
eeddc531
CY
7872 * faces.el (face-spec-set): Stop supporting deprecated form of
7873 third arg.
7874
dcbf5805
MA
78752012-04-22 Michael Albinus <michael.albinus@gmx.de>
7876
7877 Move functions from C to Lisp. Make non-blocking method calls
7878 the default. Implement further D-Bus standard interfaces.
7879
ef24141c
SM
7880 * net/dbus.el (dbus-message-internal): Declare function.
7881 Remove unneeded function declarations.
dcbf5805
MA
7882 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7883 (dbus-message-type-method-return, dbus-message-type-error)
7884 (dbus-message-type-signal): Declare variables. Remove local
7885 definitions.
7886 (dbus-interface-dbus, dbus-interface-peer)
7887 (dbus-interface-introspectable, dbus-interface-properties)
7888 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7889 Adapt docstring.
7890 (dbus-interface-objectmanager): New defconst.
7891 (dbus-call-method, dbus-call-method-asynchronously)
7892 (dbus-send-signal, dbus-method-return-internal)
7893 (dbus-method-error-internal, dbus-register-service)
7894 (dbus-register-signal, dbus-register-method): New defuns, moved
7895 from dbusbind.c
7896 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7897 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7898 New defuns.
dcbf5805
MA
7899 (dbus-call-method-non-blocking): Make it an obsolete function.
7900 (dbus-unregister-object, dbus-unregister-service)
7901 (dbus-handle-event, dbus-register-property)
7902 (dbus-property-handler): Obey the new structure of
7903 `bus-registered-objects'.
7904 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7905 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7906 Use `dbus-call-method'.
7907
cf20dee0
CY
79082012-04-22 Chong Yidong <cyd@gnu.org>
7909
7910 * cus-edit.el (custom-commands, custom-reset-menu)
7911 (Custom-reset-standard): Tweak labels.
7912 (custom-reset-button-menu): Change default to t.
7913 (custom-buffer-create-internal): For the custom-reset-button-menu
7914 case, put the revert button first.
7915 (custom-group-subtitle): New face.
7916 (custom-group-value-create): Align docstring to a specific column.
7917
7918 * wid-edit.el (widget-documentation-link-add): Don't handle
7919 indentation in this function.
7920 (widget-documentation-string-indent-to): New function.
7921 (widget-documentation-string-value-create): Use it.
7922
7923 * autorevert.el (auto-revert):
7924 * epg-config.el (epg):
7925 * ibuffer.el (ibuffer):
7926 * mpc.el (mpc):
7927 * ses.el (ses):
7928 * eshell/eshell.el (eshell):
7929 * net/ange-ftp.el (ange-ftp):
7930 * progmodes/ebnf2ps.el (postscript):
7931 * progmodes/flymake.el (flymake):
7932 * progmodes/prolog.el (prolog):
7933 * progmodes/verilog-mode.el (verilog-mode):
7934 * progmodes/which-func.el (which-func):
7935 * term/xterm.el (xterm):
7936 * textmodes/picture.el (picture):
7937 * textmodes/tildify.el (tildify):
7938 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7939 customization buffers.
7940
583e23bd
AM
79412012-04-22 Alan Mackenzie <acm@muc.de>
7942
7943 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7944 Adding a ) can hide the resulting (..) from searches. Fix it.
7945 Bound the backward search to the position of the existing (.
7946
7dd51bf1
JB
79472012-04-21 Juanma Barranquero <lekktu@gmail.com>
7948
7949 * progmodes/verilog-mode.el (verilog-mode): Check whether
7950 which-func-modes is t before adding verilog-mode.
7951 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7952
d64a438f
LL
79532012-04-21 Leo Liu <sdl.web@gmail.com>
7954
7dd51bf1 7955 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7956
081e8d65
MV
79572012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7958
7959 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7960 filling of the last column of a table (Bug#5635).
7961 (woman-find-next-control-line): New arg, specifying an additional
7962 regexp component for the control line.
7963 (woman2-roff-buffer): Use it.
7964 (woman-break-table): New function.
7965 (woman2-TS): Use it.
7966
79672012-04-21 Chong Yidong <cyd@gnu.org>
7968
7969 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7970 (woman-horizontal-escapes, woman-negative-vertical-space)
7971 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7972 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7973
ed571ccb
SM
79742012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7975
7976 * minibuffer.el (completion-file-name-table): Complete user names.
7977
39773899
LL
79782012-04-20 Leo Liu <sdl.web@gmail.com>
7979
7980 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7981 and pcase-let*.
7982
de6ff46d
CY
79832012-04-20 Chong Yidong <cyd@gnu.org>
7984
7985 * server.el (server-execute): Respect initial-buffer-choice if it
7986 is a string and there are no files to open (Bug#2825).
7987 (server-create-window-system-frame, server-create-tty-frame):
7988 Don't switch buffers here.
2d0e8e61
CY
7989 (server-process-filter): Only try to open a window system frame if
7990 compiled with graphical support (Bug#8314).
de6ff46d 7991
54071013
DN
79922012-04-20 Dan Nicolaescu <dann@gnu.org>
7993
7994 * battery.el (battery-echo-area-format): Display remaining time
7995 for sysfs backend too (Bug#11269).
7996 (battery-linux-sysfs): Fix conditional for the charge.
7997
f30d612a
CY
79982012-04-20 Chong Yidong <cyd@gnu.org>
7999
c07a4c0b 8000 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8001 (gdb-inferior-io--init-proc): New function.
8002 (gdb-init-1): Use it.
8003 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8004 responsible for allocating a new pty and hooking it to gdb when
8005 the old pty gets an EIO due to process exit.
8006 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8007 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8008 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8009
2116e93c
EZ
80102012-04-20 Eli Zaretskii <eliz@gnu.org>
8011
8012 * window.el (window-min-size, window-sizable, window-min-delta)
8013 (window-max-delta, window--resizable, window-resizable)
8014 (window-total-size, window-full-height-p, window-full-width-p)
8015 (window-in-direction, window--resize-mini-window, window-resize)
8016 (window--resize-child-windows-normal)
8017 (window--resize-child-windows, window--resize-siblings)
8018 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8019 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8020
c07a4c0b 80212012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8022
ef24141c
SM
8023 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8024 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8025 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8026 pty process (Bug#11273).
8027 (gdb-update): New arg to suppress talking to the gdb process.
8028 (gdb-done-or-error): Use it.
8029 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8030 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8031 sentinel not being called.
8032
8033 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8034
d02766ab
CY
8035 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8036
c07a4c0b 80372012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8038
8039 * net/network-stream.el (open-network-stream): Doc fix.
8040
c07a4c0b 80412012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8042
8043 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8044
c07a4c0b 80452012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8046
8047 Ensure searching for keywords is case sensitive.
8048
8049 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8050 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8051 (c-defun-name, c-mark-function, c-cpp-define-name)
8052 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8053 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8054
ef24141c
SM
8055 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8056 Bind case-fold-search to nil.
f0f6bc35 8057
c07a4c0b 80582012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8059
8060 * mail/sendmail.el (mail-bury): Call return action with the right
8061 Rmail buffer (Bug#11242).
8062
9a864fa2
CY
8063 * server.el (server-process-filter): Handle corner case where both
8064 tty and nowait options are present (Bug#11102).
8065
539aa513
EZ
80662012-04-20 Eli Zaretskii <eliz@gnu.org>
8067
8068 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8069 (top level): Put into the executable the ident-style '$Id:' tag on
8070 windows-nt as well.
539aa513 8071
cfc7d5da
SM
80722012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8073
8074 * electric.el (electric-indent-post-self-insert-function): Check that
8075 electric-indent-mode is enabled in current buffer.
8076
5b01685c
JB
80772012-04-19 Juanma Barranquero <lekktu@gmail.com>
8078
8079 * imenu.el (imenu-progress-message): Restore; it is "used" in
8080 erc/erc-imenu.el and net/snmp-mode.el.
8081
4d6769e1
JB
80822012-04-19 Juanma Barranquero <lekktu@gmail.com>
8083
8084 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8085 (mouse-avoidance-nudge-mouse): Remove unused binding.
8086
8087 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8088
8089 * descr-text.el (describe-char):
8090 * progmodes/python.el (python-describe-symbol):
8091 Don't call `toggle-read-only', set `buffer-read-only'.
8092
8093 * imenu.el (imenu-default-goto-function): Mark unused args.
8094 (imenu-progress-message): Remove obsolete macro; all callers changed.
8095
8096 * subr.el (keymap-canonicalize): Remove unused binding.
8097 (read-passwd): Mark unused arg.
8098
8099 * tutorial.el (tutorial--display-changes): Remove unused binding.
8100 (tutorial--save-tutorial-to): Remove unused variable.
8101
8102 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8103 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8104 (package-generate-autoloads, package-menu--generate)
8105 (package-menu--find-upgrades): Remove unused bindings.
8106
8107 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8108 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8109 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8110 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8111 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8112 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8113 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8114 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8115 (cua-delete-char-rectangle): Mark unused args.
8116 (cua-align-rectangle): Remove unused binding.
8117
8118 * mail/rmail.el (compilation--message->loc)
8119 (epa--find-coding-system-for-mime-charset): Declare.
8120
8121 * net/dbus.el (dbus-register-service): Declare.
8122 (dbus-name-owner-changed-handler): Remove unused binding.
8123
8124 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8125 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8126 (nxml-scan-backward-within): Mark unused arg.
8127 (nxml-dynamic-markup-word): Remove unused binding.
8128
8129 * mouse.el (mouse-menu-major-mode-map):
8130 * emacs-lisp/authors.el (authors-scan-change-log)
8131 (authors-add-to-author-list):
8132 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8133 * emacs-lisp/smie.el (smie-auto-fill):
8134 * mail/sendmail.el (mail-bury):
8135 * mail/unrmail.el (unrmail):
8136 * net/tls.el (open-tls-stream):
8137 * textmodes/picture.el (picture-mouse-set-point):
8138 Remove unused bindings.
8139
8c8fc5df
MA
81402012-04-19 Michael Albinus <michael.albinus@gmx.de>
8141
8142 * net/tramp.el (tramp-action-password): Let-bind
8143 `enable-recursive-minibuffers' to t.
8144
a77b0ac9
SS
81452012-04-18 Sam Steingold <sds@gnu.org>
8146
8147 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8148 instead of 'string to accommodate values like [f11].
8149 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8150 * progmodes/gdb-mi.el: Likewise.
8151
12a106a9
LL
81522012-04-18 Leo Liu <sdl.web@gmail.com>
8153
8154 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8155 current buffer.
8156 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8157 LOCAL is nil.
8158
bc6494ef
CY
81592012-04-18 Chong Yidong <cyd@gnu.org>
8160
8161 * simple.el (line-move): Use forward-line if in batch mode
8162 (Bug#11053).
8163
c09c46b2
CS
81642012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8165
8166 * files.el (after-find-file): Do not try to add a final newline if
8167 the buffer is read-only (Bug#11156).
8168
5f6530ea
RS
81692012-04-17 Richard Stallman <rms@gnu.org>
8170
8171 * mail/rmail.el (rmail-start-mail):
8172 Pass (rmail-mail-return...) for the return-action.
8173 Pass (rmail-yank-current-message...) for the yank-action.
8174 (rmail-yank-current-message): New function.
8175 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8176 (rmail-reply): Likewise.
8177 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8178
8179 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8180 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8181 buffer, not newbuf.
8182
197b6f3c
JB
81832012-04-17 Juanma Barranquero <lekktu@gmail.com>
8184
8185 * server.el (server-ensure-safe-dir): Simplify.
8186
2311d8e5 81872012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8188
2311d8e5
GM
8189 * emacs-lisp/smie.el: Provide smarter auto-filling.
8190 (smie-auto-fill): New function.
8191 (smie-setup): Use it.
98fb480e 8192
2311d8e5
GM
8193 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8194
81952012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8196
8197 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8198 (comment-indent): Use it.
8199
2311d8e5 82002012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8201
8202 * ses.el: The overall change is to add cell renaming, that is
8203 setting fancy names for cell symbols other than name matching
8204 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8205 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8206 (ses-create-cell-variable): New defun.
2311d8e5 8207 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8208 (ses-relocate-formula): Relocate formulas only for cells the
8209 symbols of which are not renamed, i.e. symbols whose names do not
8210 match regexp "\\`[A-Z]+[0-9]+\\'".
8211 (ses-relocate-all): Relocate values only for cells the symbols of
8212 which are not renamed.
8213 (ses-load): Create cells variables as the (ses-cell ...) are read,
8214 in order to check row col consistency with cell symbol name only
8215 for cells that are not renamed.
8216 (ses-replace-name-in-formula): New defun.
8217 (ses-rename-cell): New defun.
4bdf2ad2 8218
fc72b15c
PO
82192012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8220
8221 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8222 New option (bug#11118).
8223 (perl-calculate-indent): Respect it.
8224
12e10e61
GM
82252012-04-17 Glenn Morris <rgm@gnu.org>
8226
8227 * dired-aux.el (dired-mark-read-string): Doc fix.
8228
30009afd
DA
82292012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8230
8231 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8232 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8233
41f03f4d
GM
82342012-04-17 Glenn Morris <rgm@gnu.org>
8235
8236 * mouse.el (mouse-drag-track):
8237 * speedbar.el (speedbar-frame-mode):
8238 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8239
f45f90f3
LL
82402012-04-16 Leo Liu <sdl.web@gmail.com>
8241
8242 * progmodes/python.el: Trivial cleanup.
8243
94ee8db5
GM
82442012-04-16 Glenn Morris <rgm@gnu.org>
8245
121b8917
GM
8246 * vc/vc.el (vc-string-prefix-p):
8247 * vc/pcvs-util.el (cvs-string-prefix-p):
8248 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8249 * mpc.el (mpc-string-prefix-p):
8250 Make all of these into obsolete aliases for string-prefix-p.
8251 Update callers.
8252 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8253
1197ecfa
GM
8254 * textmodes/two-column.el: Move custom options to the start.
8255 (frame-width): Remove compat definition.
8256 (2C-associate-buffer, 2C-dissociate):
8257 Use with-current-buffer rather than save-excursion.
8258 (2C-dissociate): Force a mode-line update.
8259 (2C-autoscroll): Use ignore-errors.
8260
099e7202
GM
8261 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8262 Autoload trivia.
8263
bf350d6a
GM
8264 * emacs-lisp/cl-extra.el (*random-state*):
8265 Remove unnecessary declaration.
8266
0e829eab
GM
8267 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8268
e3ad7552
GM
8269 * play/cookie1.el (cookie-snarf):
8270 Give an explicit error if input file cannot be read.
8271
68892d27
GM
8272 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8273
20f0c46d
GM
8274 * progmodes/perl-mode.el (c-macro-expand):
8275 Remove unnecessary autoload (it is in loaddefs.el).
8276
5a0978ce
GM
8277 * textmodes/picture.el (picture-desired-column)
8278 (picture-update-desired-column): Convert comments to doc-strings.
8279 (picture-substitute): Remove function.
8280 (picture-mode-map): Initialize in the defvar.
8281
6b955486
GM
8282 * woman.el: Remove eval-after-load for tar-mode.
8283 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8284 (woman-tar-extract-file): Autoload it.
8285
94ee8db5
GM
8286 * frame.el (automatic-hscrolling): Make this alias obsolete.
8287
177eca34
AM
82882012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8289
090bd7cb 8290 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8291 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8292 (ispell-dictionary-base-alist): Revert to original XEmacs
8293 friendly version for default. [:alpha:] will be added in
090bd7cb 8294 `ispell-set-spellchecker-params' if needed.
177eca34 8295
c505aaeb
CY
82962012-04-16 Chong Yidong <cyd@gnu.org>
8297
b19dd9d1 8298 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8299 (imagemagick-register-types): Use it.
8300 (imagemagick-types-inhibit): Add :set function. Allow new value
8301 of t to inhibit all types.
8302
8303 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8304 so we can preload it.
8305
8306 * loadup.el (fboundp): Preload regexp-opt, needed by
8307 imagemagick-register-types.
8308
60efac0f
CY
83092012-04-15 Chong Yidong <cyd@gnu.org>
8310
8311 * frame.el (scrolling): Remove nearly unused customization group.
8312
8313 * scroll-all.el (scroll-all-mode): Move to windows group.
8314
5dd1713e
CY
83152012-04-15 Chong Yidong <cyd@gnu.org>
8316
8317 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8318
e6fd457e
CY
83192012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8320
8321 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8322 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8323
e153c136
GM
83242012-04-15 Glenn Morris <rgm@gnu.org>
8325
8326 * simple.el (process-file-side-effects): Doc fix.
8327
e6fd457e 83282012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8329
8330 * international/mule-cmds.el (set-language-environment): Doc fix.
8331
3603c3b1
JB
83322012-04-14 Juanma Barranquero <lekktu@gmail.com>
8333
8334 * server.el (server-auth-key, server-generate-key): Doc fixes.
8335 (server-get-auth-key): Doc fix. Use `string-match-p'.
8336 (server-start): Reflow docstring.
8337
e6de100c
LI
83382012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8339
8340 * server.el (server-generate-key): `called-interactively-p'
8341 requires a parameter.
8342
29734c21
MN
83432012-04-14 Michal Nazarewicz <mina86@mina86.com>
8344
8345 * server.el (server-auth-key): New variable.
75f1671a 8346 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8347 (server-start): Use the new variable and functions to allow
8348 setting a permanent server key (bug#9423).
8349
d65c9521
LL
83502012-04-14 Leo Liu <sdl.web@gmail.com>
8351
8352 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8353
5ae255c7
PE
83542012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8355
8356 Spelling fixes.
8357 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8358 Emacs uses American spelling.
8359
d5e6342e
JB
83602012-04-14 Juanma Barranquero <lekktu@gmail.com>
8361
8362 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8363 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8364 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8365 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8366
ab036cd7
SM
83672012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8368
8369 * progmodes/which-func.el (which-func-modes): Change default.
8370
35dc09a1 83712012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8372
8373 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8374 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8375
35dc09a1 83762012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8377
8378 * custom.el (custom-theme-set-variables): Doc fix.
8379
35dc09a1 83802012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8381
8382 * international/mule.el (set-auto-coding-for-load): Doc fix.
8383
35dc09a1 83842012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8385
35dc09a1
GM
8386 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8387 imenu work again for Objective C Mode. Correct the *-index values,
8388 these having been disturbed by a previous change in 2011-08.
57f845ee 8389
0de3da9f
AM
8390 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8391 Correct two search limits.
8392
35dc09a1 83932012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8394
8395 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8396
35dc09a1 83972012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8398
8399 * international/characters.el: Fix sorting.
8400
35dc09a1 84012012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8402
8403 * international/characters.el: Add more missing Latin case pairs.
8404
35dc09a1 84052012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8406
8407 * files.el (dir-locals-set-class-variables): Doc fix.
8408
35dc09a1 84092012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8410
3f1b5bf8
EZ
8411 * international/characters.el: Add set-case-syntax-pair call for
8412 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8413 counterpart. (Bug#11209)
8414
9f847f41
EZ
8415 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8416
35dc09a1 84172012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8418
8419 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8420
35dc09a1 84212012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8422
35dc09a1
GM
8423 * textmodes/ispell.el (ispell-dictionary-base-alist):
8424 Add data for Hebrew.
e2627d21 8425
35dc09a1 84262012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8427
35dc09a1
GM
8428 * net/rcirc.el (rcirc-cmd-quit):
8429 Revert 2012-03-18 change (Bug#11192).
5c14e333 8430
35dc09a1 84312012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8432
8433 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8434
35dc09a1 84352012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8436
4517fe3a
SM
8437 * minibuffer.el (completion-in-region-mode-map):
8438 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8439
b472a594
VD
84402012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8441
8442 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8443
09b95ce3
MY
84442012-04-13 Masatake YAMATO <yamato@redhat.com>
8445
8446 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8447 to allow `C-M-f' and `C-M-b' to move to the nearest path
8448 separator (bug#9511).
8449
4b63a9ca
LI
84502012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8451
8452 * avoid.el: Require cl when compiling. And also move the
8453 `provide' to the end.
8454
7b55b8bf
TV
84552012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8456
8457 * avoid.el (mouse-avoidance-banish-position): New variable.
8458 (mouse-avoidance-banish-destination): Use it (bug#10165).
8459
adedaa1f
LL
84602012-04-13 Leo Liu <sdl.web@gmail.com>
8461
8462 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8463
70e74021
KB
84642012-04-13 Ken Brown <kbrown@cornell.edu>
8465
8466 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8467 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8468 (browse-url-filename-alist): For the same reason, don't modify
8469 file:// URLs on Cygwin.
8470
e75e89ba
SM
84712012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8472
8473 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8474 the region on shift if the binding is already shifted (bug#11221).
8475
82f289a4
GM
84762012-04-12 Glenn Morris <rgm@gnu.org>
8477
8478 * mail/mailpost.el: Move to obsolete/.
8479
d333dc4c
DA
84802012-04-12 Drew Adams <drew.adams@oracle.com>
8481
8482 * imenu.el (imenu--generic-function): Ignore invisible definitions
8483 (bug#10123).
8484
0d15b5ba
VD
84852012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8486
8487 * hexl.el (hexl-bits): New variable.
8488 (hexl-options): Mention the variable in the doc string.
75f1671a 8489 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8490 (hexl-mode): Mention the new variable.
75f1671a
JB
8491 (hexl-mode, hexl-current-address, hexl-current-address):
8492 Use the displen.
0d15b5ba
VD
8493 (hexl-ascii-start-column): New function.
8494 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8495 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8496
64a440db
AM
84972012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8498
8499 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8500 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8501 the encoding, as expected by hunspell.
8502
6decb6c2
SM
85032012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8504
8505 * battery.el (battery--linux-sysfs-regexp): New const.
8506 (battery-status-function): Use it. Remove yeeloong special case.
8507 (battery-yeeloong-sysfs): Remove.
8508 (battery-echo-area-format): Remove yeeloong special case.
8509
088be6fb
SM
85102012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8511
6622e416
SM
8512 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8513 Reported by Noah Friedman.
8514
088be6fb
SM
8515 * subr.el (read-passwd): Use read-string.
8516
b49f886e
LMI
85172012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8518
8519 * vcursor.el (vcursor-move): Increase the priority of the overlay
8520 (bug#9663).
8521
a63067fc
DD
85222012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8523
8524 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8525 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8526
ac3cf14a
WS
85272012-04-11 William Stevenson <yhvh2000@gmail.com>
8528
8529 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8530 define-minor-mode (bug#10760).
8531
c4fc691b 85322012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8533
4d6769e1 8534 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8535 that directories matching `grep-find-ignored-files' won't be
8536 pruned (bug#10351).
8537
af23e2e5
CY
85382012-04-11 Chong Yidong <cyd@gnu.org>
8539
8540 * startup.el (command-line): Remove support for long-obsolete
8541 variable font-lock-face-attributes.
8542
ab7ce8c1
GM
85432012-04-11 Glenn Morris <rgm@gnu.org>
8544
8545 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8546
de8c03dc
SM
85472012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8548
8549 * window.el (window--state-get-1): Obey window-point-insertion-type.
8550
050cc68b
LB
85512012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8552
8553 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8554 to previous function when point is on the first character of a
75f1671a 8555 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8556
a38c310c
GM
85572012-04-11 Glenn Morris <rgm@gnu.org>
8558
effed0c2
GM
8559 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8560 not just file-errors.
8561
a38c310c
GM
8562 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8563 (vc-bzr-sha1): Use internal sha1.
8564
0221e323
SM
85652012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8568
43956923
SG
85692012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8570
8571 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8572 that start in the middle of the line (bug#10496).
8573
6a8c9eaf
DN
85742012-04-10 Dan Nicolaescu <dann@gnu.org>
8575
8576 * battery.el (battery-linux-proc-acpi): Only one battery is
8577 discharged at a time, but that seems to confuse battery.el when
8578 computing `rate-type' for the battery not being discharged
8579 (bug#10332).
8580
1930bf5d
SM
85812012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8582
2a718f6f
SM
8583 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8584
599430d0
SM
8585 * international/quail.el: Use dolist and simplify.
8586 (quail-define-package, quail-update-keyboard-layout)
8587 (quail-define-rules): Use dolist.
8588 (quail-insert-kbd-layout, quail-get-translation): CSE.
8589
a2754b6c
SM
8590 * tmm.el: Use dolist, remove left over hook.
8591 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8592 Use dolist.
8593 (calendar-load-hook): Don't mess with it.
8594
1930bf5d
SM
8595 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8596 Use derived-mode-p. Run the diff asynchronously.
8597
9f67961c
LMI
85982012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8599
8600 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8601
2a8ce227
JB
86022012-04-10 Juanma Barranquero <lekktu@gmail.com>
8603
8604 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8605 (list-dynamic-libraries--loaded): New function.
8606 (list-dynamic-libraries--refresh): Use it.
8607
8f33b5f8
NW
86082012-04-10 Nathan Weizenbaum <nweiz@google.com>
8609
1930bf5d
SM
8610 * progmodes/python.el (python-fill-paragraph):
8611 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8612 disabled (bug#7018).
8613
b12f0439
L
86142012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8615
1930bf5d 8616 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8617 DOS/MS Windows for the Baltic languages. There are still plenty
8618 of texts written in this encoding/codepage (bug#6519).
b12f0439 8619
57c3bd01
GM
86202012-04-10 Glenn Morris <rgm@gnu.org>
8621
8622 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8623 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8624
6c3eab30
FA
86252012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8626
1930bf5d 8627 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8628 next-line "n" and previous-line "p" in order to make recentf more
8629 consistent with ibuffer, dired or org-mode (bug#9387).
8630
24d78a88
LMI
86312012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8632
bc72b5d9
LMI
8633 * image.el (put-image): Return the overlay created instead of the
8634 optional input string (bug#7834). Note that this may break code
8635 that is (for some reason or other) depending on `put-image'
8636 returning the string.
8637
bd2dba5a
LMI
8638 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8639
74beb59f
LMI
8640 * simple.el (zap-to-char): Allow zapping using input methods
8641 (bug#1580).
8642
24d78a88
LMI
8643 * textmodes/fill.el (fill-region): Leave point and mark where they
8644 were before filling (bug#5399).
8645
263f20cd
GM
86462012-04-09 Glenn Morris <rgm@gnu.org>
8647
8648 * version.el (emacs-bzr-get-version):
8649 Handle lightweight checkouts of local branches.
8650
58d1f797
AS
86512012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8652
263f20cd 8653 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8654
b4d3bc10
CY
86552012-04-09 Chong Yidong <cyd@gnu.org>
8656
8657 * custom.el (custom-variable-p): Return nil for non-symbol
8658 arguments instead of signaling an error.
8659 (user-variable-p): Obsolete alias for custom-variable-p.
8660
8661 * apropos.el (apropos-variable):
8662 * files-x.el (read-file-local-variable):
8663 * simple.el (set-variable):
8664 * woman.el (woman-mini-help):
8665 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8666
fd06db5d
GM
86672012-04-09 Glenn Morris <rgm@gnu.org>
8668
e5fcdb5e
GM
8669 * startup.el (normal-top-level): Don't look for leim-list.el
8670 in places where it will not be found. (Bug#910)
8671
fd06db5d
GM
8672 * international/mule-cmds.el (set-default-coding-systems):
8673 * files.el (normal-mode):
8674 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8675 This function was removed with ucs-tables.el in 2008.
8676
b39bb7e1
EZ
86772012-04-08 Eli Zaretskii <eliz@gnu.org>
8678
8679 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8680 ispell-encoding8-command to "-i", without a trailing space.
8681 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8682 separate command-line arguments, to specify the encoding, since
8683 that's how hunspell expects it.
8684
5c5b8e23
GM
86852012-04-08 Glenn Morris <rgm@gnu.org>
8686
8687 * loadup.el: Load bindings before cus-start.
8688 This reduces somewhat the number of "rogue" settings in emacs -Q.
8689
a1ed8b05
GM
86902012-04-07 Glenn Morris <rgm@gnu.org>
8691
8692 * version.el (emacs-bzr-get-version): New function.
dfae128a 8693 (emacs-bzr-version): New variable.
a1ed8b05
GM
8694 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8695 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8696
b142f158
EZ
86972012-04-07 Eli Zaretskii <eliz@gnu.org>
8698
dfae128a
GM
8699 * international/uni-bidi.el, international/uni-category.el:
8700 * international/uni-combining.el, international/uni-decimal.el:
8701 * international/uni-decomposition.el, international/uni-digit.el:
8702 * international/uni-lowercase.el, international/uni-mirrored.el:
8703 * international/uni-name.el, international/uni-numeric.el:
8704 * international/uni-titlecase.el, international/uni-uppercase.el:
8705 Update for Unicode 6.1.
b142f158 8706
9078ead6
EZ
87072012-04-07 Eli Zaretskii <eliz@gnu.org>
8708
8709 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8710
f23d2c7d
LMI
87112012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8712
8713 * window.el (shrink-window): Mention the `window-min-height'
8714 variable in the doc string.
8715
0a0a3573
BG
87162012-04-05 Bastien Guerry <bzg@altern.org>
8717
8718 * color.el (color-lighten-name): Fix typo.
8719
e5248ac9
SM
87202012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8721
8722 * server.el (server--on-display-p): New function.
8723 (server--on-display-p): Use it.
8724
b4243e22
GV
87252012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8726
8727 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8728 (bug#11145).
8729
305d9f44
SM
87302012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8731
8732 * comint.el (comint--common-quoted-suffix): Check string boundary
8733 before comparing (bug#11158).
8734 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8735
3d439cd1
CY
87362012-04-04 Chong Yidong <cyd@gnu.org>
8737
321cc491
CY
8738 * minibuffer.el (completion-extra-properties): Doc fix.
8739
3d439cd1
CY
8740 * subr.el (delayed-warnings-hook): Doc fix.
8741
2d562c0f
DU
87422012-04-04 Daiki Ueno <ueno@unixuser.org>
8743
8744 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8745 selection (Bug#11159).
8746 (epa-insert-keys): Inform that the default public key will be
8747 exported if no key is selected.
8748
4443f204
RS
87492012-04-04 Richard Stallman <rms@gnu.org>
8750
8751 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8752
529c06b6
CY
87532012-04-03 Chong Yidong <cyd@gnu.org>
8754
8755 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8756 mail-insert-file, not its obsolete alias mail-attach-file.
8757
66b907dc
MA
87582012-04-03 Michael Albinus <michael.albinus@gmx.de>
8759
8760 * notifications.el (notifications-notify): Fix docstring.
8761
c0ea195d
GM
87622012-04-02 Glenn Morris <rgm@gnu.org>
8763
8764 * emacs-lisp/authors.el (authors-aliases): Another addition.
8765
5ca64e00
MA
87662012-04-02 Michael Albinus <michael.albinus@gmx.de>
8767
8768 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8769 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8770 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8771
42ee526b
CY
87722012-04-01 Chong Yidong <cyd@gnu.org>
8773
8774 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8775 Handle root directory properly.
8776 (copy-directory): Caller changed.
8777
8778 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8779 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8780
0b021094
GM
87812012-03-31 Glenn Morris <rgm@gnu.org>
8782
40f86458
GM
8783 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8784
7019c177
GM
8785 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8786
a1daddd6
GM
8787 * calendar/calendar.el (calendar-window-list)
8788 (calendar-hide-window): Restore. (Bug#11140)
8789 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8790
0b021094
GM
8791 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8792
40311efc
TV
87932012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8794
8795 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8796 Check if file is a symlink (Bug#10489).
8797
8798 * files.el (copy-directory): Likewise.
8799
5319014e
CY
88002012-03-30 Chong Yidong <cyd@gnu.org>
8801
8802 * image.el (imagemagick-types-inhibit)
8803 (imagemagick-register-types): Doc fix.
8804
935d1290
AM
88052012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8806
090bd7cb 8807 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8808 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8809 and treats ~word as ordinary words in pipe mode.
935d1290 8810
61c6e8fd
GM
88112012-03-30 Glenn Morris <rgm@gnu.org>
8812
8813 * tutorial.el (help-with-tutorial): Ensure local variables don't
8814 happen to make the buffer read-only. (Bug#11127)
8815
81fdff00
SM
88162012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8817
8818 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8819 (perl-calculate-indent): Return `noindent' in strings.
8820
6e7a6ec0
SS
88212012-03-28 Sam Steingold <sds@gnu.org>
8822
8823 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8824 instead of the broken adhockery which does not prevent calendar
8825 buffers from being displayed at random after exit.
8826 (calendar-window-list, calendar-hide-window): Remove the broken
8827 adhockery.
8828
fee88ca0
GM
88292012-03-28 Glenn Morris <rgm@gnu.org>
8830
8831 * replace.el (query-replace-map): Doc fix.
8832
38de3354
AS
88332012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8834
8835 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8836 contents. (Bug#11109)
8837
b973155e
SM
88382012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8841 (bug#11077).
8842 (avl-tree--check, avl-tree--check-node): New funs.
8843
dcb6e7b3
MR
88442012-03-27 Martin Rudalics <rudalics@gmx.at>
8845
8846 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8847 (switch-to-prev-buffer, switch-to-next-buffer):
8848 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8849 showing a buffer already is done on the same frame.
8850
b4fa35fa
GM
88512012-03-27 Glenn Morris <rgm@gnu.org>
8852
8853 * startup.el (mail-host-address): Doc fix.
8854
f9210e18
SM
88552012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8856
8857 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8858 than 197 variables.
8859
c0bf7753
AF
88602012-03-26 Ami Fischman <ami@fischman.org>
8861
8862 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8863
33da7b16
GM
88642012-03-26 Glenn Morris <rgm@gnu.org>
8865
02243d9d
GM
8866 * files.el (save-buffers-kill-emacs): Doc fix.
8867
33da7b16
GM
8868 * startup.el (normal-top-level, command-line, command-line-1):
8869 Give them doc strings.
8870
e5a69fd0
EZ
88712012-03-25 Eli Zaretskii <eliz@gnu.org>
8872
8873 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8874 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8875
9a69676a
CY
88762012-03-25 Chong Yidong <cyd@gnu.org>
8877
4125cb8b
CY
8878 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8879 theme if it was previously enabled before (Bug#11031).
8880
dd470960
CY
8881 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8882 spec with custom-face-get-current-spec if its :shown-value is not
8883 determined yet (Bug#9337).
4125cb8b 8884 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8885
9a69676a
CY
8886 * button.el (button-at): Minor addition to docstring.
8887
6e7e90fa
SL
88882012-03-24 Simon Leinen <simon.leinen@gmail.com>
8889
8890 * vc/vc.el (vc-merge): Fix a prompt.
8891
f06e2758
CY
88922012-03-24 Chong Yidong <cyd@gnu.org>
8893
8894 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8895 point (Bug#9623).
8896
6e7e90fa
SL
8897 * button.el (button-at): Minor addition to docstring.
8898
b9d0879b
SM
88992012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8900
8901 * newcomment.el (comment-choose-indent): No space after BOL.
8902
e71cebb3
SS
89032012-03-22 Sam Steingold <sds@gnu.org>
8904
8905 * window.el (switch-to-prev-buffer): Revert last patch because the
8906 bug turned out to be an advertised feature (Elisp manual 28.14).
8907
335aff35
GM
89082012-03-22 Glenn Morris <rgm@gnu.org>
8909
8910 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8911 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8912
c676576a
LMI
89132012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8914
8915 * net/network-stream.el (network-stream-open-starttls): Make error
8916 message under Windows be less misleading.
8917
126f3d39
LW
89182012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8919
8920 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8921 understands (bug#9942).
8922
64fee311
CY
89232012-03-22 Chong Yidong <cyd@gnu.org>
8924
8925 * simple.el (end-of-visible-line): Handle return value of
8926 next-single-property-change properly (Bug#9371).
8927
a640d29a
KH
89282012-03-22 Kenichi Handa <handa@m17n.org>
8929
8930 * international/quail.el (quail-insert-kbd-layout): Fix previous
8931 change. To avoid unwanted bidi reordering, use
8932 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8933
39675016
DG
89342012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8935
8936 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8937 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8938 (ruby-beginning-of-indent): Be more careful with the difference
8939 between word-boundary and symbol boundary.
8940 (ruby-mode-syntax-table): Make : a symbol constituent.
8941
0a6934fc 89422012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8943
3d008e4f
SM
8944 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8945
0a6934fc
SM
89462012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8947
af67c9d7
SM
8948 * progmodes/etags.el (tags-completion-at-point-function):
8949 Improve last fix.
8950
1acad97c
SM
8951 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8952
e298b5da
SS
89532012-03-21 Sam Steingold <sds@gnu.org>
8954
8955 * progmodes/etags.el (tags-completion-at-point-function):
8956 Avoid the error when point is inside the pattern.
8957
91d82a70
JY
89582012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8959
8960 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8961 line (Bug#10855).
8962
69188b79
CY
89632012-03-21 Drew Adams <drew.adams@oracle.com>
8964
8965 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8966
99fc91fe
AK
89672012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8968
8969 * ido.el (ido-set-current-directory, ido-read-internal)
8970 (ido-choose-completion-string, ido-completion-help): Handle nil
8971 value of ido-completion-buffer (Bug#11008).
8972
087bbb4c
SS
89732012-03-21 Sam Steingold <sds@gnu.org>
8974
8975 * window.el (switch-to-prev-buffer): Do not switch to a visible
8976 window previous buffer, just like with the frame previous buffers.
8977
fb5b8aca
CY
89782012-03-21 Chong Yidong <cyd@gnu.org>
8979
8980 * faces.el (make-face, make-empty-face, copy-face):
8981 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8982 Doc fixes.
8983
dc9924b8
SM
89842012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8987 (widget-complete): Remove broken use of it.
8988
f0bcceb9
CY
89892012-03-20 Chong Yidong <cyd@gnu.org>
8990
dc9924b8
SM
8991 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8992 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8993 characters.
8994
ee52ebf3
TH
89952012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8996
8997 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8998 to draw rectangles, not squares. (Regression introduced by revno
8999 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9000
4c5779ab
CY
90012012-03-18 Chong Yidong <cyd@gnu.org>
9002
9003 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9004 it is not yet defined (for temacs).
9005
15360934
LL
90062012-03-18 Leo Liu <sdl.web@gmail.com>
9007
735135f9
PE
9008 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9009 prefix.
15360934 9010
d9a8eb66
EZ
90112012-03-17 Eli Zaretskii <eliz@gnu.org>
9012
9013 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9014 (ispell-choices-win-default-height, ispell-silently-savep)
9015 (ispell-dictionary-alist, ispell-encoding8-command)
9016 (ispell-check-version, ispell-aspell-find-dictionary)
9017 (ispell-valid-dictionary-list, ispell-words-keyword)
9018 (ispell-get-word, ispell-internal-change-dictionary)
9019 (ispell-region, ispell-skip-region-list)
9020 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9021 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9022 (ispell-message-text-end, ispell-message)
9023 (ispell-buffer-local-parsing): Doc fix.
9024
f02ff80d
J
90252012-03-13 Jambunathan K <kjambunathan@gmail.com>
9026
9027 * htmlfontify.el: Add support for code block fontification for ODT
9028 export (Bug #9914).
9029 (hfy-optimisations): Define new option
9030 `body-text-only'
9031 (hfy-fontify-buffer): Honor above setting.
9032 (hfy-begin-span, hfy-end-span): New routines factored out form
9033 `hfy-fontify-buffer'.
9034 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9035 that permit insertion of custom tags.
9036 (hfy-fontify-buffer): Use above handlers.
9037 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9038 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9039 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9040 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9041 bind a special variable `hfy-user-sheet-assoc'.
9042 (htmlfontify-string): New defun.
9043 (hfy-compile-face-map): Make sure that the last char in the
9044 buffer is correctly fontified.
9045 (hfy-face-resolve-face): Whitespace only change.
9046
9ac7a13f
EZ
90472012-03-17 Eli Zaretskii <eliz@gnu.org>
9048
9049 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9050 message more clear.
9051
e2b5bdd7
LL
90522012-03-16 Leo Liu <sdl.web@gmail.com>
9053
9054 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9055
2e492df3
AM
90562012-03-16 Alan Mackenzie <acm@muc.de>
9057
9058 Further optimise the handling of large macros.
9059
9060 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9061 limit to a call of `c-literal-limits'.
9062 (c-determine-+ve-limit): New function.
dc9924b8
SM
9063 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9064 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9065 In CASE 5B, restrict a search limit to 500.
9066 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9067
9068 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9069 Restrict macro bounds to +-500 from after-change's BEG END.
9070
50e94f0c
LL
90712012-03-16 Leo Liu <sdl.web@gmail.com>
9072
9073 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9074
6f09f6ed
AH
90752012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9076
9077 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9078 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9079
c7e73d51
GM
90802012-03-16 Glenn Morris <rgm@gnu.org>
9081
da986230
GM
9082 * view.el (view-buffer, view-buffer-other-window)
9083 (view-buffer-other-frame): Doc fixes re special mode-class.
9084
0835f01e
GM
9085 * subr.el (eval-after-load): If named feature is provided not from
9086 a file, run after-load forms. (Bug#10946)
9087
c7e73d51
GM
9088 * calendar/calendar.el (calendar-insert-at-column):
9089 Handle non-unit-width characters a bit better. (Bug#10978)
9090
3f2eafd1
CY
90912012-03-15 Chong Yidong <cyd@gnu.org>
9092
9093 * emacs-lisp/ring.el (ring-extend): New function.
9094 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9095
9096 * comint.el (comint-read-input-ring)
9097 (comint-add-to-input-history): Grow comint-input-ring lazily.
9098
103af3fe
SM
90992012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9100
663b1677
SM
9101 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9102 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9103
103af3fe
SM
9104 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9105 (imenu-add-to-menubar): Don't add a redundant index.
9106 (imenu-update-menubar): Handle a dynamically composed keymap.
9107
899cb7cb
KY
91082012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9109
9110 * mail/sendmail.el (mail-encode-header):
9111 Bind rfc2047-encode-encoded-words to nil.
9112
3809f91d
GM
91132012-03-13 Glenn Morris <rgm@gnu.org>
9114
9115 * calendar/calendar.el (calendar-string-spread):
9116 Handle non-unit-width characters a bit better. (Bug#10978)
9117
9e345a01
LL
91182012-03-13 Leo Liu <sdl.web@gmail.com>
9119
9120 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9121 directory and file as argument (Bug#10822).
9122
4a07df36
KS
91232012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9124
9125 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9126 For dynamically generated code, follow $PC.
9127 (gdb-disassembly-handler-custom): Handle no function name case.
9128
4aaa9356
TL
91292012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9130
9131 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9132 * emulation/ws-mode.el (ws-query-replace):
9133 * sort.el (sort-regexp-fields):
9134 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9135
225979da
SM
91362012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9137
9138 * dabbrev.el: Fix cycle completion order (bug#10963).
9139 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9140 (dabbrev-completion): Don't use an obarray; provide
9141 a cycle-sort-function.
9142
e2f1fdab
LL
91432012-03-12 Leo Liu <sdl.web@gmail.com>
9144
dc9924b8 9145 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9146 (kill-do-not-save-duplicates): Doc fix.
9147
b19490ed
SM
91482012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * dabbrev.el: Fix cycle completion (bug#10963).
9151 Use lexical binding and wrap to 80 columns.
9152 (dabbrev-completion): Delay computing the list of completions.
9153
4b05d722
KH
91542012-03-12 Kenichi Handa <handa@m17n.org>
9155
9156 * international/quail.el (quail-insert-kbd-layout): Surround each
9157 row by LRO and PDF instead of inserting many LRMs. Pad the left
9158 and right of each non-spacing marks. Insert invisible space
9159 between lower and upper characters to prevent composition.
9160
dbbc2e69
SM
91612012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * minibuffer.el (minibuffer-complete): Don't get confused when the
9164 function is run twice via different commands (bug#10958).
9165 (complete-with-action): Fix docstring.
9166
292112ed
CY
91672012-03-12 Chong Yidong <cyd@gnu.org>
9168
5d1ac394
CY
9169 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9170 (nxml-completion-at-point-function): New function.
9171 (nxml-mode): Use it.
9172 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9173
292112ed
CY
9174 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9175 Load generated autoloads file before byte compiling (Bug#10970).
9176 (package--make-autoloads-and-compile): New helper fun.
9177
4098f8f7
CS
91782012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9179
9180 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9181
8f754691
MA
91822012-03-11 Michael Albinus <michael.albinus@gmx.de>
9183
9184 * autorevert.el (auto-revert-handler): Ensure, that
9185 file-readable-p is applied only for local files or in
9186 auto-revert-tail-mode.
9187
e29ab36b
AS
91882012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9189
dbbc2e69
SM
9190 * server.el (server-eval-at): Handle non-tcp connections.
9191 Decode result string.
ad0bf5b6 9192
e29ab36b
AS
9193 * server.el (server-msg-size): New constant.
9194 (server-reply-print): New function.
9195 (server-eval-and-print): Use it.
9196 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9197 Handle -print-nonl.
9198
de5939ba
CS
91992012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9200
9201 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9202 (Bug#10987).
9203
0c93eabf
CY
92042012-03-11 Chong Yidong <cyd@gnu.org>
9205
397a688f
CY
9206 * simple.el (goto-line): Doc fix (Bug#9938).
9207
2cc775f9
CY
9208 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9209
0c93eabf
CY
9210 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9211 when finished (Bug#10963).
9212
c491fa41
MR
92132012-03-11 Martin Rudalics <rudalics@gmx.at>
9214
9215 * window.el (split-window-below): Fix bug in case where
9216 split-window-keep-point is nil (Bug#10971).
9217
300e8fa5
JL
92182012-03-11 Juri Linkov <juri@jurta.org>
9219
9220 * replace.el (replace-highlight): Set isearch-word to nil
9221 unconditionally. (Bug#10887)
9222
dbf6c5a1
EZ
92232012-03-10 Eli Zaretskii <eliz@gnu.org>
9224
9225 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9226 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9227 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9228 (mairix-widget-create-query): Add usage information about mairix
9229 search forms: negating words, searching for substrings, etc.
9230
b9e501de
JP
92312012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9232
9233 * international/fontset.el (font-encoding-alist): Add an entry for
9234 ksx1001 (Bug#5667).
9235
92795c91
RS
92362012-03-10 Richard Stallman <rms@gnu.org>
9237
1694e6c1
RS
9238 * mail/sendmail.el (mail-encode-header):
9239 Set rfc2047-encode-encoded-words.
9240
607e8555
RS
9241 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9242
de3bc99a
RS
9243 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9244 view buffer means not swapped.
9245 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9246 (rmail-write-region-annotate): Error if real text has disappeared.
9247
92795c91
RS
9248 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9249
699bd04e
CY
92502012-03-10 Chong Yidong <cyd@gnu.org>
9251
9252 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9253 * emulation/cua-base.el (cua--init-keymaps):
9254 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9255
570a1714
MR
92562012-03-10 Martin Rudalics <rudalics@gmx.at>
9257
dbbc2e69
SM
9258 * speedbar.el (speedbar-unhighlight-one-tag-line):
9259 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9260
82dcf4e4
CY
92612012-03-10 Chong Yidong <cyd@gnu.org>
9262
7a2c7ca7
CY
9263 * minibuffer.el (completion-in-region, completion-help-at-point):
9264 Give the completion field overlay a high priority (Bug#6830).
9265
82dcf4e4
CY
9266 * dired.el (dired-goto-file): Recognize absolute file name
9267 listings (Bug#7126).
9268 (dired-goto-file-1): New helper function.
9269 (dired-toggle-read-only): Inhibit warnings.
9270
052e28ac
MA
92712012-03-09 Michael Albinus <michael.albinus@gmx.de>
9272
75f1671a 9273 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9274 there are no properties.
9275
95d5e396
LL
92762012-03-09 Leo Liu <sdl.web@gmail.com>
9277
9278 * savehist.el (savehist-printable): Stricter check for string
9279 value (Bug#10937).
9280
3f018d6d
EZ
92812012-03-09 Eli Zaretskii <eliz@gnu.org>
9282
dbbc2e69
SM
9283 * mail/smtpmail.el (smtpmail-send-it):
9284 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9285 valid mbox format.
9286
f7fd3d79
GM
92872012-03-09 Glenn Morris <rgm@gnu.org>
9288
9289 * files.el (dir-locals-find-file):
9290 Don't check result is regular, readable.
9291 (dir-locals-read-from-file): Demote errors.
9292
6ff6e72f
EZ
92932012-03-08 Eli Zaretskii <eliz@gnu.org>
9294
dbbc2e69
SM
9295 * international/quail.el (quail-insert-kbd-layout):
9296 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9297 layout cell, to prevent their reordering by bidi display engine.
9298 For details, see the discussion in
9299 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9300
9cec7834
AM
93012012-03-08 Alan Mackenzie <acm@muc.de>
9302
9303 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9304 the starting position; make it extend the marked region when
9305 invoked repeatedly - all under appropriate circumstances.
9306 Fixes bugs #5525, #10906.
9307
9a40b8d4
GM
93082012-03-08 Glenn Morris <rgm@gnu.org>
9309
9310 * files.el (locate-dominating-file, dir-locals-find-file):
9311 Undo 2012-03-06 change.
9312
7a08ed35
EZ
93132012-03-07 Eli Zaretskii <eliz@gnu.org>
9314
dbbc2e69
SM
9315 * international/quail.el (quail-help):
9316 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9317 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9318 for the reason.
9319
5aca4f71 93202012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9321
9322 Avoid superfluous registering of signals. (Bug#10807)
9323
9324 * notifications.el (notifications-on-action-object)
9325 (notifications-on-close-object): New defvars.
9326 (notifications-on-action-signal, notifications-on-closed-signal):
9327 Unregister the signal if not needed any longer.
9328 (notifications-notify): Register `notifications-action-signal' or
9329 `notifications-closed-signal', if :on-action or :on-close has been
9330 passed as argument.
9331
78e8b10a
CY
93322012-03-07 Chong Yidong <cyd@gnu.org>
9333
9334 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9335 non-X platforms.
9336
69481eb8
GM
93372012-03-06 Glenn Morris <rgm@gnu.org>
9338
9339 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9340 (x-disown-selection-internal, x-get-selection-internal):
9341 Doc fix (add arglist signatures). (Bug#10783)
9342
133b8e11
KS
93432012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9344
9345 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9346 Handle breakpoints with no "type".
9347
99a83064
GM
93482012-03-06 Glenn Morris <rgm@gnu.org>
9349
9350 * files.el (locate-dominating-file): Add optional predicate argument.
9351 (dir-locals-find-file): Make use of above change.
9352
17798e78
TTN
93532012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9354
9355 * info.el (Info-insert-dir): Also try "dir.gz".
9356
eb182446
GM
93572012-03-06 Glenn Morris <rgm@gnu.org>
9358
8f2114ee
GM
9359 * files.el (dir-locals-find-file):
9360 Ignore non-readable or non-regular files. (Bug#10928)
9361
eb182446
GM
9362 * files.el (locate-dominating-file): Doc fix.
9363
24679323
AS
93642012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9365
9366 * calendar/calendar.el (calendar-set-mode-line):
9367 `getenv' returns a string. (Bug#10951)
9368
01d972a9
LL
93692012-03-05 Leo Liu <sdl.web@gmail.com>
9370
109aa8a9
LL
9371 * simple.el (backward-delete-char-untabify): Constrain point to
9372 field (Bug#10939).
9373
01d972a9
LL
9374 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9375
10607bea
CY
93762012-03-05 Chong Yidong <cyd@gnu.org>
9377
9378 * simple.el (count-words): If called from Lisp, return the word
9379 count, for symmetry with `count-lines'. Arglist changed.
9380 (count-words--message): Args changed. Consolidate counting code
9381 from count-words and count-words-region.
9382 (count-words-region): Caller changed.
9383 (count-lines-region): Make it an obsolete alias.
9384
5dd11cfe
TH
93852012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9386
9387 * saveplace.el (save-place-to-alist)
9388 (save-place-ignore-files-regexp): Allow value nil to disable this
9389 feature.
9390
c349f4e6
CY
93912012-03-04 Chong Yidong <cyd@gnu.org>
9392
9393 * faces.el (face-spec-reset-face): For the default face, reset the
9394 attributes to default values (Bug#10748).
9395
e627be4c
LMI
93962012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9397
9398 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9399 previous patch: Check `message-send-mail-function', and not the
9400 default function (bug#10897).
9401
ebeabff4
MA
94022012-03-04 Michael Albinus <michael.albinus@gmx.de>
9403
a41a6cf4
MA
9404 * notifications.el (notifications-on-action-signal)
9405 (notifications-on-closed-signal): Check for unique service name of
9406 incoming event. Fix error in removing entry.
ebeabff4 9407 (top): Register for signals with wildcard service name.
a41a6cf4 9408 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9409
c1ca42b4
CY
94102012-03-04 Chong Yidong <cyd@gnu.org>
9411
dc9924b8 9412 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9413
ea16568d
GM
94142012-03-04 Glenn Morris <rgm@gnu.org>
9415
9416 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9417 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9418 (expand-abbrev, define-abbrev-table): Doc fixes.
9419
fbae4637
LMI
94202012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9421
9422 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9423 `message-default-send-mail-function' and not `send-mail-function'
9424 when doing the prompting for `sendmail-query-once' before sending
9425 in Message buffers (bug#10897).
9426
a1e7225c
LMI
9427 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9428 This is inconsistent with all the other stream functions, which leave
9429 the setting up to the higher levels (if so wanted) (bug#10931).
9430
56d093a9
AM
94312012-03-02 Alan Mackenzie <acm@muc.de>
9432
9433 Depessimize the handling of very large macros.
9434
9435 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9436 (c-macro-cache-syntactic): New variables to implement a one
9437 element macro cache.
9438 (c-invalidate-macro-cache): New function.
9439 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9440 Adapt to use the new cache.
9441 (c-state-safe-place): Use better the cache of safe positions.
9442 (c-state-semi-nonlit-pos-cache)
9443 (c-state-semi-nonlit-pos-cache-limit):
9444 New variables for...
9445 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9446 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9447 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9448 Use c-state-semi-safe-place.
56d093a9 9449
dbbc2e69
SM
9450 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9451 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9452
817e5c3d
MA
94532012-03-02 Michael Albinus <michael.albinus@gmx.de>
9454
dbbc2e69
SM
9455 * jka-compr.el (jka-compr-call-process):
9456 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9457 not remote.
9458
a032a702
MA
94592012-03-01 Michael Albinus <michael.albinus@gmx.de>
9460
9461 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9462 access of FILE2, if FILE1 does not exist.
9463
99a54f21
MA
9464 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9465 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9466
9467 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9468 Add "PAGER=" to `process-environment'.
9469
f6561e1f
MM
94702012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9471
9472 * progmodes/sql.el: Bug fix
9473 (sql-get-login-ext): Save login values in globals.
9474 (sql-get-login): Use new version of `sql-get-login-ext'.
9475 (sql-interactive-mode): Set global `sql-connection' to nil.
9476 (sql-connect): Set global values for connection.
9477 (sql-product-interactive): Save global values as buffer local.
9478
2d44d9cc
LL
94792012-02-29 Leo Liu <sdl.web@gmail.com>
9480
9481 * abbrev.el (define-abbrevs): Reset sys to nil.
9482
96b49301 94832012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9484
bf7f9bc5
JB
9485 * files.el (file-equal-p): Rename from `files-equal-p'.
9486 Return nil when one or both files don't exist.
96b49301 9487 (file-subdir-of-p): Now only top directory must exists,
9488 return nil if it doesn't.
bf7f9bc5
JB
9489 (copy-directory): No need to test with `file-subdir-of-p' after
9490 creating dir.
9491 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9492 to `file-equal-p'.
96b49301 9493
44e97401
GM
94942012-02-28 Glenn Morris <rgm@gnu.org>
9495
9496 * shell.el (shell-mode):
9497 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9498 * play/landmark.el (landmark-font-lock-face-O):
9499 * play/handwrite.el (handwrite):
9500 * play/gomoku.el (gomoku-O):
9501 * net/browse-url.el (browse-url-browser-display):
9502 * international/mule.el (define-charset):
9503 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9504 * filesets.el (filesets-find-file-delay):
9505 * eshell/em-xtra.el (eshell-xtra):
9506 * eshell/em-unix.el (eshell-grep):
9507 * emulation/viper.el (viper-mode):
9508 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9509 * emacs-lisp/easymenu.el (easy-menu-define):
9510 * calendar/timeclock.el (timeclock-use-display-time):
9511 * bs.el (bs-mode):
9512 * bookmark.el (bookmark-save-flag):
9513 Doc fix (standardize possessive apostrophe usage).
9514
c98c6276
CY
95152012-02-27 Chong Yidong <cyd@gnu.org>
9516
bf7f9bc5
JB
9517 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9518 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9519
c98c6276
CY
9520 * font-lock.el (font-lock-specified-p): Rename from
9521 font-lock-spec-present. Callers changed.
9522
9c62cd04 95232012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9524
bf7f9bc5
JB
9525 * emacs-lisp/package.el (package-compute-transaction):
9526 Handle holding a package version to t in package-load-list.
8ac9e529 9527
530739c9
MA
95282012-02-26 Michael Albinus <michael.albinus@gmx.de>
9529
9530 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9531 (tramp-get-inode, tramp-get-device): Use cached values.
9532
487915d7
AM
95332012-02-26 Alan Mackenzie <acm@muc.de>
9534
9535 Check there is a font-lock specification before doing initial
9536 fontification.
9537
9538 * font-core.el (font-lock-mode): Move the conditional from
9539 :after-hook to font-lock-initial-fontify.
9540 (font-lock-default-function): Move the check for a specification
9541 to font-lock-spec-present.
9542
dc9924b8 9543 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9544 (font-lock-spec-present): New function.
9545
4fd96557
JB
95462012-02-26 Jim Blandy <jimb@red-bean.com>
9547
9548 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9549 (gdb-send): Apply it to the operand of the '-interpreter-exec
9550 console' command, so that we can pass arguments with (say) quotes
9551 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9552
9a4888c0
CY
95532012-02-26 Chong Yidong <cyd@gnu.org>
9554
07498861
CY
9555 * help-fns.el (describe-function-1): Clarify description of
9556 remapping (Bug#10844).
9557
9a4888c0
CY
9558 * files.el (files-equal-p): Doc fix.
9559 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9560 and quit the loop once a mismatch is found.
9561
ea8fb88d
JB
95622012-02-25 Juanma Barranquero <lekktu@gmail.com>
9563
9564 * bs.el (bs--show-with-configuration): Don't throw an error
9565 if the window cannot be split; otherwise, subsequent calls to
9566 bs-show fail, restoring a stale window config. (Bug#10882)
9567
525795c1
JD
95682012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9569
9570 * term/ns-win.el (global-map): Bind ns-drag-file to
9571 ns-find-file (Bug#5855, Bug#10050).
9572
f008086f
AS
95732012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9574
9575 * calendar/parse-time.el (parse-time-string): Allow extractor to
9576 return nil.
9577
a3fcfa99
MA
95782012-02-25 Michael Albinus <michael.albinus@gmx.de>
9579
91027d08
JB
9580 * net/tramp.el (tramp-file-name-for-operation):
9581 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9582
9583 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9584 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9585 Add COPY-CONTENTS argument.
a3fcfa99 9586
67b0de11
CY
95872012-02-25 Chong Yidong <cyd@gnu.org>
9588
9589 Add custom groups for VC backends, for consistency with vc-bzr.
9590
9591 * vc/vc-arch.el (vc-arch):
9592 * vc/vc-cvs.el (vc-cvs):
9593 * vc/vc-git.el (vc-git):
9594 * vc/vc-hg.el (vc-hg):
9595 * vc/vc-mtn.el (vc-mtn):
9596 * vc/vc-rcs.el (vc-rcs):
9597 * vc/vc-sccs.el (vc-sccs):
9598 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9599 All relevant defcustoms reassigned.
9600
3c9dfce6
CY
96012012-02-25 Chong Yidong <cyd@gnu.org>
9602
1339bf43
CY
9603 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9604
3c9dfce6
CY
9605 * term/x-win.el (x-initialize-window-system): Reduce default for
9606 x-selection-timeout to 5 seconds (Bug#8869).
9607
25b2e303 96082012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9609
ec70a47d
GM
9610 * files.el (files-equal-p, file-subdir-of-p): New functions.
9611 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9612 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9613 * dired-aux.el (dired-copy-file-recursive): Same.
9614 (dired-create-files): Modify destination when source is equal to
9615 dest when copying files.
53a46cd0 9616 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9617
914260cd
MA
96182012-02-24 Michael Albinus <michael.albinus@gmx.de>
9619
9620 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9621 (Bug#10874)
9622
2cb228f7
AM
96232012-02-23 Alan Mackenzie <acm@muc.de>
9624
9625 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9626 parameter "after-hook:" to allow the expansion to run code after
9627 the execution of the mode hooks.
9628
9629 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9630 from font-lock-mode-internal.
2cb228f7 9631
91027d08 9632 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9633 :after-hook.
9634
8f0fde21
SM
96352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9636
3e88618b
SM
9637 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9638 (completion--cache-all-sorted-completions): New function.
9639 (completion-all-sorted-completions): Use it.
9640 (completion--do-completion, minibuffer-force-complete):
9641 Use it to re-instate the flush hook.
9642
8f0fde21
SM
9643 * icomplete.el (icomplete-completions): Replace last fix with a better
9644 one (bug#10850).
9645
8e911f6f
DG
96462012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9647
9648 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9649 when it might call us back infinitely (bug#10797).
9650
49fe4321
GM
96512012-02-23 Glenn Morris <rgm@gnu.org>
9652
9653 * minibuffer.el (completion-category-overrides): Doc fix.
9654
b291b572
SM
96552012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9656
9657 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9658 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9659
31a9ef2e
GM
96602012-02-23 Glenn Morris <rgm@gnu.org>
9661
5e6e6794 9662 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9663 (authors-obsolete-files-regexps, authors-ignored-files)
9664 (authors-ambiguous-files, authors-renamed-files-alist):
9665 Add more entries.
9666
0bd1e074
JL
96672012-02-23 Juri Linkov <juri@jurta.org>
9668
9669 * isearch.el (isearch-occur): Sync interactive spec with occur's
9670 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9671
b617673c
JL
9672 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9673
19e9789e
JL
96742012-02-22 Juri Linkov <juri@jurta.org>
9675
9676 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9677 (ucs-insert): Doc fix. Check for hex digits in the string.
9678 Don't display `nil' in the error message. (Bug#10857)
9679
f41ce09d
AM
96802012-02-22 Alan Mackenzie <acm@muc.de>
9681
7a71b18d 9682 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9683
ac2eceee
GM
96842012-02-22 Glenn Morris <rgm@gnu.org>
9685
9686 * ffap.el (ffap-c-path):
9687 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9688
abd1f678
CY
96892012-02-22 Chong Yidong <cyd@gnu.org>
9690
9691 * custom.el (load-theme): Doc fix.
9692
f25aef2e
GM
96932012-02-22 Glenn Morris <rgm@gnu.org>
9694
9695 * dired-x.el (dired-guess-shell-alist-default):
9696 Remove escape sequences from nroff output. (Bug#172)
9697
5f8dc2ca
GM
96982012-02-21 Glenn Morris <rgm@gnu.org>
9699
6ff86ec4
GM
9700 * vc/emerge.el (emerge-defvar-local):
9701 Set `permanent-local' property rather than unused `preserved'.
9702
be3223a3 9703 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9704 (picture-mode-map): Use it. (Bug#10860)
9705 (picture-mode): Doc fix.
9706
3fe58f4f
JB
97072012-02-21 Juanma Barranquero <lekktu@gmail.com>
9708
9709 * newcomment.el (uncomment-region-default): Remove unused binding.
9710
f9a998c3
GM
97112012-02-21 Glenn Morris <rgm@gnu.org>
9712
9713 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9714 (picture-self-insert, picture-tab-chars): Doc fix.
9715 (picture-mode-map): Fix C-a, C-e.
9716
c6029348
GM
97172012-02-20 Glenn Morris <rgm@gnu.org>
9718
9719 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9720
ab1ce9d7
LL
97212012-02-20 Leo Liu <sdl.web@gmail.com>
9722
9723 * icomplete.el (icomplete-completions): Check FROM arg before
9724 passing to substring (Bug#10850).
9725
0fd40f89
CY
97262012-02-19 Chong Yidong <cyd@gnu.org>
9727
9728 * comint.el: Require ansi-color.
9729 (comint-output-filter-functions): Add ansi-color-process-output.
9730
9731 * ansi-color.el: Don't set comint-output-filter-functions; it is
9732 now in the initial value defined in comint.el.
9733 (ansi-color-apply-face-function): New variable.
9734 (ansi-color-apply-on-region): Use it.
9735 (ansi-color-apply-overlay-face): New function.
9736
9737 * shell.el (shell): No need to require ansi-color.
9738 (shell-mode): Use ansi-color-apply-face-function to highlight
9739 color escapes using font-lock-face property (Bug#10835).
9740
20af2394
CY
97412012-02-19 Chong Yidong <cyd@gnu.org>
9742
9743 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9744 mode-line formats (Bug#10839).
9745
e23a3fbe
GM
97462012-02-18 Glenn Morris <rgm@gnu.org>
9747
b474519e
GM
9748 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9749
9750 * mail/undigest.el (unforward-rmail-message): Doc fix.
9751
e23a3fbe
GM
9752 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9753
57939ff4
EZ
97542012-02-18 Eli Zaretskii <eliz@gnu.org>
9755
9756 * international/characters.el (script-list): Sync with the latest
9757 Unicode Character Database.
9758
0c23686e
AS
97592012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9760
9761 * international/titdic-cnv.el: Remove duplicate coding tag.
9762 * language/cham.el: Likewise.
9763 * language/tai-viet.el: Likewise.
9764
6818b449
GM
97652012-02-18 Glenn Morris <rgm@gnu.org>
9766
9767 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9768 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9769 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9770 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9771 * calendar/holidays.el (holiday-bahai-holidays)
9772 (calendar-holidays, list-holidays):
9773 Use utf-8 Bahá'í in doc-strings, menus, etc.
9774
0311a3fc
TH
97752012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9776
9777 * saveplace.el (save-place-ignore-files-regexp): New variable
9778 allowing for excluding files from saving their location of point.
9779 The default value matches the temporary commit message editing
9780 files from Git, SVN, Bazaar, and Mercurial.
9781 (save-place-to-alist): Use it.
9782
d209e2fb 97832012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9784 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9785
9786 * newcomment.el (uncomment-region-default): Don't leave extra space
9787 when an arg is provided (bug#8150).
9788
ee0ce425
TZ
97892012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9790
eb864a71 9791 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9792
95ddf442
GM
97932012-02-17 Glenn Morris <rgm@gnu.org>
9794
9795 * net/socks.el: Require network-stream. (Bug#10599)
9796
48dd1e39 97972012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9798
9799 * international/charprop.el:
9800 * international/uni-name.el:
9801 * international/uni-old-name.el:
9802 * international/uni-comment.el: Regenerate.
9803
d68cd087
GM
98042012-02-16 Glenn Morris <rgm@gnu.org>
9805
9806 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9807 Interactively in calendar buffer, give an error if not on a date.
9808
13932042
GM
98092012-02-15 Glenn Morris <rgm@gnu.org>
9810
9811 * shell.el (shell-delimiter-argument-list):
9812 Revert 2011-02-17 change. (Bug#8027)
9813
c3a70e2b
CY
98142012-02-15 Chong Yidong <cyd@gnu.org>
9815
60236b0d
CY
9816 * minibuffer.el (completion-at-point-functions): Doc fix.
9817
c3a70e2b
CY
9818 * custom.el (defcustom): Doc fix; note use of defvar.
9819
9f26dc24
GM
98202012-02-15 Glenn Morris <rgm@gnu.org>
9821
9822 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9823 Doc fixes.
9824
6546b134
GM
98252012-02-14 Glenn Morris <rgm@gnu.org>
9826
9827 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9828
d29b2b4c
LI
98292012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9830
9831 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9832 way the ports list is computed.
835bdcba
LI
9833 (smtpmail-query-smtp-server): Prompt the user for a port number if
9834 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9835
08dcdbc9
TZ
98362012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9837
9838 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9839
2605051a
GM
98402012-02-13 Glenn Morris <rgm@gnu.org>
9841
9842 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9843
7ee99f32
TZ
98442012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9845
9846 * net/gnutls.el (gnutls-trustfiles): New variable.
9847 (gnutls-negotiate): Use it.
9848
5f0af64f
LI
98492012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9850
9851 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9852 does its stuff if Gnus is running.
9853
c14fcc95
AM
98542012-02-13 Alan Mackenzie <acm@muc.de>
9855
9856 Fix a loop in c-set-fl-decl-start.
9857
7a71b18d 9858 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9859 c-backward-syntactic-ws actually moves backwards.
9860
142b4d90
LL
98612012-02-13 Leo Liu <sdl.web@gmail.com>
9862
9863 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9864 beginning so that all \C-o chars are removed.
9865
fa9958a6
TZ
98662012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9867
dc9924b8 9868 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9869
0bc5886a
AM
98702012-02-12 Alan Mackenzie <acm@muc.de>
9871
9872 Fix infinite loop with long macros.
4d6769e1 9873 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9874
d4bd55e7
CY
98752012-02-12 Chong Yidong <cyd@gnu.org>
9876
9877 * window.el (display-buffer): Doc fix (Bug#10785).
9878
66f3fe22
GM
98792012-02-12 Glenn Morris <rgm@gnu.org>
9880
bd7da63e
GM
9881 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9882 (x-disown-selection-internal, x-get-selection-internal):
9883 Sync docs with the xselect.c versions.
9884
66f3fe22
GM
9885 * allout-widgets.el: Add missing license notice.
9886
3e0d2fa7
GM
98872012-02-11 Glenn Morris <rgm@gnu.org>
9888
cfecdf09
GM
9889 * select.el (x-get-selection-internal, x-own-selection-internal)
9890 (x-disown-selection-internal):
9891 * x-dnd.el (x-get-selection-internal): Update declarations.
9892
6d216d7f
GM
9893 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9894
2bed3f04
GM
9895 * window.el (window-sides-slots):
9896 * tool-bar.el (tool-bar-position):
9897 * term/xterm.el (xterm-extra-capabilities):
9898 * ses.el (ses-self-reference-early-detection):
9899 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9900 (verilog-auto-wire-type)
9901 (verilog-auto-delete-trailing-whitespace)
9902 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9903 (verilog-auto-tieoff-declaration):
9904 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9905 (sql-oracle-statement-starters, sql-oracle-scan-on):
9906 * progmodes/prolog.el (prolog-align-comments-flag)
9907 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9908 (prolog-left-indent-regexp, prolog-paren-indent-p)
9909 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9910 (prolog-types, prolog-mode-specificators)
9911 (prolog-determinism-specificators, prolog-directives)
9912 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9913 (prolog-electric-dot-flag)
9914 (prolog-electric-dot-full-predicate-template)
9915 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9916 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9917 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9918 (prolog-program-switches, prolog-prompt-regexp)
9919 (prolog-debug-on-string, prolog-debug-off-string)
9920 (prolog-trace-on-string, prolog-trace-off-string)
9921 (prolog-zip-on-string, prolog-zip-off-string)
9922 (prolog-use-standard-consult-compile-method-flag)
9923 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9924 (prolog-imenu-max-lines, prolog-info-predicate-index)
9925 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9926 (prolog-char-quote-workaround):
9927 * progmodes/cc-vars.el (c-defun-tactic):
9928 * net/tramp.el (tramp-encoding-command-interactive)
9929 (tramp-local-end-of-line):
9930 * net/soap-client.el (soap-client):
9931 * net/netrc.el (netrc-file):
9932 * net/gnutls.el (gnutls):
9933 * minibuffer.el (completion-category-overrides)
9934 (completion-cycle-threshold)
9935 (completion-pcm-complete-word-inserts-delimiters):
9936 * man.el (Man-name-local-regexp):
9937 * mail/feedmail.el (feedmail-display-full-frame):
9938 * international/characters.el (glyphless-char-display-control):
9939 * eshell/em-ls.el (eshell-ls-date-format):
9940 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9941 (lisp-lambda-list-keyword-parameter-indentation)
9942 (lisp-lambda-list-keyword-parameter-alignment):
9943 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9944 * dired-x.el (dired-omit-verbose):
9945 * cus-theme.el (custom-theme-allow-multiple-selections):
9946 * calc/calc.el (calc-highlight-selections-with-faces)
9947 (calc-lu-field-reference, calc-lu-power-reference)
9948 (calc-note-threshold):
9949 * battery.el (battery-mode-line-limit):
9950 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9951 (archive-7z-update):
9952 * allout.el (allout-prefixed-keybindings)
9953 (allout-unprefixed-keybindings)
9954 (allout-inhibit-auto-fill-on-headline)
9955 (allout-flattened-numbering-abbreviation):
9956 * allout-widgets.el (allout-widgets-auto-activation)
9957 (allout-widgets-icons-dark-subdir)
9958 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9959 (allout-widgets-theme-dark-background)
9960 (allout-widgets-theme-light-background)
9961 (allout-widgets-item-image-properties-emacs)
9962 (allout-widgets-item-image-properties-xemacs)
9963 (allout-widgets-run-unit-tests-on-load)
9964 (allout-widgets-time-decoration-activity)
9965 (allout-widgets-hook-error-post-time)
9966 (allout-widgets-track-decoration):
9967 Add missing :version tags to new defcustoms and defgroups.
9968
5fec1b8e
GM
9969 * progmodes/sql.el (sql-ansi-statement-starters)
9970 (sql-oracle-statement-starters): Add custom type.
9971
3e0d2fa7
GM
9972 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9973 (prolog-system-version): Give it a type.
9974
90b671e2
EZ
99752012-02-11 Eli Zaretskii <eliz@gnu.org>
9976
9977 * term/pc-win.el (x-select-text, x-selection-owner-p)
9978 (x-own-selection-internal, x-disown-selection-internal)
9979 (x-get-selection-internal): Sync doc strings and argument lists
9980 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9981
5eac0c02
LL
99822012-02-11 Leo Liu <sdl.web@gmail.com>
9983
9984 * progmodes/python.el (python-end-of-statement): Fix infinite
9985 loop. (Bug#10788)
9986
f82cb659
GM
99872012-02-10 Glenn Morris <rgm@gnu.org>
9988
9989 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9990 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9991
cc26d239
LI
99922012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9993
9994 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9995 about SMTP before checking the From header.
9996
91027d08 9997 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9998 into own function for reuse by emacsbug.el.
9999
1be3ca5a
LL
100002012-02-10 Leo Liu <sdl.web@gmail.com>
10001
10002 * subr.el (condition-case-unless-debug): Rename from
10003 condition-case-no-debug. All callers changed.
10004 (with-demoted-errors): Fix caller.
10005
10006 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10007 * nxml/rng-valid.el (rng-do-some-validation):
10008 * emacs-lisp/package.el (package-refresh-contents)
10009 (package-menu-execute):
10010 * desktop.el (desktop-create-buffer):
91027d08 10011 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10012
b011fbfe
GM
100132012-02-10 Glenn Morris <rgm@gnu.org>
10014
b2096d72
GM
10015 * textmodes/bibtex.el:
10016 Add missing :version tags for new/changed defcustoms.
10017
b011fbfe
GM
10018 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10019
4c7e65bf
LI
100202012-02-09 Lars Ingebrigtsen <larsi@rusty>
10021
10022 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10023 (smtpmail-via-smtp): Use it, or fall back on the From address.
10024 (smtpmail-send-it): Ditto.
10025
f3934f6f
SM
100262012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10027
10028 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10029 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10030 (byte-compile-tmp-var): New const.
10031 (byte-compile-defvar): Use it to minimize .elc size.
10032 Just use `defvar' rather than simulate it (bug#10761).
10033
a075a2c5
GM
100342012-02-09 Glenn Morris <rgm@gnu.org>
10035
cf3aa21b
GM
10036 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10037
354998cd
GM
10038 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10039 Add :version tags.
10040
dc9924b8
SM
10041 * progmodes/compile.el (compilation-error-screen-columns)
10042 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10043
dab3703d
GM
10044 * vc/log-view.el (log-view-toggle-entry-display):
10045 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10046
3f88cd72
GM
10047 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10048 (report-emacs-bug-can-use-xdg-email):
10049 (report-emacs-bug-insert-to-mailer): Doc fixes.
10050 (report-emacs-bug): Message fix.
10051
d95b247d
GM
10052 * net/browse-url.el (browse-url-can-use-xdg-open)
10053 (browse-url-xdg-open): Doc fixes.
10054
a075a2c5
GM
10055 * electric.el (electric-indent-mode, electric-pair-mode)
10056 (electric-layout-rules, electric-layout-mode): Doc fixes.
10057 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10058
ffb6157e
MR
100592012-02-08 Martin Rudalics <rudalics@gmx.at>
10060
10061 * server.el (server-unselect-display): Don't inadvertently kill
10062 the current buffer. (Bug#10729)
10063
e1ac4066
GM
100642012-02-08 Glenn Morris <rgm@gnu.org>
10065
34e8a2da
GM
10066 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10067 (sql-list-table): Doc fixes.
10068
b4ac6e8c
GM
10069 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10070 Comment out (does nothing).
10071
e1ac4066
GM
10072 * completion.el (dynamic-completion-mode):
10073 * dirtrack.el (dirtrack-debug-mode):
10074 * electric.el (electric-layout-mode):
10075 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10076 * face-remap.el (text-scale-mode, buffer-face-mode):
10077 * iimage.el (iimage-mode):
10078 * image-mode.el (image-transform-mode):
10079 * minibuffer.el (completion-in-region-mode):
10080 * scroll-lock.el (scroll-lock-mode):
10081 * simple.el (next-error-follow-minor-mode):
10082 * tar-mode.el (tar-subfile-mode):
10083 * tooltip.el (tooltip-mode):
10084 * vcursor.el (vcursor-use-vcursor-map):
10085 * wid-browse.el (widget-minor-mode):
10086 * emulation/tpu-edt.el (tpu-edt-mode):
10087 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10088 * international/iso-ascii.el (iso-ascii-mode):
10089 * language/thai-util.el (thai-word-mode):
10090 * mail/supercite.el (sc-minor-mode):
10091 * net/goto-addr.el (goto-address-mode):
10092 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10093 * progmodes/cwarn.el (cwarn-mode):
10094 * progmodes/flymake.el (flymake-mode):
10095 * progmodes/glasses.el (glasses-mode):
10096 * progmodes/hideshow.el (hs-minor-mode):
10097 * progmodes/pascal.el (pascal-outline-mode):
10098 * textmodes/enriched.el (enriched-mode):
10099 * vc/smerge-mode.el (smerge-mode):
10100 Doc fixes (minor mode argument).
10101
5e0d957f
EZ
101022012-02-07 Eli Zaretskii <eliz@gnu.org>
10103
10104 * ls-lisp.el (ls-lisp-sanitize): New function.
10105 (ls-lisp-insert-directory): Use it to fix or remove any elements
10106 in file-alist with missing attributes. (Bug#4673)
10107
98d7371e
AM
101082012-02-07 Alan Mackenzie <acm@muc.de>
10109
10110 Fix spurious recognition of c-in-knr-argdecl.
10111
10112 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10113 putative K&R region.
10114
667ced3a
AM
101152012-02-07 Alan Mackenzie <acm@muc.de>
10116
eb864a71
LM
10117 * progmodes/cc-engine.el (c-forward-objc-directive):
10118 Prevent looping in "#pragma mark @implementation".
667ced3a 10119
5b77774d
MA
101202012-02-07 Michael Albinus <michael.albinus@gmx.de>
10121
10122 * notifications.el (notifications-on-closed-signal): Make `reason'
10123 optional. (Bug#10744)
10124
af008560
GM
101252012-02-07 Glenn Morris <rgm@gnu.org>
10126
60d47423
GM
10127 * emacs-lisp/easy-mmode.el (define-minor-mode):
10128 Doc fixes for the macro and the mode it defines.
10129
dd605cc4
GM
10130 * image.el (imagemagick-types-inhibit): Doc fix.
10131
af008560
GM
10132 * cus-start.el (imagemagick-render-type): Add it.
10133
5cc59a37
LI
101342012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10135
4d6769e1
JB
10136 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10137 Set the default at load time, too, so that `font-lock-fontify-buffer'
10138 can be called without setting up the entire mode first. This fixes
10139 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10140
9a6dd747
CY
101412012-02-06 Chong Yidong <cyd@gnu.org>
10142
2d16b285
CY
10143 * simple.el (list-processes--refresh): Delete exited processes
10144 (Bug#8094).
10145
171e9b6e
CY
10146 * comint.el (comint-next-prompt): next-single-char-property-change
10147 and prev-single-char-property-change never return nil (Bug#8657).
10148
9a6dd747
CY
10149 * custom.el (defcustom): Doc fix (Bug#9711).
10150
aa4589a7
CY
101512012-02-05 Chong Yidong <cyd@gnu.org>
10152
5c2a252f
CY
10153 * cus-edit.el (custom-variable-reset-backup): Quote the value
10154 before storing it in the customized-value property (Bug#6712).
4aab9006 10155 (custom-display): Add a customization type tag.
983b9602 10156 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10157
aa4589a7
CY
10158 * wid-edit.el (widget-field-value-get): New optional arg to
10159 suppress trailing whitespace truncation.
10160 (character): Use it (Bug#2689).
10161
1ff980ae
AS
101622012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10163
10164 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10165 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10166
03988c98
CY
101672012-02-05 Chong Yidong <cyd@gnu.org>
10168
eeb6cc88
CY
10169 * cus-edit.el (custom-variable-value-create): For mismatched
10170 types, show the current value (Bug#7600).
10171
03988c98
CY
10172 * custom.el (defcustom): Doc fix.
10173
f8cdeef0
GM
101742012-02-05 Glenn Morris <rgm@gnu.org>
10175
10176 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10177
0696d255
JB
101782012-02-05 Juanma Barranquero <lekktu@gmail.com>
10179
10180 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10181 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10182 (pp-last-sexp): Use `looking-at-p'.
10183
34c99998
GM
101842012-02-04 Glenn Morris <rgm@gnu.org>
10185
8f05da42
GM
10186 * files.el (revert-buffer):
10187 Doc fix (mention revert-buffer-in-progress-p).
10188
f160676e
GM
10189 * emacs-lisp/ert-x.el (ert-simulate-command):
10190 Check deferred-action-list (which is obsolete) is bound.
10191
c7291ad9
GM
10192 * subr.el (with-wrapper-hook): Doc fixes.
10193
34c99998
GM
10194 * simple.el (filter-buffer-substring-functions)
10195 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10196
6283a7d3
LL
101972012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10198
10199 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10200 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10201
e96e3013
LL
102022012-02-04 Leo Liu <sdl.web@gmail.com>
10203
10204 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10205
8ded50f2
GM
102062012-02-04 Glenn Morris <rgm@gnu.org>
10207
82ff1d13
GM
10208 * image.el (image-extension-data): Add obsolete alias.
10209
987a0a16
GM
10210 * isearch.el (isearch-update): Doc fix.
10211
ea32ef46
GM
10212 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10213
8ded50f2
GM
10214 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10215
eea14f31
GM
102162012-02-03 Glenn Morris <rgm@gnu.org>
10217
10218 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10219 (image-animate-timeout): Doc fix.
10220
10221 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10222
12f381b7
GM
102232012-02-02 Glenn Morris <rgm@gnu.org>
10224
953cebf5
GM
10225 * server.el (server-auth-dir): Doc fix.
10226 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10227
12f381b7
GM
10228 * subr.el (run-mode-hooks): Doc fix.
10229
953a8c3b
JL
102302012-02-02 Juri Linkov <juri@jurta.org>
10231
10232 * image-mode.el (image-toggle-display-image): Remove tautological
10233 `major-mode' from the `derived-mode-p' test.
10234
c5d3843c
KH
102352012-02-02 Kenichi Handa <handa@m17n.org>
10236
9f6e692e 10237 * composite.el (compose-region): Cancel previous change.
c5d3843c 10238
159462d4 102392012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10240
10241 * composite.el (compose-region, compose-string): Signal error for
10242 a null string component (Bug#6988).
10243
9f562668
CY
102442012-02-01 Chong Yidong <cyd@gnu.org>
10245
e2cef717
CY
10246 * view.el (view-buffer-other-window, view-buffer-other-frame):
10247 Handle special modes like view-buffer (Bug#10650).
10248 (view-buffer): Simplify.
10249
9f562668
CY
10250 * frame.el (set-frame-font): Tweak meaning of third argument.
10251
9f6e692e
JB
10252 * dynamic-setting.el (font-setting-change-default-font):
10253 Use set-frame-font (Bug#9982).
9f562668 10254
781acb9f
GM
102552012-02-01 Glenn Morris <rgm@gnu.org>
10256
6035be52
GM
10257 * progmodes/compile.el (compilation-internal-error-properties):
10258 Respect compilation-first-column in the "*compilation*" buffer.
10259
781acb9f
GM
10260 * emacs-lisp/easy-mmode.el (define-minor-mode):
10261 Relax :variable's test for a named function.
10262
abbceb00
AM
102632012-01-31 Alan Mackenzie <acm@muc.de>
10264
10265 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10266 off by one error.
10267
fce3fdeb
CY
102682012-01-31 Chong Yidong <cyd@gnu.org>
10269
10270 * frame.el (set-frame-font): New arg ALL-FRAMES.
10271
10272 * menu-bar.el (menu-set-font): Use set-frame-font.
10273
10274 * faces.el (face-spec-reset-face): Don't apply unspecified
10275 attribute values to the default face.
10276
47893581
JB
102772012-01-31 Juanma Barranquero <lekktu@gmail.com>
10278
10279 * progmodes/cwarn.el (cwarn): Remove dead link.
10280 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10281 Remove * from defcustom docstrings.
10282 (turn-on-cwarn-mode): Make obsolete.
10283 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10284 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10285
e58e988a
GM
102862012-01-31 Glenn Morris <rgm@gnu.org>
10287
60dc2671 10288 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10289 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10290 Allow named functions to be used as the cdr of :variable.
e58e988a 10291
7a3f511d
GM
102922012-01-30 Glenn Morris <rgm@gnu.org>
10293
10294 * emacs-lisp/authors.el (authors-fixed-entries):
10295 Remove reference to deleted file rnewspost.el.
10296
cb882333
JB
102972012-01-29 Juanma Barranquero <lekktu@gmail.com>
10298
10299 * window.el (window-with-parameter): Remove unused variable `windows'.
10300 (window--side-check): Remove unused variable `code'.
10301 (window--resize-siblings): Remove unused variable `first'.
10302 (adjust-window-trailing-edge): Remove unused variable `failed'.
10303 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10304 Use `let', not `let*'.
10305 (balance-windows-2): Remove unused variable `found'.
10306 (window--state-put-2): Remove unused variable `splits'.
10307 (window-state-put): Remove unused variable `selected'.
10308 (same-window-p): Use `string-match-p'.
10309 (display-buffer-assq-regexp): Remove unused variable `value'.
10310 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10311 Mark argument ALIST as ignored.
10312 (pop-to-buffer): Remove unused variable `old-window'.
10313
907201af
EZ
103142012-01-29 Eli Zaretskii <eliz@gnu.org>
10315
10316 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10317 and .lzma compressed files.
10318
ea162670
CY
103192012-01-29 Chong Yidong <cyd@gnu.org>
10320
5b95ee8a
CY
10321 * frame.el (window-system-default-frame-alist): Doc fix.
10322
ea162670
CY
10323 * dynamic-setting.el (font-setting-change-default-font): Don't
10324 change the default face if SET-FONT argument is non-nil (Bug#9982).
10325
d6e6f4b1
SB
103262012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10327
10328 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10329
0f29fa41 103302012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10331
10332 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10333 breakpoints in files outside current directory (Bug#6098).
10334
db174434
CY
103352012-01-29 Chong Yidong <cyd@gnu.org>
10336
6b25e4e2
SE
10337 * progmodes/python.el: Require ansi-color at top-level.
10338
6df6ae42
JB
10339 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10340 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10341 (lisp-mode-abbrev-table): Add doc.
10342 (lisp-mode-variables): Don't set local-abbrev-table.
10343 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10344
e70ee681
RW
103452012-01-28 Roland Winkler <winkler@gnu.org>
10346
10347 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10348
ace88aa2
RW
103492012-01-28 Roland Winkler <winkler@gnu.org>
10350
10351 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10352 (bibtex-set-dialect): Use it. Either set global values of
10353 dialect-dependent variables or bind these variables buffer-locally
10354 (Bug#10254).
10355 (bibtex-mode): Call bibtex-set-dialect via
10356 hack-local-variables-hook.
eb864a71
LM
10357 (bibtex-dialect): Update docstring.
10358 Add safe-local-variable predicate.
ace88aa2
RW
10359 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10360 bibtex-set-dialect.
10361 (bibtex-mode-map): Define menu for each dialect.
10362 (bibtex-entry): Fix docstring.
10363
93376c5b
CY
103642012-01-28 Chong Yidong <cyd@gnu.org>
10365
10366 * eshell/esh-arg.el (eshell-quote-argument): New function.
10367
10368 * eshell/esh-ext.el (eshell-invoke-batch-file):
10369 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10370 first arg to eshell-parse-command (Bug#10523).
10371
4372494f
DA
103722012-01-28 Drew Adams <drew.adams@oracle.com>
10373
10374 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10375 `default-directory' is non-nil.
10376
4d4ec1f8
EZ
103772012-01-28 Eli Zaretskii <eliz@gnu.org>
10378
10379 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10380 line that displays system-configuration-options. (Bug#9924)
10381
7c188927
DA
103822012-01-28 Drew Adams <drew.adams@oracle.com>
10383
10384 * descr-text.el (describe-char): Show information about POS, in
10385 addition to information about the character at POS. Improve and
10386 update the doc string. Change "code point" to "code point in
10387 charset", to avoid confusion with the character's Unicode code
10388 point shown above that. (Bug#10129)
10389
e0da685a
EZ
103902012-01-28 Eli Zaretskii <eliz@gnu.org>
10391
10392 * descr-text.el (describe-char): Show the raw character, not only
10393 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10394 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10395 for the reasons.
10396
70550acf
PH
103972012-01-28 Phil Hagelberg <phil@hagelb.org>
10398
eb864a71
LM
10399 * emacs-lisp/package.el (package-install):
10400 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10401
0ce8e868
CY
104022012-01-28 Chong Yidong <cyd@gnu.org>
10403
cb882333
JB
10404 * emacs-lisp/package.el (package-maybe-load-descriptor):
10405 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10406 (package-maybe-load-descriptor): Use it.
10407 (package-download-transaction): Fully load required packages
10408 inside the loop, so that `require' calls work (Bug#10593).
10409 (package-install): No need to call package-initialize now.
10410
2e7f3bea
CY
104112012-01-28 Chong Yidong <cyd@gnu.org>
10412
6e9bad14
CY
10413 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10414
f823b8ca
CY
10415 * tooltip.el (tooltip-mode): Doc fix.
10416 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10417
2680c309
CY
10418 * frame.el (set-cursor-color): Doc fix (Bug#352).
10419
d7a9e63b
CY
10420 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10421 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10422
2e7f3bea
CY
10423 * cus-edit.el (custom-buffer-create-internal): Fix search button
10424 action (Bug#10542).
2ae01800 10425 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10426
fc4f7a23
EW
104272012-01-27 Eduard Wiebe <usenet@pusto.de>
10428
10429 * dired.el (dired-mark-files-regexp):
10430 Include any subdirectory components. (Bug#10445)
10431
7dd37071
ML
104322012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10433
10434 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10435 Handle [host]:port syntax. (Bug#10533)
10436
a268160b
AH
104372012-01-27 Alex Harsanyi <harsanyi@mac.com>
10438
10439 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10440
e43273ef
GM
104412012-01-26 Glenn Morris <rgm@gnu.org>
10442
10443 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10444 * term.el (term-raw-escape-map): Use Control-X-prefix.
10445 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10446
1edf595d
MR
104472012-01-25 Martin Rudalics <rudalics@gmx.at>
10448
10449 * window.el (window-state-get, window--state-get-1): Don't deal
10450 with fixed-sizeness of windows. Simplify code.
10451
fa8eafef
JC
104522012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10453
6df6ae42
JB
10454 * window.el (window--state-get-1, window--state-put-2):
10455 Don't save and restore the mark.
fa8eafef 10456
0b21c100
CY
104572012-01-25 Chong Yidong <cyd@gnu.org>
10458
10459 * custom.el (custom-variable-p): Doc fix.
10460
5ae1a6c8
GM
104612012-01-25 Glenn Morris <rgm@gnu.org>
10462
40047858
GM
10463 * dired.el (dired-goto-file): Handle some of the more common
10464 characters that `ls -b' escapes. (Bug#10596)
10465
5ddce96c
GM
10466 * progmodes/compile.el (compilation-next-error-function):
10467 Respect compilation-first-column in the "*compilation*" buffer.
10468 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10469
5ae1a6c8
GM
10470 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10471
b559f1a9
GM
104722012-01-24 Glenn Morris <rgm@gnu.org>
10473
10474 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10475
6725d21a
JD
104762012-01-24 Julien Danjou <julien@danjou.info>
10477
10478 * color.el (color-rgb-to-hsl): Fix value computing.
10479 (color-hue-to-rgb): New function.
10480 (color-hsl-to-rgb): New function.
10481 (color-clamp, color-saturate-hsl, color-saturate-name)
10482 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10483 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10484
70df4bbe
GM
104852012-01-24 Glenn Morris <rgm@gnu.org>
10486
10487 * vc/vc-rcs.el (vc-rcs-create-tag):
10488 * vc/vc-sccs.el (vc-sccs-create-tag):
10489 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10490
802a2ae2
ML
104912012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10492
10493 * eshell/esh-util.el (eshell-read-hosts-file):
10494 Skip comment lines. (Bug#10549)
10495
d7128bb1
ML
10496 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10497
d1a5c3b4
JB
104982012-01-23 Juanma Barranquero <lekktu@gmail.com>
10499
2724d9c7
JB
10500 * subr.el (display-delayed-warnings): Doc fix.
10501 (collapse-delayed-warnings): New function to collapse identical
10502 adjacent warnings.
10503 (delayed-warnings-hook): Add it.
d1a5c3b4 10504
a5509865
MA
105052012-01-22 Michael Albinus <michael.albinus@gmx.de>
10506
10507 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10508
a5509865
MA
10509 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10510 (tramp-default-user-alist): Don't add "pscp".
10511 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10512 property "login-as", if set. (Bug#10530)
10513
cc6d5805
MA
105142012-01-21 Michael Albinus <michael.albinus@gmx.de>
10515
10516 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10517 "plink1" and "psftp". (Bug#10530)
10518
105192012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10520
10521 * international/mule-cmds.el (prefer-coding-system): Show a
10522 warning message if the default value of file-name-coding-system
10523 was not changed.
10524
f0960428
JC
105252012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10526
cb882333
JB
10527 * windmove.el (windmove-reference-loc):
10528 Fix windmove-reference-loc miscalculation.
f0960428 10529
dd6f2a63
JB
105302012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10531
10532 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10533 default unit.
10534
7b447e9b
GM
105352012-01-21 Glenn Morris <rgm@gnu.org>
10536
117a9ea1
GM
10537 * international/mule.el (auto-coding-alist): Add .tbz.
10538
7b447e9b
GM
10539 * files.el (local-enable-local-variables): Doc fix.
10540 (inhibit-local-variables-regexps): Rename from
10541 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10542 Doc fix. Add some extensions from auto-coding-alist.
10543 (inhibit-local-variables-suffixes):
10544 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10545 (inhibit-local-variables-p):
10546 New function, extracted from set-auto-mode-1.
10547 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10548 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10549 (hack-local-variables): Doc fix. Make the mode-only case
10550 respect enable-local-variables and friends.
10551 Respect inhibit-local-variables-regexps for file-locals, but
10552 not for directory-locals.
10553 (set-visited-file-name):
10554 Take account of inhibit-local-variables-regexps.
10555 Whether it applies may change as the file name is changed.
10556 * jka-cmpr-hook.el (jka-compr-install):
10557 * jka-compr.el (jka-compr-uninstall):
10558 Update for inhibit-first-line-modes-suffixes name change.
10559
dd6e3cdd
MR
105602012-01-20 Martin Rudalics <rudalics@gmx.at>
10561
10562 * help-macro.el (make-help-screen): Temporarily restore original
10563 binding for minor-mode-map-alist (Bug#10454).
10564
0d0deb38
JD
105652012-01-19 Julien Danjou <julien@danjou.info>
10566
10567 * color.el (color-name-to-rgb): Use the white color to find the max
10568 color component value and return correctly computed values.
10569 (color-name-to-rgb): Add missing float conversion for max value.
10570
34a02f46
MR
105712012-01-19 Martin Rudalics <rudalics@gmx.at>
10572
10573 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10574 special state value for window-persistent-parameters.
10575 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10576 (window--state-put-2): Reset all window parameters to nil before
10577 assigning values of persistent parameters.
10578
606c44c4
AM
105792012-01-18 Alan Mackenzie <acm@muc.de>
10580
10581 Eliminate sluggishness and hangs in fontification of "semicolon
10582 deserts".
10583
cb882333
JB
10584 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10585 Change value 10000 -> 3000.
606c44c4
AM
10586 (c-state-safe-place): Reformulate so it doesn't stack up an
10587 infinite number of wrong entries in c-state-nonlit-pos-cache.
10588 (c-determine-limit-get-base, c-determine-limit): New functions to
10589 determine backward search limits disregarding literals.
10590 (c-find-decl-spots): Amend commenting.
10591 (c-cheap-inside-bracelist-p): New function which detects "={".
10592
10593 * progmodes/cc-fonts.el
10594 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10595 backward search.
10596 (c-font-lock-declarations): Fix an occurrence of point being
10597 undefined. Check additionally for point being in a bracelist or
10598 near a macro invocation without a semicolon so as to avoid a
10599 fruitless time consuming search for a declarator. Give a more
10600 precise search limit for declarators using the new
10601 c-determine-limit.
10602
f3860cea
GM
106032012-01-18 Glenn Morris <rgm@gnu.org>
10604
10605 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10606 (set-auto-mode): Doc fixes.
10607
1db03b16
GM
106082012-01-17 Glenn Morris <rgm@gnu.org>
10609
0e6038be
GM
10610 * isearch.el (search-nonincremental-instead): Fix doc typo.
10611
1db03b16
GM
10612 * dired.el (dired-insert-directory): Handle newlines in directory name.
10613 (dired-build-subdir-alist): Unescape newlines in directory name.
10614
4cb0aa75
MA
106152012-01-17 Michael Albinus <michael.albinus@gmx.de>
10616
10617 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10618 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10619 (tramp-action-terminal): Use it. (Bug#10530)
10620
1d00653d
SM
106212012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10622
10623 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10624
6a6ee00d
MR
106252012-01-16 Martin Rudalics <rudalics@gmx.at>
10626
10627 * window.el (window-state-ignored-parameters): Remove variable.
10628 (window--state-get-1): Rename argument MARKERS to IGNORE.
10629 Handle persistent window parameters. Make copy of clone-of
10630 parameter only if requested. (Bug#10348)
10631 (window--state-put-2): Install a window parameter only if it has
10632 a non-nil value or an existing parameter shall be overwritten.
10633
97912def
MA
106342012-01-15 Michael Albinus <michael.albinus@gmx.de>
10635
10636 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10637
688070a5
EZ
106382012-01-14 Eli Zaretskii <eliz@gnu.org>
10639
10640 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10641 don't pass the (nil) value of `upnode' to string-match.
10642
301afadc
CY
106432012-01-14 Chong Yidong <cyd@gnu.org>
10644
10645 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10646 Fix values recognized by the cursorBlink resource.
301afadc 10647
9e5788aa
PE
106482012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10649
10650 * epg.el (epg--make-temp-file): Avoid permission race condition
10651 when running on old Emacs versions (bug#10403).
10652
3cdb7f5a
GM
106532012-01-14 Glenn Morris <rgm@gnu.org>
10654
10655 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10656
8c82b1b4
AM
106572012-01-13 Alan Mackenzie <acm@muc.de>
10658
10659 Fix filling for when filladapt mode is enabled.
10660
10661 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10662 c-mask-paragraph, pass in `fill-paragraph' rather than
10663 `fill-region-as-paragraph'. (This is a reversion of a previous
10664 change.)
eb864a71
LM
10665 * progmodes/cc-mode.el (c-basic-common-init):
10666 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10667
e517eda4
GM
106682012-01-13 Glenn Morris <rgm@gnu.org>
10669
1498536e
GM
10670 * dired.el (dired-switches-escape-p): New function.
10671 (dired-insert-directory): Use dired-switches-escape-p.
10672 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10673
e517eda4
GM
10674 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10675
328f984d
GM
106762012-01-12 Glenn Morris <rgm@gnu.org>
10677
10678 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10679 changes in adaptive-fill-regexp. (Bug#10276)
10680
2cc769a8
AM
106812012-01-11 Alan Mackenzie <acm@muc.de>
10682
10683 Fix Emacs bug #10463 - put `widen's around the critical spots.
10684
1d00653d 10685 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10686 widen around each invocation of c-state-pp-to-literal. Remove an
10687 unused let variable.
10688
e52c37fa
GM
106892012-01-11 Glenn Morris <rgm@gnu.org>
10690
10691 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10692 Doc fix.
e52c37fa 10693
96f8741e
CY
106942012-01-10 Chong Yidong <cyd@gnu.org>
10695
1d00653d
SM
10696 * net/network-stream.el (network-stream-open-starttls):
10697 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10698 response to the capability command.
10699
b09a806e
GM
107002012-01-10 Glenn Morris <rgm@gnu.org>
10701
10702 * mail/unrmail.el (unrmail): Tweak previous change.
10703
7655cb66
CY
107042012-01-09 Chong Yidong <cyd@gnu.org>
10705
10706 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10707
9d5a8f0b
AM
107082012-01-08 Alan Mackenzie <acm@muc.de>
10709
10710 Optimise font locking in long enum definitions.
10711
10712 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10713 arm to a cond form to handle enums.
10714 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10715 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10716
9a0115ab 107172012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10718
10719 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10720 (Bug#10401)
6bb72cbd 10721
f186bb95
LMI
107222012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10723
29232a68
LMI
10724 * faces.el (set-face-attribute): Clarify the meaning of the nil
10725 frame (bug#10294).
10726
4e5d086d
LMI
10727 * subr.el (with-selected-frame): Mention that the selected frame
10728 is restored (bug#9980).
10729
8e66aebe
LMI
10730 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10731 (bug#9759).
10732
cd394be1 10733 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10734 (password-read): Don't autoload unused function.
10735
adf4e762
JB
107362012-01-07 Juanma Barranquero <lekktu@gmail.com>
10737
10738 * progmodes/which-func.el (which-func-mode): Turn into a
10739 non-interactive function and mark as obsolete (bug#10428).
10740
89bd9ccd
CY
107412012-01-06 Chong Yidong <cyd@gnu.org>
10742
10743 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10744 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10745 functions, along with 1 and -1.
10746
4afee9d5
EZ
107472012-01-06 Eli Zaretskii <eliz@gnu.org>
10748
10749 * time.el (display-time-load-average)
10750 (display-time-default-load-average): Doc fixes. See the thread
10751 starting at
10752 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10753 for the details.
10754
536aea70
GM
107552012-01-06 Glenn Morris <rgm@gnu.org>
10756
665ae865
GM
10757 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10758 has no messages. (Bug#10377)
10759
c869783d
GM
10760 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10761 than Info-edit. (Bug#10385)
10762
2bb4227e
GM
10763 * time.el (display-time-load-average, display-time-next-load-average):
10764 Doc fixes.
10765
7d5944b9
GM
10766 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10767 local setting of buffer-read-only to the input buffer. (Bug#10419)
10768
536aea70
GM
10769 * calendar/calendar.el (calendar-mode):
10770 Locally set scroll-margin to 0. (Bug#10379)
10771
7dccca16
UM
107722012-01-06 Ulrich Mueller <ulm@gentoo.org>
10773
10774 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10775
afbb7930
GM
107762012-01-05 Glenn Morris <rgm@gnu.org>
10777
10778 * eshell/em-unix.el (diff-no-select): Autoload it.
10779 (eshell/diff): Use diff-no-select. (Bug#10420)
10780
04482335
CY
107812012-01-05 Chong Yidong <cyd@gnu.org>
10782
7baca3bc
CY
10783 * shell.el (shell-dynamic-complete-functions): Revert last change.
10784 (shell-command-completion-function): New function.
10785 (shell-completion-vars): Use it to implement
10786 shell-completion-execonly (Bug#10417).
10787
04482335
CY
10788 * custom.el (enable-theme): Don't set custom-safe-themes.
10789
1d00653d
SM
10790 * cus-theme.el (custom-theme-merge-theme):
10791 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10792
bb5aa5d6
MM
107932012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10794
10795 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10796 first prompt in `sql-interacive-mode'.
10797 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10798 keywords.
6df6ae42 10799 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10800 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10801 context of original buffer. Invoke `sql-login-hook'.
10802
a7183d7c
EZ
108032012-01-04 Eli Zaretskii <eliz@gnu.org>
10804
10805 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10806 letters in cite-prefix.
10807
a1eacd1e
LMI
108082012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10809
10810 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10811
787cdb34
CY
108122012-01-03 Chong Yidong <cyd@gnu.org>
10813
1d00653d
SM
10814 * shell.el (shell-dynamic-complete-functions):
10815 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10816 comint-filename-completion first (Bug#10417).
10817
30710442
RS
108182012-01-02 Richard Stallman <rms@gnu.org>
10819
10820 * battery.el (battery-status-function):
10821 Detect when to use battery-yeeloong-sysfs.
10822 (battery-echo-area-format): Add string for Yeeloong.
10823 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10824 (battery-yeeloong-sysfs): New function.
10825
f75bfc33
CY
108262012-01-02 Chong Yidong <cyd@gnu.org>
10827
10828 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10829 (dirtrack): Merge code for handling relative filenames in prompt
10830 from shell-dir-cookie-watcher.
10831 (dirtrack-debug-message): New arg to avoid excess format calls.
10832
10833 * shell.el (shell-dir-cookie-re): Variable deleted.
10834 (shell-dir-cookie-watcher): Function deleted.
10835 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10836 with dirtrack-mode.
10837
651e947e
EZ
108382012-01-01 Eli Zaretskii <eliz@gnu.org>
10839
1d00653d
SM
10840 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10841 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10842 libgnutls-26.dll.
10843
94d4c7dc
AS
108442011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10845
10846 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10847
8d43f3cd
EZ
108482011-12-31 Eli Zaretskii <eliz@gnu.org>
10849
10850 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10851 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10852
98c8795a
MA
108532011-12-29 Michael Albinus <michael.albinus@gmx.de>
10854
10855 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10856 also for alternative shells.
10857 (tramp-open-connection-setup-interactive-shell): Check, whether
10858 the shell is a busybox.
10859 (tramp-send-command): Don't suppress multiple prompts for
10860 busyboxes, it hurts.
10861
51281b32
CY
108622011-12-28 Chong Yidong <cyd@gnu.org>
10863
10864 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10865 (gdb-get-source-file): Move mode line update to
10866 gdb-get-source-file (Bug#10087).
10867
2170cb53
CY
108682011-12-25 Chong Yidong <cyd@gnu.org>
10869
10870 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10871 gud-gdb-marker-filter without taking it as an argument.
10872 (gud-gdb-run-command-fetch-lines): Caller changed.
10873 (gud-gdb-completion-function): New variable.
10874 (gud-gdb-completion-at-point): Use it.
10875 (gud-gdb-completions-1): Split from gud-gdb-completions.
10876
10877 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10878 function as separate arguments.
10879 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10880 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10881 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10882 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10883 (gdb-stopped, def-gdb-auto-update-trigger)
10884 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10885 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10886 Callers changed.
2170cb53
CY
10887 (gud-gdbmi-completions): New function.
10888 (gdb): Use it for generating the completion table.
10889
be8b11bb
AM
108902011-12-24 Alan Mackenzie <acm@muc.de>
10891
10892 Introduce a mechanism to widen the region used in context font
1d00653d 10893 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10894
1d00653d
SM
10895 * progmodes/cc-langs.el (c-before-font-lock-functions):
10896 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10897 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10898 functions to be run just before context (etc.) font locking.
10899
10900 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10901 New, functionality extracted from
be8b11bb 10902 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10903 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10904 (c-after-change): Set c-in-after-change-fontification.
10905 (c-set-fl-decl-start): Rejig its interface, so it can be called
10906 from both after-change and context fontifying.
b81d40f0
JB
10907 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10908 New functions.
10909 (c-standard-font-lock-fontify-region-function): New variable.
10910 (c-font-lock-fontify-region): New function.
be8b11bb 10911
341cf6ac
JL
109122011-12-24 Juri Linkov <juri@jurta.org>
10913
10914 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10915 (Bug#10348)
10916
bffcee0a
MA
109172011-12-23 Michael Albinus <michael.albinus@gmx.de>
10918
10919 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10920 existence of source file. (Bug#10325)
10921
cb5e207c
AM
109222011-12-23 Alan Mackenzie <acm@muc.de>
10923
10924 Fix unstable fontification inside templates.
10925
b81d40f0
JB
10926 * progmodes/cc-langs.el (c-before-font-lock-functions):
10927 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10928 additionally has c-set-fl-decl-start. The other languages (apart
10929 from AWK) have that as a single entry.
10930
b81d40f0
JB
10931 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10932 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10933 c-set-fl-decl-start.
10934
b81d40f0
JB
10935 * progmodes/cc-mode.el (c-common-init, c-after-change):
10936 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10937 (c-set-fl-decl-start): New function, extracted from
10938 c-font-lock-enclosing-decls and enhanced.
10939
60ff536c
JB
109402011-12-23 Juanma Barranquero <lekktu@gmail.com>
10941
10942 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10943
1c4757d6
JL
109442011-12-22 Juri Linkov <juri@jurta.org>
10945
10946 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10947
d031f2c7
CY
109482011-12-22 Chong Yidong <cyd@gnu.org>
10949
10950 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10951
bace743a
DA
109522011-12-21 Drew Adams <drew.adams@oracle.com>
10953
10954 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10955
728a1f2b
JC
109562011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10957
10958 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10959
0d373f73
TZ
109602011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10961
fec0aaa4
TZ
10962 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10963 highlighting and support. Fix up comments for capitalization.
10964 (cfengine-mode-debug): New var.
10965 (cfengine3-mode): Change the modeline indicator to "CFE3".
10966 (cfengine3-font-lock-keywords): Improve defun highlighting.
10967 (cfengine2-actions): Rename from `cfengine-actions'.
10968 (cfengine2-font-lock-keywords): Rename from
10969 `cfengine-font-lock-keywords'.
10970 (cfengine2-imenu-expression): Rename from
10971 `cfengine-imenu-expression'.
10972 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10973 (cfengine2-beginning-of-defun): Rename from
10974 `cfengine-beginning-of-defun'.
10975 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10976 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10977 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10978 modeline indicator to "CFE2".
10979 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10980 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10981
bc86f573
CY
109822011-12-21 Chong Yidong <cyd@gnu.org>
10983
10984 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10985 filename argument.
10986
d45ba96b
MR
109872011-12-20 Martin Rudalics <rudalics@gmx.at>
10988
10989 * window.el (window-normalize-buffer-to-display): Remove.
10990 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10991
a6198c90
CY
109922011-12-19 Chong Yidong <cyd@gnu.org>
10993
10994 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10995 Don't signal an error in a predicate function; return non-nil.
10996 (vc-dir-mark-file): Move the error here.
10997 (vc-dir-mark-unmark): If acting on the region, keep going if one
10998 of the entries cannot be marked/unmarked.
10999 (vc-dir-mark-all-files): If current entry is a directory, mark
11000 only child files, as documented.
11001
34c5fb55
VB
110022011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11003
11004 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11005 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11006 addition.
11007
c803b2b7
JD
110082011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11009
11010 * term/ns-win.el (ns-get-selection-internal)
11011 (ns-store-selection-internal): Declare.
1154d12e
JB
11012 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11013 Declare as obsolete.
11014 (ns-get-pasteboard, ns-paste-secondary):
11015 Use ns-get-selection-internal.
41e9b956 11016 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11017 Use ns-store-selection-internal.
c803b2b7 11018
9cff91f8 110192011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11020
11021 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11022 (vc-deduce-fileset): Doc fix.
99a289d9 11023
f16c898a
AS
110242011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11025
11026 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11027
763237c4
SS
110282011-12-13 Sam Steingold <sds@gnu.org>
11029
11030 * man.el (Man-getpage-in-background): When running under a
11031 window-system, ignore $MANWIDTH and $COLUMNS.
11032
5fc1c122
KH
110332011-12-15 Kenichi Handa <handa@m17n.org>
11034
11035 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11036 (setup-ethiopic-environment-internal): Comment out key-binding for
11037 ethio-toggle-punctuation.
11038
13d49cbb
AM
110392011-12-13 Alan Mackenzie <acm@muc.de>
11040
898169a2
AM
11041 Add the switch statement to AWK Mode.
11042
7a71b18d 11043 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11044 "default" to the keywords regexp.
11045
7a71b18d 11046 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11047 expression as the rest.
1d00653d
SM
11048 (c-nonlabel-token-key): Allow string literals for AWK.
11049 Refactor for the other modes.
898169a2 11050
13d49cbb 11051 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11052 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11053 routines. Limit backward searching in c-font-lock-enclosing.decl.
11054
11055 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11056 pp-state and literal type in addition to the limits.
1d00653d 11057 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11058 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11059 (c-slow-in-literal, c-fast-in-literal): Remove.
11060 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11061
11062 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11063 being in a literal. Add a limit for backward searching.
11064
11065 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11066 c-slow-in-literal.
11067
15e0efc7
SM
110682011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11069
11070 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11071
454592a6
MR
110722011-12-13 Martin Rudalics <rudalics@gmx.at>
11073
11074 * window.el (delete-other-windows): Use correct frame in call to
11075 window-with-parameter.
11076
87393f26
DP
110772011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11078
11079 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11080 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11081 (makefile-gmake-statements, makefile-makepp-statements):
11082 Use it and add new makepp keywords.
11083 (makefile-makepp-font-lock-keywords): Add new patterns.
11084 (makefile-match-function-end): Match new [...] and [[...]].
11085
11636b22
JB
110862011-12-11 Juanma Barranquero <lekktu@gmail.com>
11087
11088 * ses.el (ses-call-printer-return, ses-cell-property-get)
11089 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11090 (ses-create-cell-variable, ses-reset-header-string)
11091 (ses-cell-set-formula, ses-repair-cell-reference-all)
11092 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11093 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11094 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11095 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11096 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11097 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11098 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11099 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11100 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11101 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11102 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11103 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11104
cf018193
VB
111052011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11106
11107 * ses.el: The overall change is to add cell renaming, that is
11108 setting fancy names for cell symbols other than name matching
11109 "\\`[A-Z]+[0-9]+\\'" regexp .
11110 (ses-create-cell-variable): New defun.
11111 (ses-relocate-formula): Relocate formulas only for cells the
11112 symbols of which are not renamed, i.e. symbols whose names do not
11113 match regexp "\\`[A-Z]+[0-9]+\\'".
11114 (ses-relocate-all): Relocate values only for cells the symbols of
11115 which are not renamed.
11116 (ses-load): Create cells variables as the (ses-cell ...) are read,
11117 in order to check row col consistency with cell symbol name only
11118 for cells that are not renamed.
11119 (ses-replace-name-in-formula): New defun.
11120 (ses-rename-cell): New defun.
11121
ee957461
CY
111222011-12-11 Chong Yidong <cyd@gnu.org>
11123
11124 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11125 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11126
9a9e9ef0
MR
111272011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11128
11129 * window.el (other-window): Fix docstring.
11130
92a8eba5
EZ
111312011-12-10 Eli Zaretskii <eliz@gnu.org>
11132
11133 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11134 `from' or `to' address before taking its substring.
11135 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11136 encoded name is chopped in the middle of the encoded string, and
11137 thus displayed encoded.
11138
e152e577
JB
111392011-12-10 Juanma Barranquero <lekktu@gmail.com>
11140
11141 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11142
e5d84bfe
EZ
111432011-12-10 Eli Zaretskii <eliz@gnu.org>
11144
11145 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11146 to use texinfo-update-node and commands that call it if the
11147 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11148 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11149 (texinfo-all-menus-update, texinfo-master-menu)
11150 (texinfo-update-node, texinfo-every-node-update)
11151 (texinfo-multiple-files-update): Doc fix. Warn against updating
11152 all the @node lines.
11153 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11154 argument is numeric. Explain better in the doc string what the
11155 function really does.
11156 (texinfo-insert-master-menu-list): Improve the error message
11157 displayed if there's no menu in the Top node.
11158 (Bug#2975) See also this thread:
e5d84bfe
EZ
11159 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11160
1d84e9bb
MG
111612011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11162
11163 * speedbar.el (speedbar-supported-extension-expressions):
11164 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11165
382c953b
JB
111662011-12-09 Juanma Barranquero <lekktu@gmail.com>
11167
11168 * printing.el (pr-mode-alist):
11169 * simple.el (filter-buffer-substring-functions)
11170 (completion-list-insert-choice-function):
11171 * window.el (window-with-parameter, window-atom-root)
11172 (window-sides-slots, window-size-fixed, window-min-delta)
11173 (window-max-delta, window--resize-mini-window)
11174 (window--resize-child-windows-normal, window-tree)
11175 (delete-other-windows, quit-window, split-window)
11176 (display-buffer-record-window, special-display-buffer-names)
11177 (special-display-regexps, special-display-popup-frame)
11178 (same-window-p, split-window-sensibly)
11179 (display-buffer-overriding-action, display-buffer-alist)
11180 (display-buffer-base-action, display-buffer, switch-to-buffer)
11181 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11182 (fit-window-to-buffer, recenter-positions)
11183 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11184 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11185 and remove unneeded backslashes in docstrings.
11186
39c9faef
SM
111872011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11188
98449af8
SM
11189 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11190
39c9faef
SM
11191 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11192 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11193 end in ".mk".
11194 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11195 when reading the makefile (bug#10116).
11196
86ed9fdc
SM
111972011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11198
11199 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11200 (bug#10116).
11201
5580f89d
GM
112022011-12-06 Glenn Morris <rgm@gnu.org>
11203
11204 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11205
28d3917c
CY
112062011-12-06 Chong Yidong <cyd@gnu.org>
11207
11208 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11209
a98edce9
JB
112102011-12-06 Juanma Barranquero <lekktu@gmail.com>
11211
11212 * textmodes/table.el (table-shorten-cell): Fix typo.
11213
e65adfac
CG
112142011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11215
11216 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11217
71cc0b74
EZ
112182011-12-05 Eli Zaretskii <eliz@gnu.org>
11219
11220 * descr-text.el (describe-char): Fix display of strong
11221 right-to-left characters and directional embeddings and overrides.
11222
11223 * simple.el (what-cursor-position): Fix display of codepoints of
11224 strong right-to-left characters.
11225
315bc30d
CY
112262011-12-05 Chong Yidong <cyd@gnu.org>
11227
11228 * faces.el (read-color): Doc fix.
11229
58a70b94
GM
112302011-12-05 Glenn Morris <rgm@gnu.org>
11231
11232 * align.el (align--set-marker): Add doc-string.
11233 Don't try to move something that is not a marker. (Bug#10216)
11234
5158face
GM
112352011-12-04 Glenn Morris <rgm@gnu.org>
11236
11237 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11238 overly zealous deletion of trailing whitespace.
11239
520fca41
JB
112402011-12-04 Juanma Barranquero <lekktu@gmail.com>
11241
11242 * server.el (server-delete-client): On Windows, do not try to delete
11243 the only terminal.
11244 (server-process-filter): On Windows, treat requests for a tty frame as
11245 if they were for a GUI frame if the running server is in GUI mode.
11246
5e605a2e
GM
112472011-12-03 Glenn Morris <rgm@gnu.org>
11248
11249 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11250
5c3fe83f
SM
112512011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11252
6f5e57e7
SM
11253 * electric.el: Streamline electric-indent's hook.
11254 (electric-indent-chars): Revert to simple list.
11255 (electric-indent-functions): New var.
11256 (electric-indent-post-self-insert-function): Use it.
11257
5c3fe83f
SM
11258 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11259 there's no inferior buffer (bug#10196).
11260 (prolog-consult-compile): Don't use toggle-read-only.
11261
6bdac736
MA
112622011-12-02 Michael Albinus <michael.albinus@gmx.de>
11263
11264 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11265 interrupt. (Bug#10187)
11266
6131ba7f
SM
112672011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11268
99c79fee
SM
11269 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11270 (bug#9160).
11271
6131ba7f
SM
11272 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11273 (bug#10191).
11274
cb0a02ea
JL
112752011-12-02 Juri Linkov <juri@jurta.org>
11276
11277 * info.el (Info-search): Display "end of manual" when Isearch
11278 reaches the end of single-file Info manual. (Bug#9918)
11279
66e0570c
EZ
112802011-12-02 Eli Zaretskii <eliz@gnu.org>
11281
11282 * isearch.el (isearch-message-prefix): Run the input method part
11283 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11284
02b16839
JL
112852011-12-02 Juri Linkov <juri@jurta.org>
11286
11287 * isearch.el (isearch-occur): Use `word-search-regexp' for
11288 `isearch-word'.
11289 (isearch-search-and-update): Add condition for `isearch-word' and
11290 call `word-search-regexp'. (Bug#10145)
11291
0b950688
GM
112922011-12-01 Glenn Morris <rgm@gnu.org>
11293
11294 * eshell/em-hist.el (eshell-hist-initialize):
11295 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11296 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11297
9505c3c7
SM
112982011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11299
11300 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11301
1bbe96b2 113022011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11303
a1beca85
SM
11304 * progmodes/verilog-mode.el (verilog-pretty-expr):
11305 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11306 verilog, such as += *= and the like.
11307 (verilog-assignment-operator-re): Regular expression to find the
11308 assigment operator in a verilog assignment.
11309 (verilog-assignment-operation-re): Regular expression to find an
11310 assignment statement for pretty-expr.
11311 (verilog-in-attribute-p): Query returns true if point is in an
11312 attribute context; used to skip these for expression line up from
11313 pretty-expr.
11314 (verilog-in-parameter-p): Query returns true if point is in an
11315 parameter definition context; used to skip these for expression
11316 line up from pretty-expr.
11317 (verilog-in-parenthesis-p): Query returns true if point is in a
11318 parenthetical expression, specifically ( ) but not [ ] or { };
11319 used by pretty-expr.
11320 (verilog-just-one-space): If there is no space, don't add one.
11321 (verilog-get-lineup-indent-2): Specifically skip just attribute
11322 contexts for expression lineup, rather than skipping all
11323 parenthetical expressions.
11324 (verilog-calculate-indent): Fix comment, and fix indent.
11325 (verilog-do-indent): Indent declarations in lists (suggested by
11326 Joachim Lechner).
11327 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11328 skeleton items.
11329 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11330 by Alain Mellan).
11331
1bbe96b2 113322011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11333
11334 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11335 parameters with embedded comments. Reported by Ray Stevens.
11336 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11337 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11338 Reported by Tim Holt.
11339 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11340 instantiated by upper module causing wrong expansion until AUTOed a
11341 second time. Reported by K C Buckenmaier.
11342 (verilog-diff-auto): Fix showing .* as a difference when
11343 `verilog-auto-star-save' off. Reported by Dan Dever.
11344 (verilog-auto-reset, verilog-read-always-signals)
11345 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11346 temporary signals in reset list if
11347 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11348 style to each signal's assignment type, bug381.
11349 Reported by Thomas Esposito.
6288f0ca
WS
11350 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11351 (verilog-uvm-statement-re): Support UVM indentation and
11352 highlighting, with old OVM keywords only.
a1beca85 11353 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11354 Support AUTOTIEOFF creating non-wire data types.
11355 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11356 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11357 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11358 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11359 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11360 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11361 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11362 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11363 non-numeric vector width. Reported by Alex Reed.
11364 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11365 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11366 (verilog-auto-delete-trailing-whitespace):
11367 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11368 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11369 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11370 Fix verilog-scan-cache corruption when running user AUTO expansion
11371 hooks that call indentation routines.
11372 (verilog-simplify-range-expression): Fix typo ignoring lower case
11373 identifiers.
11374 (verilog-delete-auto): Fix delete-autos to also remove user created
11375 automatics, as long as they start with AUTO.
11376 (verilog-batch-diff-auto, verilog-diff-auto)
11377 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11378 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11379 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11380 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11381 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11382 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11383 is disabled and its cache will get corrupt, causing AUTOS not to
11384 expand. Instead use only -quick functions.
11385 (verilog-scan-region): Fix scanning over escaped quotes.
11386 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11387 (verilog-re-search-backward-quick)
11388 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11389 related functions now ignore strings, to fix misparsing of strings
11390 with magic comments embedded in them.
a1beca85
SM
11391 (verilog-read-auto-template):
11392 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11393 Reported by Brad Dobbie.
11394 (verilog-read-auto-template):
11395 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11396 Reported by Brad Dobbie.
6288f0ca
WS
11397 (verilog-auto-inst, verilog-auto-inst-param)
11398 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11399 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11400 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11401 debugging templates without merge conflicts, bug357.
11402 Reported by Brad Dobbie.
11403 (verilog-read-auto-template):
11404 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11405 Reported by Brad Dobbie.
11406 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11407 abbrevs so user won't be asked to save.
11408 (verilog-read-auto-lisp-present): Fix to start at beginning of
11409 buffer in case called outside of verilog-auto.
11410 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11411 to "X-2". Reported by Matthew Myers.
11412 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11413 all inputs from module templates. Reported by Leith Johnson.
11414 (verilog-module-inside-filename-p): Fix locating programs as with
11415 modules.
11416 (verilog-auto-inst-port): Fix vl-width expressions when using
11417 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11418 (verilog-decls-get-regs, verilog-decls-get-signals,
11419 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11420 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11421 verilog-read-decls): Combine reg and wire structures into one var
11422 structure to represent SystemVerilog concepts.
11423 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11424 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11425 (verilog-auto-wire-type, verilog-insert-definition):
11426 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11427 SystemVerilog "logic" keyword instead of "wire"/"reg".
11428 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11429 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11430 ifdef or generate if so there's not a driver conflict).
11431 Reported by Matthew Myers.
11432 (verilog-auto-declare-nettype, verilog-insert-definition):
11433 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11434 `default_nettype none. Reported by Julian Gorfajn.
11435 (verilog-read-always-signals-recurse, verilog-read-decls)
11436 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11437 malformed end statement, bug325. Reported by Joshua Wise and
11438 Andrew Drake.
11439 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11440 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11441 when expanding .* in interfaces, bug320.
11442 Reported by Pierre-David Pfister.
6288f0ca 11443 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11444 name and open parenthesis, bug317.
11445 Reported by Pierre-David Pfister.
6288f0ca
WS
11446 (verilog-simplify-range-expression): Fix simplification of
11447 multiplications inside AUTOWIRE connections, bug303.
11448 (verilog-auto-inst-port): Support parameter expansion in
11449 multidimensional arrays.
11450 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11451 after "assert property". Reported by Julian Gorfajn.
11452 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11453 with multiplication, bug303.
11454 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11455 Reported by Jan Frode Lonnum.
11456
1bbe96b2
GM
114572011-11-30 Juanma Barranquero <lekktu@gmail.com>
11458
11459 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11460 (hfy-shell-file-name, hfy-shell):
11461 * international/fontset.el (x-decompose-font-name): Fix typos.
11462
114632011-11-29 Ken Brown <kbrown@cornell.edu>
11464
11465 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11466 (gdb-version): Remove defvar.
11467 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11468 (gdb-gud-context-command, gdb-non-stop-handler)
11469 (gdb-current-context-command, gdb-stopped): Use it.
11470 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11471 (gdb-non-stop-handler): Don't enable pretty-printing here.
11472 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11473 non-stop mode. Use the following.
11474 (gdb-check-target-async): New defun.
11475 (gud-watch, gdb-stopped): Fix whitespace.
11476 (gdb-get-source-file): Don't try to display the source file if
11477 `gdb-main-file' is nil.
11478
114792011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11480
11481 * align.el: Try to generate fewer markers (bug#10047).
11482 (align--set-marker): New macro.
11483 (align-region): Use it.
11484
c935221f
SM
114852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11488
e70b5064
CY
114892011-11-29 Chong Yidong <cyd@gnu.org>
11490
11491 * indent.el (indent-for-tab-command, indent-according-to-mode):
11492 Doc fix.
11493 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11494
f3af92b7
MA
114952011-11-29 Michael Albinus <michael.albinus@gmx.de>
11496
11497 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11498 aware of remote file names. (Bug#10124)
11499
ed472be9
CY
115002011-11-29 Chong Yidong <cyd@gnu.org>
11501
11502 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11503
24510c22
SM
115042011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11505
11506 * files.el (find-file): Don't use force-same-window (bug#10144).
11507 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11508 use pop-to-buffer if the selected window can't be used.
11509 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11510
c60c3703
EZ
115112011-11-28 Eli Zaretskii <eliz@gnu.org>
11512
11513 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11514 special-mode-map.
11515
e95def75
CY
115162011-11-28 Chong Yidong <cyd@gnu.org>
11517
11518 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11519
c3f1c606
NR
115202011-11-27 Nick Roberts <nickrob@snap.net.nz>
11521
11522 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11523 gdb-get-source-file-list on gdb-create-source-file-list.
11524
00db469c
EZ
115252011-11-26 Eli Zaretskii <eliz@gnu.org>
11526
11527 * whitespace.el (whitespace-newline): Use a different foreground
11528 color for 16-color light-background displays.
11529
4ad3bc2a
CY
115302011-11-24 Chong Yidong <cyd@gnu.org>
11531
11532 * window.el (display-buffer--special-action): Doc fix.
11533
e9fce1ac
JB
115342011-11-25 Juanma Barranquero <lekktu@gmail.com>
11535
11536 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11537 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11538 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11539 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11540 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11541 (avl-tree-stack-first):
11542 * emacs-lisp/cconv.el (cconv--analyse-use):
11543 * net/gnutls.el (gnutls-negotiate): Fix typos.
11544
cb825e5d
GM
115452011-11-24 Glenn Morris <rgm@gnu.org>
11546
3adbe224
GM
11547 * lpr.el (lpr-windows-system, lpr-lp-system):
11548 * mail/binhex.el (binhex-begin-line):
11549 * progmodes/grep.el (grep-history, grep-find-history):
11550 * textmodes/flyspell.el:
11551 * vc/pcvs-defs.el (cvs-global-menu):
11552 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11553 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11554 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11555
321decc8
GM
11556 * net/tls.el: Fix case of "GnuTLS".
11557
420b63ad
GM
11558 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11559
cb825e5d
GM
11560 * version.el (emacs-build-system): Give it a doc-string.
11561
a0649f08
JL
115622011-11-24 Juri Linkov <juri@jurta.org>
11563
11564 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11565
c0bc0fd4
GM
115662011-11-24 Glenn Morris <rgm@gnu.org>
11567
11568 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11569 if called on a non-mime message just toggle the headers. (Bug#8006)
11570
20db1522
JB
115712011-11-24 Juanma Barranquero <lekktu@gmail.com>
11572
11573 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11574 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11575 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11576 (allout-rebullet-heading, allout-open-sibtopic)
11577 (allout-toggle-current-subtree-encryption)
11578 (allout-toggle-subtree-encryption, allout-encrypt-string)
11579 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11580 (allout-distinctive-bullets-string, allout-auto-activation):
11581 * window.el (window-normalize-buffer-to-display):
11582 * progmodes/verilog-mode.el (verilog-batch-indent):
11583 * textmodes/bibtex.el (bibtex-field-braces-opt)
11584 (bibtex-field-strings-opt):
11585 * vc/cvs-status.el (cvs-tree-merge):
11586 Fix typos.
11587
7262a87c
MA
115882011-11-23 Michael Albinus <michael.albinus@gmx.de>
11589
11590 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11591 `non-essential' to t, in order to avoid remote connections.
11592
283430a1
EZ
115932011-11-23 Eli Zaretskii <eliz@gnu.org>
11594
a1beca85
SM
11595 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11596 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11597 case-insensitively.
11598
d2992a38
ML
115992011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11600
11601 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11602
50419064
GM
116032011-11-23 Glenn Morris <rgm@gnu.org>
11604
da94eca1
GM
11605 * paths.el (rmail-file-name): Reformat the doc-string so that it
11606 is picked up.
11607
9aac4de2
GM
11608 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11609 (rmail-auto-file): Ignore case in the "special" field names,
11610 as mail-fetch-field does for all others.
11611
8038d2d2
GM
11612 * mail/rmail.el (rmail-forward):
11613 * mail/rmailkwd.el (rmail-set-label):
11614 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11615 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11616
f3fe222a
GM
11617 * mail/rmail.el (rmail-current-message): Doc fix.
11618
50419064
GM
11619 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11620
28109f49
SM
116212011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11622
11623 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11624
394c65f1
GM
116252011-11-22 Glenn Morris <rgm@gnu.org>
11626
11627 * mail/rmailmm.el (test-rmail-mime-handler)
11628 (test-rmail-mime-bulk-handler)
11629 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11630
f2a0aa3a
JL
116312011-11-21 Juri Linkov <juri@jurta.org>
11632
1154d12e
JB
11633 * calc/calc.el (calc-read-key-sequence):
11634 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11635
9c34a344
LMI
116362011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11637
11638 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11639 Tell the caller that the next line needs recomputation, even
11640 though it doesn't start a sexp (bug#10094).
11641
f04a3be9
SM
116422011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11645
7978747f
SM
116462011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11647
f04a3be9
SM
11648 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11649 Use force-same-window.
7978747f 11650
fe7a3057
JB
116512011-11-20 Juanma Barranquero <lekktu@gmail.com>
11652
11653 * descr-text.el (describe-char-unicode-data):
11654 * json.el (json-string-escape):
11655 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11656 (Footnote-unicode, Footnote-style-p):
11657 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11658
24901d61
CY
116592011-11-20 Chong Yidong <cyd@gnu.org>
11660
11661 * window.el (replace-buffer-in-windows): Restore interactive spec.
11662
bac7ff22
SM
116632011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11664
24f3d7b9
SM
11665 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11666
bac7ff22
SM
11667 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11668 (byte-compile-global-not-obsolete-vars): New var.
11669 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11670 Use it.
11671 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11672
cd1181db
JB
116732011-11-20 Juanma Barranquero <lekktu@gmail.com>
11674
11675 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11676 * progmodes/pascal.el (electric-pascal-equal):
11677 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11678 * xml.el (xml-substitute-special): Fix typos.
11679
7fb18e9e
GM
116802011-11-20 Glenn Morris <rgm@gnu.org>
11681
11682 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11683 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11684 Doc fixes.
11685 (rmail-decode-mime-charset): Mark as obsolete.
11686
11687 * mail/rmailsum.el (rmail-message-regexp-p-1):
11688 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11689 Before using mime functions, check they are set. (Bug#10077)
11690
d5a6b3ba
JL
116912011-11-19 Juri Linkov <juri@jurta.org>
11692
11693 * info.el (Info-finder-find-node): Use `package--builtins' instead
11694 of `package-alist'. Use node names formed by the pattern "Keyword "
11695 and the keyword name.
11696
e981b61f
AS
116972011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11698
1d00653d 11699 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11700
3ffbc301
JL
117012011-11-19 Juri Linkov <juri@jurta.org>
11702
11703 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11704 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11705 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11706 `old-history', `old-history-forward'. Add let-binding
11707 `window-selected'. Remove calls to `kill-buffer',
11708 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11709 before calling `Info-find-node', so `Info-find-node-2' will reread
11710 the Info file. Restore window positions only when `window-selected'
11711 is non-nil.
11712
30c62133
JL
117132011-11-19 Juri Linkov <juri@jurta.org>
11714
11715 * isearch.el (isearch-lazy-highlight-new-loop):
11716 Remove condition `(not isearch-error)'. (Bug#9918)
11717
11718 * misearch.el (multi-isearch-search-fun): Add condition
11719 `(not bound)' to ignore lazy-highlighting search.
11720 Add the search-failed message "end of multi" when the end of
11721 multi-sequence is reached. Uncapitalize the search-failed
11722 message "Repeat for next buffer".
11723
11724 * info.el (Info-search): Add the search-failed message
11725 "end of the manual" when the end of the manual is reached
11726 in Isearch mode.
11727
645ca9cf
JL
117282011-11-19 Juri Linkov <juri@jurta.org>
11729
11730 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11731 Use non-destructive `remove' instead of `delete' because
11732 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11733 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11734
df754f66
JL
117352011-11-19 Juri Linkov <juri@jurta.org>
11736
11737 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11738 to nil instead of binding `search-ring' and `regexp-search-ring'.
11739 (Bug#9185)
11740
0e23d96a
EZ
117412011-11-19 Eli Zaretskii <eliz@gnu.org>
11742
11743 * simple.el (line-move): Force movement by logical lines for any
11744 hscrolled window, not only when auto-hscroll-mode is on.
11745 (line-move-visual): Update doc string to that effect. (Bug#10076)
11746
8a6ccb66
AS
117472011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11748
11749 * language/european.el (macintosh): Define as alias for mac-roman.
11750
49ae5b39
EZ
117512011-11-19 Eli Zaretskii <eliz@gnu.org>
11752
11753 * mail/rmailmm.el (rmail-mime-display-header)
11754 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11755 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11756 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11757 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11758 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11759 of a raw aref.
11760 (rmail-mime-entity-segment): To get past the tagline, move forward
11761 2 more lines, to account for the 2 empty lines that precede and
11762 follow the line with the buttons.
11763 (rmail-mime-update-tagline): Move one more line, to get past the
11764 empty line that follows the buttons in the tagline. (Bug#9520)
11765
c56cad4a
MR
117662011-11-19 Martin Rudalics <rudalics@gmx.at>
11767
11768 * window.el (window-max-delta-1, window-min-delta-1)
11769 (window-min-size-1, window-state-get-1, window-state-put-1)
11770 (window-state-put-2): Use "window--" prefix.
11771
cbe71af3
SM
117722011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11773
2ad52c60
SM
11774 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11775 (smie-warning-count): New var.
11776 (smie-set-prec2tab): Use it.
11777 (smie-bnf->prec2): Improve warnings. Add docstring.
11778 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11779 (smie-bnf--set-class): New function.
11780 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11781 corner case.
11782
6944dbc1
SM
11783 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11784 (compilation-error-properties, compilation-move-to-column):
11785 Handle compilation-first-column while in the target buffer.
11786
c400c4d7
SM
11787 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11788 Don't hardcode point-min==1.
11789
6dbe3e96
SM
11790 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11791 (eshell-rewrite-for-command): Remove workaround.
11792 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11793 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11794 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11795
cbe71af3
SM
11796 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11797
a8e1496d
GM
117982011-11-17 Glenn Morris <rgm@gnu.org>
11799
11800 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11801 Ignore buffer-local generated-autoload-file if it is the same
11802 as the global value. (Bug#10049)
11803
df85d315
JB
118042011-11-17 Juanma Barranquero <lekktu@gmail.com>
11805
11806 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11807 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11808 (reftex-toc-previous-heading, reftex-toc-max-level)
11809 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11810 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11811 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11812 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11813 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11814 (reftex-toc-rename-label, reftex-toc-visit-location)
11815 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11816 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11817 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11818 leaving "*toc*" only for references to the buffer.
11819
a0c2d0ae
MR
118202011-11-17 Martin Rudalics <rudalics@gmx.at>
11821
11822 * window.el (window-resize, delete-window, split-window):
11823 Replace window-splits by window-combination-resize.
1d00653d 11824 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11825
35c0bac8
GM
118262011-11-17 Glenn Morris <rgm@gnu.org>
11827
11828 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11829 Make bash entry derive from sh entry, not shell entry.
11830
d0c8fc8a
MA
118312011-11-16 Michael Albinus <michael.albinus@gmx.de>
11832
7262a87c
MA
11833 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11834 local file name.
11835
7877f373
JB
118362011-11-16 Juanma Barranquero <lekktu@gmail.com>
11837
11838 * menu-bar.el (menu-bar-file-menu):
11839 * printing.el (pr-ps-utility):
11840 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11841 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11842 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11843 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11844 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11845 (icalendar--convert-cyclic-to-ical)
11846 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11847 (icalendar--convert-ical-to-diary)
11848 (icalendar--convert-recurring-to-diary)
11849 (icalendar--convert-non-recurring-all-day-to-diary)
11850 (icalendar-import-format-sample):
11851 * progmodes/idlw-shell.el (idlwave-shell-mode):
11852 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11853 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11854 (vhdl-ps-print-init): Fix typos.
11855
10649b82
KM
118562011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11857
9d0cfcd6
GM
11858 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11859 FSF and collapse date sequence, obscure author/maintainer email address
11860 better, remove extra version line, track relocation of author's webpage.
10649b82 11861
9d0cfcd6
GM
11862 * progmodes/python.el (python-pdbtrack-input-prompt)
11863 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11864 regular python pdb prompts. Adjustments shamelessly taken exactly as
11865 suggested in EmacsWiki page (tiny change):
11866 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11867
58179cce
JB
118682011-11-16 Juanma Barranquero <lekktu@gmail.com>
11869
11870 * expand.el (expand-pos, expand-index, expand-point):
11871 Remove redundant info from docstring.
11872 (expand-add-abbrevs): Doc fix.
11873 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11874 (expand-sample-perl-mode-expand-list): Fix typos.
11875
11876 * net/dbus.el (dbus-event-member-name):
11877 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11878 * term/pc-win.el (msdos-create-frame-with-faces):
11879 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11880
b6f67890
MR
118812011-11-16 Martin Rudalics <rudalics@gmx.at>
11882
11883 * window.el (split-window, window-state-get-1)
11884 (window-state-put-1, window-state-put-2): Rename occurrences of
11885 window-nest to window-combination-limit.
1d00653d 11886 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11887
ce7ddba0
CY
118882011-11-16 Chong Yidong <cyd@gnu.org>
11889
11890 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11891 regexp (Bug#10033).
11892
3ae704f4
SM
118932011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11896 `completing-read' will remove *Completions* and will preserve
11897 current-buffer for us.
11898 (tmm-add-prompt): Users of *Completions* will always (re)set its
11899 major mode.
11900 (tmm-old-comp-map): Remove.
11901
6ad1cdde
GM
119022011-11-16 Glenn Morris <rgm@gnu.org>
11903
11904 * mail/rmailedit.el: Require rmailmm when compiling.
11905 (rmail-old-mime-state): New declaration.
11906 (rmail-edit-current-message): If editing a mime message,
11907 edit the "raw" message from the mbox buffer.
11908 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11909
d20faa20
GM
119102011-11-15 Glenn Morris <rgm@gnu.org>
11911
11912 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11913 which wasn't being used. Add optional arg to force given state.
11914 (rmail-mime): Add optional arg to force given state.
11915
c7015153
JB
119162011-11-15 Juanma Barranquero <lekktu@gmail.com>
11917
11918 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11919 * frame.el (display-mm-dimensions-alist):
11920 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11921 (outline-move-subtree-down):
11922 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11923 (newsticker--treeview-do-get-node):
11924 * net/quickurl.el (quickurl-list-buffer-name):
11925 * progmodes/dcl-mode.el (dcl-mode):
11926 * progmodes/gdb-mi.el (gdb-mapcar*):
11927 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11928
45261b50
GM
119292011-11-15 Glenn Morris <rgm@gnu.org>
11930
11931 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11932 in a boolean sense, so just make it a boolean, and fix the doc.
11933 (rmail-show-mime-function, rmail-mime-feature)
11934 (rmail-require-mime-maybe): Doc fixes.
11935 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11936
11937 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11938
0d26e0b6
JB
119392011-11-15 Juanma Barranquero <lekktu@gmail.com>
11940
11941 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11942 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11943 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11944 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11945
447f30f6
GM
119462011-11-15 Glenn Morris <rgm@gnu.org>
11947
672b871d
GM
11948 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11949 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11950 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11951 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11952 (rmail-mime, rmail-show-mime): Doc fixes.
11953
f6aa5bb1
GM
11954 * term/ns-win.el (mode-line-frame-identification):
11955 Leave it alone. (Bug#10051)
11956
947cd66b
GM
11957 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11958
447f30f6
GM
11959 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11960 Handle empty buffers. (Bug#9978)
11961
0b381c7e
JB
119622011-11-14 Juanma Barranquero <lekktu@gmail.com>
11963
11964 * international/mule.el (define-charset):
11965 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11966 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11967 * progmodes/verilog-mode.el (verilog-backward-token):
11968 * textmodes/ispell.el (lookup-words):
11969 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11970
71e027ac
GM
119712011-11-14 Glenn Morris <rgm@gnu.org>
11972
56632ce4
GM
11973 * progmodes/executable.el
11974 (executable-make-buffer-file-executable-if-script-p):
11975 Handle file-modes returning nil.
11976
40500957
GM
11977 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11978 message - not necessary, and causes problems. (Bug#9831)
11979
071c2340
GM
11980 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11981
d3cfca60
GM
11982 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11983
71e027ac
GM
11984 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11985 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11986 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11987
89d61221
MR
119882011-11-12 Martin Rudalics <rudalics@gmx.at>
11989
11990 * window.el (window-resize, delete-window): Use window-splits
11991 variable instead of function.
11992 (window-state-get-1, window-state-put-2, window-state-put):
11993 Don't deal with windows' splits status.
11994
98282f6f
GM
119952011-11-12 Glenn Morris <rgm@gnu.org>
11996
11997 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11998 (apropos-documentation): Doc fixes.
11999
40a8bdf6
JB
120002011-11-11 Juanma Barranquero <lekktu@gmail.com>
12001
12002 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12003 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12004
65bd19ff
SM
120052011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12006
12007 * electric.el (electric-indent-post-self-insert-function): Make it
12008 possible for a char to only indent in some circumstances.
12009 (electric-indent-mode): Simplify.
12010
54f9154c
MR
120112011-11-11 Martin Rudalics <rudalics@gmx.at>
12012
12013 * window.el (windows-with-parameter): Remove unused function.
12014 (windows-at-side): Rename to window-at-side-list.
12015 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12016 (window-side-check, window-size-ignore, window-size-fixed-1)
12017 (window-in-direction-2): Prefix with "window--".
12018 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12019
68cbc58b
GM
120202011-11-11 Glenn Morris <rgm@gnu.org>
12021
12022 * subr.el (eval-after-load): If FILE is already loaded,
12023 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12024
b2621720
GM
120252011-11-10 Glenn Morris <rgm@gnu.org>
12026
9a4de110
GM
12027 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12028 Call svn via vc-svn-command rather than vc-do-command.
12029 (vc-svn-command): Add --non-interactive. (Bug#9993)
12030 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12031
b2621720
GM
12032 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12033 Add toggle-read-only. (Bug#7292)
12034 * files.el (toggle-read-only): Mention that it should only
12035 be used interactively. (Bug#10006)
12036
1dce7193
SM
120372011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12038
d9ac1a1e
SM
12039 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12040 Adjust regexp for OCaml warnings.
12041
0c325082
SM
12042 * electric.el (electric-pair-post-self-insert-function): Let user
12043 turn it off buffer-locally (bug#9932).
12044
90132c14
SM
12045 * progmodes/python.el (python-beginning-of-statement):
12046 Rewrite (bug#2703).
12047
1dce7193
SM
12048 * progmodes/compile.el: Better handle TABs (bug#9749).
12049 (compilation-internal-error-properties)
12050 (compilation-next-error-function): Obey the target buffer's
12051 compilation-error-screen-columns.
12052
c4e7c63a
JB
120532011-11-09 Juanma Barranquero <lekktu@gmail.com>
12054
12055 * progmodes/meta-mode.el: Remove obsolete comments.
12056 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12057 Fix typos in docstrings.
12058
2cffd681
MR
120592011-11-09 Martin Rudalics <rudalics@gmx.at>
12060
12061 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12062 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12063 (window--resizable): New function. Make all callers of
12064 window-resizable call window--resizable instead.
12065 (window-resizable): Rewrite in terms of window--resizable.
12066
0edcba87
GM
120672011-11-08 Glenn Morris <rgm@gnu.org>
12068
12069 * progmodes/delphi.el (delphi-mode-syntax-table):
12070 Let define-derived-mode define a proper syntax table. (Bug#9994)
12071
4b0d61e3
SM
120722011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12073
12074 * window.el: Stay away from defsubst.
12075 (window-list-no-nils): Remove.
12076 (window-state-get-1, window-state-get): Use backquote instead.
12077
cd394be1 120782011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12079
4b0d61e3 12080 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12081 Fix incorrect use of default argument in `completing-read'.
12082
e1c2c6f2
MR
120832011-11-08 Martin Rudalics <rudalics@gmx.at>
12084
12085 * window.el (display-buffer-function, special-display-function):
12086 Mention display-buffer-record-window but do not mention
12087 help-setup parameter in doc-strings.
b3f4a882 12088 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12089
105216ed
CY
120902011-11-08 Chong Yidong <cyd@gnu.org>
12091
12092 * window.el (window-total-height, window-total-width): Doc fix.
12093 (window-body-size): Move from C.
12094 (window-body-height, window-body-width): Move to C.
12095
0a9f9ab5
SM
120962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12097
12098 * window.el: Make special-display like display-buffer-alist (bug#9532).
12099 (display-buffer--special-action): New function, morphed
12100 from display-buffer--special.
12101 (display-buffer): Use it to handle special-display-buffers at higher
12102 priority (just after display-buffer-alist).
12103 (display-buffer-fallback-action, display-buffer--other-frame-action)
12104 (pop-to-buffer-same-window): Remove display-buffer--special.
12105
a769dd15
GM
121062011-11-07 Glenn Morris <rgm@gnu.org>
12107
12108 * calendar/cal-menu.el (cal-menu-set-date-title):
12109 Do nothing if not in a calendar. (Bug#9976)
12110
05a61ee3
SM
121112011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12112
12113 * files.el (find-file): Always use selected-window.
12114
be7f5545
MR
121152011-11-07 Martin Rudalics <rudalics@gmx.at>
12116
12117 * window.el (window-combinations): Make WINDOW argument
12118 mandatory. Rewrite doc-string.
12119 (walk-window-subtree, window-atom-check, window-min-delta)
12120 (window-max-delta, window--resize-this-window)
12121 (window--resize-root-window-vertically, window-tree)
12122 (balance-windows, window-state-put): Rewrite doc-strings as to
12123 not mention the term "subwindow".
12124 (window--resize-subwindows-skip-p): Rename to
12125 window--resize-child-windows-skip-p.
12126 (window--resize-subwindows-normal): Rename to
12127 window--resize-child-windows-normal.
12128 (window--resize-subwindows): Rename to
12129 window--resize-child-windows.
12130 (window-or-subwindow-p): Rename to window--in-subtree-p.
12131
3c6702ef
ML
121322011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12133
12134 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12135 Ensure that mbox format messages end in two newlines (Bug#9974).
12136
49745b39
CY
121372011-11-06 Chong Yidong <cyd@gnu.org>
12138
12139 * window.el (window-combination-p): Function deleted; its
12140 side-effect is not used in any existing code.
12141 (window-combinations, window-combined-p): Call window-*-child
12142 directly.
12143
24300f5f
CY
121442011-11-05 Chong Yidong <cyd@gnu.org>
12145
12146 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12147 (window-size-ignore, window-state-get): Callers changed.
12148 (window-normalize-window): Rename from window-normalize-any-window.
12149 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12150 (window-normalize-live-window): Delete.
447f16b8
CY
12151 (window-combination-p, window-combined-p, window-combinations)
12152 (walk-window-subtree, window-atom-root, window-min-size)
12153 (window-sizable, window-sizable-p, window-size-fixed-p)
12154 (window-min-delta, window-max-delta, window-resizable)
12155 (window-resizable-p, window-full-height-p, window-full-width-p)
12156 (window-current-scroll-bars, window-point-1, set-window-point-1)
12157 (window-at-side-p, window-in-direction, window-resize)
12158 (adjust-window-trailing-edge, maximize-window, minimize-window)
12159 (window-deletable-p, delete-window, delete-other-windows)
12160 (record-window-buffer, unrecord-window-buffer)
12161 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12162 (quit-window, split-window, window-state-put)
12163 (set-window-text-height, fit-window-to-buffer)
12164 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12165
89bd5ee1
EZ
121662011-11-04 Eli Zaretskii <eliz@gnu.org>
12167
53479029
EZ
12168 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12169 rfc2047-decode-string.
12170 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12171 warnings.
12172
89bd5ee1
EZ
12173 * window.el (window-body-height, window-body-width): Mention in
12174 the doc string that the return values are in frame's canonical
12175 units. (Bug#9949)
12176
bd17fdee
AM
121772011-11-03 Alan Mackenzie <acm@muc.de>
12178
12179 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12180 change in cc-engine.el.
12181
acc825c5
SM
121822011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12183
12184 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12185
1885e5b8
MR
121862011-11-02 Martin Rudalics <rudalics@gmx.at>
12187
12188 * window.el (quit-window): Call unrecord-window-buffer after
12189 showing another buffer in the window. (Bug#9937)
acc825c5 12190 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12191
ebe06da9
JB
121922011-11-02 Juanma Barranquero <lekktu@gmail.com>
12193
12194 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12195 Accept status with more than 9 shelves. (Bug#9935)
12196 Reported by Colin D Bennett <colin@gibibit.com>.
12197
4ee88440
MR
121982011-11-01 Martin Rudalics <rudalics@gmx.at>
12199
12200 * help.el (with-help-window): Don't reference
12201 temp-buffer-show-specifiers in doc-string.
12202
08e1d82c
AS
122032011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12204
12205 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12206 menu-item.
12207
84bd6e9e
VJL
122082011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12209
12210 * whitespace.el: New version 13.2.2.
12211 (whitespace-newline-mode): Disable properly. Reported by Sarah
12212 <EmacsWiki>.
12213
dba0634a
UJ
122142011-10-30 Ulf Jasper <ulf.jasper@web.de>
12215
12216 * net/newst-treeview.el: Remove "Time-stamp".
12217 (newsticker--group-manage-orphan-feeds): Do not call
12218 newsticker--treeview-tree-update.
db22a3c2
JB
12219 (newsticker-treeview-update, newsticker-treeview):
12220 Call newsticker--treeview-tree-update if necessary.
dba0634a 12221
3d8daefe
MR
122222011-10-30 Martin Rudalics <rudalics@gmx.at>
12223
12224 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12225 (window-iso-combinations): Remove "iso-" infix.
12226 Suggested by Chong Yidong.
3d8daefe
MR
12227 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12228 (window-max-delta-1, window-resize, window--resize-siblings)
12229 (window--resize-this-window, adjust-window-trailing-edge)
12230 (split-window, balance-windows-1)
12231 (shrink-window-if-larger-than-buffer):
12232 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12233 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12234
1bc4c3ae
SM
122352011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12236
12237 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12238 in place (bug#9907).
12239 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12240 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12241 (eshell-structure-basic-command, eshell-rewrite-while-command)
12242 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12243 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12244 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12245 (eshell-do-pipelines-synchronously, eshell-eval-command):
12246 Use backquotes and prefer setq to set.
12247 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12248 (eshell-macrop): Use functionp.
c1e2f5fa 12249 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12250
30b65d9c
CY
122512011-10-30 Chong Yidong <cyd@gnu.org>
12252
12253 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12254 instead of set-mark (Bug#9810).
12255
2d197ffb
CY
122562011-10-30 Chong Yidong <cyd@gnu.org>
12257
12258 * window.el (split-window-below, split-window-right): Rename from
12259 split-window-above-each-other and split-window-side-by-side
12260 respectively. All callers changed.
12261 (split-window-sensibly, split-window-sensibly): Use them.
12262 (split-window-keep-point): Doc fix.
12263
12264 * isearch.el: Add isearch-scroll property to split-window-below
12265 and split-window-right.
12266
12267 * follow.el (follow-mode):
12268 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12269 * progmodes/ada-xref.el (ada-gdb-application):
12270 * emulation/vip.el (vip-buffer-in-two-windows):
12271 * image-dired.el (image-dired-dired-with-window-configuration):
12272 * dired-x.el (dired-do-find-marked-files):
12273 * dired.el (dired-pop-to-buffer):
12274 * bs.el (bs--show-with-configuration):
12275 * vc/emerge.el (emerge-setup-windows):
12276 * textmodes/two-column.el (2C-two-columns):
12277 * textmodes/reftex-toc.el (reftex-toc):
12278 * progmodes/gdb-mi.el (gdb-setup-windows):
12279 * progmodes/fortran.el (fortran-window-create):
12280 * net/newst-treeview.el (newsticker--treeview-window-init):
12281 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12282 * emulation/tpu-edt.el (tpu-gold-map):
12283 * emulation/crisp.el (crisp-mode-map):
12284 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12285
38bb2ca8
CY
122862011-10-29 Chong Yidong <cyd@gnu.org>
12287
aa4de341
CY
12288 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12289
e1eb5385
CY
12290 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12291
5d2ece3c
CY
12292 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12293 forged Ispell output (Bug#7904).
12294
38bb2ca8
CY
12295 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12296
d0af9f77
SM
122972011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * doc-view.el: Avoid ugly errors about not finding nil.
12300 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12301 (doc-view-dvipdf-program, doc-view-unoconv-program)
12302 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12303 Avoid nil or absolute file name as default value.
12304 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12305
52bedd34
AM
123062011-10-28 Alan Mackenzie <acm@muc.de>
12307
db22a3c2 12308 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12309
7e43cfa5
AM
123102011-10-28 Alan Mackenzie <acm@muc.de>
12311
12312 Amend the handling of c-beginning/end-of-defun in nested declaration
12313 scopes.
12314
52bedd34
AM
12315 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12316 cc-langs.el. Change it to a defcustom.
7e43cfa5 12317
52bedd34
AM
12318 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12319 cc-vars.el.
7e43cfa5 12320
d0af9f77
SM
12321 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12322 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12323
52bedd34 12324 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12325 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12326 (c-widen-to-enclosing-decl-scope): New function.
12327 (c-while-widening-to-decl-block): New macro.
12328 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12329 outward for defun boundaries, and correspondingly change symbol
12330 `respect-enclosure' to `go-outward'.
12331 (c-declaration-limits): Change algorithm to report only the "innermost"
12332 defun's boundaries.
12333
1a2ce9ee
DD
123342011-10-28 Deniz Dogan <deniz@dogan.se>
12335
12336 * net/rcirc.el (rcirc-mode): Use hard newlines.
12337
bc97a826
AM
123382011-10-28 Alan Mackenzie <acm@muc.de>
12339
12340 Amend to indent and fontify macros "which include their own semicolon"
12341 correctly, using the "virtual semicolon" mechanism.
12342
52bedd34 12343 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12344
d0af9f77 12345 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12346 Recode to scan one line at a time rather than having \n and \r
58179cce 12347 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12348 (c-forward-label): Amend for virtual semicolons.
58179cce 12349 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12350
52bedd34
AM
12351 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12352 of the new C macros.
bc97a826 12353
52bedd34 12354 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12355 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12356 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12357 (c-opt-cpp-macro-define): Make into a full language variable.
12358 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12359 AWK Mode (including \n, \r) removed, no longer needed.
12360
d0af9f77
SM
12361 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12362 Invoke c-make-macro-with-semi-re.
bc97a826 12363
52bedd34
AM
12364 * progmodes/cc-vars.el (c-macro-with-semi-re):
12365 (c-macro-names-with-semicolon): New variables.
58179cce 12366 (c-make-macro-with-semi-re): New function.
bc97a826 12367
7a6c0941
SM
123682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * vc/log-edit.el: Fill empty field rather than adding new one.
12371 (log-edit-add-field): New function.
12372 (log-edit-insert-changelog): Use it.
12373
b0c4cdcf
ML
123742011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12375
12376 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12377
ee1f1da9
SM
123782011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12381 (gdb--check-interpreter): New function.
12382 (gdb): Use it.
12383
51bc5f8b
GM
123842011-10-27 Glenn Morris <rgm@gnu.org>
12385
416a2c45
GM
12386 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12387 (least-positive-float, least-negative-float)
12388 (least-positive-normalized-float, least-negative-normalized-float)
12389 (float-epsilon, float-negative-epsilon):
12390 Remove unnecessary declarations.
12391
12392 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12393 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12394 (least-positive-float, least-negative-float)
12395 (least-positive-normalized-float, least-negative-normalized-float)
12396 (float-epsilon, float-negative-epsilon): Add doc-strings,
12397 based on those in cl.texi.
12398
51bc5f8b
GM
12399 * files.el (set-visited-file-name): If the major-mode changed,
12400 reload the local variables. (Bug#9796)
12401
15de15c6
CY
124022011-10-27 Chong Yidong <cyd@gnu.org>
12403
12404 * subr.el (change-major-mode-after-body-hook): New hook.
12405 (run-mode-hooks): Run it.
12406
ee1f1da9
SM
12407 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12408 Use change-major-mode-before-body-hook.
15de15c6
CY
12409
12410 * simple.el (fundamental-mode):
12411 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12412 change introducing fundamental-mode-hook.
12413
5430d399
JB
124142011-10-26 Juanma Barranquero <lekktu@gmail.com>
12415
acc825c5 12416 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12417
ad74a69e
MA
124182011-10-26 Michael Albinus <michael.albinus@gmx.de>
12419
12420 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12421 tramp.el explicitly. (Bug#7583)
ad74a69e 12422
71d4c2a5
SM
124232011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * progmodes/octave-mod.el:
12426 * progmodes/octave-inf.el: Update maintainer.
12427
b1f6fa26
CY
124282011-10-26 Chong Yidong <cyd@gnu.org>
12429
12430 * subr.el (with-wrapper-hook): Rewrite doc.
12431
3f04efd6
MA
124322011-10-25 Michael Albinus <michael.albinus@gmx.de>
12433
12434 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12435 filenames "/method:foo:". (Bug#9793)
3f04efd6 12436
410488d3
SM
124372011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12438
12439 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12440 (bug#9865).
12441
c1ebb47e
GM
124422011-10-24 Glenn Morris <rgm@gnu.org>
12443
12444 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12445
7f5c46c7
MA
124462011-10-24 Michael Albinus <michael.albinus@gmx.de>
12447
12448 * notifications.el: Add the requirement of a running D-Bus session
12449 bus to the Commentary.
12450
db2440b6
JL
124512011-10-24 Juri Linkov <juri@jurta.org>
12452
12453 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12454 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12455 (Bug#9364)
12456
feecf435
JL
124572011-10-24 Juri Linkov <juri@jurta.org>
12458
12459 * info.el (Info-following-node-name-re): Add newline to the list
12460 of allowed characters for leading space. (Bug#9824)
12461
a3839de2
SM
124622011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12463
acc825c5
SM
12464 * progmodes/octave-inf.el (inferior-octave-mode-map):
12465 Fix C-c C-h binding.
a3839de2
SM
12466 * progmodes/octave-mod.el (octave-help): Remove.
12467
09388e76
MA
124682011-10-23 Michael Albinus <michael.albinus@gmx.de>
12469
12470 Sync with Tramp 2.2.3.
12471
12472 * net/tramp-cache.el (top): Pacify byte-compiler using
12473 `init-file-user' and `site-run-file'.
12474
12475 * net/trampver.el: Update release number.
12476
86c60681
CY
124772011-10-23 Chong Yidong <cyd@gnu.org>
12478
12479 * files.el (toggle-read-only): Remove obsolete comment about
12480 version control.
12481
12482 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12483 for toggle-read-only. Note that this hasn't called vc-next-action
12484 since 2008-05-02, though it wasn't documented at the time.
12485
a3839de2
SM
12486 * vc/ediff-init.el (ediff-toggle-read-only-function):
12487 Use toggle-read-only.
86c60681 12488
cd5495ff
AM
124892011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12490
12491 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12492 of c-parse-state.
12493
00b77525 12494 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12495 correct faulty logical expression.
cd5495ff
AM
12496 (c-parse-state-state, c-record-parse-state-state):
12497 (c-replay-parse-state-state): New defvar/defuns.
12498 (c-debug-parse-state): Use new functions.
12499
42ee24ed
MR
125002011-10-22 Martin Rudalics <rudalics@gmx.at>
12501
12502 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12503 last fix. Use window-in-direction correctly.
42ee24ed 12504
a7dee7e7
CY
125052011-10-21 Chong Yidong <cyd@gnu.org>
12506
12507 * progmodes/idlwave.el (idlwave-mode):
12508 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12509 require-final-newline; that's done in prog-mode.
12510 Suggested by Stefan Monnier.
a7dee7e7 12511
e07b9a6d
MR
125122011-10-21 Martin Rudalics <rudalics@gmx.at>
12513
12514 * mouse.el (mouse-drag-window-above)
12515 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12516 (mouse-drag-mode-line-1, mouse-drag-header-line)
12517 (mouse-drag-vertical-line-rightward-window): Remove.
12518 (mouse-drag-line): New function.
12519 (mouse-drag-mode-line, mouse-drag-header-line)
12520 (mouse-drag-vertical-line): Call mouse-drag-line.
12521 * window.el (window-at-side-p, windows-at-side): New functions.
12522
7e1361d9
UM
125232011-10-21 Ulrich Mueller <ulm@gentoo.org>
12524
12525 * tar-mode.el (tar-grind-file-mode):
12526 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12527
30fcaf3a
CY
125282011-10-21 Chong Yidong <cyd@gnu.org>
12529
12530 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12531 * progmodes/vera-mode.el (vera-mode):
12532 Use mode-require-final-newline.
30fcaf3a 12533
516eddb0
GM
125342011-10-20 Glenn Morris <rgm@gnu.org>
12535
db22a3c2 12536 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12537
10d5f513
CS
125382011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12539
12540 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12541
ac6c8639
CY
125422011-10-20 Chong Yidong <cyd@gnu.org>
12543
12544 * emulation/cua-base.el (cua-mode):
12545 * mail/footnote.el (footnote-mode):
12546 * mail/mailabbrev.el (mail-abbrevs-mode):
12547 * net/xesam.el (xesam-minor-mode):
12548 * progmodes/bug-reference.el (bug-reference-mode):
12549 * progmodes/cap-words.el (capitalized-words-mode):
12550 * progmodes/compile.el (compilation-minor-mode)
12551 (compilation-shell-minor-mode):
12552 * progmodes/gud.el (gud-tooltip-mode):
12553 * progmodes/hideif.el (hide-ifdef-mode):
12554 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12555 * progmodes/subword.el (subword-mode):
12556 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12557 * progmodes/which-func.el (which-function-mode):
12558 * term/tvi970.el (tvi970-set-keypad-mode):
12559 * term/vt100.el (vt100-wide-mode):
12560 * textmodes/flyspell.el (flyspell-mode):
12561 * textmodes/ispell.el (ispell-minor-mode):
12562 * textmodes/nroff-mode.el (nroff-electric-mode):
12563 * textmodes/paragraphs.el (use-hard-newlines):
12564 * textmodes/refill.el (refill-mode):
12565 * textmodes/reftex.el (reftex-mode):
12566 * textmodes/rst.el (rst-minor-mode):
12567 * textmodes/sgml-mode.el (html-autoview-mode)
12568 (sgml-electric-tag-pair-mode):
12569 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12570 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12571 * emulation/crisp.el (crisp-mode):
12572 * emacs-lisp/eldoc.el (eldoc-mode):
12573 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12574 minor mode behavior.
12575
aa42ab43
JL
125762011-10-19 Juri Linkov <juri@jurta.org>
12577
12578 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12579 the list of hard-coded chars with escape-glyph face.
12580
89400f1d
SM
125812011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12582
12583 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12584
305c07f6
MA
125852011-10-19 Michael Albinus <michael.albinus@gmx.de>
12586
12587 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12588 running process.
12589
13754b54
GM
125902011-10-19 Glenn Morris <rgm@gnu.org>
12591
12592 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12593 Ignore ignored files. (Bug#9726)
12594
06e21633
CY
125952011-10-19 Chong Yidong <cyd@gnu.org>
12596
12597 Doc fix for minor modes, stating that an omitted argument enables
12598 the mode unconditionally when called from Lisp.
12599
12600 * abbrev.el (abbrev-mode):
12601 * allout.el (allout-mode):
12602 * autoinsert.el (auto-insert-mode):
12603 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12604 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12605 (global-auto-revert-mode):
12606 * battery.el (display-battery-mode):
12607 * composite.el (global-auto-composition-mode)
12608 (auto-composition-mode):
12609 * delsel.el (delete-selection-mode):
12610 * desktop.el (desktop-save-mode):
12611 * dired-x.el (dired-omit-mode):
12612 * dirtrack.el (dirtrack-mode):
12613 * doc-view.el (doc-view-minor-mode):
12614 * double.el (double-mode):
12615 * electric.el (electric-indent-mode, electric-pair-mode):
12616 * emacs-lock.el (emacs-lock-mode):
12617 * epa-hook.el (auto-encryption-mode):
12618 * follow.el (follow-mode):
12619 * font-core.el (font-lock-mode):
12620 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12621 * help.el (temp-buffer-resize-mode):
12622 * hilit-chg.el (highlight-changes-mode)
12623 (highlight-changes-visible-mode):
12624 * hi-lock.el (hi-lock-mode):
12625 * hl-line.el (hl-line-mode, global-hl-line-mode):
12626 * icomplete.el (icomplete-mode):
12627 * ido.el (ido-everywhere):
12628 * image-file.el (auto-image-file-mode):
12629 * image-mode.el (image-minor-mode):
12630 * iswitchb.el (iswitchb-mode):
12631 * jka-cmpr-hook.el (auto-compression-mode):
12632 * linum.el (linum-mode):
12633 * longlines.el (longlines-mode):
12634 * master.el (master-mode):
12635 * mb-depth.el (minibuffer-depth-indicate-mode):
12636 * menu-bar.el (menu-bar-mode):
12637 * minibuf-eldef.el (minibuffer-electric-default-mode):
12638 * mouse-sel.el (mouse-sel-mode):
12639 * msb.el (msb-mode):
12640 * mwheel.el (mouse-wheel-mode):
12641 * outline.el (outline-minor-mode):
12642 * paren.el (show-paren-mode):
12643 * recentf.el (recentf-mode):
12644 * reveal.el (reveal-mode, global-reveal-mode):
12645 * rfn-eshadow.el (file-name-shadow-mode):
12646 * ruler-mode.el (ruler-mode):
12647 * savehist.el (savehist-mode):
12648 * scroll-all.el (scroll-all-mode):
12649 * scroll-bar.el (scroll-bar-mode):
12650 * server.el (server-mode):
12651 * shell.el (shell-dirtrack-mode):
12652 * simple.el (auto-fill-mode, transient-mark-mode)
12653 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12654 (line-number-mode, column-number-mode, size-indication-mode)
12655 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12656 * strokes.el (strokes-mode):
12657 * time.el (display-time-mode):
12658 * t-mouse.el (gpm-mouse-mode):
12659 * tool-bar.el (tool-bar-mode):
12660 * tooltip.el (tooltip-mode):
12661 * type-break.el (type-break-mode-line-message-mode)
12662 (type-break-query-mode):
12663 * view.el (view-mode):
12664 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12665 (global-whitespace-mode, global-whitespace-newline-mode):
12666 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12667
a3839de2
SM
12668 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12669 Fix autogenerated docstring.
06e21633 12670
5214e501
JL
126712011-10-19 Juri Linkov <juri@jurta.org>
12672
12673 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12674 by checking environment variables "DESKTOP_SESSION" and
12675 "XDG_CURRENT_DESKTOP". (Bug#9779)
12676
195f8db9
JL
126772011-10-19 Juri Linkov <juri@jurta.org>
12678
12679 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12680 (browse-url-chromium-program, browse-url-chromium-arguments):
12681 New defcustoms.
12682 (browse-url-default-browser): Check for `browse-url-chromium' and
12683 call `browse-url-chromium-program'.
12684 (browse-url-chromium): New command. (Bug#9779)
12685
343a34ff
JB
126862011-10-18 Juanma Barranquero <lekktu@gmail.com>
12687
12688 * facemenu.el (list-colors-duplicates): On Windows, detect more
12689 duplicates by assuming that only colors matching "^System" are
12690 special "system colors". (Bug#9722)
12691
6978a151
SM
126922011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12693
12694 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12695 to distinguish the author from the committer.
12696
6a80b297
MA
126972011-10-18 Michael Albinus <michael.albinus@gmx.de>
12698
12699 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12700
b31a5677
JK
127012011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12702
12703 * international/mule.el (sgml-html-meta-auto-coding-function):
12704 Add support for detecting encoding in HTML5 specified only as
12705 <meta charset="UTF-8">. Implementation just makes http-equiv and
12706 content-type parts from HTML4 encoding string optional. (Bug#9716)
12707
80c6d77f
GM
127082011-10-18 Glenn Morris <rgm@gnu.org>
12709
12710 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12711
08b0fee8
CY
127122011-10-18 Chong Yidong <cyd@gnu.org>
12713
12714 * faces.el (cursor): Doc fix.
12715
67e729a5
CY
127162011-10-17 Chong Yidong <cyd@gnu.org>
12717
12718 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12719
343a34ff 127202011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12721
12722 * dirtrack.el (dirtrack): Support shell buffers with path
12723 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12724
0bc06380
TZ
127252011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12726
12727 * json.el: Bump version to 1.3 and note change in History.
12728 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12729
8b79f3e0
SM
127302011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12731
5a7c536b
SM
12732 * comint.el (comint-insert-input, comint-send-input)
12733 (comint-get-old-input-default, comint-backward-matching-input)
12734 (comint-next-prompt): Use nil instead of `input' for field property of
12735 past user input (bug#114).
12736
96a8a0df
SM
12737 * minibuffer.el (completion--replace): Inherit surrounding properties
12738 (bug#114).
12739 (minibuffer-complete-and-exit): Use it.
12740
8b79f3e0
SM
12741 * comint.el (comint--table-subvert): Quote the all-completions output
12742 (bug#9160).
12743
b8f7ff0d
MR
127442011-10-17 Martin Rudalics <rudalics@gmx.at>
12745
8b79f3e0 12746 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12747
b8f7ff0d 12748 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12749 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12750 entries and separate them from frame entries.
12751
c235b555
GM
127522011-10-15 Glenn Morris <rgm@gnu.org>
12753
12754 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12755 Doc fixes.
12756
6bbfa6e1
CY
127572011-10-15 Chong Yidong <cyd@stupidchicken.com>
12758
8b79f3e0
SM
12759 * net/network-stream.el (network-stream-open-starttls):
12760 Improve detection of failure due to lack of TLS support.
ec5c990d 12761
6bbfa6e1
CY
12762 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12763 putting the input text in front and in bold.
12764
98488977
SM
127652011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12766
3d1337be
SM
12767 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12768
ee0b45e4
SM
12769 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12770 empty buffer.
12771
98488977
SM
12772 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12773 unread-command-events rather than pushing yet-another event.
12774
186f4720
EZ
127752011-10-14 Eli Zaretskii <eliz@gnu.org>
12776
12777 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12778 the explanation of the possible choices. Make the options passed
12779 to completing-read shorter.
12780
8b7a997c
AM
127812011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12782
12783 * textmodes/flyspell.el (flyspell-large-region): Make sure
12784 extended character mode is used if defined (Bug#1339).
12785
12587bbb
EZ
127862011-10-13 Eli Zaretskii <eliz@gnu.org>
12787
12788 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12789 character info for LRE, LRO, RLE, and RLO characters by appending
12790 an invisible PDF.
12587bbb 12791
bad41229
SM
127922011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12793
12794 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12795 even in case of error; add debug spec; simplify data flow.
12796 (with-timeout-handler): Remove.
12797
28dbc92f
MA
127982011-10-12 Michael Albinus <michael.albinus@gmx.de>
12799
12800 Fix Bug#6019, Bug#9315.
12801
12802 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12803 complete `buffer-file-name', the local file name part could look
12804 remotely (for example on VMS).
12805
12806 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12807 `tramp-run-real-handler'.
12808 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12809 already quoted by '"'.
12810
12811 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12812 Let `file-name-handler-alist' be nil, the local file name part
12813 could look remotely (for example on VMS).
12814
e1b0b23a
SM
128152011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12816
12817 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12818 from here...
12819 (flyspell-post-command-hook): ...to here.
12820
a120bde9
SM
128212011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12822
12823 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12824 if not needed.
12825 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12826 using completion. Protect against "slow" callers.
12827 Remove the "message hack".
12828
7ce7717b
JL
128292011-10-11 Juri Linkov <juri@jurta.org>
12830
12831 * isearch.el (isearch-lazy-highlight-word): New variable.
12832 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12833 Use it. (Bug#9727)
12834
c02ee9d6
GM
128352011-10-11 Glenn Morris <rgm@gnu.org>
12836
12837 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12838 like f90-previous-statement does.
12839
93e616fd 128402011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12841
1f190e73 12842 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12843 only in interactive use, to avoid error.
12844
af7b6078
SM
128452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * minibuffer.el (completion-file-name-table): Fix last change,
12848 i.e. ignore normal errors but not the other ones.
12849
0563dae9
MR
128502011-10-10 Martin Rudalics <rudalics@gmx.at>
12851
12852 * window.el (special-display-buffer-names)
12853 (special-display-regexps): Remove some remnants of earlier
12854 changes from doc-strings.
366ca7f3
MR
12855 (quit-windows-on): New function.
12856
12857 * vc/vc.el (vc-revert, vc-rollback):
12858 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12859 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12860 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12861
49677495
MR
128622011-10-09 Martin Rudalics <rudalics@gmx.at>
12863
12864 * window.el (frame-auto-hide-function): Add version tag.
12865 (Bug#9699)
12866
56f2d1e1
MA
128672011-10-09 Michael Albinus <michael.albinus@gmx.de>
12868
12869 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12870 condition.
12871
112a6592
LL
128722011-10-09 Leo Liu <sdl.web@gmail.com>
12873
12874 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12875 (Bug#9701)
12876
0812589b
GM
128772011-10-08 Glenn Morris <rgm@gnu.org>
12878
12879 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12880 before the first code statement zero indent. (Bug#9690)
12881
b2b0776e
CY
128822011-10-08 Chong Yidong <cyd@stupidchicken.com>
12883
12884 * simple.el (count-words-region): Always count in the region.
12885 Report the number of lines and characters too.
12886 (count-words): New command, which counts in the buffer if the
12887 region is inactive, as count-words-region used to.
12888 (count-words--message): New function. Handle plurals.
12889 (count-lines-region): Make it an alias for count-words-region.
12890
12891 * bindings.el (esc-map): Replace count-lines-region with
12892 count-words-region.
12893
c557cd6b
MR
128942011-10-08 Martin Rudalics <rudalics@gmx.at>
12895
12896 * window.el (window--delete): Delete dedicated frame
12897 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12898 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12899
61a57ef4 129002011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12901
3a7d293b 12902 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12903
c3833279
CY
129042011-10-07 Chong Yidong <cyd@stupidchicken.com>
12905
12906 * bindings.el ([M-left],[M-right]): Bind to left-word and
12907 right-word respectively.
12908
21ce8245
GM
129092011-10-07 Glenn Morris <rgm@gnu.org>
12910
12911 * cus-start.el (debug-on-quit): Fix custom type.
12912
6d823bb2
LMI
129132011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12914
0181e193
LMI
12915 * subr.el (define-key-after): Clarify that the function is not
12916 useful for non-menu keymaps.
12917
6d823bb2
LMI
12918 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12919
8e3459ce 129202011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12921
21ce8245 12922 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12923 in current minibuffer (Fix bug with recursive minibuffers).
12924
a1c2d21e
CY
129252011-10-06 Chong Yidong <cyd@stupidchicken.com>
12926
12927 * progmodes/gdb-mi.el (gdb): Doc fix.
12928
5a4cf282
MR
129292011-10-05 Martin Rudalics <rudalics@gmx.at>
12930
12931 * window.el (frame-auto-hide-function): New option replacing
12932 frame-auto-delete. Suggested by Stefan Monnier.
12933 (window--delete): Call frame-auto-hide-function instead of
12934 investigating frame-auto-delete.
c96111ea
MR
12935 (window-point-1, set-window-point-1): New functions.
12936 (window-in-direction, record-window-buffer, window-state-get-1)
12937 (display-buffer-record-window): Use window-point-1 instead of
12938 window-point.
12939 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12940
9854542e
SM
129412011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12942
12943 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12944
8943cfb0
GM
129452011-10-05 Glenn Morris <rgm@gnu.org>
12946
12947 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12948 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12949
647ab967
LL
129502011-10-05 Leo Liu <sdl.web@gmail.com>
12951
12952 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12953 works with buffer object.
12954
3ddfbced
SM
129552011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12956
12957 * mpc.el (mpc-tool-bar-map): Add labels.
12958
bdfa5dd2
GM
129592011-10-04 Glenn Morris <rgm@gnu.org>
12960
12961 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12962
0e2070b5
MR
129632011-10-04 Martin Rudalics <rudalics@gmx.at>
12964
12965 * window.el (window--delete): New function.
12966 (frame-auto-delete): Resuscitate option.
12967 (bury-buffer, replace-buffer-in-windows)
12968 (quit-window): Rewrite using window--delete.
12969 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12970 Pass display-buffer-mark-dedicated to window--display-buffer-2
12971 (Bug#9639).
12972
3dc61a09
SM
129732011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12974
915a9b64
SM
12975 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12976 returns a list (bug#9554). Add remote file name completion.
12977 * comint.el (comint--table-subvert): Curry and get quote&unquote
12978 functions as arguments.
12979 (comint--complete-file-name-data): Adjust call accordingly.
12980 * pcomplete.el (pcomplete--table-subvert): Remove.
12981 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12982
3dc61a09
SM
12983 * minibuffer.el (completion-table-case-fold): Use currying.
12984 (completion--styles-type, completion--cycling-threshold-type):
12985 New constants.
12986 (completion-styles, completion-category-overrides)
12987 (completion-cycle-threshold): Use them.
12988 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12989 completion-table-case-fold.
12990
8ea0a993
SB
129912011-10-03 Stephen Berman <stephen.berman@gmx.net>
12992
12993 * minibuffer.el (completion-category-overrides): Fix type of styles
12994 and add more user friendly tags (bug#9660).
12995
8c24b7f6
SM
129962011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12997
12998 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12999 (mule-input-method-string): New widget.
13000 (default-input-method, language-info-custom-alist): Use it.
13001
428fe61a
SM
130022011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13003
32c1fffd
SM
13004 * pcomplete.el: Require comint.
13005 (pcomplete--common-suffix): Remove.
13006 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13007 (pcomplete--table-subvert): Sync with comint--table-subvert.
13008 (pcomplete--entries): Use comint-completion-file-name-table.
13009 * comint.el (comint-unquote-filename): Simplify.
13010 (comint-completion-file-name-table): New function (bug#9616).
13011 (comint--complete-file-name-data): Use it.
13012
428fe61a
SM
13013 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13014 (pcmpl-gnu-tar-buffer): Remove.
13015 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13016 around. Make sure pcomplete-suffix-list is only changed temporarily.
13017 Don't look inside the tar's file if it's too large.
428fe61a 13018
04c52e2f
CY
130192011-10-01 Chong Yidong <cyd@stupidchicken.com>
13020
ce3cefcc
CY
13021 * cus-edit.el (custom-mode-map):
13022 * epa.el (epa-key-list-mode-map):
13023 * man.el (Man-mode-map):
13024 * startup.el (splash-screen-keymap):
13025 * simple.el (special-mode-map): Use scroll-up-command and
13026 scroll-down-command.
13027
13028 * progmodes/idlw-help.el (idlwave-help-mode-map):
13029 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13030 * net/newst-plainview.el (newsticker-mode-map):
13031 * emulation/ws-mode.el (wordstar-mode-map):
13032 * emulation/vi.el (vi-com-map):
13033 * calc/calc-graph.el (calc-graph-show-dumb):
13034 * term/sun.el (terminal-init-sun):
13035 * term/ns-win.el (global-map):
13036 * progmodes/grep.el (grep-mode-map):
13037 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13038 * mail/rmail.el (rmail-mode-map):
13039 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13040
04c52e2f
CY
13041 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13042 custom-safe-themes as special.
13043
79adf8c8
JD
130442011-10-01 Julien Danjou <julien@danjou.info>
13045
13046 * notifications.el (notifications-notify): Fix docstring.
13047
63bd50d3
PS
130482011-10-01 Per Starbäck <per@starback.se>
13049
13050 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13051
199e4c7e
MR
130522011-09-30 Martin Rudalics <rudalics@gmx.at>
13053
13054 * startup.el (command-line-1): Fix last fix by inserting
13055 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13056 (Bug#9605) and (Bug#9636)
199e4c7e 13057
fe5f08dd
EZ
130582011-09-29 Eli Zaretskii <eliz@gnu.org>
13059
13060 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13061 window is hscrolled, move by logical lines. (Bug#9607)
13062 (line-move-visual): Update the doc string to the above effect.
13063
b5516bbd
MR
130642011-09-29 Martin Rudalics <rudalics@gmx.at>
13065
ccee00c0
MR
13066 * window.el (display-buffer-record-window): When WINDOW is the
13067 selected window use `point' instead of `window-point'. (Bug#9626)
13068
b5516bbd
MR
13069 * startup.el (command-line-1): Use insert-before-markers when
13070 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13071
b5516bbd
MR
13072 * help.el (help-window): Remove variable.
13073
52aa0014
GM
130742011-09-29 Glenn Morris <rgm@gnu.org>
13075
13076 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13077
df9a7357
JB
130782011-09-29 Juanma Barranquero <lekktu@gmail.com>
13079
13080 * descr-text.el (describe-char-categories): Accept category
13081 descriptions more than one line long.
13082
a8406c20
SM
130832011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13084
88d9610c
SM
13085 * simple.el (delete-trailing-whitespace): Fix last change.
13086
a5daf810
SM
13087 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13088 Don't confuse "y => 3" as the beginning of a `y' operation.
13089
a8406c20
SM
13090 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13091 object has more than 4 slots (bug#9613).
13092
a239d4e9
JB
130932011-09-28 Juanma Barranquero <lekktu@gmail.com>
13094
13095 * subr.el (with-output-to-temp-buffer):
13096 * net/quickurl.el (quickurl, quickurl-browse-url):
13097 Fix typos in docstrings.
13098
693fbdb6
EZ
130992011-09-27 Eli Zaretskii <eliz@gnu.org>
13100
13101 * minibuffer.el (completion-styles)
13102 (completion-category-overrides): Cross reference each other in doc
13103 strings.
13104
8b457e28
GM
131052011-09-27 Glenn Morris <rgm@gnu.org>
13106
13107 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13108 to split-string. (Bug#9606)
13109
85a16208
LMI
131102011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13111
13112 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13113 (bug#9615).
13114
502f9ebd
CY
131152011-09-27 Chong Yidong <cyd@stupidchicken.com>
13116
13117 * emacs-lisp/package.el (list-packages): Fix echo area message.
13118
7690bdea
LL
131192011-09-27 Leo Liu <sdl.web@gmail.com>
13120
13121 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13122
e2ee6f30
MA
131232011-09-25 Michael Albinus <michael.albinus@gmx.de>
13124
13125 * net/dbus.el (dbus-unregister-object): Don't release services for
13126 registered signals. (Bug#9581)
13127
f3f98342
TZ
131282011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13129
13130 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13131 function that picks between cfengine 2 and 3 support
13132 automatically. Update docs accordingly.
13133
dd7aa8dd
KH
131342011-09-22 Kenichi Handa <handa@m17n.org>
13135
13136 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13137 ZERO.
13138 (indian-itrans-v5-table-for-tamil): New variable.
13139 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13140
3f2b07f8
KM
131412011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13142
13143 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13144 that's true if the current command involved collapsing of text.
13145 It's reset to false at the beginning of the next command.
13146 (allout-post-command-business): Move the cursor to the beginning
13147 of entry if the cursor is hidden and collapsing activity just
13148 happened.
13149
371d6a61
CY
131502011-09-24 Chong Yidong <cyd@stupidchicken.com>
13151
13152 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13153 tracking (Bug#9541).
13154
2ac2721a
UJ
131552011-09-24 Ulf Jasper <ulf.jasper@web.de>
13156
13157 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13158 (newsticker-show-news): Automatically load html rendering package
13159 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13160 because w3m-fill-column is let-bound" and the error "Symbol's value
13161 as variable is void: w3m-fill-column".
2ac2721a 13162
fac7ae53
MA
131632011-09-24 Michael Albinus <michael.albinus@gmx.de>
13164
13165 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13166 Release services only if they are defined. (Bug#9581)
13167
e08b633b
RS
131682011-09-23 Richard Stallman <rms@gnu.org>
13169
e488d29c
RS
13170 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13171 distinguish start of paragraph from start of its text.
13172
19c38752
RS
13173 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13174
e08b633b
RS
13175 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13176 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13177 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13178
0a39f27e
AS
131792011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13180
13181 * international/mule-diag.el (mule-diag): Insert a newline after
13182 each fontset description.
13183
db4e950d
SM
131842011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13185
13186 * simple.el (delete-trailing-whitespace):
13187 Document last change; simplify.
13188
eca3f3ea
PW
131892011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13190
d68e189a
PW
13191 * simple.el (delete-trailing-whitespace): Also delete
13192 extra newlines at the end of the buffer.
13193
eca3f3ea
PW
13194 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13195 (picture-newline): Use forward-line so as to ignore fields.
13196
01c157cc
SM
131972011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13198
13199 * subr.el (with-wrapper-hook): Fix edebug spec.
13200
022de23e
LMI
132012011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13202
13203 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13204 (bug#4538).
13205
91683089
MA
132062011-09-23 Michael Albinus <michael.albinus@gmx.de>
13207
eca3f3ea
PW
13208 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13209 Fix nasty bug using wrong cached values.
91683089 13210
5bdd6fa4
AM
132112011-09-23 Alan Mackenzie <acm@muc.de>
13212
13213 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13214
97adfb97
CY
132152011-09-23 Chong Yidong <cyd@stupidchicken.com>
13216
13217 * window.el (pop-to-buffer): Ensure right window is selected if we
13218 chose another frame.
13219
d4ef2b50
EZ
132202011-09-22 Eli Zaretskii <eliz@gnu.org>
13221
13222 * simple.el (what-cursor-position): Use get-char-property-change
13223 and next-single-char-property-change, to be able to show display
13224 properties that come from overlays as well as text properties.
13225
72258fe5
CY
132262011-09-22 Chong Yidong <cyd@stupidchicken.com>
13227
13228 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13229
13230 * cmuscheme.el (run-scheme, switch-to-scheme):
13231 * cus-edit.el (customize-group, custom-buffer-create)
13232 (customize-browse):
13233 * info.el (info):
13234 * shell.el (shell):
13235 * mail/sendmail.el (mail):
13236 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13237
8f098516
RS
132382011-09-22 Richard Stallman <rms@gnu.org>
13239
13240 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13241 move back only to line beg, don't move back over blank lines.
13242
e74f1bb6
MA
132432011-09-22 Michael Albinus <michael.albinus@gmx.de>
13244
13245 * files.el (copy-directory): Set directory attributes only in case
13246 they could be retrieved from the source directory. (Bug#9565)
13247
bfeef8b6
DK
132482011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13249
13250 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13251 (hs-find-block-beginning, hs-hide-level-recursive):
13252 Ignore strings as well as comments. (Bug#9502)
13253
7e423bb8
AS
132542011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13255
13256 * progmodes/sql.el (sql-comint-postgres):
13257 Convert port number to a string. (Bug#9566)
13258
b4d72fcf
MR
132592011-09-22 Martin Rudalics <rudalics@gmx.at>
13260
13261 * window.el (quit-window): Undedicate window when switching to
13262 previous buffer. Reported by Thierry Volpiatto
13263 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13264 (special-display-popup-frame): When popping up a new frame reset
13265 its previous buffers to nil. Simplify code.
b4d72fcf 13266
a7b88dc6
MA
132672011-09-21 Michael Albinus <michael.albinus@gmx.de>
13268
13269 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13270 and process filter, as done also in `shell-command'.
13271
cf4eacfd
MR
132722011-09-21 Martin Rudalics <rudalics@gmx.at>
13273
eca3f3ea 13274 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13275 Call set-window-start with NOFORCE argument t.
13276 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13277 (quit-window): Reword doc-string. Handle new format of
13278 quit-restore parameter. Don't delete window if it has a
13279 previous buffer we can show instead of the present one.
13280 (display-buffer-record-window): Rewrite using a new format for
13281 the quit-restore window parameter
13282 (special-display-popup-frame, display-buffer-same-window)
13283 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13284 (display-buffer-pop-up-window, display-buffer-use-some-window):
13285 Adapt symbol passed to display-buffer-record-window.
13286 * help.el (help-window-setup): Handle new format of quit-restore
13287 parameter.
13288
8d28cb95
SM
132892011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13290
94ab793f
SM
13291 * faces.el (face-list): Fix docstring (bug#9564).
13292
8d28cb95
SM
13293 * window.el (display-buffer--action-function-custom-type):
13294 Don't include internal functions in the Custom interface.
13295
3820edeb
JL
132962011-09-20 Juri Linkov <juri@jurta.org>
13297
13298 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13299 (Info-forward-node, Info-backward-node, Info-next-preorder)
13300 (Info-last-preorder): Use it. (Bug#9528)
13301
5147931d
JL
133022011-09-20 Juri Linkov <juri@jurta.org>
13303
13304 * info.el (Info-last-preorder): Visit last menu item only when
13305 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13306
cf499a1a
JD
133072011-09-20 Julien Danjou <julien@danjou.info>
13308
13309 * password-cache.el (password-cache-remove): Remove entries even if the
13310 value is nil, so that password with a nil value (negative caching) is
13311 possible to invalidate.
13312
f84e2fe2
LM
133132011-09-20 Lawrence Mitchell <wence@gmx.li>
13314
13315 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13316 all whitespace around breakpoint. (Bug#9553)
13317 (f90-find-breakpoint): Only break at whitespace inside a comment.
13318
78054a46
SM
133192011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13320
13321 * minibuffer.el (completion-file-name-table): Keep track of errors.
13322 (completion-table-with-predicate): Handle the case where pred1 is nil.
13323 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13324
345083b2
SM
133252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13326
e24e27be
SM
13327 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13328 (debugger-return-value): Signal an error if the debugging context does
13329 not await any return value.
13330
345083b2
SM
13331 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13332 * image-mode.el (image-toggle-display-text)
13333 (image-toggle-display-image): Stay away from evil `intangible'.
13334
08d355e3
LL
133352011-09-19 Leo Liu <sdl.web@gmail.com>
13336
13337 * replace.el (occur-revert-arguments): Make it permanent-local.
13338 (occur-mode): Don't call font-lock-defontify.
13339
f01da43f
CY
133402011-09-19 Chong Yidong <cyd@stupidchicken.com>
13341
13342 * net/ldap.el (ldap-search-internal): Don't push empty search
13343 result (Bug#9508).
13344
b6072fa6
SM
133452011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13346
13347 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13348
443d6696
MA
133492011-09-19 Michael Albinus <michael.albinus@gmx.de>
13350
13351 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13352 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13353
7cc6e154
JL
133542011-09-18 Juri Linkov <juri@jurta.org>
13355
13356 * buff-menu.el (Buffer-menu-mode-map):
13357 * dired.el (dired-mode-map):
13358 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13359 (lisp-interaction-mode-map):
13360 * emacs-lisp/package.el (package-menu-mode-map):
13361 * epa.el (epa-key-list-mode-map):
13362 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13363 (menu-bar-options-menu):
13364 * outline.el (outline-mode-menu-bar-map):
13365 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13366 * vc/vc-dir.el (vc-dir-menu-map):
13367 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13368 Capitalize non-function content words in menu item strings.
13369
13370 * dired.el (dired-mode-map): Add menu item for
13371 `image-dired-dired-toggle-marked-thumbs'.
13372
80302a81
JL
133732011-09-18 Juri Linkov <juri@jurta.org>
13374
13375 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13376 to `isearch-case-fold-search' and restore its original value
13377 after the `isearch-mode' call.
13378
46c5cf66
JL
133792011-09-18 Juri Linkov <juri@jurta.org>
13380
13381 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13382 because `zgrep' returns 1 for successful matches (bug#9226).
13383
d18b513b
JL
133842011-09-18 Juri Linkov <juri@jurta.org>
13385
13386 * info.el (Info-extract-menu-node-name): Check the second match
13387 for empty string (second test-case of bug#9528).
13388 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13389 intermediate nodes to the history (first test-case of bug#9528).
13390
72753f87
JL
133912011-09-18 Juri Linkov <juri@jurta.org>
13392
13393 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13394 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13395
c9384295
JL
133962011-09-18 Juri Linkov <juri@jurta.org>
13397
1154d12e
JB
13398 * info.el (Info-file-supports-index-cookies):
13399 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13400 outputs one more line for long file names (bug#4142).
c9384295 13401
d473dce8
CY
134022011-09-18 Chong Yidong <cyd@stupidchicken.com>
13403
13404 * newcomment.el (comment-normalize-vars): If prompting for
13405 comment-start, set comment-start-skip too (Bug#8424).
13406
2176854d
JB
134072011-09-18 Johan Bockgård <bojohan@gnu.org>
13408
13409 * icomplete.el: Fix previous fix of Bug#5849.
13410 (icomplete-mode): Don't set completion-show-inline-help.
13411 (icomplete-minibuffer-setup): Set completion-show-inline-help
13412 locally during icompletion.
13413
3aace4e4
CY
134142011-09-18 Chong Yidong <cyd@stupidchicken.com>
13415
c940224f
CY
13416 * woman.el (woman2-process-escapes): Don't delete unrecognized
13417 escapes (Bug#7843).
13418
3aace4e4
CY
13419 * files.el (inhibit-first-line-modes-regexps): Add image files.
13420 (hack-local-variables-prop-line): Return nil for malformed
13421 prop-lines (Bug#9044).
13422
710dec63
MA
134232011-09-18 Michael Albinus <michael.albinus@gmx.de>
13424
13425 * net/tramp.el (top): Don't require 'shell.
13426 (tramp-methods): Fix docstring.
13427 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13428 Return complete remote file name. Handle "smb" case.
13429 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13430 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13431
13432 * net/tramp-compat.el (top): Require 'shell.
13433
13434 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13435 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13436 `tramp-current-host'.
13437 (tramp-get-remote-tmpdir): Remove.
13438
13439 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13440 `tramp-tmpdir' entries.
13441 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13442 (tramp-smb-handle-file-attributes): Ignore errors.
13443 (tramp-smb-wait-for-output): Check also for process end.
13444
5d5ac8ec
LMI
134452011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13446
13447 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13448 when sending QUIT (bug#9312).
13449
8c0f49f0
CY
134502011-09-17 Chong Yidong <cyd@stupidchicken.com>
13451
13452 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13453 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13454 occur-mode-display-occurrence.
13455 (occur-edit-mode): Add usage message.
13456 (occur-cease-edit): New command.
13457 (occur-after-change-function): Use text properties to find the
13458 position of the prefix text.
13459 (occur-engine): Set stickiness of prefix text properties.
13460
8f1383f7
GM
134612011-09-17 Glenn Morris <rgm@gnu.org>
13462
13463 * progmodes/etags.el (complete-tag):
13464 Fix call to completion-in-region. (Bug#9526)
13465
744ba0e3
JL
134662011-09-17 Juri Linkov <juri@jurta.org>
13467
13468 * textmodes/ispell.el (ispell-word): Add to the error message
13469 the word, ispell program name and current dictionary (bug#9121).
13470 (ispell-tex-arg-end): Capitalize "error" in the error message.
13471
d9bbf400
AS
134722011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13473
13474 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13475 check. (Bug#4251)
13476
8da11505
JL
134772011-09-17 Juri Linkov <juri@jurta.org>
13478
13479 * window.el (window-safe-min-height, window-safe-min-width):
13480 Fix typos (followup to bug#9522).
13481
a91adc7e
SJ
134822011-09-17 Sven Joachim <svenjoac@gmx.de>
13483
13484 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13485
064f328a
EZ
134862011-09-16 Eli Zaretskii <eliz@gnu.org>
13487
13488 * simple.el (line-move): If goal-column is set, move by logical
13489 lines, not by display lines. (Bug#971)
13490 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13491 to reflect the above change.
13492
e69df516
SM
134932011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13494
13495 * image.el (imagemagick-register-types): Use regexp-opt.
13496
cbb0f9ab
CY
134972011-09-15 Chong Yidong <cyd@stupidchicken.com>
13498
13499 * window.el (display-buffer-base-action): Rename from
13500 display-buffer-default-action. Make default value empty.
13501 (display-buffer-overriding-action): Convert to defvar.
13502 (display-buffer-fallback-action): New var.
13503
25322144
CY
135042011-09-15 Chong Yidong <cyd@stupidchicken.com>
13505
13506 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13507 declaration.
13508 (package--add-to-archive-contents): If there is a duplicate entry
13509 with an older version, remove it.
13510 (package-menu-mark-delete, package-menu-mark-install)
13511 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13512 (package-menu-mark-obsolete-for-deletion):
13513 Use package-menu-get-status instead of a regexp search.
25322144
CY
13514 (package-menu-get-status): Use tabulated-list-entry.
13515 (package-menu-mark-upgrades): New command.
d770725a 13516 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13517 (package-menu-execute): Do installation before deletion.
13518 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13519 instead of checking major-mode.
13520 (package-menu--find-upgrades): New function.
13521
7520339c
LMI
135222011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13523
13524 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13525 passwords in the log buffer.
65a046c4
LMI
13526 (smtpmail-process-filter): Update the process marker so that the
13527 "broken by peer" status message is inserted in the right place.
7520339c 13528
d3c30954
SM
135292011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13530
3fe48822
SM
13531 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13532 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13533 bibtex-completion-at-point-function.
13534 (bibtex-completion-at-point-function): Use them.
13535
1b8b3954
SM
13536 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13537
d3c30954
SM
13538 * mpc.el (mpc-constraints-tag-lookup): New function.
13539 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13540 also to browser "album|playlist".
13541
72779976
JL
135422011-09-14 Juri Linkov <juri@jurta.org>
13543
13544 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13545 (isearch-edit-string): Use length of `isearch-string' when
13546 `isearch-fail-pos' returns nil.
13547 (isearch-message): Remove duplicate code and call
13548 `isearch-fail-pos' with arg `t'.
13549
a0bf2bcd
CY
135502011-09-14 Chong Yidong <cyd@stupidchicken.com>
13551
17bb0a2d
CY
13552 * replace.el (occur-mode-goto-occurrence): Don't force using other
13553 window (Bug#9499).
13554
a0bf2bcd
CY
13555 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13556
f678e0b6
MR
135572011-09-14 Martin Rudalics <rudalics@gmx.at>
13558
13559 * window.el (display-buffer-window): Remove.
13560 (display-buffer-record-window): Use help-setup window parameter
13561 instead of variable display-buffer-window.
13562 (display-buffer-function, special-display-buffer-names)
13563 (special-display-function): Mention help-setup parameter instead
13564 of display-buffer-window in doc-string.
d3c30954
SM
13565 * help.el (help-window-setup): New argument help-window.
13566 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13567 Reword some messages.
13568 (with-help-window): Pass window used for displaying the buffer
13569 to help-window-setup. Don't set display-buffer-window.
13570
8e39b2e8
GM
135712011-09-13 Glenn Morris <rgm@gnu.org>
13572
13573 * emacs-lisp/debug.el (debugger-make-xrefs):
13574 Preserve point. (Bug#9462)
13575
85e9c04b
CY
135762011-09-13 Chong Yidong <cyd@stupidchicken.com>
13577
13578 * window.el (window-deletable-p): Use next-frame.
13579
1b36ed6a
MR
135802011-09-13 Martin Rudalics <rudalics@gmx.at>
13581
13582 * window.el (window-auto-delete): Remove.
13583 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13584 dedication and previous buffers.
1b36ed6a
MR
13585 (switch-to-prev-buffer): Don't delete window.
13586 (delete-windows-on): Delete a window's frame if and only if the
13587 window is dedicated.
13588 (replace-buffer-in-windows): Delete buffer's window or frame if
13589 and only if window is dedicated.
13590 (quit-window): Handle quit-restore as before last change.
4d61f28d 13591 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13592
ef8ef9fb
CY
135932011-09-13 Chong Yidong <cyd@stupidchicken.com>
13594
13595 * window.el (window-deletable-p): Never delete the last frame on a
13596 given terminal.
13597
b2cba41e
GM
135982011-09-13 Glenn Morris <rgm@gnu.org>
13599
13600 * help.el (describe-key-briefly): Copy previous standard-output change.
13601
51553db6 136022011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13603
13604 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13605
b7556719
GM
136062011-09-13 Glenn Morris <rgm@gnu.org>
13607
13608 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13609 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13610
64b51947
CY
136112011-09-12 Chong Yidong <cyd@stupidchicken.com>
13612
13613 * dired-aux.el (dired-mark-read-string): Don't return default
13614 value on empty input (Bug#9361).
13615 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13616 Omit initial minibuffer contents.
13617 (dired-do-chmod): Signal an error on empty input.
13618 (dired-mark-read-string): Don't return default on empty input.
13619
13620 * files.el (file-modes-symbolic-to-number): Doc fix.
13621
393a301e
SM
136222011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13623
13624 * international/mule-cmds.el (ucs-completions): Remove.
13625 (read-char-by-name): Use complete-with-action instead; add metadata.
13626
fa5660f9
CY
136272011-09-11 Chong Yidong <cyd@stupidchicken.com>
13628
13629 * window.el (display-buffer--action-function-custom-type)
13630 (display-buffer--action-custom-type): New vars.
13631 (display-buffer-alist, display-buffer-default-action)
13632 (display-buffer-overriding-action): Add defcustom types.
13633
4a592f66
CY
13634 * frame.el (delete-other-frames): Doc fix (Bug#276).
13635
73d56dbd
LMI
136362011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13637
13638 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13639
37ac18a3
CY
136402011-09-11 Chong Yidong <cyd@stupidchicken.com>
13641
13642 Change modes that used same-window-* vars to use switch-to-buffer.
13643
13644 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13645 Use switch-to-buffer.
13646
13647 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13648 (customize-browse, custom-buffer-create-other-window):
13649 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13650
13651 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13652 (Info-prev, Info-up, Info-speedbar-goto-node)
13653 (info-display-manual): Use switch-to-buffer.
13654 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13655
13656 * mail/sendmail.el (mail): Use switch-to-buffer.
13657 (mail-recover): Use switch-to-buffer-other-window.
13658
13659 * cmuscheme.el (run-scheme, switch-to-scheme):
13660 * ielm.el (ielm):
13661 * shell.el (shell):
13662 * net/rlogin.el (rlogin):
13663 * net/telnet.el (telnet, rsh):
13664 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13665
10195bd6
AS
136662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13667
13668 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13669
b322f63a
LMI
136702011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13671
39d7fed6
LMI
13672 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13673 so don't mention it (bug#9301).
ba5a81f1 13674 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13675
ee0e9f11
LMI
13676 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13677 match `x', `w32' and `ns', like the manual says (bug#9029).
13678
0b1c89c1 13679 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13680 (process-kill-buffer-query-function): Mention the buffer name in
13681 the query.
0b1c89c1 13682
77549ea8
LMI
13683 * image-mode.el (image-next-line): The line parameter is mandatory
13684 (bug#9258).
13685
803ef892
LMI
13686 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13687 which can be useful (bug#9301).
13688
12980837
LMI
13689 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13690
91054f8f
LMI
13691 * subr.el (match-string): Mention that the current buffer should
13692 be the same as the search was done in (bug#9282).
13693
b322f63a
LMI
13694 * facemenu.el: Disable the remove-* commands if the mark isn't
13695 active (bug#9162).
13696
3199b96f
CY
136972011-09-10 Chong Yidong <cyd@stupidchicken.com>
13698
13699 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13700 of display-buffer.
13701 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13702
13703 * replace.el (occur-mode-goto-occurrence)
13704 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13705 and display-buffer.
13706
13707 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13708 display-buffer.
13709
13710 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13711 special-display and same-window variables.
13712 (mail-other-window): Use switch-to-buffer-other-window.
13713 (mail-other-frame): USe switch-to-buffer-other-frame.
13714
393a301e
SM
13715 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13716 Use display-buffer-other-frame.
3199b96f
CY
13717 (gdb-display-gdb-buffer): Use pop-to-buffer.
13718
13719 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13720
13721 * progmodes/python.el: Don't set same-window-buffer-names.
13722
13723 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13724
13725 * window.el (display-buffer-alist): Add *Python*.
13726
8319e0bf
CY
137272011-09-10 Chong Yidong <cyd@stupidchicken.com>
13728
13729 * window.el (display-buffer-alist): Add entry for buffers
13730 previously handled same-window-*.
13731 (display-buffer-alist, display-buffer-default-action)
13732 (display-buffer-overriding-action): Mark as risky.
13733 (display-buffer-alist): Document action function changes.
13734 (display-buffer--same-window-action)
13735 (display-buffer--other-frame-action): New variables.
13736 (switch-to-buffer, display-buffer-other-frame): Use them.
13737 (display-buffer): Rename reuse-frame entry to reusable-frames.
13738 (display-buffer-reuse-selected-window): Function deleted.
13739 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13740 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13741 (display-buffer-special): New function.
13742 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13743 display-buffer-reuse-or-pop-window. Split off special-display
13744 part into display-buffer-special.
13745 (display-buffer-use-some-window): Don't perform any special
13746 pop-up-frames handling.
13747 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13748 (display-buffer--maybe-same-window): Rename from
0d3ff375 13749 display-buffer-maybe-same-window.
8319e0bf 13750
919a69aa
CY
13751 * info.el: Don't set same-window-regexps.
13752 (info-setup): New function.
13753 (info-other-window, info): Call it.
13754
13755 * cus-edit.el: Don't set same-window-regexps.
13756 (customize-group): New argument.
13757 (customize-group-other-window): Use it.
13758 (customize-face, customize-face-other-window): Likewise.
13759 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13760
8319e0bf
CY
13761 * net/rlogin.el:
13762 * net/telnet.el:
13763 * progmodes/gud.el: Don't set same-window-regexps.
13764
13765 * cmuscheme.el:
13766 * ielm.el:
13767 * shell.el:
13768 * mail/sendmail.el:
13769 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13770
25173000
JL
137712011-09-10 Juri Linkov <juri@jurta.org>
13772
13773 * isearch.el (isearch-edit-string): Remove obsolete mention of
13774 `C-w' (`isearch-yank-word-or-char') from docstring.
13775 (isearch-query-replace): Fix typo in docstring (bug#9466).
13776
056e44ef
JL
137772011-09-10 Juri Linkov <juri@jurta.org>
13778
13779 * paren.el (show-paren-function): Don't show escaped parens.
13780 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13781
c3760c17
EZ
137822011-09-10 Eli Zaretskii <eliz@gnu.org>
13783
13784 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13785 (mm-default-file-encoding): Remove autoload forms, they are
13786 replaced with autoload cookies in mml.el and mm-encode.el.
13787 (mail-add-attachment): New command.
13788 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13789 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13790 the doc string.
13791 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13792
fece895e
RT
137932011-09-10 Reuben Thomas <rrt@sc3d.org>
13794
e69df516
SM
13795 * simple.el (count-words-region): Use buffer if there's no region
13796 (bug#9429).
fece895e 13797
5e68ce4a
JL
137982011-09-09 Juri Linkov <juri@jurta.org>
13799
13800 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13801 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13802 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13803
0a6b9622
AM
138042011-09-09 Alan Mackenzie <acm@muc.de>
13805
13806 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13807 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13808
14a29deb
EZ
138092011-09-09 Eli Zaretskii <eliz@gnu.org>
13810
13811 Fix for Savannah bug#9392.
13812 * simple.el (mail-encode-mml): New defvar.
13813
13814 * mail/rmail.el (mail-encode-mml): Add a defvar.
13815 (rmail-enable-mime-composing): Default to t.
13816 (rmail-forward): Use MIME method of forwarding only if both
13817 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13818 Set mail-encode-mml non-nil if the MIME method was used.
13819
13820 * mail/sendmail.el (mml-to-mime): Add autoload form.
13821 (mail-encode-mml): Add a defvar.
13822 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13823 to nil.
13824 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13825 message through mml-to-mime, and reset mail-encode-mml to nil.
13826
28c45130
GM
138272011-09-09 Glenn Morris <rgm@gnu.org>
13828
13829 * woman.el (woman-if-body): When processing an .el block,
13830 do not delete the next .el block as well. (Bug#9447)
69f4b618 13831 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13832
9b1c252e
MR
138332011-09-08 Martin Rudalics <rudalics@gmx.at>
13834
13835 * window.el (window-deletable-p): Make sure window is live before
13836 invoking window-prev-buffers.
13837
567457e3
LL
138382011-09-08 Leo Liu <sdl.web@gmail.com>
13839
13840 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13841
97f05794
JL
138422011-09-08 Juri Linkov <juri@jurta.org>
13843
13844 * progmodes/compile.el (compilation-environment): Make it
13845 a defcustom (bug#8340).
13846
8b0874b5
MR
138472011-09-08 Martin Rudalics <rudalics@gmx.at>
13848
13849 * window.el (frame-auto-delete): Rename to window-auto-delete.
13850 Make it control auto-deletion of windows and/or frames.
13851 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13852 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13853 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13854 Rewrite handling of case when window/frame can be deleted.
13855 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13856 argument t. (Bug#9456)
8b0874b5 13857
4feb6e73
CY
138582011-09-07 Chong Yidong <cyd@stupidchicken.com>
13859
13860 * help-mode.el (help-mode): Restore autoload.
13861
91ab9c13
JL
138622011-09-07 Juri Linkov <juri@jurta.org>
13863
13864 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13865 `compilation-environment'. Set buffer-local
13866 `compilation-environment' to `thisenv' later after (funcall mode).
13867 (Bug#8340)
13868
13869 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13870 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13871 instead of replacing its value. (Bug#8340)
13872
0527e251
JL
138732011-09-07 Juri Linkov <juri@jurta.org>
13874
13875 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13876 based on text properties put by `grep-filter' instead of matching
13877 escape sequences.
13878 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13879 to the value of `grep-error-screen-columns' (bug#9438).
13880
249f792c
JL
138812011-09-07 Juri Linkov <juri@jurta.org>
13882
13883 * simple.el (next-error-highlight, next-error-highlight-no-select):
13884 Doc fix (bug#9432).
13885
ff7271b9
OT
138862011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13887
13888 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13889 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13890
183fc730
LL
138912011-09-07 Leo Liu <sdl.web@gmail.com>
13892
13893 * net/rcirc.el (rcirc-mode): Conditionally initialize
13894 rcirc-input-ring.
13895
77694924
SM
138962011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13897
13898 * emacs-lisp/find-func.el (find-function-C-source): Only set
13899 find-function-C-source-directory after checking that we found a source
13900 file there (bug#9440).
13901
d809b8eb
AM
139022011-09-06 Alan Mackenzie <acm@muc.de>
13903
13904 * isearch.el (isearch-other-meta-char): Wherever a key list is
13905 unread, "unread" the prefix arg, too. This fixes bug #8901.
13906
453de99f
OG
139072011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13908
13909 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13910
90439906
JL
139112011-09-05 Juri Linkov <juri@jurta.org>
13912
13913 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13914
f62bd846
JL
139152011-09-05 Juri Linkov <juri@jurta.org>
13916
13917 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13918 keeping point where processing of grep matches begins, and
13919 continue to delete remaining escape sequences from the same point.
13920 (grep-filter): Make leading zero optional in "0?1;31m" because
13921 git-grep emits "\033[1;31m" escape sequences unlike expected
13922 "\033[01;31m" as GNU Grep does (bug#9408).
13923 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13924
045820ec
JL
139252011-09-05 Juri Linkov <juri@jurta.org>
13926
13927 * subr.el (y-or-n-p): Capitalize "yes".
13928
f5e29b9b
MA
139292011-09-04 Michael Albinus <michael.albinus@gmx.de>
13930
13931 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13932 `tramp-cache-unload-hook' where appropriate.
13933 (tramp-methods): Rename `tramp-remote-sh' to
13934 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13935 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13936
13937 * net/tramp-sh.el (top): Don't require 'shell.
13938 (tramp-methods): Add `tramp-remote-shell' and
13939 `tramp-remote-shell-args' entries.
13940 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13941 (tramp-sh-handle-shell-command): Remove.
13942 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13943 Use `tramp-remote-shell'.
13944
2784c434
CY
139452011-09-03 Chong Yidong <cyd@stupidchicken.com>
13946
393a301e 13947 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13948 (sendmail-query-once): Save directly to send-mail-function.
13949 Update message-send-mail-function too.
13950
13951 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13952
464cdf56
CS
139532011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13954
13955 * progmodes/python.el (python-mode-map): Use correct function to
13956 start python interpreter from menu-bar (as reported by Geert
13957 Kloosterman).
13958 (inferior-python-mode-map): Fix typo.
393a301e 13959 (python-shell-map): Remove.
464cdf56 13960
d37e5c87
DD
139612011-09-03 Deniz Dogan <deniz@dogan.se>
13962
13963 * net/rcirc.el (rcirc-print): Simplify code for
13964 rcirc-scroll-show-maximum-output. There is no need to walk
13965 through all windows to find the right one.
13966
f3ada0ee
CS
139672011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13968
13969 * help.el (help-return-method): Doc fix.
13970
1f3c99ca
MR
139712011-09-03 Martin Rudalics <rudalics@gmx.at>
13972
13973 * window.el (window-deletable-p): Don't return a non-nil value
13974 when there's a buffer that was shown in the window before.
13975 (Bug#9419)
393a301e
SM
13976 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13977 Set window's previous buffers to nil.
1f3c99ca 13978
a3cf097f
EZ
139792011-09-03 Eli Zaretskii <eliz@gnu.org>
13980
13981 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13982 newline before and after the tag line, so it doesn't interfere
13983 with determining the paragraph direction of bidirectional text.
13984
3d03de90
LL
139852011-09-03 Leo Liu <sdl.web@gmail.com>
13986
13987 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13988
c3313451
CY
139892011-09-02 Chong Yidong <cyd@stupidchicken.com>
13990
393a301e 13991 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13992 (pop-to-buffer): Change interactive spec. Pass second argument
13993 directly to display-buffer.
13994 (display-buffer): Fix interactive spec. Use functionp to
13995 distinguish between a function and a list of functions.
13996
13997 * abbrev.el (edit-abbrevs):
13998 * arc-mode.el (archive-extract):
13999 * autoinsert.el (auto-insert):
14000 * bookmark.el (bookmark-bmenu-list):
14001 * files.el (find-file):
14002 * view.el (view-buffer):
14003 * progmodes/compile.el (compilation-goto-locus):
14004 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14005
89894cd8
CY
140062011-09-02 Chong Yidong <cyd@stupidchicken.com>
14007
14008 * window.el (display-buffer-alist): Doc fix.
14009 (display-buffer): Add docstring. Don't treat
14010 display-buffer-default specially.
14011 (display-buffer-reuse-selected-window)
14012 (display-buffer-same-window, display-buffer-maybe-same-window)
14013 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14014 (display-buffer-pop-up-window)
14015 (display-buffer-reuse-or-pop-window)
14016 (display-buffer-use-some-window): New functions.
14017 (display-buffer-default-action): Use them.
393a301e 14018 (display-buffer-default): Delete.
89894cd8
CY
14019 (pop-to-buffer-1): Fix choice of actions.
14020
ae0bc9fb
SM
140212011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14022
14023 * minibuffer.el (completion--insert-strings): Don't get confused by
14024 completion entries that end with an LF char.
14025
e9d90883
EZ
140262011-09-01 Eli Zaretskii <eliz@gnu.org>
14027
14028 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14029
437014c8
CY
140302011-09-01 Chong Yidong <cyd@stupidchicken.com>
14031
14032 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14033 (display-buffer-same-window, display-buffer-other-window):
14034 New functions.
437014c8
CY
14035 (pop-to-buffer-1): New function. Use the above.
14036 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14037 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14038
14039 * view.el (view-buffer-other-window, view-buffer-other-frame):
14040 Just use pop-to-buffer.
14041
a5e063d5
TV
140422011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14043
14044 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14045
793d32bb
WH
140462011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14047
14048 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14049
d65e4c15
RS
140502011-08-31 Richard Stallman <rms@gnu.org>
14051
14052 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14053 of the separation of rmail-view-buffer from rmail-buffer.
14054 If you say no to "replace original", the decrypt is in the
14055 view buffer. If you say yes, the decrypt goes into the
14056 rmail buffer also.
14057
f818cd2a
MR
140582011-08-31 Martin Rudalics <rudalics@gmx.at>
14059
14060 * window.el (display-buffer-window): Rewrite doc-string.
14061 (display-buffer-record-window): New function.
14062 (display-buffer-macro-specifiers)
14063 (display-buffer-even-window-sizes, display-buffer-set-height)
14064 (display-buffer-set-width, display-buffer-in-window)
14065 (display-buffer-reuse-window, display-buffer-split-specifiers)
14066 (display-buffer-side-specifiers, display-buffer-split-window-1)
14067 (display-buffer-split-window, display-buffer-split-atom-window)
14068 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14069 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14070 (display-buffer-other-window-means-other-frame)
14071 (display-buffer-normalize-special)
14072 (display-buffer-normalize-default)
14073 (display-buffer-normalize-argument)
14074 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14075 (display-buffer-normalize-specifiers, display-buffer-frame)
14076 (display-buffer-same-window, display-buffer-same-frame)
14077 (display-buffer-other-window)
14078 (display-buffer-same-frame-other-window)
14079 (display-buffer-other-frame, pop-to-buffer-same-window)
14080 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14081 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14082 (switch-to-buffer-same-frame)
14083 (switch-to-buffer-other-window-same-frame)
14084 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14085 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14086 (display-buffer-alist-set): Remove.
14087 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14088 (special-display-regexps, special-display-function):
14089 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14090 parameter.
14091 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14092 (special-display-frame-alist, special-display-popup-frame)
14093 (same-window-buffer-names, same-window-regexps, same-window-p)
14094 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14095 (split-window-preferred-function, split-height-threshold)
14096 (split-width-threshold, window-splittable-p)
14097 (split-window-sensibly, window--try-to-split-window)
14098 (window--frame-usable-p, even-window-heights)
14099 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14100 (window--display-buffer-2, display-buffer-other-frame):
14101 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14102 (display-buffer-default, display-buffer-assq-regexp): New functions.
14103 (display-buffer-alist): Rewrite doc-string.
14104 (display-buffer-default-action)
14105 (display-buffer-overriding-action): New variables.
14106 (display-buffer, switch-to-buffer): Rewrite.
14107 (pop-to-buffer): Restore Emacs 23 behavior but use
14108 window-normalize-buffer-to-display.
14109 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14110 Restore Emacs 23 behavior but use
14111 window-normalize-buffer-to-switch-to.
14112 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14113 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14114 Rewrite using Emacs 23 options.
f818cd2a 14115
5bc3b51d
MA
141162011-08-31 Michael Albinus <michael.albinus@gmx.de>
14117
14118 * net/tramp.el (tramp-root-regexp): Remove.
14119 (tramp-completion-file-name-regexp-unified)
14120 (tramp-completion-file-name-regexp-separate)
14121 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14122 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14123 (tramp-drop-volume-letter): Simplify definition.
14124 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14125
b1a4f8e1
SM
141262011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14127
14128 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14129 (bug#9356).
14130
5664fa7b
RT
141312011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14132
b1a4f8e1 14133 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14134
9a45d6c3
JL
141352011-08-29 Juri Linkov <juri@jurta.org>
14136
14137 * isearch.el (isearch-done): Don't display message "Mark saved"
14138 when arg `edit' is non-nil to prevent its flicker in the echo area.
14139
fb87e0fb
CY
141402011-08-28 Chong Yidong <cyd@stupidchicken.com>
14141
14142 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14143 obsolete packages for deletion.
14144
09ac1c2a
CS
141452011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14146
14147 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14148 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14149 view-mode from help-mode.
14150 (help-xref-override-view-map): Remove.
14151 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14152 view-mode is not used anymore.
14153
7a1ff57f
CY
141542011-08-28 Chong Yidong <cyd@stupidchicken.com>
14155
14156 * server.el (server-port): Doc fix.
14157
b9696605
CY
14158 * cus-theme.el (custom-theme-choose-mode): Inherit from
14159 special-mode (Bug#9124).
14160 (custom-theme-choose-mode-map): Add special-mode to parent.
14161
ef8cdf8c
AM
141622011-08-28 Alan Mackenzie <acm@muc.de>
14163
14164 * progmodes/cc-fonts.el
14165 (c-make-font-lock-BO-decl-search-function): New function.
14166 (c-basic-matchers-after - "Fontify the clauses after various
14167 keywords"): Extract the three keyword lists for the 3 erroneous
14168 constructs from the list of four, and use the new function above
14169 in place of an old one.
14170
27de4e20
DD
141712011-08-28 Deniz Dogan <deniz@dogan.se>
14172
14173 * net/rcirc.el (rcirc-insert-prev-input)
14174 (rcirc-insert-next-input): Remove unused argument.
14175
356a3681
SM
141762011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14177
14178 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14179
3fc9b218
AM
141802011-08-27 Alan Mackenzie <acm@muc.de>
14181
14182 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14183 handle function pointer parameters properly.
14184
538a061c
MR
141852011-08-27 Martin Rudalics <rudalics@gmx.at>
14186
14187 * window.el (display-buffer-reuse-window): Fix case where
14188 selected window was reused with non-nil OTHER-WINDOW argument.
14189 (Bug#9381)
14190
35b1c40c
DD
141912011-08-27 Deniz Dogan <deniz@dogan.se>
14192
14193 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14194 oftc's NickServ messages.
14195
2f6a3e79
GM
141962011-08-27 Glenn Morris <rgm@gnu.org>
14197
14198 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14199
7254299e
CY
142002011-08-26 Chong Yidong <cyd@stupidchicken.com>
14201
14202 * emacs-lisp/package.el (package-install): Call package-initialize
14203 if called interactively.
14204
f8ccf167
LL
142052011-08-26 Leo Liu <sdl.web@gmail.com>
14206
14207 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14208
3e8cd5ce
JL
142092011-08-25 Juri Linkov <juri@jurta.org>
14210
14211 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14212 `search-whitespace-regexp' (bug#9364).
14213
93eb7113
JL
142142011-08-25 Juri Linkov <juri@jurta.org>
14215
14216 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14217 `regexp-search-ring' to their global values to protect from
14218 updating by `read-from-minibuffer' (bug#9185).
14219
f65d1611
JL
142202011-08-25 Juri Linkov <juri@jurta.org>
14221
14222 * textmodes/ispell.el (ispell-command-loop): Add newline
14223 at the end of the "Use option `i'..." line.
14224
f1cf7a31
JL
142252011-08-25 Juri Linkov <juri@jurta.org>
14226
14227 * battery.el (display-battery-mode): If `battery-status-function'
14228 or `battery-mode-line-format' is nil, display the message and set
14229 `display-battery-mode' to nil (bug#9363).
14230
0c95fcf7
EZ
142312011-08-25 Eli Zaretskii <eliz@gnu.org>
14232
14233 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14234 bidi-string-mark-left-to-right; they are unnecessary now.
14235
a2ebe600
DD
142362011-08-25 Deniz Dogan <deniz@dogan.se>
14237
14238 * net/quickurl.el: Documentation typo fixes.
14239
e4ed06f1
CY
142402011-08-25 Chong Yidong <cyd@stupidchicken.com>
14241
14242 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14243
e5f1c99e
GM
142442011-08-25 Glenn Morris <rgm@gnu.org>
14245
b2948976
GM
14246 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14247
e5f1c99e
GM
14248 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14249 (smtpmail-via-smtp): Handle nil response from smtp.
14250
f22f4808
JL
142512011-08-24 Juri Linkov <juri@jurta.org>
14252
14253 * proced.el (proced-marked): Inherit from `error' instead of
14254 `font-lock-warning-face'.
14255
14256 * ibuffer.el (ibuffer-marked-face): Change default face from
14257 `font-lock-warning-face' to `warning'.
14258 (ibuffer-deletion-face): Change default face from
14259 `font-lock-type-face' to `error'.
14260
14261 * battery.el (battery-update): Use the face `error' instead of
14262 `font-lock-warning-face' (bug#6117).
14263
6a93965e
JL
142642011-08-24 Juri Linkov <juri@jurta.org>
14265
14266 * faces.el (success): Change face color from "Green3" to
14267 "ForestGreen" on light background (bug#9353).
14268
1ed43b09
CY
142692011-08-24 Chong Yidong <cyd@stupidchicken.com>
14270
5664fa7b
RT
14271 * window.el (quit-window): Rename from quit-restore-window.
14272 Use same arglist as old quit-window.
1ed43b09
CY
14273 (frame-auto-delete): Doc fix.
14274
14275 * view.el (view-mode-exit): Use quit-window.
14276
11dcdbb2
JL
142772011-08-24 Juri Linkov <juri@jurta.org>
14278
14279 * isearch.el (isearch-ring-adjust1): Start visiting previous
14280 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14281 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14282 for empty search string (when the last search string is reused
14283 automatically) to adjust the isearch ring to the last element and
14284 prepare the correct index for further M-p commands (bug#9185).
14285
de62b4df
KH
142862011-08-24 Kenichi Handa <handa@m17n.org>
14287
14288 * international/ucs-normalize.el: If decomposition property of
14289 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14290 nil.
14291 (nfd, nfkd): Likewise.
14292
963b492b
SM
142932011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14294
14295 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14296 from process filters aren't reliably transmitted to the surrounding
14297 accept-process-output.
14298 (mpc-proc-check): New function.
14299 (mpc-proc-sync): Use it (bug#8293)
14300
93b6b5e1
SM
143012011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14302
14303 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14304 Add compatibility functions (bug#9313).
14305
bca633fb
EZ
143062011-08-23 Eli Zaretskii <eliz@gnu.org>
14307
b177498a
EZ
14308 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14309
6df6ae42 14310 * international/uni-bidi.el: Regenerate.
bca633fb 14311
0902a04e
KH
143122011-08-23 Kenichi Handa <handa@m17n.org>
14313
14314 * international/charprop.el:
14315 * international/uni-bidi.el:
14316 * international/uni-category.el:
14317 * international/uni-combining.el:
14318 * international/uni-comment.el:
14319 * international/uni-decimal.el:
14320 * international/uni-decomposition.el:
14321 * international/uni-digit.el:
14322 * international/uni-lowercase.el:
14323 * international/uni-mirrored.el:
14324 * international/uni-name.el:
14325 * international/uni-numeric.el:
14326 * international/uni-old-name.el:
14327 * international/uni-titlecase.el:
14328 * international/uni-uppercase.el: Regenerate.
14329
3bbf23bc
MR
143302011-08-23 Martin Rudalics <rudalics@gmx.at>
14331
14332 * help.el (help-window-setup): Fix message displayed when other
14333 window is reused. (Bug#9341)
14334
b3fd59bd
SM
143352011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14336
1802e444
SM
14337 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14338 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14339
b3fd59bd
SM
14340 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14341 Mark obsolete.
14342 * shell.el (shell-parse-pcomplete-arguments): New function.
14343 (shell-completion-vars): Use it instead (bug#9160).
14344
4eb61348
SM
143452011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14346
867cab74
SM
14347 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14348 strings and comments (bug#9333).
14349
4eb61348
SM
14350 * emacs-lisp/debug.el (debug-arglist): New function.
14351 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14352 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14353
262a1439
JL
143542011-08-22 Juri Linkov <juri@jurta.org>
14355
56ee679c
JL
14356 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14357 Revert regexp that highlights output switches to its old
14358 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14359
262a1439
JL
14360 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14361 to check for empty output (bug#9226).
14362
f13f86fb
CY
143632011-08-22 Chong Yidong <cyd@stupidchicken.com>
14364
14365 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14366 symbol-constituent as the default, as that stops font-lock from
14367 working properly (Bug#8843).
14368
c65c9622
LMI
143692011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14370
14371 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14372 `coding-system-for-*' around the process open call to avoid
14373 auth-source side effects.
e7f2c178 14374 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14375 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14376 probe hangs.
c65c9622 14377
23a8a5ab
CY
143782011-08-21 Chong Yidong <cyd@stupidchicken.com>
14379
ff98b2dd
CY
14380 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14381
23a8a5ab
CY
14382 * emacs-lisp/find-func.el (find-function-noselect): New arg
14383 lisp-only.
14384
14385 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14386 signal an error for built-in functions (Bug#6664).
14387
f5e3c598
LMI
143882011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14389
14390 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14391 (smtpmail-try-auth-methods): Use it.
14392
a3f2468a
CY
143932011-08-21 Chong Yidong <cyd@stupidchicken.com>
14394
2c34e8da
CY
14395 * font-lock.el (font-lock-fontify-region)
14396 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14397 (font-lock-default-unfontify-buffer)
14398 (font-lock-default-fontify-region)
14399 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14400
b3fd59bd
SM
14401 * progmodes/compile.el (compilation-error-properties):
14402 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14403 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14404 `ant' regexp.
ee31aabc 14405
a3f2468a
CY
14406 * net/browse-url.el (browse-url-firefox): Don't call
14407 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14408
8e999f70
GM
144092011-08-20 Glenn Morris <rgm@gnu.org>
14410
c21a496a
GM
14411 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14412
59ee0542
GM
14413 * tutorial.el (tutorial--default-keys): Update some default bindings.
14414
8e999f70
GM
14415 * files.el (hack-local-variables): Fully ignore case for "mode:".
14416
e3715033
AM
144172011-08-20 Alan Mackenzie <acm@muc.de>
14418
14419 Resolve invalid use of a regexp in regexp-opt.
14420
4d61f28d
JB
14421 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14422 detection for a java annotation.
e3715033 14423
4d61f28d 14424 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14425 detection for a java annotation.
14426
4d61f28d
JB
14427 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14428 handling for java.
e3715033
AM
14429 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14430
04ed2e9c
CY
144312011-08-20 Chong Yidong <cyd@stupidchicken.com>
14432
14433 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14434 (Bug#9274).
14435
826cee64
AM
144362011-08-20 Alan Mackenzie <acm@muc.de>
14437
58179cce 14438 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14439 such a construct. Mainly for when jit-lock etc. starts a chunk
14440 here.
14441
58179cce 14442 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14443 variable.
58179cce 14444 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14445 c-make-font-lock-search-function.
14446 (c-make-font-lock-search-function): Use the above function.
14447 (c-make-font-lock-context-search-function): New function.
14448 (c-cpp-matchers): Enhance the preprocessor expression case with
14449 the above function
14450 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14451 which takes an expression.
14452
14453 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14454
13009bd8
MR
144552011-08-20 Martin Rudalics <rudalics@gmx.at>
14456
14457 * window.el (display-buffer-reuse-window)
14458 (display-buffer-pop-up-window): Don't reuse or split a side
14459 window.
14460
9234ff7f
GM
144612011-08-19 Glenn Morris <rgm@gnu.org>
14462
14463 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14464 Downcase "Mode:". (Bug#9331)
9234ff7f 14465
f635daa1
CY
144662011-08-18 Chong Yidong <cyd@stupidchicken.com>
14467
14468 * international/characters.el: Add L and R categories.
14469
14470 * subr.el (bidi-string-mark-left-to-right): Rename from
14471 string-mark-left-to-right. Use category search.
14472
14473 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14474
bc987f8b
JL
144752011-08-18 Juri Linkov <juri@jurta.org>
14476
14477 * faces.el (error, warning, success): New faces with definitions
14478 copied from old default values of `font-lock-warning-face',
14479 `compilation-warning', `compilation-info' (bug#6117).
14480
14481 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14482
14483 * progmodes/compile.el (compilation-error): Inherit from `error'.
14484 (compilation-warning): Inherit from `warning'.
14485 (compilation-info): Inherit from `success'.
14486
14487 * dired.el (dired-marked): Inherit from `warning'.
14488 (dired-flagged): Inherit from `error'.
14489
57173b96
LMI
144902011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14491
3e79eb87
LMI
14492 * mail/smtpmail.el (auth-source): Require to avoid problems with
14493 binding variables (bug#9298). Also clean up some unused
14494 autoloads.
14495
b3fd59bd
SM
14496 * net/network-stream.el (network-stream-open-starttls):
14497 Support using starttls.el without using gnutls-cli.
57173b96 14498
02b404de
JL
144992011-08-17 Juri Linkov <juri@jurta.org>
14500
14501 * progmodes/grep.el (rgrep): Handle the case when
14502 `grep-find-command' is a cons cell (bug#9278).
14503
8c9177f2
MR
145042011-08-17 Martin Rudalics <rudalics@gmx.at>
14505
14506 * window.el (display-buffer-pop-up-frame): Run frame creation
14507 function with BUFFER current (as special-display-popup-frame
14508 does). Reported by Drew Adams.
14509
3644a0ab
DU
145102011-08-17 Daiki Ueno <ueno@unixuser.org>
14511
14512 * epa-mail.el: Simplify GnuPG group expansion using
14513 epg-expand-group.
14514 (epa-mail-group-alist, epa-mail-group-modtime)
14515 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14516 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14517 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14518 Remove.
14519
5e617bc2 145202011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14521
14522 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14523
9c4aeabf
AM
145242011-08-16 Alan Mackenzie <acm@muc.de>
14525
14526 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14527 Correct, to avoid the inside of macros.
14528
3a99bf64
RS
145292011-08-16 Richard Stallman <rms@gnu.org>
14530
04963aa8
RS
14531 * epa-mail.el: Handle GnuPG group definitions.
14532 (epa-mail-group-alist, epa-mail-group-modtime)
14533 (epa-mail-gnupg-conf-file): New variables.
14534 (epa-mail-parse-groups, epa-mail-sync-groups)
14535 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14536 (epa-mail-expand-recipients): New functions.
14537 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14538
177549d0
RS
14539 * mail/rmail.el (rmail-epa-decrypt): New command.
14540
fe38beef
RS
14541 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14542 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14543 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14544 (epa-decrypt-armor-in-region): Make error message clearer.
14545
934eacb9
SM
145462011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14547
14548 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14549 and "a2b" to "ab" for `prefix'.
14550
d024fb4e
CY
145512011-08-14 Chong Yidong <cyd@stupidchicken.com>
14552
14553 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14554 filter groups.
de148fee
CY
14555 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14556 Fourquet (Bug#8804).
d024fb4e 14557
62f1ca49
JB
145582011-08-12 Juanma Barranquero <lekktu@gmail.com>
14559
14560 * startup.el (argi): Declare as global variable (bug#9275).
14561
9ccaaa4b
CY
145622011-08-12 Chong Yidong <cyd@stupidchicken.com>
14563
14564 * subr.el (string-mark-left-to-right): Search the entire string
14565 for RTL script, not just the terminating character. Doc fix.
14566
a3dae87a
SM
145672011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14568
6cd18349
SM
14569 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14570 New function.
14571 (js--regexp-literal, js-syntax-propertize-function): Remove.
14572 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14573 (js-mode-map): Don't rebind electric keys.
14574 (js-insert-and-indent): Remove.
14575 (js-mode): Setup electric-layout and electric-indent instead.
14576
a3dae87a
SM
14577 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14578
9d5cb631
DU
145792011-08-12 Daiki Ueno <ueno@unixuser.org>
14580
14581 * epa.el (epa-progress-callback-function): Fix the logic of
14582 displaying progress.
14583 * epa-file.el (epa-file-insert-file-contents): Make progress
14584 display more user-friendly.
14585 (epa-file-write-region): Ditto.
14586
3e26a4a2
CY
145872011-08-10 Chong Yidong <cyd@stupidchicken.com>
14588
14589 * subr.el (string-mark-left-to-right): New function.
14590
14591 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14592 Use string-mark-left-to-right.
14593 (list-buffers-noselect): Caller changed.
14594
a3dae87a
SM
14595 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14596 Use string-mark-left-to-right.
3e26a4a2
CY
14597 (tabulated-list-print): Recenter after moving point.
14598
ac8cf6e6
JL
145992011-08-10 Juri Linkov <juri@jurta.org>
14600
14601 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14602 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14603 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14604
8d96c9a4
CY
146052011-08-09 Chong Yidong <cyd@stupidchicken.com>
14606
14607 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14608 (Bug#7554).
14609
7be1c708 146102011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14611
14612 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14613 character. (Bug#6594)
14614
37e11a63
CY
146152011-08-08 Chong Yidong <cyd@stupidchicken.com>
14616
839dde57
CY
14617 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14618 (image-dired--with-db-file): New macro.
14619 (image-dired-write-tags, image-dired-remove-tag)
14620 (image-dired-create-gallery-lists, image-dired-write-comments)
14621 (image-dired-get-comment, image-dired-mark-tagged-files)
14622 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14623 (image-dired-gallery-generate): Use insert-file-contents.
14624
37e11a63
CY
14625 * time.el (display-time-world-list, display-time-world-display):
14626 * time-stamp.el (time-stamp-string):
14627 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14628 set-time-zone-rule (Bug#7337).
14629
0b4946c4
DU
146302011-08-08 Daiki Ueno <ueno@unixuser.org>
14631
14632 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14633 (epg-error-to-string, epg-errors-to-string): New function.
14634 (epg-wait-for-completion): Reverse errors list.
14635 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14636 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14637 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14638 (epg-sign-keys, epg-generate-key-from-file)
14639 (epg-generate-key-from-string): Format errors by using
14640 epg-errors-to-string (bug#9255).
14641 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14642
75bfc667
JL
146432011-08-07 Juri Linkov <juri@jurta.org>
14644
14645 * faces.el (list-faces-display): Remove extra angle bracket
14646 from `help-mode-map'.
14647
14648 * info.el (Info-history-toc-nodes): Doc fix.
14649
14650 * longlines.el (longlines-mode): Doc fix.
14651
673e08bb
SM
146522011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14653
4640dd88
SM
14654 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14655 of statements and in a few more cases (bug#9183).
14656
673e08bb
SM
14657 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14658 New functions.
14659 (cl-transform-lambda): Use them (bug#9239).
14660
89b3f019
MR
146612011-08-05 Martin Rudalics <rudalics@gmx.at>
14662
14663 * window.el (display-buffer-same-window)
14664 (display-buffer-same-frame, display-buffer-other-window)
14665 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14666 (pop-to-buffer-other-window)
14667 (pop-to-buffer-same-frame-other-window)
14668 (pop-to-buffer-other-frame): Make them defuns.
14669 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14670
640c8776
SM
146712011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14672
14673 * subr.el (make-composed-keymap): Move from C. Change calling
14674 convention, and improve docstring to bring attention to a subtle point.
14675 * minibuffer.el (completing-read-default): Adjust accordingly.
14676
63648a95
MA
146772011-08-03 Michael Albinus <michael.albinus@gmx.de>
14678
14679 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14680 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14681
14682 * net/trampver.el: Update release number.
14683
b796c9b7
SM
146842011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14685
14686 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14687 "in" (bug#9190).
14688
2239d7d5
LMI
146892011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14690
e07dd7c3
LMI
14691 * mail/sendmail.el (sendmail-query-once): Restore the current
14692 buffer after querying (bug#9074).
14693
0e6a2bd7
LMI
14694 * dired.el (dired-flagged): Use different faces for marked and
14695 flagged files (bug#6117).
14696
ce887515
LMI
14697 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14698 (bug#4433).
14699
92f2affc
LMI
14700 * ido.el (ido-mode): Switch off the message if called
14701 non-interactively.
14702
57d5aff0
LMI
14703 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14704 before 587, since it appears that that's more likely to work for
14705 more people.
14706
98cd6c18 14707 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14708 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14709 exist.
14710
b96dec83
LMI
14711 * info.el: Remove the `Info-beginning-of-buffer' function
14712 (bug#8325).
14713
b796c9b7
SM
14714 * net/network-stream.el (network-stream-open-starttls):
14715 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14716
d90e2ea0
MR
147172011-08-01 Martin Rudalics <rudalics@gmx.at>
14718
14719 * window.el (display-buffer-in-window): Don't set dedicated status
14720 of window here (Bug#9215).
14721 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14722 (display-buffer-pop-up-side-window)
b796c9b7 14723 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14724
cca09170
SM
147252011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14726
14727 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14728 before binding generated-autoload-file.
14729
027b979c
DD
147302011-08-01 Deniz Dogan <deniz@dogan.se>
14731
14732 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14733
3c7ee4f3
MA
147342011-07-30 Michael Albinus <michael.albinus@gmx.de>
14735
14736 Sync with Tramp 2.2.2.
14737
14738 * net/trampver.el: Update release number.
14739
2cc8e51a
JL
147402011-07-30 Juri Linkov <juri@jurta.org>
14741
14742 * dired-aux.el (dired-touch-initial): Remove function.
14743 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14744 current time, and `default' to the last modification time of the
14745 current marked file (bug#6887).
14746
a514d856
JM
147472011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14748
14749 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14750 numeric argument to read-number (bug#9163).
a514d856 14751
8a7eddd7
MA
147522011-07-27 Michael Albinus <michael.albinus@gmx.de>
14753
14754 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14755 connection process, it could be nil.
14756
1ddd96f5
LL
147572011-07-27 Leo Liu <sdl.web@gmail.com>
14758
14759 Simplify url handling in rcirc-mode.
14760
14761 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14762 (rcirc-browse-url-at-mouse): Remove.
14763 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14764
b248a85d
AM
147652011-07-26 Alan Mackenzie <acm@muc.de>
14766
14767 Fontify bitfield declarations properly.
14768
14769 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14770 (c-symbol-chars): Now exported as a lang variable.
14771 (c-not-primitive-type-keywords): New lang variable.
14772
14773 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14774 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14775 parsed as a bitfield declaration.
b248a85d 14776
b796c9b7
SM
14777 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14778 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14779 (c-punctuation-in): New function.
14780 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14781 declarations properly.
14782
68575ab0
UJ
147832011-07-26 Ulf Jasper <ulf.jasper@web.de>
14784
14785 * calendar/icalendar.el (icalendar--all-events): Take care of
14786 multiple vcalendars in a single file.
b796c9b7 14787 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14788
0f0a88b9
DD
147892011-07-25 Deniz Dogan <deniz@dogan.se>
14790
14791 * image.el (insert-image): Clarifying docstring.
14792
0b3f36df
MA
147932011-07-24 Michael Albinus <michael.albinus@gmx.de>
14794
14795 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14796 `tramp-send-command-and-check' if there is no error.
14797 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14798
a9901f61
AM
147992011-07-22 Alan Mackenzie <acm@muc.de>
14800
14801 Prevent cc-langs.elc being loaded at run time.
14802
14803 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14804 cc-langs.
14805
4d61f28d 14806 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14807 "(require 'cc-langs)". Quote a form so it will evaluate at
14808 (cc-mode's) compilation time.
14809
11d074b2
MA
148102011-07-22 Michael Albinus <michael.albinus@gmx.de>
14811
14812 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14813 loading. (Bug#9114)
14814
938b94c8
MR
148152011-07-21 Martin Rudalics <rudalics@gmx.at>
14816
14817 * window.el (display-buffer-pop-up-window)
14818 (display-buffer-pop-up-side-window)
14819 (display-buffer-in-side-window): Call display-buffer-set-height
14820 and display-buffer-set-width after setting the new window's
b796c9b7 14821 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14822
bfa4f190
SS
148232011-07-20 Sam Steingold <sds@gnu.org>
14824
14825 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14826 (etags-tags-included-tables): Call `convert-standard-filename' on
14827 the file names contained in TAGS so that windows Emacs can handle
14828 TAGS files created by cygwin ctags.
14829
8ca42262
LMI
148302011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14831
14832 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14833 which apparently didn't work.
14834
5db2afd2 148352011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14836
5db2afd2
RW
14837 * proced.el (proced-send-signal): For *Marked Processes* buffer
14838 put point at beginning of buffer.
14839
92e15d10
SB
148402011-07-19 Stephen Berman <stephen.berman@gmx.net>
14841
14842 * proced.el (proced-format): Make header lines align with the text
14843 (bug#1779).
14844
1bfd59e5
LMI
148452011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14846
14847 * view.el (view-buffer): Allow running in `special' modes if we're
14848 visiting a file (bug#8615).
14849
f5aae37c
MR
148502011-07-19 Martin Rudalics <rudalics@gmx.at>
14851
14852 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14853 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14854 New functions.
f5aae37c
MR
14855 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14856 more accurately.
14857
bf2c1571
AM
148582011-07-18 Alan Mackenzie <acm@muc.de>
14859
14860 Fontify declarators properly when, e.g., a jit-lock chunk begins
14861 inside a declaration.
14862
14863 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14864
b796c9b7
SM
14865 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14866 New function.
bf2c1571
AM
14867 (c-complex-decl-matchers): Insert reference to
14868 c-font-lock-enclosing-decls.
14869
14870 * progmodes/cc-engine.el (c-backward-single-comment):
14871 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14872 to nil around calls to (forward-comment -1).
14873
4e190b80
LMI
148742011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14875
12dc863d
LMI
14876 * image.el (put-image): Doc typo fix.
14877
a762e966
LMI
14878 * progmodes/etags.el (tags-search): Doc typo fix.
14879
4e190b80
LMI
14880 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14881 password if we get errors 550 to 554.
14882
f019fb21
LMI
148832011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14884
b796c9b7 14885 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14886
81746738
LMI
14887 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14888 indentation character (bug#6380).
14889
3ee3a1b5
LMI
14890 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14891
c82f64de
LMI
14892 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14893 to clarify what the problem is (bug#4291).
14894
f019fb21
LMI
14895 * simple.el (current-kill): Clarify what
14896 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14897 (auto-fill-mode): Document `auto-fill-function' in relation to
14898 `auto-fill-mode' (bug#2470).
f019fb21 14899
0794775d
LM
149002011-07-16 Lawrence Mitchell <wence@gmx.li>
14901
14902 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14903 method if slot is read-only (bug#9035).
14904
be39b8cc
MR
149052011-07-16 Martin Rudalics <rudalics@gmx.at>
14906
b796c9b7 14907 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14908 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14909 selected before, see discussion of (Bug#8615), (Bug#6954).
14910 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14911
6ccf7859
GM
149122011-07-15 Glenn Morris <rgm@gnu.org>
14913
14914 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14915 Respect help-form.
6ccf7859 14916
87e86684
LM
149172011-07-09 Lawrence Mitchell <wence@gmx.li>
14918
14919 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14920 (gnutls-negotiate): Use it.
14921
d6066239
LMI
149222011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14923
b796c9b7
SM
14924 * net/gnutls.el (gnutls-negotiate):
14925 Upcase `gnutls-algorithm-priority'.
d6066239 14926
bd23ebc0
GM
149272011-07-15 Glenn Morris <rgm@gnu.org>
14928
c65bca65
GM
14929 * jka-compr.el (jka-compr-verbose): Move from here...
14930 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14931 Add missing :version tag.
14932 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14933
478615cc
LMI
149342011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14935
7b41decb
LMI
14936 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14937 (gnutls-negotiate): Use it.
14938
dbc44fcd
LMI
14939 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14940
06789f97
LMI
14941 * info.el (Info-beginning-of-buffer): New command.
14942 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14943 announcing `b' as the key (bug#8325).
ab896c37 14944 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14945
c39da690
LMI
14946 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14947
3aa5f34b
LMI
14948 * international/mule-cmds.el
14949 (describe-specified-language-support): Make the error message
14950 clearer (bug#8905).
14951
4bf0979f
LMI
14952 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14953
478615cc
LMI
14954 * isearch.el (isearch-barrier): Add a doc string, since it's
14955 mentioned in a function doc string (bug#8678).
14956
75c68aa1
MR
149572011-07-15 Martin Rudalics <rudalics@gmx.at>
14958
14959 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14960 buffer argument (Bug#9083) and self-identifying label argument.
14961
a7c33da2
GM
149622011-07-15 Glenn Morris <rgm@gnu.org>
14963
14964 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14965
2f5c6024
LMI
149662011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14967
14968 * man.el (Man-fontify-manpage): Fix message when formatting the
14969 man page (bug#7929).
14970
0bb23927 149712011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14972
14973 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14974 argument LRM; if non-nil, append an invisible LRM character to the
14975 buffer name.
14976 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14977 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14978 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14979 paragraph direction.
cce4b0a7 14980
621ef9ab
LMI
149812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14982
d1583c48
LMI
14983 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14984 the man page name (bug#7929).
14985
6a57fb5f
LMI
14986 * image.el (put-image): Mention the `put-image' overlay property
14987 (bug#7834).
14988
d7956b14
LMI
14989 * scroll-bar.el (set-scroll-bar-mode): Mention that
14990 `scroll-bar-mode' lists the values (bug#7772).
14991
5b2d4a66
LMI
14992 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14993 command (bug#7729).
14994
7509a874
LMI
14995 * rect.el (apply-on-rectangle): Return the point after the last
14996 operation.
14997 (string-rectangle): Go to the point after the last operation
14998 (bug#7522).
14999
4fe74b19
LMI
15000 * printing.el (pr-toggle-region): Clarify the documentation
15001 slightly (bug#7493).
15002
b796c9b7
SM
15003 * time.el (display-time-update):
15004 Allow `display-time-mail-function' to return nil (bug#7158).
15005 Fix suggested by Detlev Zundel.
ab283561 15006
fc233c9d
LMI
15007 * vc/diff.el (diff): Clarify the order the file names are read
15008 (bug#7111).
15009
43f5740b
LMI
15010 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15011 the doc string (bug#7015).
15012
f2182a76
LMI
15013 * font-lock.el (font-lock-maximum-decoration): Mention what
15014 numeric levels mean (bug#6935).
15015
621ef9ab
LMI
15016 * startup.el (initial-buffer-choice): Don't mention the `none'
15017 selection, which is against policy.
15018
adc47434
MR
150192011-07-14 Martin Rudalics <rudalics@gmx.at>
15020
b796c9b7
SM
15021 * window.el (display-buffer-normalize-special):
15022 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15023
7e5bfb8f
EZ
150242011-07-14 Eli Zaretskii <eliz@gnu.org>
15025
15026 * subr.el (version<, version<=, version=): Mention "-CVS" and
15027 "-12345" alpha version numbers.
15028
27fa387a
CY
150292011-07-14 Chong Yidong <cyd@stupidchicken.com>
15030
15031 * bindings.el: Add advertised binding for set-mark-command
15032 (Bug#5772).
15033
8bdfa064
CY
150342011-07-14 Chong Yidong <cyd@stupidchicken.com>
15035
15036 * bindings.el (mode-line-other-buffer):
15037 * bookmark.el (bookmark-bmenu-2-window):
15038 * bs.el (bs-cycle-next, bs-cycle-previous):
15039 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15040 switch-to-buffer.
15041
15042 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15043 Delete.
8bdfa064 15044
5eba16a3
JB
150452011-07-14 Juanma Barranquero <lekktu@gmail.com>
15046
15047 * follow.el (follow-debug-message, follow-redisplay):
15048 * jka-cmpr-hook.el (with-auto-compression-mode):
15049 Fix typos in docstrings.
15050
15853710
LMI
150512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15052
a28e4607
LMI
15053 * subr.el (with-silent-modifications): Clarify somewhat what the
15054 macro inhibits (bug#6525).
15055
15853710
LMI
15056 * simple.el (eval-expression): Note what it does if called
15057 interactively (bug#6495).
15058
bee0fcef
CY
150592011-07-13 Chong Yidong <cyd@stupidchicken.com>
15060
b796c9b7
SM
15061 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15062 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15063
15064 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15065 Remove switch-to-buffer.
15066
58274504
LMI
150672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15068
bd2fcc8d
LMI
15069 * files.el (make-directory): Clarify that an error will be raised
15070 if there's an error (bug#6397).
15071
0f04b32c
LMI
15072 * startup.el (initial-buffer-choice): Add `none' as a choice
15073 (bug#6234).
15074
465c5fc8
LMI
15075 * subr.el (add-hook): Clarify section about buffer-local hooks
15076 (bug#6218).
15077
58274504
LMI
15078 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15079
bead9a43
JB
150802011-07-13 Juanma Barranquero <lekktu@gmail.com>
15081
15082 * tabify.el (untabify): Preserve the current column so that point
15083 doesn't move (bug#6032).
15084
3af98a7b
LMI
150852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15086
b796c9b7
SM
15087 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15088 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15089
6240145a
GM
150902011-07-13 Glenn Morris <rgm@gnu.org>
15091
15092 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15093 (dired-insert-directory): Give a message the first time
15094 if ls is found not to support --dired.
15095
1d8c2ccc
LMI
150962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15097
15098 * simple.el (toggle-truncate-lines): Clarify what is toggled
15099 (bug#5580). Text by Drew Adams.
15100
5fc4038e
CY
151012011-07-13 Chong Yidong <cyd@stupidchicken.com>
15102
15103 * simple.el (blink-matching-open): Make the error message from the
15104 last change less verbose.
15105
bf6012e5
DN
151062011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15107
15108 * font-lock.el (font-lock-comment-face): Use the high contrast
15109 "yellow" color for font-lock-comment-face on low color terminals
15110 using a dark background color (bug#4221).
15111
343c3b5a
LMI
151122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15113
7e9505c5
LMI
15114 * dired.el (dired-insert-set-properties): Make the doc string
15115 reflect what it does now (bug#5325).
15116
c26fdcf5
LMI
15117 * simple.el (blink-matching-open): Say that we were unable to find
15118 the match within the limit, if we're limited (bug#5122).
15119
bb388cc5
LMI
15120 * international/mule-cmds.el (prefer-coding-system): Add an
15121 example (bug#4869).
15122
343c3b5a
LMI
15123 * progmodes/etags.el (tags-search): Document `file-list-form'
15124 (bug#4731).
15125
2a517d45
LM
151262011-07-13 Lawrence Mitchell <wence@gmx.li>
15127
15128 * net/browse-url.el (browse-url-default-browser)
15129 (browse-url-browser-function): Make the default browser choice a
15130 bit more logical (bug#4300). Also clean up the doc string.
15131
b6c78ef2
JB
151322011-07-13 Juanma Barranquero <lekktu@gmail.com>
15133
15134 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15135 binary endings (bug#4440).
15136
1c4dd947
LMI
151372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15138
a2014063
LMI
15139 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15140 which can be pretty annoying (bug#8971).
15141
9c9c2d88
LMI
15142 * jka-compr.el (jka-compr-verbose): New variable, and use
15143 throughout (bug#8971).
15144
1c4dd947
LMI
15145 * info.el (Info-find-file): Fall back on the installation
15146 directory if we can't find the info node anywhere else.
15147
a1c9f41b
SO
151482011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15149
15150 * vc/vc.el (vc-revert-file):
15151 Don't set file time-stamp in the past. (Bug#5181)
15152
536f3d36
LMI
151532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15154
7152b011
LMI
15155 * files.el (after-find-file): Give a better error message when
15156 trying to find a symlink that points to a file that doesn't exist
15157 (bug#4398).
15158
536f3d36
LMI
15159 * progmodes/cc-vars.el: Remove (probably) misleading comment
15160 (bug#4396).
15161
460c0fba
JB
151622011-07-12 Johan Bockgård <bojohan@gnu.org>
15163
15164 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15165
7a6bda45
CY
151662011-07-12 Chong Yidong <cyd@stupidchicken.com>
15167
15168 * mouse-sel.el: Hack restoring functionality, while keeping
15169 compatibility with 2010-07-03 changes to mouse selection.
15170 (mouse-sel-primary-overlay): New var.
15171 (mouse-sel-selection-alist): Use it.
15172 (mouse-sel-mode): Doc fix; remove points that are default features
15173 of mouse.el.
15174
c79598ef
JB
151752011-07-12 Johan Bockgård <bojohan@gnu.org>
15176
15177 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15178 Fix previous fix (bug#2490).
15179
ff8be6ef
RW
151802011-07-12 Roland Winkler <winkler@gnu.org>
15181
b796c9b7
SM
15182 * textmodes/bibtex.el (bibtex-initialize):
15183 Use pop-to-buffer-same-window.
ff8be6ef
RW
15184 (bibtex-search-entries): Fix interactive call.
15185
296ba3ee
LMI
151862011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15187
f5242a02 15188 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15189 Fontise bytecomp Error lines more correctly (bug#2490).
15190 Fix suggested by Johan Bockgård.
f5242a02 15191
296ba3ee
LMI
15192 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15193
15194 * dired-x.el (dired-guess-default): Use `delete-dups'.
15195
f69fd0d2
CY
151962011-07-12 Chong Yidong <cyd@stupidchicken.com>
15197
15198 * dired.el (dired-mark-prompt):
15199 * dired-aux.el (dired-read-shell-command): Doc fix.
15200
eab5dc07
LMI
152012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15202
b796c9b7
SM
15203 * mail/sendmail.el (sendmail-query-once):
15204 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15205 emacs -Q.
15206
15207 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15208
eab5dc07
LMI
15209 * cus-edit.el (custom-file): Take an optional no-error variable.
15210 (customize-save-variable): Set the variable, and give a warning if
15211 running under "emacs -q".
15212
a1e65d42
JB
152132011-07-11 Juanma Barranquero <lekktu@gmail.com>
15214
15215 * loadhist.el (unload-feature-special-hooks):
15216 Add `auto-coding-functions', `fill-nobreak-predicate' and
15217 `find-directory-functions' (bug#5327).
15218
1d52da10
LMI
152192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15220
be958f1d
LMI
15221 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15222
5bedb26c
LMI
15223 * cus-edit.el (custom-guess-name-alist): -alist variables should
15224 use the `alist' type (bug#3120). Suggested by Drew Adams.
15225
1d52da10
LMI
15226 * printing.el: Add documentation to all the `pr-toggle-' commands.
15227
cd394be1 152282011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15229
15230 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15231 backends where it makes sense (bug#2623).
15232
dcc88d8a
LMI
152332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15234
c3de9feb
LMI
15235 * dired-x.el (dired-guess-default): Remove duplicate shell command
15236 entries (bug#2028).
8a93078b 15237 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15238 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15239
dcc88d8a
LMI
15240 * subr.el (remove-duplicates): New conveniency function.
15241
505e3645
LMI
152422011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15243
15244 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15245 (bug#1526).
15246
152472011-07-10 Martin Rudalics <rudalics@gmx.at>
15248
15249 * window.el (display-buffer-normalize-default): Don't invert
15250 meaning of even-window-heights. Reported by Eli Zaretskii
15251 <eliz@gnu.org>.
15252
455e4fa1
BR
152532011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15254
15255 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15256
8e0bc3e9
CY
152572011-07-10 Chong Yidong <cyd@stupidchicken.com>
15258
15259 * window.el (display-buffer): Fix arguments to
15260 display-buffer-reuse-window in last change.
15261
fa7c3228
CY
15262 * faces.el (link): Use a less saturated blue on light backgrounds.
15263
15264 * startup.el (fancy-startup-text, fancy-about-text)
15265 (fancy-startup-tail): Use font-lock faces, for background safety.
15266
c0a7f300
BN
152672011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15268
b796c9b7
SM
15269 * emulation/viper-cmd.el (viper-change-state-to-vi):
15270 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15271
4dc2a129
MR
152722011-07-09 Martin Rudalics <rudalics@gmx.at>
15273
15274 * window.el (display-buffer-default-specifiers): Remove.
15275 (display-buffer-macro-specifiers): Remove default specifiers.
15276 (display-buffer-alist): Default to nil.
b796c9b7 15277 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15278 (display-buffer-pop-up-window): Allow splitting internal
15279 windows. Check whether a live window was created.
15280 (display-buffer-other-window-means-other-frame)
15281 (display-buffer-normalize-arguments): Rename to
15282 display-buffer-normalize-argument and rewrite. Set the
15283 other-window specifier.
15284 (display-buffer-normalize-special): New function.
15285 (display-buffer-normalize-options): Rename to
15286 display-buffer-normalize-default and rewrite.
15287 (display-buffer-normalize-options-inhibit): Remove.
15288 (display-buffer-normalize-specifiers): Rewrite.
15289 (display-buffer): Process other-window specifier and call
15290 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15291 more faithfully.
b796c9b7 15292 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15293 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15294 (display-buffer-in-window, display-buffer-alist-set):
15295 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15296 <tassilo@member.fsf.org>.
15297
2d43b8c9
LL
152982011-07-09 Leo Liu <sdl.web@gmail.com>
15299
15300 * register.el (insert-register): Restore accidental change on
15301 2011-06-26. (Bug#9028)
15302
7f9b7c53
GM
153032011-07-09 Glenn Morris <rgm@gnu.org>
15304
15305 * subr.el (remq): Handle the empty list. (Bug#9024)
15306
f042cfd8
AS
153072011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15308
15309 * mail/sendmail.el (send-mail-function): No longer delay custom
15310 initialization.
15311 * custom.el (custom-initialize-delay): Doc fix.
15312
856b2f11
SM
153132011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15314
15315 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15316
afae1d68
MA
153172011-07-08 Michael Albinus <michael.albinus@gmx.de>
15318
15319 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15320 human-friendly prompt.
15321
0757af94
SM
153222011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15323
15324 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15325 provided by a particular plugin.
15326
d760b731
LMI
153272011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15328
15329 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15330 save customizations (with "emacs -Q"), just set the variable
15331 instead of erroring out.
15332
15333 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15334
cd79ce90
JL
153352011-07-08 Juri Linkov <juri@jurta.org>
15336
15337 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15338 (archive-zip-update-case): Use 7z if found by `executable-find'.
15339 The order of searching the available programs is the same as in
15340 `archive-zip-extract' (bug#8968).
15341
14cc04aa
CY
153422011-07-07 Chong Yidong <cyd@stupidchicken.com>
15343
15344 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15345 (menu-bar-options-menu): Tweak descriptions.
15346
0a1848ec
LMI
153472011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15348
15349 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15350 menu items into verb phrases (bug#1421). Also refill to fit under
15351 80 columns.
15352
f5bd0689
CY
153532011-07-07 Chong Yidong <cyd@stupidchicken.com>
15354
538e85c6
CY
15355 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15356 (Info-read-node-name): Doc fix (Bug#1084).
15357
f5bd0689
CY
15358 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15359 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15360 (end-of-sexp, beginning-of-sexp)
15361 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15362 (forward-symbol, forward-same-syntax, word-at-point)
15363 (sentence-at-point): Doc fix (Bug#1144).
15364
56ec5115
LMI
153652011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15366
f3f8e37f
LMI
15367 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15368 should cover it (bug#1281).
15369
0757af94 15370 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15371
e9fce1ac 15372 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15373 negotiation fails, then possibly try again with a non-encrypted
15374 connection (bug#9017).
15375
56ec5115
LMI
15376 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15377 be used.
15378
c2f9aec8
RS
153792011-07-07 Richard Stallman <rms@gnu.org>
15380
15381 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15382 property, and handle its changed format.
15383 Look for the correct line number.
15384 Use file's line contents (but not past first =) to find
15385 correct line in message.
15386
ef7b981d 153872011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15388
15389 * international/characters.el (build-unicode-category-table):
15390 Delete it.
0757af94 15391 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15392
0757af94 15393 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15394 to src/chartab.c.
15395 (get-char-code-property): Call unicode-property-table-internal to
15396 load a file. Call get-unicode-property-internal where necessary.
15397 (put-char-code-property): Call unicode-property-table-internal to
15398 load a file. Call put-unicode-property-internal where necessary.
15399 put-unicode-property-internal where necessary.
0757af94
SM
15400 (char-code-property-description):
15401 Call unicode-property-table-internal to load a file.
c805dec0
KH
15402
15403 * international/charprop.el:
15404 * international/uni-bidi.el:
15405 * international/uni-category.el:
15406 * international/uni-combining.el:
15407 * international/uni-comment.el:
15408 * international/uni-decimal.el:
15409 * international/uni-decomposition.el:
15410 * international/uni-digit.el:
15411 * international/uni-lowercase.el:
15412 * international/uni-mirrored.el:
15413 * international/uni-name.el:
15414 * international/uni-numeric.el:
15415 * international/uni-old-name.el:
15416 * international/uni-titlecase.el:
15417 * international/uni-uppercase.el: Regenerate.
15418
15419 * loadup.el: Load international/charprop.el before
15420 international/characters.
15421
e14b388a
CY
154222011-07-07 Chong Yidong <cyd@stupidchicken.com>
15423
15424 * window.el (next-buffer, previous-buffer): Signal an error if
15425 called from a minibuffer window.
15426
15427 * bindings.el: Revert 2011-07-04 change.
15428
354cf0ba
RS
154292011-07-06 Richard Stallman <rms@gnu.org>
15430
15431 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15432 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15433 Treat markers like ints.
15434 (rmail-mime-entity): Doc fix.
15435
a48868a7
LMI
154362011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15437
4906cd3d
LMI
15438 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15439 defcustom again for backwards compatibility.
15440
e0457abe
LMI
15441 * simple.el (shell-command-on-region): Fill.
15442
d67f7e1f
LMI
15443 * dired-aux.el (dired-kill-line): Add a doc string.
15444
fe204702
LMI
15445 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15446 to "\\sw\\|\\s_" (bug#358).
15447
a48868a7
LMI
15448 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15449 (dired-unmark-backward): Ditto.
15450 (dired-flag-backup-files): Ditto.
15451
15452 * dired-x.el (dired-mark-sexp): Ditto.
15453
aa8a705c
RS
154542011-07-06 Richard Stallman <rms@gnu.org>
15455
15456 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15457 (rmail-mime-entity): New arg TRUNCATED.
15458 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15459 New functions.
15460 (rmail-mime-save): Warn if entity is truncated.
15461 (rmail-mime-toggle-hidden): Likewise, for showing.
15462 (rmail-mime-process-multipart): Record when an entity is truncated.
15463
a9a936b9
RS
15464 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15465 if ENTITY is a string.
15466
1f2b92cb
LMI
154672011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15468
f4f73198 15469 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15470 of faces when `M-C-x'-ing their definitions (bug#8378).
15471 Also clean up the code slightly.
f4f73198 15472
12b16734 15473 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15474 because that makes the colors go away.
12b16734 15475
f0691d22
LMI
15476 * mail/sendmail.el (send-mail-function): Change the default to
15477 `sendmail-query-once'.
9e87df06 15478 (sendmail-query-once): Add an autoload cookie.
f0691d22 15479
1f2b92cb
LMI
15480 * net/network-stream.el (network-stream-open-starttls): Try using
15481 a plain connection even if the server offered STARTTLS, and we
15482 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15483 capability. This should make smtpmail.el work in slightly more
15484 configurations.
15485
1cdd2a1b
MA
154862011-07-06 Michael Albinus <michael.albinus@gmx.de>
15487
15488 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15489 New defun.
15490 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15491
fbcc67e2
MM
154922011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15493
15494 * progmodes/sql.el: Version 3.0
0757af94 15495 (sql-product-alist): Add product :completion-object,
fbcc67e2 15496 :completion-column, and :statement attributes.
0757af94 15497 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15498 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15499 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15500 ansi keywords.
15501 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15502 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15503 (sql-oracle-show-reserved-words): New function for development.
15504 (sql-product-font-lock): Simplify for source code buffers.
15505 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15506 New functions.
15507 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15508 (sql-mode-map): Add statement movement functions.
15509 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15510 New variable.
fbcc67e2
MM
15511 (sql-statement-regexp, sql-beginning-of-statement)
15512 (sql-end-of-statement, sql-signum): New functions.
0757af94 15513 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15514 (sql-show-sqli-buffer): Bug fix.
15515 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15516 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15517 with sql-interactive-mode.
15518 (sql-save-connection): Save buffer local settings.
0757af94 15519 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15520 (sql-product-interactive): Bug fix.
15521 (sql-preoutput-hold): New variable.
15522 (sql-interactive-remove-continuation-prompt): Bug fixes.
15523 (sql-debug-redirect): New variable.
15524 (sql-str-literal): New function.
15525 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15526 Redesign.
fbcc67e2
MM
15527 (sql-oracle-save-settings, sql-oracle-restore-settings)
15528 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15529 (sql-completion-object, sql-completion-column)
15530 (sql-completion-sqlbuf): New variables.
15531 (sql-build-completions-1, sql-build-completions)
15532 (sql-try-completion): New functions.
15533 (sql-read-table-name): Use them.
15534 (sql-contains-names): New buffer local variable.
15535 (sql-list-all, sql-list-table): Use it.
15536 (sql-oracle-completion-types): New variable.
15537 (sql-oracle-completion-object, sql-sqlite-completion-object)
15538 (sql-postgres-completion-object): New functions.
15539
d4eaeab1
GM
155402011-07-06 Glenn Morris <rgm@gnu.org>
15541
15542 * window.el (pop-to-buffer): Doc fix.
15543
322b7dab 155442011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15545
15546 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15547
322b7dab 155482011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15549
322b7dab 15550 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15551
322b7dab 15552 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15553
605dd5bf
CY
155542011-07-05 Chong Yidong <cyd@stupidchicken.com>
15555
15556 * button.el (button): Inherit from link face. Suggested by Dan
15557 Nicolaescu.
15558
7dbfa719
SM
155592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15560
3db614b0
SM
15561 * progmodes/gdb-mi.el: Fit in 80 columns.
15562 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15563 switch-to-buffer.
15564
7dbfa719
SM
15565 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15566 if imenu is simply not configured (bug#8941).
15567
919d884a
KM
155682011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15569
15570 * allout.el (allout-post-undo-hook): New allout outline-change
15571 event hook to signal undo activity.
15572 (allout-post-command-business): Run allout-post-undo-hook if an
15573 undo just occurred.
7dbfa719
SM
15574 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15575 * allout-widgets.el (allout-widgets-after-undo-function):
15576 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15577 in the vicinity of an undo.
15578 (allout-widgets-mode): Include allout-widgets-after-undo-function
15579 on the new allout-post-undo-hook.
15580
450a0f09
SM
155812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15582
15583 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15584 Let define-derived-mode define it.
15585 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15586 cycles of abbrev-table inheritance (bug#8998).
15587
2de69e00
RW
155882011-07-05 Roland Winkler <winkler@gnu.org>
15589
15590 * textmodes/bibtex.el: Add support for biblatex.
15591 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15592 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15593 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15594 (bibtex-entry-alist, bibtex-field-alist): New variables.
15595 (bibtex-entry-field-alist): Obsolete alias for
15596 bibtex-BibTeX-entry-alist.
15597 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15598 (bibtex-set-dialect): New command.
15599 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15600 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15601 Bind via bibtex-set-dialect.
2de69e00
RW
15602 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15603 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15604 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15605 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15606 Define via bibtex-set-dialect.
450a0f09
SM
15607 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15608 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15609 (bibtex-vec-push, bibtex-vec-incr): New functions.
15610 (bibtex-format-entry, bibtex-field-list)
15611 (bibtex-print-help-message, bibtex-validate)
15612 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15613
2dcdbdd9
SM
156142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15615
15616 * progmodes/compile.el (compilation-goto-locus):
15617 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15618 * bs.el (bs-cycle-next, bs-cycle-previous):
15619 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15620 * bindings.el (mode-line-other-buffer):
15621 * autoinsert.el (auto-insert):
15622 * arc-mode.el (archive-extract):
15623 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15624
b27640fe
JB
156252011-07-05 Juanma Barranquero <lekktu@gmail.com>
15626
15627 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15628 Fix check of `emacs-lock-unlockable-modes'.
15629 Coerce true values of `emacs-lock--try-unlocking' to t.
15630
53bbe3ad
JB
156312011-07-05 Juanma Barranquero <lekktu@gmail.com>
15632
15633 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15634 * emacs-lock.el: New file.
15635
1d3cdbc7
JD
156362011-07-05 Julien Danjou <julien@danjou.info>
15637
15638 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15639 than `boundp' to check if face is set.
15640
9173deec
JB
156412011-07-05 Juanma Barranquero <lekktu@gmail.com>
15642
15643 * register.el (registerv-make):
15644 * window.el (window-min-height): Fix typos in docstrings.
15645
869795d6
JD
156462011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15647
9173deec 15648 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15649 Update doc string.
15650
b768cdcd
JB
156512011-07-04 Juanma Barranquero <lekktu@gmail.com>
15652
15653 * server.el (server-execute): Catch quit and call
15654 `server-return-error' to pass the error back to emacsclient and
15655 close the connection (bug#8942).
15656
13aa217b
KM
156572011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15658
15659 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15660 insecure exception for current topic. Also note that auto-saves
15661 are handled differently.
15662
5d3385a0 15663 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15664 State variables for tracking auto-save inhibition situation.
15665
15666 (allout-write-contents-hook-handler): Rename from
15667 'allout-write-file-hook-handler', and describe how it depends on
15668 write-contents-functions sensitivity to non-nil value to prevent
15669 file write.
15670
15671 (allout-auto-save-hook-handler): Remove. auto-save does not check
15672 this in individual buffers, only in the starting buffer, so this
15673 is not the right way for us to inhibit auto-save in a buffer
15674 according to its condition.
15675
15676 (allout-mode): Use new allout-write-contents-hook-handler, and
15677 only with write-contents-functions. Remove auto-save provisions -
15678 they're implemented elsewhere.
15679
15680 (allout-before-change-handler): If undo is in progress, note that
15681 for attention of allout-post-command-business.
15682
15683 (allout-post-command-business): If the command we're following was
15684 an undo, check for change in the status of encrypted items and
15685 adjust auto-save inhibitions accordingly.
15686
15687 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15688 according to whether there are or aren't any plain-text topics
15689 pending encryption.
15690
2dcdbdd9 15691 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15692 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15693 if there are plain-text topics pending encryption.
13aa217b
KM
15694
15695 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15696 buffer-saved-size and some allout state to not inhibit auto-saves
15697 if there are no longer any plain-text topics pending encryption.
15698
0757af94
SM
15699 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15700 No longer provide for exemption of the current topic.
13aa217b 15701
ac89b32c
JL
157022011-07-04 Juri Linkov <juri@jurta.org>
15703
15704 Add 7z operations to delete and save changed members (bug#8968).
15705 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15706 New defcustoms.
15707 (archive-7z-write-file-member): New function.
15708 (archive-7z-summarize): Fix the number of dashes in the
15709 listing output.
15710
8fa39615
SM
157112011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15712
15713 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15714 (bug#8958).
15715
2f11b3f1
CY
157162011-07-04 Chong Yidong <cyd@stupidchicken.com>
15717
d66fef2b
CY
15718 * bindings.el: Ignore next-buffer and previous-buffer in
15719 minibuffer-local-map.
15720
2f11b3f1
CY
15721 * font-lock.el (font-lock-builtin-face): Change light background
15722 color to dark slate blue (Bug#6693).
15723
f932a347
WD
157242011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15725
15726 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15727
c8af70e1
SM
157282011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15729
15730 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15731 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15732 Add switch-to-buffer.
15733
f158badc
LMI
157342011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15735
15736 * isearch.el (isearch-search-fun-function): Clarify further the
15737 meaning of the function returned.
15738
6d95bd46
MA
157392011-07-04 Michael Albinus <michael.albinus@gmx.de>
15740
15741 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15742
15743 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15744 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15745 Use it.
15746 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15747 `tramp-default-remote-path' does not exist.
15748 (tramp-send-command-and-read): New optional argument NOERROR.
15749 (tramp-open-connection-setup-interactive-shell)
15750 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15751 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15752 (tramp-process-sentinel): Flush also process' connection property.
15753 (tramp-sh-handle-start-file-process): Do not set process
15754 sentinel. It is done now ...
15755 (tramp-maybe-open-connection): ... here. (Bug#8929)
15756
909e6b67
MK
157572011-07-04 MON KEY <monkey@sandpframing.com>
15758
15759 * play/animate.el (animate-string): Doc fixes and allow changing
15760 the buffer name (bug#5417).
15761
157622011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15763
c8af70e1 15764 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15765
f34755dc
PE
157662011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15767
396cec72
PE
15768 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15769 This is simpler and helps future-proof the code.
15770 (timer-until): Use time-subtract and float-time.
08235028 15771 (timer--time-less-p): Use time-less-p.
f34755dc 15772
56e6cc31
JB
157732011-07-04 Juanma Barranquero <lekktu@gmail.com>
15774
3abb79e5
JB
15775 * type-break.el (timep): Use the value of `float-time' to avoid a
15776 byte-compiler warning.
15777
56e6cc31
JB
15778 * server.el (server-eval-and-print): Return any result, even nil.
15779
7b9430b4
PE
157802011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15781
15782 * type-break.el: Accept time formats that the builtins accept.
15783 (timep, type-break-time-difference): Accept any format that
15784 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15785 This is simpler and helps future-proof the code.
15786 (type-break-time-difference): Round rather than ignoring
15787 subseconds components.
15788
3034e9e7
LMI
157892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15790
15791 * info.el (Info-apropos-matches): Make non-interactive, since it
15792 doesn't seem to do anything useful as a command (bug#8829).
15793
1485f4c0
CY
157942011-07-03 Chong Yidong <cyd@stupidchicken.com>
15795
15796 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15797 Move from faces.el.
1485f4c0
CY
15798 (frame-default-terminal-background): New function.
15799
15800 * custom.el (custom-push-theme): Don't record faces in `changed'
15801 theme; this doesn't work correctly for per-frame face settings.
15802 (disable-theme): Use face-set-after-frame-default to reset faces.
15803 (custom--frame-color-default): New function.
15804
9fa3dd45
LMI
158052011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15806
c8af70e1 15807 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15808 (bug#8769).
15809
6cbbc20c
KR
158102011-03-29 Kevin Ryde <user42@zip.com.au>
15811
15812 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15813 `perl-Test2' extend to match possible "fail #N" rep count
15814 (bug#8377).
15815
c7f98048
LMI
158162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15817
65676592
LMI
15818 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15819 `smtpmail-via-smtp' now returns the error instead of nil.
15820
c7f98048
LMI
15821 * isearch.el (isearch-search-fun-function): Clarify the doc string
15822 (bug#8101).
15823
56e6cc31 158242011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15825
15826 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15827 unnecessary spaces (bug#8987).
15828
2b216704
LMI
158292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15830
15831 * net/network-stream.el (open-network-stream): Use the
15832 :end-of-capability command thoughout.
15833
158342011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15835
15836 * net/network-stream.el (open-network-stream): Add the
15837 :end-of-capability command parameter, used by pop3.el.
15838
36adf6ce
LMI
158392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15840
1ca0da0e
LMI
15841 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15842
fc00f69c
LMI
15843 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15844 for list)" (bug#6475).
15845
28fd8759 15846 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15847 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15848 an error (bug#6297).
15849
0dd8b6da
LMI
15850 * man.el (Man-reference-regexp): Allow matching possible
15851 word-wrapped references (bug#6289).
15852
ce1438d6
LMI
15853 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15854 for consistency with the other vc buffers (bug#6197).
15855 (vc-checkin): Ditto.
15856
15857 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15858
36adf6ce
LMI
15859 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15860
e83cc1f7
LMI
158612011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15862
8a20ca4c
LMI
15863 * custom.el (defcustom): Clarify that :set is only used in the
15864 Customize user interface (bug#6089).
15865
83319045
LMI
15866 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15867 associated with a file, refuse to run instead of erroring out
15868 (bug#6084).
15869
a8392169
LMI
15870 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15871 the doc string, since it appears that using `fill-column' always
15872 controls the width (bug#7845).
15873
e83cc1f7
LMI
15874 * simple.el (shell-command-on-region): Say where the error output
15875 went if `shell-command-default-error-buffer' is set (bug#6857).
15876
e47ca23b
KM
158772011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15878
15879 * allout.el (allout-yank-processing): Adjust cursor position for
15880 backwards-deleted space.
15881
15882 (allout-rebullet-heading): Register changes with
15883 allout-exposure-changed-hook, so the modified topic is properly
15884 decorated.
15885
5cf56143
LMI
158862011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15887
08549772
LMI
15888 * minibuffer.el (completion-in-region): Document PREDICATE
15889 (bug#7136).
15890
48e96771
LMI
15891 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15892 of keyword/argument pairs (bug#6904).
15893
c8af70e1
SM
15894 * replace.el (multi-occur):
15895 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15896
e17d05e2
LMI
158972011-07-02 Drew Adams <drew.adams@oracle.com>
15898
15899 * dired.el (dired-mark-if): Make the message about whether it's
15900 marking or unmarking clearer (bug#8523).
15901
063b0e45
LMI
159022011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15903
15904 * disp-table.el (display-table-print-array): New function.
15905 (describe-display-table): Use it to print the vectors more pretty
15906 (Bug#8859).
15907
28545e04
MR
159082011-07-02 Martin Rudalics <rudalics@gmx.at>
15909
15910 * window.el (window-state-get-1): Don't assign clone numbers.
15911 Add clone-of item to list of window parameters.
15912 (window-state-put-2): Don't process clone numbers.
15913 (display-buffer-alist): Fix doc-string.
15914
3349e122
SM
159152011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15916
15917 * subr.el (remq): Don't allocate if it's not needed.
15918 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15919 (keymap--merge-bindings): New functions.
15920 (keymap-canonicalize): Use them to refine the canonicalization.
15921 * minibuffer.el (minibuffer-local-completion-map)
15922 (minibuffer-local-must-match-map): Move initialization from C.
15923 (minibuffer-local-filename-completion-map): Move initialization from C;
15924 don't inherit from anything here.
15925 (minibuffer-local-filename-must-match-map): Make obsolete.
15926 (completing-read-default): Use make-composed-keymap to combine
15927 minibuffer-local-filename-completion-map with either
15928 minibuffer-local-must-match-map or
15929 minibuffer-local-filename-completion-map.
15930
d224ac83
GM
159312011-07-01 Glenn Morris <rgm@gnu.org>
15932
3de63bf8
GM
15933 * type-break.el (type-break-time-sum): Use dolist.
15934
d224ac83
GM
15935 * textmodes/flyspell.el (flyspell-word-search-backward):
15936 Replace CL function.
15937
1a1e3f32
SM
159382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15939
fe3f64d5
SM
15940 * mouse.el (mouse--strip-first-event): New function.
15941 (function-key-map): Use it to map fringe clicks to normal clicks
15942 by default.
15943
eb604e34
SM
15944 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15945 (vc-bzr-revision-completion-table): Add support for annotate and date.
15946
1a1e3f32
SM
15947 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15948 inherit from parent.
15949
5bd35902
LMI
159502011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15951
ace6c69c 15952 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15953 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15954
191e2bed
LMI
15955 * dired.el (dired-mode): Fix up the doc string as suggested by
15956 Drew Adams (bug#8817).
15957
5bd35902
LMI
15958 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15959 cookie, since the manual says that it should be possible to add
15960 this function to `find-file-hook' (bug#8709).
15961
eee8207a
TZ
159622011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15963
15964 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15965 here. Noted Ted Zlatanov as the maintainer.
15966 (cfengine-common-settings, cfengine-common-syntax): New functions
15967 to set up common things between `cfengine-mode' and
15968 `cfengine3-mode'.
15969 (cfengine3-mode): New mode.
15970 (cfengine3-defuns cfengine3-defuns-regex
15971 (cfengine3-class-selector-regex cfengine3-category-regex)
15972 (cfengine3-vartypes cfengine3-font-lock-keywords)
15973 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15974 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15975
36b148cf
MA
159762011-07-01 Michael Albinus <michael.albinus@gmx.de>
15977
15978 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15979
15980 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15981
0bf4ba9a
MR
159822011-07-01 Martin Rudalics <rudalics@gmx.at>
15983
15984 * window.el (same-window-buffer-names, same-window-regexps)
15985 (same-window-p, special-display-frame-alist)
15986 (special-display-popup-frame, special-display-function)
15987 (special-display-buffer-names, special-display-regexps)
15988 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15989 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15990 (split-window-preferred-function, split-height-threshold)
15991 (split-width-threshold, even-window-heights)
15992 (display-buffer-mark-dedicated, window-splittable-p)
15993 (split-window-sensibly, window-safely-shrinkable-p):
15994 Un-obsolete.
15995 (display-buffer): Don't spread args with function specifier
15996 because special-display-popup-frame won't like it.
15997
35837f51
PE
159982011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15999
d0672f86
PE
16000 Time-stamp simplifications and fixes.
16001 These improve accuracy slightly, and future-proof the code
16002 against some potential changes to current-time format.
16003
b9444d97
PE
16004 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16005 by using time-since and float-time.
16006
0ef923dc
PE
16007 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16008 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16009 + NNN microseconds".
16010
2f81380d
PE
16011 * type-break.el (type-break-time-sum): Rewrite using time-add.
16012
845b5c3e
PE
16013 * play/hanoi.el (hanoi-current-time-float): Remove.
16014 All uses replaced by float-time.
16015
ee6f1be0
PE
16016 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16017 This yields a more-accurate answer.
16018 (rng-time-to-float): Remove; no longer needed.
16019
fe955043
PE
16020 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16021
5777162a
PE
16022 * calendar/timeclock.el (timeclock-seconds-to-time):
16023 Defalias to seconds-to-time, since they're the same thing.
16024
3103f8b6 16025 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16026 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16027 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16028
0e61a35f
SM
160292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16030
16031 * window.el (bury-buffer): Don't iconify the only frame.
16032 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16033 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16034
ddd63a1e
CY
160352011-07-01 Chong Yidong <cyd@stupidchicken.com>
16036
0e61a35f
SM
16037 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16038 Add mouse-yank-primary.
ddd63a1e 16039
055f4923
TZ
160402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16041
16042 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16043
6a2fb145
SM
160442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16045
16046 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16047 (find-library-name): Use it to find relative load names when provided
16048 absolute file name (bug#8803).
16049
fd4983f2
LMI
160502011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16051
887d14ad
LMI
16052 * textmodes/flyspell.el (flyspell-word): Consider words that
16053 differ only in case as potential doublons (bug#5687).
16054
c53dc7fc
LMI
16055 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16056 Remove two rather uninteresting debugging-like messages to make
16057 debbugs.el more silent.
16058
fd4983f2
LMI
16059 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16060 a password-like phrase.
16061
7a71b18d 160622011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16063
16064 * progmodes/cc-guess.el: New file.
16065
6a2fb145 16066 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16067
16068 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16069 derived from `c-basic-common-init'.
16070
16071 * progmodes/cc-mode.el (top-level): Require cc-guess.
16072 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16073
1fa280a3
LM
160742011-06-30 Lawrence Mitchell <wence@gmx.li>
16075
16076 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16077
e6597158
AM
160782011-06-30 Alan Mackenzie <acm@muc.de>
16079
1fa280a3
LM
16080 * progmodes/cc-engine.el (c-guess-continued-construct):
16081 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16082 lock is disabled. Name this case as "CASE G".
16083
68ba37fb
KM
160842011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16085
16086 * allout.el (allout-yank-processing): Fix injection of extra space
16087 between bullet and non-whitespace character in first topic when
16088 pasting, ensuring that the actual spacing in the pasted topic
16089 following the bullet char is preserved. This extra space was
16090 causing pasted encrypted topics to get a decrypted status even
16091 when the content was actually still encrypted. Now the decryption
16092 status from before the paste is preserved.
16093
16094 (allout-flag-region): Set all allout overlays so they evaporate
16095 when reduced to zero length (evanescent), to prevent overlay
16096 leakage.
16097
887a0b34
GM
160982011-06-30 Glenn Morris <rgm@gnu.org>
16099
94b9acce
GM
16100 * w32-fns.el (w32-charset-info-alist): Declare.
16101
1d9b46d4
GM
16102 * find-dired.el (find-grep-options): Simplify.
16103
cc232200
GM
16104 * term/ns-win.el (ns-set-resource): Declare.
16105
28e77c46
GM
16106 * ses.el (row, col): Declare dynamic variables honestly.
16107
887a0b34
GM
16108 * textmodes/reftex-parse.el (index-tags): Declare.
16109
658d8eb8
CY
161102011-06-30 Chong Yidong <cyd@stupidchicken.com>
16111
16112 * cus-edit.el (customize-push-and-save): New function.
16113
16114 * files.el (hack-local-variables-confirm): Use it.
16115
1fa280a3
LM
16116 * custom.el (load-theme): New arg NO-CONFIRM.
16117 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16118 (custom-enabled-themes): Doc fix.
16119
16120 * cus-theme.el (customize-create-theme)
16121 (custom-theme-merge-theme): Callers to load-theme changed.
16122
bb617717
LMI
161232011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16124
d61bdd5d
LMI
16125 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16126 short URLs have at least one dot in them (bug #7614).
16127
bb617717
LMI
16128 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16129 nil, because using a pty is apparently too slow (bug #895).
16130
2f31f37a
LMI
161312011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16132
16133 * mail/sendmail.el (sendmail-query-once): New function.
16134 (sendmail-query-once-function): New variable.
16135
3076b24e
GM
161362011-06-29 Glenn Morris <rgm@gnu.org>
16137
faf2a174
GM
16138 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16139
3076b24e
GM
16140 * ses.el (top-level): Require cl when compiling.
16141 (ses-set-localvars): Fix error statement.
16142 Call it at compile time to silence a storm of warnings.
16143
5386012d
MR
161442011-06-29 Martin Rudalics <rudalics@gmx.at>
16145
16146 * window.el (normalize-live-buffer): Rename to
16147 window-normalize-buffer.
16148 (normalize-live-frame): Rename to window-normalize-frame.
16149 (normalize-any-window): Rename to window-normalize-any-window.
16150 (normalize-live-window): Rename to window-normalize-live-window.
16151 (make-window-atom): Rename to window-make-atom.
16152 (window-resize-reset): Rename to window--resize-reset.
16153 (window-resize-reset-1): Rename to window--resize-reset-1.
16154 (resize-mini-window): Rename to window--resize-mini-window.
16155 (resize-subwindows-skip-p): Rename to
16156 window--resize-subwindows-skip-p.
16157 (resize-subwindows-normal): Rename to
16158 window--resize-subwindows-normal.
16159 (resize-subwindows): Rename to window--resize-subwindows.
16160 (resize-other-windows): Rename to window--resize-siblings.
16161 (resize-this-window): Rename to window--resize-this-window.
16162 (resize-root-window): Rename to window--resize-root-window.
16163 (resize-root-window-vertically): Rename to
16164 window--resize-root-window-vertically.
16165 (normalize-buffer-to-display): Rename to
16166 window-normalize-buffer-to-display.
16167 (normalize-buffer-to-switch-to): Rename to
16168 window-normalize-buffer-to-switch-to.
16169 Correspondingly update all callers of the functions listed
16170 above.
16171 (display-buffer-alist, display-buffer-normalize-arguments)
16172 (display-buffer-normalize-options, display-buffer)
16173 (display-buffer-alist-set): Use "function" instead of
16174 "fun-with-args".
16175
1176868d
CY
161762011-06-28 Chong Yidong <cyd@stupidchicken.com>
16177
16178 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16179 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16180 debbugs.gnu.org. Mention acknowledgment email.
16181
20a7a65f
LMI
161822011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16183
16184 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16185 buffer multibyteness, since it shouldn't matter.
16186
5f45cca5
MR
161872011-06-28 Martin Rudalics <rudalics@gmx.at>
16188
16189 * window.el (display-buffer-in-side-window): Handle dedicated
16190 windows as in display-buffer-reuse-window.
16191 (display-buffer-normalize-alist): Use value of override
16192 specifier.
16193 (display-buffer-normalize-specifiers): Use value of
16194 other-window-means-other-frame specifier.
16195 (display-buffer-alist): Rewrite some texts in widgets.
16196 (display-buffer): Spread arguments when calling function
16197 specified by fun-with-args.
16198
ad85fe1f
DD
161992011-06-28 Deniz Dogan <deniz@dogan.se>
16200
1fa280a3
LM
16201 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16202 Unnest `let'.
da68c4c8 16203
ad85fe1f
DD
16204 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16205 selectors (Bug#5732).
ec49bd31 16206 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16207
a08cc025
JA
162082011-06-27 Jari Aalto <jari.aalto@cante.net>
16209
16210 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16211 (eshell-ls-date-format): New defcustom.
16212 (eshell-ls-file): Use it.
16213
e2b551c5
SM
162142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16215
16216 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16217
8982b231
KY
162182011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16219
16220 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16221 (ange-ftp-make-tmp-name): New arg.
16222 (ange-ftp-file-local-copy): Use it.
16223
36c9fa27
J
162242011-06-27 Jambunathan K <kjambunathan@gmail.com>
16225
16226 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16227 no-conversion (Bug#8870).
16228
d68443dc
MR
162292011-06-27 Martin Rudalics <rudalics@gmx.at>
16230
16231 * window.el (window-right, window-left, window-child)
16232 (window-child-count, window-last-child)
16233 (window-iso-combination-p, walk-window-tree-1)
16234 (window-atom-check-1, window-tree-1, delete-window)
16235 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16236 new naming conventions - window-vchild, window-hchild,
16237 window-next and window-prev are now called window-top-child,
16238 window-left-child, window-next-sibling and window-prev-sibling
16239 respectively.
d615d6d2
MR
16240 (resize-window-reset): Rename to window-resize-reset.
16241 (resize-window-reset-1): Rename to window-resize-reset-1.
16242 (resize-window): Rename to window-resize.
16243 (window-min-height, window-min-width)
16244 (resize-mini-window, resize-this-window, resize-root-window)
16245 (resize-root-window-vertically, adjust-window-trailing-edge)
16246 (enlarge-window, shrink-window, maximize-window)
16247 (minimize-window, delete-window, quit-restore-window)
16248 (split-window, balance-windows, balance-windows-area-adjust)
16249 (balance-windows-area, window-state-put-2)
16250 (display-buffer-even-window-sizes, display-buffer-set-height)
16251 (display-buffer-set-width, set-window-text-height)
16252 (fit-window-to-buffer): Rename all "resize-window" prefixed
16253 calls to use the "window-resize" prefix convention.
16254 (display-buffer-alist): Fix symbol for label specifier.
16255 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16256 corresponding specifier.
16257 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16258
b6458526
VB
162592011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16260
16261 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16262 convention.
16263 (ses-call-printer): Does not pass an empty string to formatter when the
16264 cell is empty to keep from barking printer Calc math-format-value.
16265
d31fd9ac
RS
162662011-06-27 Richard Stallman <rms@gnu.org>
16267
43d5bf84
RS
16268 * battery.el (battery-mode-line-limit): New variable.
16269 (battery-update): Handle it.
16270
d31fd9ac
RS
16271 * mail/rmailmm.el (rmail-mime-process-multipart):
16272 Handle truncated messages.
16273
819a6054
GM
162742011-06-27 Glenn Morris <rgm@gnu.org>
16275
16276 * progmodes/flymake.el (flymake-err-line-patterns):
16277 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16278
cedc73f2
VB
162792011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16280
819a6054 16281 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16282 (ses--clean-!, ses--clean-_): New functions.
16283 (ses-range): Add configurability of readout order, and conversion
16284 to Calc vector.
16285
5e5d49b6
VB
16286 * ses.el (ses-repair-cell-reference-all): New function.
16287 (ses-cell-symbol): Set macro as safe, so that it can be used in
16288 formulas.
16289
56e6cc31 16290 * ses.el: Update cycle detection algorithm.
90ca8b49 16291 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16292 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16293 (ses-set-localvars): New function.
16294 (ses-make-cell): Add property-list as a cell element.
16295 (ses-cell-property-get-fun, ses-cell-property-get)
16296 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16297 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16298 New functions.
90ca8b49
VB
16299 (ses-cell-property-set, ses-cell-property-pop)
16300 (ses-cell-property-get-handle): New macro.
16301 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16302 New aliases, used for code readability.
16303 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16304 cycle detection.
16305 (ses-self-reference-early-detection): New defcustom.
fac916bf 16306 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16307 (ses-mode): Use ses-set-localvars.
16308 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16309 before lauching the update processing.
16310 (ses-initialize-Dijkstra-attempt): New function.
16311 (ses-recalculate-cell): Update for cycle detection based on
16312 Dijkstra algorithm.
16313
2bb63e81
VB
16314 * ses.el: Fix commenting and indenting convention.
16315
c9d29fb8
SM
163162011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16317
16318 * bs.el (bs-cycle-next): Complete last change.
16319
d8e4b68b
JB
163202011-06-27 Drew Adams <drew.adams@oracle.com>
16321
16322 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16323
40098786
LMI
163242011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16325
c9d29fb8
SM
16326 * net/network-stream.el (network-stream-open-starttls):
16327 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16328 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16329
40098786
LMI
16330 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16331 to binary to possibly avoid line encoding issues on Windows (among
16332 other things).
16333
468d09d4
LMI
163342011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16335
16336 * net/network-stream.el (open-network-stream): Return an :error
16337 saying what the problem was, if possible.
16338
16339 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16340 server.
16341
16342 * net/network-stream.el (network-stream-open-starttls): If we
16343 wanted to use STARTTLS, and the server offered it, but we weren't
16344 able to because we had no STARTTLS support, then close the connection.
16345 (open-network-stream): Return an :error element, if present.
16346
16f07dd7
CY
163472011-06-26 Chong Yidong <cyd@stupidchicken.com>
16348
88821ca0
CY
16349 * hl-line.el (hl-line-sticky-flag): Doc fix.
16350 (global-hl-line-sticky-flag): New option (Bug#8323).
16351 (global-hl-line-highlight): Obey it.
16352
16f07dd7
CY
16353 * vc/vc.el (vc-revert-show-diff): Default to t.
16354
6b5ccddf
KM
163552011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16356
c9d29fb8
SM
16357 * allout-widgets.el (allout-widgets-post-command-business):
16358 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16359 undecorated when an isearch is continued past, and isearch
16360 automatically collapses them. This leads to "widget leaks", where
16361 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16362 hidden widgets can slow down cursor travel, substantially.
16363 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16364 so we're doing without this nicety.
16365
16366 (allout-widgets-tally-string): Don't try to do a hash-table-count
16367 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16368 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16369 *Messages* when allout-widgets-maintain-tally is t.
16370
355f2e07
MR
163712011-06-26 Martin Rudalics <rudalics@gmx.at>
16372
16373 * window.el (display-buffer-normalize-argument): Rename to
16374 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16375 LABEL argument. Respect special-display-function when popping up
16376 a new frame. Fix code searching for a window showing the buffer
16377 on another frame.
c9d29fb8
SM
16378 (display-buffer-normalize-specifiers):
16379 Call display-buffer-normalize-arguments.
355f2e07
MR
16380 (display-buffer-in-window): Don't undedicate the window if its
16381 buffer remains the same.
16382 Reported by Drew Adams <drew.adams@oracle.com>.
16383 (display-buffer-alist): Add choice for same-window macro
16384 specfier.
16385 (display-buffer): Mention special meaning of LABEL argument in
16386 doc-string. Fix quoting. Don't pop up a new frame even as
16387 fallback.
16388
7ca8fc42
JB
163892011-06-26 Juanma Barranquero <lekktu@gmail.com>
16390
16391 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16392 avoid deleting the current window in some cases (bug#8911).
16393
bc312254
AS
163942011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16395
16396 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16397 (Bug#8934)
16398
2db18f3f
LMI
163992011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16400
c9d29fb8
SM
16401 * net/network-stream.el (network-stream-open-starttls):
16402 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16403 (network-stream-open-tls): Ditto.
16404
6302e0d3
LL
164052011-06-26 Leo Liu <sdl.web@gmail.com>
16406
16407 * register.el (registerv): New struct.
16408 (registerv-make): New function.
c9d29fb8
SM
16409 (jump-to-register, describe-register-1, insert-register):
16410 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16411 struct. (Bug#8415)
16412
5fdd4046
CY
164132011-06-26 Chong Yidong <cyd@stupidchicken.com>
16414
2afef60a
CY
16415 * vc/vc.el (vc-revert-show-diff): New defcustom.
16416 (vc-diff-internal): New arg specifying diff buffer.
16417 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16418 reuse an existing *vc-diff* buffer (Bug#8927).
16419
5fdd4046
CY
16420 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16421
e93db24a
GM
164222011-06-26 Glenn Morris <rgm@gnu.org>
16423
16424 * progmodes/f90.el (f90-critical-indent): New option.
16425 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16426 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16427 (f90-mode): Doc fix.
16428 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16429 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16430 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16431 (f90-match-end): Handle block, critical.
16432
eefff499
GM
164332011-06-25 Glenn Morris <rgm@gnu.org>
16434
f6ba4cc9
GM
16435 * calendar/diary-lib.el (diary-included-files): Doc fix.
16436 (diary-include-files): New function, extracted from
16437 diary-include-other-diary-files and diary-mark-included-diary-files.
16438 (diary-include-other-diary-files, diary-mark-included-diary-files):
16439 Just call diary-include-files.
16440 (diary-mark-entries): Reset diary-included-files on first call.
16441
16712304
GM
16442 * calendar/diary-lib.el (diary-mark-entries)
16443 (diary-mark-included-diary-files):
16444 Visit included diary-files in temp buffers.
16445
5d8e0d43
GM
16446 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16447 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16448 (f90-start-block-re, f90-imenu-generic-expression)
16449 (f90-looking-at-program-block-start, f90-no-block-limit):
16450 Add support for submodules.
16451
ccf7a5d5
GM
16452 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16453 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16454
11fdef7d 164552011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16456
16457 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16458 buffer-file-type before setting its value, to avoid disastrous
eefff499 16459 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16460
74f53697
JB
164612011-06-25 Juanma Barranquero <lekktu@gmail.com>
16462
16463 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16464
16465 * ses.el (ses-unload-function):
16466 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16467
16468 * proced.el (proced-unload-function):
16469 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16470
18a4ce5e
AR
164712011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16472
16473 * server.el (server-create-window-system-frame): Add parameters arg.
16474 (server-process-filter): Doc fix. Handle frame-parameters.
16475
519d22cc
JB
164762011-06-25 Juanma Barranquero <lekktu@gmail.com>
16477
16478 Fix bug#8730, bug#8781.
16479
16480 * loadhist.el (unload--set-major-mode): New function.
16481 (unload-feature): Use it.
16482
16483 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16484 (python-unload-function): New function.
16485
c206f5b0
SM
164862011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16487
16488 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16489
f9ad64f3
GS
164902011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16491
16492 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16493 the candidates list.
16494
7d0da90e
JB
164952011-06-24 Juanma Barranquero <lekktu@gmail.com>
16496
16497 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16498
14b4e83d
RS
164992011-06-23 Richard Stallman <rms@gnu.org>
16500
16501 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16502 (rmail-variables): Set next-error-move-function.
16503 (rmail-what-message): Take argument POS.
16504 (rmail-next-error-move): New function.
16505
273d2baf
SM
165062011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16507
16508 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16509 messages for adjacent non-terminals.
16510
56c2cc9a
RS
165112011-06-23 Richard Stallman <rms@gnu.org>
16512
16513 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16514 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16515 (rmail-start-mail): Don't specify use of rmail-mail-return;
16516 that's done by mail-bury now.
16517 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16518
d59eb518
MA
165192011-06-23 Michael Albinus <michael.albinus@gmx.de>
16520
16521 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16522 SIZE is a number.
16523
02cfc6d6
MR
165242011-06-23 Martin Rudalics <rudalics@gmx.at>
16525
16526 * window.el (get-lru-window, get-mru-window)
16527 (get-largest-window): Never return a minibuffer window.
16528 (display-buffer-pop-up-window): Fix a bug that could lead to
16529 reusing the minibuffer window.
16530 (display-buffer): Pass original specifier argument to
16531 display-buffer-function instead of the normalized one.
16532 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16533
4e323265
LL
165342011-06-22 Leo Liu <sdl.web@gmail.com>
16535
16536 * minibuffer.el (completing-read-function)
1f9f395d 16537 (completing-read-default): Move from minibuf.c.
4e323265 16538
7a70468f
RS
165392011-06-22 Richard Stallman <rms@gnu.org>
16540
50718fc2
RS
16541 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16542 to Rmail even if not started by a special Rmail command.
16543
7a70468f
RS
16544 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16545 Copy the buffer currently showing just one message.
16546
297dde5a
RW
165472011-06-22 Roland Winkler <winkler@gnu.org>
16548
16549 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16550 (bibtex-clean-entry): First delete the old key so that a
16551 customized algorithm for generating the new key does not get
16552 confused by the old key.
16553 (bibtex-url): Obey regexp of first step.
16554 (bibtex-search-entries): Do not use add-to-list with local
16555 list-var.
16556
97bb1093
LMI
165572011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16558
16559 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16560 stored a user name, then query for the password first, instead of
16561 waiting for SMTP to give an error message and the trying again.
16562
1c0f1a19
JD
165632011-06-22 Lawrence Mitchell <wence@gmx.li>
16564
16565 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16566 BUFFER in call-process.
16567
396f7c9d
LMI
165682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16569
16570 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16571 QUIT twice.
ddb7ffee
LMI
16572 (smtpmail-try-auth-methods): Require user name and password from
16573 auth-source.
396f7c9d 16574
8998d1b3
MR
165752011-06-22 Martin Rudalics <rudalics@gmx.at>
16576
16577 * window.el (display-buffer-default-specifiers)
16578 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16579 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16580 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16581
16582 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16583 (special-display-frame-alist, special-display-popup-frame):
16584 Remove duplicate declarations. These are now in window.el.
16585
4ea31e07
LMI
165862011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16587
c9d29fb8
SM
16588 * mail/smtpmail.el (smtpmail-via-smtp):
16589 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16590 server supports it. SMTP servers that support STARTTLS commonly
16591 require it.
16592
16593 * net/network-stream.el (network-stream-open-starttls): Support
16594 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16595 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16596
95f41d9a
LMI
16597 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16598 upgrades with `open-network-stream', and rely solely on
16599 auth-source for all credentials. Big changes throughout the file,
16600 but in particular:
c9d29fb8
SM
16601 (smtpmail-auth-credentials): Remove.
16602 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16603 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16604 MAIL FROM, too.
95f41d9a 16605
c9d29fb8
SM
16606 * net/network-stream.el (network-stream-open-starttls):
16607 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16608 STARTTLS.
16609 (auth-source): Require.
16610 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16611 (network-stream-certificate): Change cert-cert to cert and
16612 cert-key to key.
4ea31e07 16613
065ec2c7
MA
166142011-06-21 Michael Albinus <michael.albinus@gmx.de>
16615
16616 * net/tramp-cache.el (top): Don't load the persistency file when
16617 "emacs -Q" has been called.
16618
cd93b359
DR
166192011-06-21 Tim Harper <timcharper@gmail.com>
16620
d8e4b68b
JB
16621 * term/ns-win.el (ns-initialize-window-system):
16622 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16623 resource to NO as it is not yet supported by the NS port.
16624
ae9c0411
JB
166252011-06-21 Juanma Barranquero <lekktu@gmail.com>
16626
16627 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16628 (list-dynamic-libraries): ...not here.
16629
7f3f739f
LL
166302011-06-21 Leo Liu <sdl.web@gmail.com>
16631
16632 * subr.el (sha1): Implement sha1 using secure-hash.
16633
327c8fb1
MR
166342011-06-21 Martin Rudalics <rudalics@gmx.at>
16635
16636 * window.el (display-buffer-alist): In default value do not
16637 enforce searching a window on any but the selected frame.
16638 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16639 (display-buffer-select-window): Remove function.
16640 (display-buffer-in-window): When a window on another frame gets
16641 reused, do not select it any more but just raise its frame if
16642 necessary (Bug#8851) and (Bug#8856).
16643 (display-buffer-normalize-options): Handle pop-up-frames related
16644 options more faithfully.
16645 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16646 window if it is on another frame.
c9d29fb8
SM
16647 (display-buffer-alist, display-buffer-default-specifiers):
16648 Don't make new frame unsplittable by default.
9e9de014
MR
16649 (display-buffer-normalize-argument): Fix doc-string typo and use
16650 'same-frame-other-window instead of 'other-window when associating
16651 with display-buffer-macro-specifiers.
327c8fb1 16652
7cf3f556
VB
166532011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16654
16655 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16656 New functions.
16657 (5x5-mode-map, 5x5-mode-menu): Bind them.
16658 (5x5-draw-grid): Tweak the solver's rendering.
16659
60a406cf
SM
166602011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16661
16662 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16663 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16664
d8e4b68b 166652011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16666
16667 * menu-bar.el: Use function variable instead of switch-to-buffer.
16668 (menu-bar-select-buffer-function): New variable.
60a406cf 16669 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16670
478d6f95
SM
166712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16672
16673 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16674 variable's status.
16675
ca530739
JD
166762011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16677
16678 * x-dnd.el (x-dnd-version-from-flags)
16679 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16680 and long as number (Bug#8899).
16681 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16682
bcd70d97
SM
166832011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16684
60a406cf 16685 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16686 (completion-try-completion, completion-all-completions): Compute the
16687 metadata argument if it's missing; make it optional (bug#8795).
16688
60a406cf 16689 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16690 (widget-complete): Use new :completion-function property.
16691 (widget-completions-at-point): New function.
16692 (default): Use :completion-function instead of :complete.
60a406cf
SM
16693 (widget-default-completions): Rename from widget-default-complete;
16694 Rewrite.
bcd70d97
SM
16695 (widget-string-complete, widget-file-complete, widget-color-complete):
16696 Remove functions.
16697 (file, symbol, function, variable, coding-system, color):
16698 * international/mule-cmds.el (default-input-method, charset)
16699 (language-info-custom-alist):
16700 * cus-edit.el (face): Use new property :completions.
16701
16702 * progmodes/pascal.el (pascal-completions-at-point): New function.
16703 (pascal-mode): Use it.
16704 (pascal-mode-map): Use completion-at-point.
16705 (pascal-toggle-completions): Make obsolete.
16706 (pascal-complete-word, pascal-show-completions):
16707 * progmodes/octave-mod.el (octave-complete-symbol):
16708 Redefine as obsolete alias.
16709 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16710 Signal absence of completion info for old Octave,
16711 (inferior-octave-complete): Redefine as obsolete alias.
16712 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16713 (meta-completions-at-point): Rename from meta-complete-symbol and
16714 adapt it for use on completion-at-point-functions.
16715 (meta-common-mode): Use it.
16716 (meta-looking-at-backward, meta-match-buffer): Remove.
16717 (meta-complete-symbol): Redefine as obsolete alias.
16718 (meta-common-mode-map): Use completion-at-point.
16719 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16720 (makefile-mode-map): Use completion-at-point.
16721 (makefile-completions-at-point): Rename from makefile-complete and
16722 adapt it for use on completion-at-point-functions.
16723 (makefile-mode): Use it.
16724 (makefile-complete): Redefine as obsolete alias.
16725
aebf69c8
DD
167262011-06-20 Deniz Dogan <deniz@dogan.se>
16727
16728 * net/rcirc.el: Delete trailing whitespaces once and for all.
16729
bfbbb27d
DC
167302011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16731
16732 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16733
d264a46b
CY
167342011-06-19 Chong Yidong <cyd@stupidchicken.com>
16735
4ca009e5
CY
16736 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16737
d264a46b
CY
16738 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16739
fbf5b3ce
MR
167402011-06-19 Martin Rudalics <rudalics@gmx.at>
16741
16742 * window.el (display-buffer-other-window-means-other-frame):
16743 Call display-buffer-normalize-alist.
16744 (display-buffer-normalize-specifiers-1): Rename to
16745 display-buffer-normalize-argument. New argument other-frame.
16746 Rewrite.
16747 (display-buffer-normalize-specifiers-2): Rename to
16748 display-buffer-normalize-options.
16749 (display-buffer-normalize-alist-1): New function.
16750 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16751 display-buffer-normalize-alist.
16752 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16753 (display-buffer-normalize-options-inhibit): New variable.
16754 (display-buffer-normalize-specifiers): Rewrite calling
16755 display-buffer-normalize-alist,
16756 display-buffer-normalize-argument, and
16757 display-buffer-normalize-options. Don't call the latter if
16758 display-buffer-normalize-options-inhibit is non-nil.
16759 (frame-auto-delete): New option.
16760 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16761 (window-list-no-nils, window-state-ignored-parameters)
16762 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16763 (window-state-put-1, window-state-put-2, window-state-put):
16764 New functions.
9a028c23
MR
16765 (display-buffer-normalize-options): Move special-display-p group
16766 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16767
6d10d800
CY
167682011-06-18 Chong Yidong <cyd@stupidchicken.com>
16769
6420d28b
CY
16770 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16771 groups (Bug#8776).
16772 (rx-submatch-n): New function.
16773 (rx): Document it.
16774
ddb8b596
CY
16775 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16776 (Bug#8768).
16777
16778 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16779
77080289
CY
16780 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16781
61dfb316
CY
16782 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16783 anytime existing face settings are present (Bug#8889).
16784
6d10d800
CY
16785 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16786 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16787 Remove unused argument.
16788
be3fb2b8
MR
167892011-06-18 Martin Rudalics <rudalics@gmx.at>
16790
bcd70d97
SM
16791 * window.el (display-buffer-default-specifiers):
16792 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16793 pop-up-window-min-width, and another reuse-window specifier
16794 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16795 (display-buffer-normalize-specifiers-2):
16796 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16797 pop-up-windows is unset. Add a reuse-window specifier for the
16798 case popping up a new window fails.
16799 (special-display-popup-frame): Remove double quoting.
28dec25a 16800 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16801
1c6d8c76
SM
168022011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16803
16804 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16805 according to comint-completion-addsuffix.
16806
16807 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16808 (pcomplete-suffix-list): Mark as obsolete.
16809 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16810 pcomplete-seen in the closure.
16811 (pcomplete-comint-setup): Setup completion-at-point as well.
16812 (pcomplete--entries): New function.
16813 (pcomplete--env-regexp): New var.
16814 (pcomplete-entries): Rewrite to work with partial-completion and
16815 without relying on pcomplete-suffix-list.
16816 (pcomplete-pare-list): Remove, unused.
16817
25aef8b8
MR
168182011-06-17 Martin Rudalics <rudalics@gmx.at>
16819
16820 * window.el (display-buffer-alist): Set pop-up-window-min-height
16821 and pop-up-window-min-width in default value. Reported by
16822 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16823 other-window-means-other-frame.
16824 (display-buffer-macro-specifiers): Comment out entry for
16825 other-window specifier.
16826 (display-buffer-other-window-means-other-frame): New function.
16827 (display-buffer-normalize-specifiers-1): New arguments
16828 buffer-name and label. Treat other-window case specially.
16829 (display-buffer-normalize-specifiers-2): Treat other-window case
16830 specially.
16831 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16832 (display-buffer-normalize-specifiers):
16833 Call display-buffer-normalize-specifiers-3.
25aef8b8 16834
dbad4f69
MR
168352011-06-17 Martin Rudalics <rudalics@gmx.at>
16836
16837 * window.el (same-window-p): Fix two typos introduced when
16838 adding with-no-warnings.
d1067961
MR
16839 (display-buffer-normalize-specifiers-1): Don't check
16840 pop-up-frames for 'unset initialization.
16841 (display-buffer-normalize-specifiers-2): Major rewrite using
16842 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16843 (pop-up-frames, display-buffer-reuse-frames)
16844 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16845 Suggested by David Engster <deng@randomsample.de>.
16846 (even-window-heights): Initialize to 'unset.
16847 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16848 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16849 other window case.
dbad4f69 16850
9b9c9e3a
MR
168512011-06-16 Martin Rudalics <rudalics@gmx.at>
16852
bcd70d97
SM
16853 * window.el (display-buffer-normalize-specifiers-1):
16854 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16855 second argument of display-buffer (Bug#8865).
981d5c09
MR
16856 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16857 (switch-to-buffer-other-window-same-frame)
16858 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16859 Adams (Bug#8875).
9c2755e9
MR
16860 (display-buffer): Don't check noninteractive when calling
16861 display-buffer-pop-up-frame.
16862 (display-buffer-pop-up-frame): Never pop up a frame in
16863 noninteractive mode (Bug#8857).
67222e1d
MR
16864 (enlarge-window, shrink-window): Don't report an error when the
16865 window can't be resized as requested (Bug#8862).
9b9c9e3a 16866
2b75be67
SM
168672011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16868
9ffdd3ba
SM
16869 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16870
cb581a67
SM
16871 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16872
2b75be67
SM
16873 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16874
8c0e3589
AM
168752011-06-15 Alan Mackenzie <acm@muc.de>
16876
cb581a67
SM
16877 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16878 for declarators, disable knr checking to speed up for normal files.
16879 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16880
b96e6cde
LMI
168812011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16882
4bba86e6
LMI
16883 * net/network-stream.el (open-network-stream): Add the keyword
16884 :always-query-capabilities for the case where you want to force a
16885 `plain' network connection, but the protocol still requires the
16886 capabilitiy command (i.e., SMTP and EHLO).
16887
2b75be67 16888 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16889 consistency with other `-live-p' functions.
16890
efdcdbf8
SM
168912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16892
16893 * window.el (same-window-buffer-names, same-window-regexps)
16894 (special-display-frame-alist, special-display-popup-frame)
16895 (special-display-function, special-display-buffer-names)
16896 (special-display-regexps, pop-up-frame-alist)
16897 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16898 (pop-up-windows, split-window-preferred-function)
16899 (split-height-threshold, split-width-threshold, even-window-heights)
16900 (display-buffer-mark-dedicated): Don't encourage the use of
16901 display-buffer-alist from Elisp code.
16902
c5cde042
DN
169032011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16904
16905 * progmodes/python.el (python-mode): Derive from prog-mode.
16906 * progmodes/ps-mode.el (ps-mode):
16907 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16908 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16909 * progmodes/ld-script.el (ld-script-mode): Likewise.
16910
baa1c9ab
MR
169112011-06-15 Martin Rudalics <rudalics@gmx.at>
16912
16913 * window.el (display-buffer-alist): Trim default value to avoid
16914 popping up a new frame (Bug#8857) or reusing an arbitrary window
16915 on another frame.
16916 (display-buffer): Do not fall back on popping up a new frame in
16917 batch mode (Bug#8857).
16918
c5dd5a51
CY
169192011-06-14 Chong Yidong <cyd@stupidchicken.com>
16920
16921 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16922 (custom-theme-summary): New function.
16923 (customize-themes): Use it.
16924
d647b7c4
GM
169252011-06-13 Glenn Morris <rgm@gnu.org>
16926
16927 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16928
9481c002
MR
169292011-06-13 Martin Rudalics <rudalics@gmx.at>
16930
357f93d2
MR
16931 * help.el (help-window): Remove variable.
16932 (help-window-point-marker, temp-buffer-max-height)
16933 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16934 (help-print-return-message): Don't set help-window.
16935 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16936 (help-window-setup-finish): Remove.
16937 (help-window-display-message, help-window-setup)
16938 (with-help-window): Major rewrite based on new
16939 display-buffer-window variable.
16940
16941 * help-mode.el (help-mode-finish): Remove help-window related
16942 code.
16943
16944 * view.el (view-exits-all-viewing-windows): Remove reference to
16945 view-return-to-alist in doc-string.
16946 (view-return-to-alist): Make obsolete.
16947 (view-buffer): Call pop-to-buffer-same-window and remove
16948 undo-window code.
16949 (view-buffer-other-window): Call pop-to-buffer-other-window and
16950 simplify code. Ignore second argument.
16951 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16952 simplify code. Ignore second argument.
16953 (view-return-to-alist-update): Make obsolete.
16954 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16955 Rewrite using quit-restore window parameters.
2b75be67
SM
16956 (view-mode-exit): Rename second argument to EXIT-ONLY.
16957 Rewrite using quit-restore-window.
357f93d2
MR
16958 (View-exit, View-exit-and-edit, View-leave, View-quit)
16959 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16960 appropriate arguments.
16961 (view-end-message): Use quit-restore window parameter.
16962
9481c002
MR
16963 * window.el (display-buffer-function): Rewrite doc-string.
16964 (display-buffer-window, display-buffer-alist): New variables.
16965 (display-buffer-split-specifiers)
16966 (display-buffer-side-specifiers)
16967 (display-buffer-macro-specifiers): New constants.
16968 (display-buffer-even-window-sizes, display-buffer-set-height)
16969 (display-buffer-set-width, display-buffer-select-window)
16970 (display-buffer-in-window, display-buffer-reuse-window)
16971 (display-buffer-split-window-1, display-buffer-split-window)
16972 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16973 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16974 (display-buffer-in-side-window, normalize-buffer-to-display)
16975 (display-buffer-normalize-specifiers-1)
16976 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16977 (display-buffer-normalize-specifiers, display-buffer-frame):
16978 New functions.
9481c002
MR
16979 (display-buffer): Major rewrite.
16980 (display-buffer-other-window, display-buffer-other-frame)
16981 (pop-to-buffer, switch-to-buffer-other-window)
16982 (switch-to-buffer-other-frame): Rewrite.
16983 (display-buffer-same-window, display-buffer-same-frame)
16984 (display-buffer-same-frame-other-window)
16985 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16986 (pop-to-buffer-other-window)
16987 (pop-to-buffer-same-frame-other-window)
16988 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16989 (switch-to-buffer-other-window-same-frame): New functions.
16990 (same-window-p, special-display-p): Rewrite disabling warnings.
16991 Make obsolete.
16992 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16993 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16994 Make obsolete
16995 (same-window-buffer-names, same-window-regexps)
16996 (special-display-frame-alist, special-display-popup-frame)
16997 (special-display-function, special-display-buffer-names)
16998 (special-display-regexps, pop-up-frame-alist)
16999 (pop-up-frame-function, split-window-preferred-function)
17000 (split-height-threshold, split-width-threshold)
17001 (even-window-heights): Make obsolete.
17002
9db51aca
GM
170032011-06-12 Glenn Morris <rgm@gnu.org>
17004
17005 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17006 Misc simplifications.
9db51aca 17007
39cffb44
MR
170082011-06-12 Martin Rudalics <rudalics@gmx.at>
17009
17010 * window.el (window-safely-shrinkable-p): Restore function which
17011 was inadvertently removed in change from 2011-06-11. Declare as
17012 obsolete.
17013
2b75be67
SM
17014 * calendar/calendar.el (calendar-generate-window):
17015 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17016 window-safely-shrinkable-p.
17017
a8955be7
GM
170182011-06-12 Glenn Morris <rgm@gnu.org>
17019
17020 * progmodes/fortran.el (fortran-mode-syntax-table):
17021 * progmodes/f90.el (f90-mode-syntax-table):
17022 Set % to punctuation. (Bug#8820)
17023 (f90-find-tag-default): Remove, no longer needed.
17024
f0d4059d
DC
170252011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17026
17027 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17028
1100a63c
CY
170292011-06-11 Chong Yidong <cyd@stupidchicken.com>
17030
17031 * image.el (image-animated-p): Return animation delay in seconds.
17032 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17033 (image-animate-timeout): Remove DELAY argument. Don't assume
17034 every subimage has the same delay; get it from image-animated-p.
17035 (image-animate): Caller changed.
17036
def722bf
MA
170372011-06-11 Michael Albinus <michael.albinus@gmx.de>
17038
17039 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17040 to ignored backtrace functions.
17041
0a2bb1a9
GM
170422011-06-11 Glenn Morris <rgm@gnu.org>
17043
17044 * calendar/appt.el (appt-disp-window-function): Doc fix.
17045 (appt-check): Handle overlapping appointments. (Bug#8337)
17046
6198ccd0
MR
170472011-06-11 Martin Rudalics <rudalics@gmx.at>
17048
17049 * window.el (window-tree-1, window-tree): New functions, moving
17050 the latter to window.el.
17051 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17052 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17053 (bw-refresh-edges): Remove.
17054 (balance-windows-1, balance-windows-2): New functions.
17055 (balance-windows): Rewrite in terms of window tree functions,
17056 balance-windows-1 and balance-windows-2.
17057 (bw-adjust-window): Remove.
17058 (balance-windows-area-adjust): New function with functionality of
17059 bw-adjust-window but using resize-window.
2b75be67
SM
17060 (set-window-text-height): Rewrite doc-string.
17061 Use normalize-live-window and resize-window.
17062 (enlarge-window-horizontally, shrink-window-horizontally):
17063 Rename argument to DELTA.
6198ccd0
MR
17064 (window-buffer-height): New function.
17065 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17066 Rewrite using new window resize routines.
2b75be67
SM
17067 (kill-buffer-and-window, mouse-autoselect-window-select):
17068 Use ignore-errors instead of condition-case.
6198ccd0
MR
17069 (quit-window): Call delete-frame instead of delete-windows-on
17070 for the only buffer on frame.
17071
9397e56f
MR
170722011-06-10 Martin Rudalics <rudalics@gmx.at>
17073
17074 * loadup.el (top-level): Load window before files for the sake
17075 of replace-buffer-in-windows.
17076
17077 * files.el (read-buffer-to-switch)
17078 (switch-to-buffer-other-window)
2b75be67
SM
17079 (switch-to-buffer-other-frame, display-buffer-other-frame):
17080 Move to window.el.
9397e56f
MR
17081
17082 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17083 (previous-buffer): Move to window.el.
17084
17085 * bindings.el (unbury-buffer): Move to window.el.
17086
17087 * window.el (delete-other-windows-vertically): Move after
17088 definition of delete-other-windows.
17089 (other-window, delete-windows-on, replace-buffer-in-windows):
17090 Move here from window.c.
17091 (record-window-buffer, unrecord-window-buffer)
17092 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17093 (switch-to-next-buffer): New functions.
17094 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17095 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17096 (previous-buffer): Move here from simple.el.
17097 Call switch-to-prev-buffer.
9397e56f
MR
17098 (bury-buffer): Move here from buffer.c. Switch to previous
17099 buffer when window cannot be deleted.
17100 (unbury-buffer): Move here from bindings.el.
17101 (ctl-x-map): Move binding for other-window from window.c to
17102 here.
17103 (read-buffer-to-switch, switch-to-buffer-other-window)
17104 (switch-to-buffer-other-frame): Move here from files.el.
17105 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17106 (switch-to-buffer): Move here from buffer.c.
17107 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17108
562dd5e9
MR
171092011-06-10 Martin Rudalics <rudalics@gmx.at>
17110
17111 * window.el (window-min-height, window-min-width): Move here
17112 from window.c. Add defcustoms and rewrite doc-strings.
17113 (resize-mini-window, resize-window): New functions.
17114 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17115 Move here from window.c.
17116 (maximize-window, minimize-window): New functions.
17117 (delete-window, delete-other-windows, split-window): Move here
17118 from window.c.
17119 (window-split-min-size): New function.
17120 (split-window-keep-point): Mention split-window-above-each-other
17121 instead of split-window-vertically.
2b75be67 17122 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17123 Rename split-window-vertically to split-window-above-each-other
17124 and provide defalias for old definition.
17125 (split-window-side-by-side, split-window-horizontally):
17126 Rename split-window-horizontally to split-window-side-by-side
17127 and provide defalias for the old definition.
562dd5e9
MR
17128 (ctl-x-map): Move bindings for delete-window,
17129 delete-other-windows and enlarge-window here from window.c.
17130 Replace bindings for split-window-vertically and
17131 split-window-horizontally by bindings for
17132 split-window-above-each-other and split-window-side-by-side.
17133
17134 * cus-start.el (all): Remove entries for window-min-height and
17135 window-min-width. Add entries for window-splits and
17136 window-nest.
17137
f0da764a
GM
171382011-06-09 Glenn Morris <rgm@gnu.org>
17139
80675c21
GM
17140 * calendar/appt.el (appt-mode-line): New function.
17141 (appt-check, appt-disp-window): Use it.
17142
f0da764a
GM
17143 * files.el (hack-one-local-variable-eval-safep):
17144 Allow minor-modes with explicit +/-1 arguments.
17145
59f623b7
TZ
171462011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17147
17148 * term/xterm.el (xterm): Add defgroup.
17149 (xterm-extra-capabilities): Add defcustom to supply known xterm
17150 capabilities, skip querying them, or query them (default).
17151 (terminal-init-xterm): Use it.
17152 (terminal-init-xterm-modify-other-keys): New function to set up
17153 modifyOtherKeys support to simplify `terminal-init-xterm'.
17154
9aab8e0d
MR
171552011-06-09 Martin Rudalics <rudalics@gmx.at>
17156
17157 * window.el (resize-window-reset, resize-window-reset-1)
17158 (resize-subwindows-skip-p, resize-subwindows-normal)
17159 (resize-subwindows, resize-other-windows, resize-this-window)
17160 (resize-root-window, resize-root-window-vertically)
17161 (window-deletable-p, window-or-subwindow-p)
17162 (frame-root-window-p): New functions.
17163
e8b08aee
GM
171642011-06-09 Glenn Morris <rgm@gnu.org>
17165
17166 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17167 (ange-ftp-get-files): Use it.
17168
254c37a5
AK
171692011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17170
17171 * mail/sendmail.el (mail-recover-1, mail-recover):
17172 * files.el (recover-file, recover-session):
17173 Handle dired-listing-switches not being just a single short option.
17174
35d7dbd3
GM
171752011-06-09 Glenn Morris <rgm@gnu.org>
17176
17177 * calendar/appt.el (appt-display-message, appt-disp-window):
17178 Handle lists of appointments.
17179
387522b2
MR
171802011-06-08 Martin Rudalics <rudalics@gmx.at>
17181
2b75be67
SM
17182 * window.el (one-window-p): Move down in code.
17183 Rewrite doc-string.
17184 (window-current-scroll-bars): Rewrite doc-string.
17185 Normalize live window argument.
387522b2
MR
17186 (walk-windows, get-window-with-predicate, count-windows):
17187 Rewrite doc-string. Use window-list-1.
17188 (window-in-direction-2, window-in-direction, get-mru-window):
17189 New functions.
17190
d8e4b68b 171912011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17192
17193 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17194 Doc fix (Bug#8713).
17195
171962011-06-08 Chong Yidong <cyd@stupidchicken.com>
17197
17198 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17199
172002011-06-08 Juanma Barranquero <lekktu@gmail.com>
17201
17202 * loadhist.el (unload-feature-special-hooks):
17203 Add `comint-output-filter-functions'.
17204
0de12c52
IK
172052011-06-08 Ivan Kanis <gnu@kanis.fr>
17206
17207 * calendar/appt.el (appt-check): Move some initializations into the let.
17208
f3d1777e
MR
172092011-06-08 Martin Rudalics <rudalics@gmx.at>
17210
17211 * window.el (window-height): Defalias to window-total-height.
17212 (window-width): Defalias to window-body-width.
17213
18af70d0
CY
172142011-06-07 Chong Yidong <cyd@stupidchicken.com>
17215
17216 * image-mode.el (image-toggle-animation): New command.
17217 (image-mode-map): Bind it to RET.
17218 (image-mode): Update message.
17219 (image-toggle-display-image): Avoid a spurious cache flush.
17220 (image-transform-rotation): Doc fix.
17221 (image-transform-properties): Return quickly in the normal case.
17222 (image-animate-loop): Rename from image-animate-max-time.
17223
2b75be67 17224 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17225 (create-animated-image): Remove unnecessary function.
17226 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17227 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17228 (image-animate-timer): Use car-safe.
17229 (image-animate-timeout): Rename argument.
17230
190b47e6
MR
172312011-06-07 Martin Rudalics <rudalics@gmx.at>
17232
17233 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17234 window.c. Rename first argument to ALL-FRAMES.
17235 Rephrase doc-strings.
17236 (get-buffer-window-list): Rewrite using window-list-1.
17237 Rephrase doc-string.
a1511caf
MR
17238 (window-safe-min-height, window-safe-min-width): New constants.
17239 (window-size-ignore, window-min-size, window-min-size-1)
17240 (window-sizable, window-sizable-p, window-size-fixed-1)
17241 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17242 (window-max-delta-1, window-max-delta, window-resizable)
17243 (window-resizable-p, window-total-height, window-total-width)
17244 (window-body-width): New functions.
17245 (window-full-height-p, window-full-width-p): Rewrite using
17246 window-total-size.
17247 (window-body-height): Rewrite using window-body-size.
190b47e6 17248
85cc1f11
MR
172492011-06-06 Martin Rudalics <rudalics@gmx.at>
17250
17251 * window.el (window-right, window-left, window-child)
17252 (window-child-count, window-last-child, window-any-p)
17253 (normalize-live-buffer, normalize-live-frame)
17254 (normalize-any-window, normalize-live-window)
17255 (window-iso-combination-p, window-iso-combined-p)
17256 (window-iso-combinations)
17257 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17258 (windows-with-parameter, window-with-parameter)
17259 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17260 (window-atom-check, window-side-check, window-check):
17261 New functions.
85cc1f11
MR
17262 (ignore-window-parameters, window-sides, window-sides-vertical)
17263 (window-sides-slots): New variables.
17264 (window-size-fixed): Move down in code. Minor doc-string fix.
17265
e7156492
AS
172662011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17267
17268 * comint.el (comint-dynamic-complete-as-filename)
17269 (comint-dynamic-complete-filename): Correctly call
17270 completion-in-region.
17271
7e821d0d
DD
172722011-06-05 Deniz Dogan <deniz@dogan.se>
17273
17274 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17275 in last change.
17276
ac09b8a1
DD
172772011-06-05 Deniz Dogan <deniz@dogan.se>
17278
17279 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17280 (rcirc): Use it to prompt for encryption.
17281
34699b85
RW
172822011-06-05 Roland Winkler <winkler@gnu.org>
17283
17284 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17285 (bibtex-search-entries): New command bound to C-c C-a.
17286 (bibtex-display-entries): New function.
17287
004dedd3
RW
172882011-06-05 Roland Winkler <winkler@gnu.org>
17289
17290 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17291 (bibtex-insert-kill): After yanking insert newline if necessary.
17292 (bibtex-initialize): Call bibtex-string-files-init only once.
17293 (bibtex-mode): Do not call easy-menu-add.
17294 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17295 (bibtex-yank): Set arg properly if nil.
17296
022fe7ce
RW
172972011-06-05 Roland Winkler <winkler@gnu.org>
17298
2b75be67
SM
17299 * textmodes/bibtex.el (bibtex-search-entry-globally):
17300 New variable.
022fe7ce
RW
17301 (bibtex-search-entry): Use it.
17302
b7c3692a
RW
173032011-06-05 Roland Winkler <winkler@gnu.org>
17304
17305 * textmodes/bibtex.el (bibtex-entry-format): New option
17306 sort-fields.
17307 (bibtex-format-entry, bibtex-reformat): Honor this option.
17308 (bibtex-parse-entry): Return fields in proper order.
17309
8eda563d
JB
173102011-06-05 Juanma Barranquero <lekktu@gmail.com>
17311
17312 * doc-view.el (doc-view-remove-if): Move computation of result out
17313 of `dolist' to silence misleading lexical-binding warning.
17314
7dbe3dbc
CY
173152011-06-04 Chong Yidong <cyd@stupidchicken.com>
17316
17317 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17318 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17319
0c33dd17
MA
173202011-06-04 Michael Albinus <michael.albinus@gmx.de>
17321
17322 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17323 "SunOS 5.10".
17324
f8f91c2b
MA
173252011-06-04 Michael Albinus <michael.albinus@gmx.de>
17326
17327 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17328 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17329 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17330 (tramp-parse-putty):
17331 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17332 (tramp-completion-function-alist-ssh)
17333 (tramp-completion-function-alist-telnet)
17334 (tramp-completion-function-alist-su)
17335 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17336 cookie.
17337
17338 * net/tramp-ftp.el:
17339 * net/tramp-sh.el:
17340 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17341 load "tramp.el" `tramp-set-completion-function'.
17342
e17d9003
SM
173432011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17344
17345 * shell.el: Require and use pcomplete.
17346 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17347 (shell-completion-vars): Set pcomplete-default-completion-function.
17348
6c4cab03
DD
173492011-06-04 Deniz Dogan <deniz@dogan.se>
17350
17351 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17352 `memq' (Bug#8799).
17353
ea9fafe0
SM
173542011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17355
17356 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17357
b3e945d3
JB
173582011-06-02 Juanma Barranquero <lekktu@gmail.com>
17359
17360 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17361 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17362 * vc/log-view.el (log-view-beginning-of-defun):
17363 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17364 (smerge-refine-forward, smerge-refine-chopup-region):
17365 Silence warning for unused `dotimes' counter variables.
17366
7d520089
SM
173672011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17368
17369 * net/tramp.el (tramp-with-progress-reporter): Rename from
17370 with-progress-reporter. Use `declare'.
17371 * net/tramp-smb.el:
17372 * net/tramp-sh.el:
17373 * net/tramp-gvfs.el: Update all uses.
17374
a1c2400f
JB
173752011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17376
17377 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17378 buffer isn't killed before making it current.
17379
2403c841
SM
173802011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17381
17382 Silence various byte-compiler warnings.
17383 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17384 `access-type' and new obsolescence format.
17385 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17386 new format.
17387 (byte-compile-check-variable): New `access-type' argument.
17388 Only warn if the access-type is obsolete.
17389 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17390 (byte-compile-variable-set): Adjust callers.
17391 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17392 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17393 setting it as obsolete.
17394 * simple.el (minibuffer-completing-symbol):
17395 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17396 access as obsolete.
17397 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17398 obsolete yet.
17399 * international/quail.el (quail-mouse-choose-completion): Remove unused
17400 code referring to obsolete var.
17401 (quail-choose-completion-string): Remove.
17402 * server.el (server-clients-with, server-kill-buffer-query-function)
17403 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17404 * proced.el (proced-send-signal):
17405 * emacs-lisp/lisp.el (lisp-complete-symbol):
17406 Replace completion-annotate-function with completion-extra-properties.
17407
2462470b
SM
174082011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17409
fb5b2591
SM
17410 * simple.el (goto-line): Use read-number.
17411 (overriding-map-is-bound): Remove.
17412 (saved-overriding-map): Change default.
17413 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17414 Take the map as argument.
17415 (universal-argument, negative-argument, digit-argument): Use it.
17416 (restore-overriding-map): Adjust.
17417 (do-auto-fill): Use fill-forward-paragraph.
17418 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17419
fd6fa53f
SM
17420 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17421 (minibuffer-inactive-mode): New major mode.
17422 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17423 the *Messages* buffer" hack.
17424 (mouse-popup-menubar): Don't burp if the event is a normal key.
17425
2462470b
SM
17426 Miscellaneous tweaks.
17427 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17428 lexical scoping as in subr.el's dolist and dotimes.
17429 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17430 Silence compiler warning.
17431 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17432 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17433 * international/ccl.el (ccl-compile): Trivial simplification.
17434 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17435 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17436 `printflag' argument.
17437 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17438 Purecopy the whole obsolescence data.
17439
108bf785
LL
174402011-06-01 Leo Liu <sdl.web@gmail.com>
17441
17442 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17443 improve doc-string as suggested by Marco Pessotto
17444 <melmothx@gmail.com>.
17445 (rcirc-print): Fix last change.
17446
30a23501
SM
174472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17448
17449 * minibuffer.el (complete-with-action): Return nil for the metadata and
17450 boundaries of non-functional tables.
17451 (completion-table-dynamic): Return nil for the metadata.
17452 (completion-table-with-terminator): Add default case, using
17453 complete-with-action.
17454 (completion--metadata): New function.
17455 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17456 to try and avoid pathological performance problems.
17457 (completion--embedded-envvar-table): Return `category' metadata.
17458
bcd54f83
LMI
174592011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17460
17461 * subr.el (process-alive-p): New tiny convenience function.
17462
e227544d
SM
174632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17464
17465 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17466 content but also its previous major mode.
17467
e8296fdc
HE
174682011-05-31 Helmut Eller <eller.helmut@gmail.com>
17469
4d61f28d 17470 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17471 *Backtrace* buffer when we exit with C-M-c.
17472
620c53a6
SM
174732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17474
17475 * minibuffer.el: Add metadata method to completion tables.
17476 (completion-category-overrides): New defcustom.
17477 (completion-metadata, completion--field-metadata)
17478 (completion-metadata-get, completion--styles)
17479 (completion--cycle-threshold): New functions.
17480 (completion-try-completion, completion-all-completions):
17481 Add `metadata' argument to choose completion-styles.
17482 (completion--do-completion): Use metadata to choose cycling.
17483 (completion-all-sorted-completions): Use metadata for sorting.
17484 Remove :completion-cycle-penalty which is not needed any more.
17485 (completion--try-word-completion): Add `metadata' argument.
17486 (minibuffer-completion-help): Check metadata for annotation function
17487 and sorting.
17488 (completion-file-name-table): Return `category' metadata.
17489 (minibuffer-completing-file-name): Make obsolete.
17490 * simple.el (minibuffer-completing-symbol): Make obsolete.
17491 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17492 completion-try-completion.
17493
1257e755
SM
174942011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17495
17496 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17497
3767e706
LL
174982011-05-30 Leo Liu <sdl.web@gmail.com>
17499
17500 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17501 (rcirc-print): Decode all incoming messages (bug#8744).
17502 (rcirc-decode-coding-system): Allow value nil for automatic coding
17503 system detection.
3767e706 17504
d1a5d56a
GM
175052011-06-01 Glenn Morris <rgm@gnu.org>
17506
17507 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17508
e8cbec34
CY
175092011-05-29 Chong Yidong <cyd@stupidchicken.com>
17510
17511 * image.el (image-animate-max-time): Allow nil and t values.
17512 Default to nil.
17513 (create-animated-image): Doc fix.
17514 (image-animate-start): Remove second arg; just use
17515 image-animate-max-time.
17516 (image-animate-timeout): Doc fix. Args changed.
17517
17518 * image-mode.el (image-toggle-display-image): Ensure that the
17519 image spec passed to the animate timer is the same object as in
58179cce 17520 the buffer's display property (Bug#6981).
e8cbec34
CY
17521 (image-transform-properties): Doc fix.
17522
17523 * image.el (image-animate-max-time): Default to nil.
17524
159daf87
MR
175252011-05-29 Martin Rudalics <rudalics@gmx.at>
17526
17527 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17528 entire buffer list (Bug#8184).
17529
d66c4c7c
CY
175302011-05-29 Chong Yidong <cyd@stupidchicken.com>
17531
17532 * image.el (imagemagick-types-inhibit)
17533 (imagemagick-register-types): Doc fix.
17534
80aec780
DD
175352011-05-29 Deniz Dogan <deniz@dogan.se>
17536
17537 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17538 default.
17539
1dd3c2d9
CY
175402011-05-29 Chong Yidong <cyd@stupidchicken.com>
17541
17542 * select.el: Don't perform clipboard-manager saving in hooks;
17543 leave the hooks empty.
17544
60e56523
LL
175452011-05-28 Leo Liu <sdl.web@gmail.com>
17546
17547 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17548 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17549 (occur-edit-mode): New major mode (Bug#8463).
17550 (occur-after-change-function): New function.
17551 (occur-engine): Give Occur tags a read-only property.
17552
2b1e1a22
KR
175532011-05-28 Kevin Ryde <user42@zip.com.au>
17554
17555 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17556
5d344e88
CY
175572011-05-28 Chong Yidong <cyd@stupidchicken.com>
17558
8e6ca83d
CY
17559 * bindings.el (help-echo): Make the initial non-indicator dash
17560 empty on graphical terminals (Bug#7295).
17561
5d344e88
CY
17562 * files.el (auto-mode-alist): Move config rule after the
17563 in-stripping one (Bug#8547).
17564
bfbbace7
CY
17565 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17566
fbeba6e2
CY
17567 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17568 setting (Bug#8740).
17569
60ed8c72
AA
175702011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17571
4ac619f0
AA
17572 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17573 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17574 (Bug#8539).
60ed8c72 17575
23db196e
CY
175762011-05-28 Chong Yidong <cyd@stupidchicken.com>
17577
17578 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17579
5012f24c
DK
175802011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17581
17582 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17583 (hs-hide-block-at-point, hs-find-block-beginning)
17584 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17585 (Bug#8279).
17586
6a639b16
GM
175872011-05-28 Glenn Morris <rgm@gnu.org>
17588
17589 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17590
d43eaf2c
CY
175912011-05-28 Chong Yidong <cyd@stupidchicken.com>
17592
5199bde1
CY
17593 * help-fns.el (describe-function-1): If the function is a derived
17594 major mode, print the parent mode.
17595
d43eaf2c
CY
17596 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17597 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17598
423428a8
SM
175992011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17600
0ff8e1ba 17601 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17602 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17603 * progmodes/etags.el (tags-completion-at-point-function):
17604 * info-look.el (info-lookup-completions-at-point): Mark as
17605 non-exclusive.
17606 (info-complete): Adjust accordingly.
17607
423428a8
SM
17608 * info-look.el: Convert to lexical-binding and completion-at-point.
17609 (info-lookup-completions-at-point): New function.
17610 (info-complete): Use it and completion-in-region.
17611
b74aa22b
DA
176122011-05-28 Drew Adams <drew.adams@oracle.com>
17613
17614 * isearch.el: Let M-e start with point at the first mismatched char.
17615 (isearch-fail-pos): New function.
17616 (isearch-edit-string): Use it.
17617
66e2e71d
DK
176182011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17619
17620 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17621
b1890b0f 176222011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17623
17624 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17625 traversal functions for avl-trees.
17626 (avl-tree--stack): New struct.
17627 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17628 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17629 (avl-tree--do-enter): Add optional `updatefun' arg.
17630 Change return value.
eb95d01d 17631 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17632 (avl-tree--do-delete): Add `test' and `nilflag' args.
17633 Change return value.
eb95d01d
TC
17634 (avl-tree-member): Add optional `nilflag'
17635 (avl-tree-member-p): New function.
17636 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17637 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17638 (avl-tree-stack-empty-p): New functions.
17639
3769ddcf
TC
17640 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17641 avl-tree--del-balance1 and make it work both ways.
17642 (avl-tree--del-balance2): Remove.
17643 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17644 make it work both ways.
17645 (avl-tree--enter-balance2): Remove.
17646 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17647 New macros.
17648 (avl-tree--mapc, avl-tree-map): Add direction argument.
17649
eb95d01d 176502011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17651
17652 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17653
a9f737ee
CY
176542011-05-27 Chong Yidong <cyd@stupidchicken.com>
17655
17656 * select.el: Support clipboard managers with built-in function
17657 x-clipboard-manager-save, via delete-frame-functions and
17658 kill-emacs-hook.
17659 (xselect-convert-to-targets): Add MULTIPLE target to list.
17660 (xselect-convert-to-save-targets): New function.
17661
c92a1e54
KH
176622011-05-27 Kenichi Handa <handa@m17n.org>
17663
17664 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17665 let-binding rfc2047-encode-encoded-words to nil.
17666
e145f188
GM
176672011-05-27 Glenn Morris <rgm@gnu.org>
17668
5ec8a862
GM
17669 * mail/emacsbug.el: Don't require url-util.
17670
4b29d9fb
GM
17671 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17672
e145f188
GM
17673 * files.el (set-auto-mode):
17674 Also respect mode: entries at the end of the file. (Bug#8586)
17675
7d15102b
GM
176762011-05-26 Glenn Morris <rgm@gnu.org>
17677
98f593b8
GM
17678 * files.el (hack-local-variables-prop-line, hack-local-variables):
17679 Downcase mode names, as seems to be traditional.
27b48e63 17680 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17681
7d15102b
GM
17682 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17683 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17684
51d5b4ec
JD
176852011-05-25 Julien Danjou <julien@danjou.info>
17686
17687 * textmodes/rst.el (rst-define-level-faces): Do not define face
17688 symbol if it is already defined.
17689
91513f63
VB
176902011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17691
17692 * play/5x5.el (5x5-new-game, 5x5-randomize):
17693 Reset 5x5-solver-output to nil when a new grid is cast.
17694 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17695 these debugging traces, as defmacro breaks the compiled code.
17696
4d90d6d0
DK
176972011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17698
17699 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17700
e1b90ef6
LL
177012011-05-24 Leo Liu <sdl.web@gmail.com>
17702
17703 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17704 (vc-bzr-sha1): Adapt.
17705
d8e4b68b 17706 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17707
17708 * bindings.el: Provide sha1 feature.
17709
db0406bb 177102011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17711
17712 * mail/sendmail.el: Require `rfc2047'.
17713 (mail-insert-from-field): Do not perform RFC2047 encoding.
17714 (mail-encode-header): New function.
17715 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17716 buffer to the return value of select-message-coding-system.
17717 Call mail-encode-header.
b8d747b9
KH
17718
17719 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17720
db0406bb 177212011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17722
4d90d6d0
DK
17723 * mail/supercite.el (sc-default-cite-frame):
17724 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17725
eb8a5e9b
GM
177262011-05-24 Glenn Morris <rgm@gnu.org>
17727
f8630703
GM
17728 * progmodes/python.el (brm-menu): Declare.
17729
8831bbed
GM
17730 * emulation/viper.el (viper-set-hooks): Declare.
17731
eb8a5e9b
GM
17732 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17733 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17734 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17735 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17736 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17737 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17738
a2a25d24
SM
177392011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17740
17741 Add an :exit-function for completion-at-point.
17742
17743 * minibuffer.el (completion--done): New fun.
17744 (completion--do-completion): Use it. New arg `expect-exact'.
17745 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17746 since completion--do-completion does it for us now.
17747 (minibuffer-force-complete): Use completion--done and
17748 completion--replace. Handle sole-completion case with more care.
17749 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17750 (completion-extra-properties): New var.
17751 (completion-annotate-function): Make obsolete.
17752 (minibuffer-completion-help): Adjust accordingly.
17753 Use completion-list-insert-choice-function.
17754 (completion-at-point, completion-help-at-point):
17755 Bind completion-extra-properties.
17756 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17757 * simple.el (completion-list-insert-choice-function): New var.
17758 (completion-setup-function): Preserve it.
17759 (choose-completion): Pay attention to it, shuffle the code a bit.
17760 (choose-completion-string): New arg `insert-function'.
17761
17762 * textmodes/bibtex.el: Convert to lexical binding.
17763 (bibtex-mode-map): Use completion-at-point.
17764 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17765 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17766 (bibtex-complete): Define as obsolete alias.
17767 (bibtex-complete-internal): Remove.
17768 (bibtex-format-entry): Remove unused sub-group in regexp.
17769 * shell.el (shell--command-completion-data)
17770 (shell-environment-variable-completion):
17771 * pcomplete.el (pcomplete-completions-at-point):
17772 * comint.el (comint--complete-file-name-data): Use :exit-function
17773 instead of completion-table-with-terminator so it also works for
17774 choose-completion.
17775
e44e373d
SM
177762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17777
4f91a816
SM
17778 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17779
782fc819
SM
17780 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17781 (bug#8710).
17782
e44e373d
SM
17783 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17784
381987c3
KM
177852011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17786
17787 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17788 customization variable and implement: If non-nil, auto-fill will
17789 be inhibited while on topic's header line.
17790
b776bc70
VB
177912011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17792
17793 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17794 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17795 always have a solution in grid size = 5 cases.
17796 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17797 (5x5-solver-output, 5x5-log-buffer): New vars.
17798 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17799 Make these variables buffer local to achieve 5x5 multi-session-ness.
17800 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17801 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17802 (5x5-solve-suggest): New funs.
17803 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17804 randomize a grid so that we ensure that there is always a solution.
17805 (5x5-make-random-grid): Allow other movement than flipping.
17806
7de88b6e
KR
178072011-05-23 Kevin Ryde <user42@zip.com.au>
17808
17809 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17810 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17811 advice and passes PREDICATE.
17812
b1ef1257
SM
178132011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17814
bbca48fe
SM
17815 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17816 byte-compile-lambda if it's actually a lambda.
17817
b1ef1257
SM
17818 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17819 Fix function quoting. Use backquote better.
17820
92a9cc65
YS
178212011-05-22 Yuanle Song <sylecn@gmail.com>
17822
17823 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17824 matching (Bug#8516).
17825
f0fb8059
JA
178262011-01-22 Jari Aalto <jari.aalto@cante.net>
17827
17828 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17829 different face (Bug#8178).
17830
d5b44c93
CY
178312011-05-22 Chong Yidong <cyd@stupidchicken.com>
17832
17833 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17834 defface (Bug#8144).
17835
79106a44
SM
178362011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17837
9c848d8a
SM
17838 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17839 funcall as well (bug#8712). Warn when performing those conversions.
17840 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17841
79106a44
SM
17842 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17843
88dfa756
GM
178442011-05-22 Glenn Morris <rgm@gnu.org>
17845
17846 * files.el (hack-local-variables-prop-line): Small simplifications.
17847 (hack-local-variables, hack-local-variables-prop-line):
17848 If MODE-ONLY, return the mode, rather than just `t'.
17849
b7cf2c79
SM
178502011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17851
17852 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17853
3f1a8558
GM
178542011-05-21 Glenn Morris <rgm@gnu.org>
17855
7e4ccca3
GM
17856 * files.el (hack-local-variables-prop-line, hack-local-variables):
17857 If only interested in the mode, don't bother doing the other stuff.
17858
637d46ca
GM
17859 * image-mode.el (image-after-revert-hook):
17860 Redraw all frames on which the image is visible. (Bug#8567)
17861
973d955b
GM
17862 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17863
3f1a8558
GM
17864 * wid-edit.el (widget-checklist-match-inline):
17865 Fix 2011-04-19 change. (Bug#8649)
17866
96479927
SM
178672011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17868
1dcf791f
SM
17869 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17870 Also allow singlespace after single-letter capitals followed by a dot.
17871
96479927
SM
17872 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17873 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17874
35fd0881
N
178752011-05-20 Nix <nix@esperi.org.uk>
17876
17877 * files.el (basic-save-buffer-2):
17878 Fix handling of break-hardlink-on-save with non-existent files.
17879
82745640
DD
178802011-05-19 Deniz Dogan <deniz@dogan.se>
17881
17882 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17883 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17884
4a720484
GM
178852011-05-19 Glenn Morris <rgm@gnu.org>
17886
d1f21341
GM
17887 * progmodes/f90.el (f90-type-def-re):
17888 Handle "type, bind(c)". (Bug#8691)
17889
4a720484
GM
17890 * emacs-lisp/autoload.el (batch-update-autoloads):
17891 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17892
2fb0a219
MA
178932011-05-18 Michael Albinus <michael.albinus@gmx.de>
17894
17895 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17896 property for the correct connection in case of multihops.
17897
e565dd37
GM
178982011-05-18 Glenn Morris <rgm@gnu.org>
17899
c2571358 17900 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17901 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17902
e565dd37
GM
17903 Rationalize calendar handling of day and month abbrev-arrays.
17904 * calendar/calendar.el (calendar-customized-p): New function.
17905 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17906 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17907 Add :set function.
17908 (calendar-abbrev-length, calendar-day-abbrev-array)
17909 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17910 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17911 Elements may no longer be nil.
17912 (calendar-day-name, calendar-month-name):
17913 Update for changed nature of abbrev arrays.
17914 * calendar/diary-lib.el (diary-name-pattern):
17915 Update for changed nature of abbrev arrays.
17916 (diary-mark-entries-1): Update calendar-make-alist calls.
17917 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17918 * calendar/cal-html.el (cal-html-day-abbrev-array):
17919 Simply inherit from calendar-day-abbrev-array.
17920
1d99a745
SM
179212011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17922
17923 * progmodes/grep.el (grep-mode): Disable default
17924 compilation-directory-matcher setting (bug#8684).
17925
7c1d9aa0
MA
179262011-05-17 Michael Albinus <michael.albinus@gmx.de>
17927
17928 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17929 instead of "head" and "tail". There were problems with SunOS 5.9,
17930 and it performs better.
17931
3952e9d8
GM
179322011-05-17 Glenn Morris <rgm@gnu.org>
17933
2dd12e7f
GM
17934 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17935
e4157b9c
GM
17936 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17937 Replace obsolete function.
17938
8e249bbd
GM
17939 * shell.el (pcomplete-parse-arguments-function): Declare.
17940
3952e9d8
GM
17941 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17942 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17943 (appt-check): Doc fixes.
17944 (appt-disp-window-function, appt-delete-window-function):
17945 Remove needless special case in custom :type.
17946 (appt-display-count): Default to 0, not nil.
17947 (appt-check): Reset appt-display-count to 0, not nil.
17948
c71a0d48 179492011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17950
c71a0d48
GM
17951 * progmodes/python.el (python-font-lock-keywords):
17952 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17953
31d55be9
SM
179542011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17955
17956 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17957
3bfacb2f
KR
179582011-05-16 Kevin Ryde <user42@zip.com.au>
17959
17960 * info-look.el (makefile-automake-mode): New setups, looking in
17961 automake manual, then makefile-mode.
17962 (makefile-mode): Remove automake manual, have it just in
17963 makefile-automake-mode since there's various things different or
17964 not relevant to plain make.
17965 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17966 believe a hypothetical automake-mode would go to makefile-mode,
17967 not the other way around.
17968
c8e83751
CY
179692011-05-15 Chong Yidong <cyd@stupidchicken.com>
17970
5e9e35cd
CY
17971 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17972 hunk-end tags (Bug#8672).
17973
c8e83751
CY
17974 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17975 vc-annotate-show-diff-revision-at-line (Bug#8671).
17976
50b23e5a
GM
179772011-05-14 Glenn Morris <rgm@gnu.org>
17978
7210a739
GM
17979 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17980 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17981 (change-log-font-lock-keywords): Also handle multiple author lines
17982 with leading tabs. (Bug#8644)
7210a739 17983
4691905a
GM
17984 * calendar/appt.el (appt-check): Rename some local variables.
17985 Some simplification/reordering.
17986
50b23e5a
GM
17987 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17988 (feedmail-sendmail-f-doesnt-sell-me-out)
17989 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17990 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17991 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17992 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17993 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17994 (feedmail-binmail-gnulinuxish-template):
17995 Rename from feedmail-binmail-linuxish-template.
17996 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17997 Use insert-buffer-substring.
17998
215cda7c
BC
179992011-05-14 Bill Carpenter <bill@carpenter.org>
18000
18001 * mail/feedmail.el (feedmail-patch-level): Increase.
18002 (feedmail-debug): New custom group.
18003 (feedmail-confirm-outgoing-timeout)
18004 (feedmail-sendmail-f-doesnt-sell-me-out)
18005 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18006 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18007 (feedmail-sender-line, feedmail-from-line)
18008 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18009 (feedmail-spray-this-address)
215cda7c
BC
18010 (feedmail-spray-address-fiddle-plex-list)
18011 (feedmail-queue-use-send-time-for-date)
18012 (feedmail-queue-use-send-time-for-message-id)
18013 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18014 (feedmail-buffer-eating-function):
18015 Doc fixes.
18016 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18017 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18018 (feedmail-message-action-scroll-down): New functions.
18019 (feedmail-queue-directory, feedmail-queue-draft-directory):
18020 Use expand-file-name.
18021 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18022 Remove C-v help entry.
18023 (feedmail-queue-buffer-file-name): New variable.
18024 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18025 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18026 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18027 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18028 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18029 (feedmail-message-action-toggle-spray)
18030 (feedmail-run-the-queue-no-prompts)
18031 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18032 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18033 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18034 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18035 (feedmail-envelope-deducer, feedmail-fiddle-from)
18036 (feedmail-fiddle-sender, feedmail-default-date-generator)
18037 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18038 (feedmail-fiddle-spray-address)
18039 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18040 (feedmail-fiddle-list-of-fiddle-plexes)
18041 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18042 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18043 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18044 Change default. Doc fix.
18045 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18046 (feedmail-binmail-linuxish-template): New constant.
18047 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18048 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18049 (feedmail-send-it): Add debug call.
18050 Use feedmail-queue-buffer-file-name, and
18051 feedmail-send-it-immediately-wrapper.
18052 (feedmail-message-action-send): Add debug call.
18053 Use feedmail-send-it-immediately-wrapper.
18054 (feedmail-queue-express-to-queue): Add debug call.
18055 Run feedmail-queue-express-hook.
18056 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18057 (feedmail-message-action-help-blat):
18058 Rename from feedmail-queue-send-edit-prompt-help-first.
18059 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18060 Check line-endings. Handle errors better.
18061 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18062 Doc fix. Add debug call.
18063 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18064 Use feedmail-queue-send-edit-prompt-inner.
18065 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18066 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18067 from feedmail-queue-send-edit-prompt.
18068 (feedmail-queue-send-edit-prompt-help)
18069 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18070 (feedmail-tidy-up-slug): Add debug call.
18071 Respect feedmail-queue-slug-suspect-regexp.
18072 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18073 (feedmail-dump-message-to-queue): Add debug call.
18074 Expand queue-directory.
18075 (feedmail-dump-message-to-queue): Change message slightly.
18076 Use feedmail-say-chatter.
18077 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18078 (feedmail-send-it-immediately-wrapper): New function.
18079 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18080 Insert empty string rather than newline. Handle full-frame case.
18081 Use catch/throw. Use feedmail-say-chatter.
18082 (feedmail-fiddle-from): Try mail-host-address.
18083 (feedmail-default-message-id-generator): Doc fix.
18084 Bind system-time-locale. Handle missing end.
18085 (feedmail-fiddle-x-mailer): Add debug call.
18086 Handle feedmail-x-mailer-line being nil.
18087 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18088 Add debug call. Use buffer-substring-no-properties.
18089 (feedmail-say-debug, feedmail-say-chatter): New functions.
18090 (feedmail-find-eoh): Give an explicit error.
18091
42c7e61e
UJ
180922011-05-13 Ulf Jasper <ulf.jasper@web.de>
18093
c2571358 18094 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18095 family from helvetica to sans.
c2571358 18096 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18097 etc/images/newsticker.
18098
c2571358 18099 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18100 family from helvetica to sans.
18101
18102 * net/newst-plainview.el (newsticker-new-item-face)
18103 (newsticker-old-item-face, newsticker-immortal-item-face)
18104 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18105 (newsticker-statistics-face): Change default family from
42c7e61e 18106 helvetica to sans.
c2571358 18107 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18108 etc/images/newsticker.
18109
5d3385a0
JB
18110 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18111 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18112 auto-marking.
18113
8497a297
DV
181142011-05-13 Didier Verna <didier@xemacs.org>
18115
18116 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18117 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18118 TODO entries.
8497a297
DV
18119 (lisp-lambda-list-keyword-parameter-indentation)
18120 (lisp-lambda-list-keyword-parameter-alignment)
18121 (lisp-lambda-list-keyword-alignment): New customizable user options.
18122 (lisp-indent-defun-method): Improve docstring.
18123 (extended-loop-p): Fix comment.
18124 (lisp-indent-lambda-list-keywords-regexp): New variable.
18125 (lisp-indent-lambda-list): New function.
18126 (lisp-indent-259): Use it.
18127 (lisp-indent-defmethod): Support for more than one
18128 method qualifier and properly indent methods lambda-lists.
18129 (defgeneric): Provide a missing common-lisp-indent-function property.
18130
f278f87f
SM
181312011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18132
18133 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18134 bounds for the empty string (bug#8667).
18135
5233edd7
GM
181362011-05-13 Glenn Morris <rgm@gnu.org>
18137
5237a44f
GM
18138 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18139
8340026c 18140 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18141 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18142
5233edd7 18143 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18144 (appt-time-msg-list): Doc fix.
a5464014 18145 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18146
92d10796
AS
181472011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18148
18149 * progmodes/ld-script.el (ld-script-keywords)
18150 (ld-script-builtins): Update keywords list.
18151
914a0ae1
SM
181522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18153
c89be45f
SM
18154 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18155
914a0ae1
SM
18156 * shell.el (shell-completion-vars): New function.
18157 (shell-mode):
18158 * simple.el (read-shell-command): Use it.
18159 (blink-matching-open): No need for " [...]" in minibuffer-message.
18160
98dc3df3
GM
181612011-05-12 Glenn Morris <rgm@gnu.org>
18162
18163 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18164 (appt-check): Simplify.
18165
d2fc7e3d 181662011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18167
4d61f28d 18168 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18169 literal "/dev/null".
18170
d2fc7e3d 181712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18172
18173 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18174 Fix typo.
18175
d2fc7e3d 181762011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18177
3f254caa
SM
18178 * progmodes/which-func.el (which-function):
18179 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18180 which might not be defined (Bug#8260).
18181
d45885f7
GM
181822011-05-12 Glenn Morris <rgm@gnu.org>
18183
18184 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18185 Let byte-compile-initial-macro-environment always take precedence.
18186
488086f4
SM
181872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18188
18189 * net/rcirc.el: Add support for SSL/TLS connections.
18190 (rcirc-server-alist): New field `encryption'.
18191 (rcirc): Check `encryption' settings.
18192 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18193 Merge make-local-variable into `set'.
18194 (rcirc--connection-open-p): New function.
18195 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18196 the process is not a network process (e.g. running gnutls-cli).
18197 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18198 Make rcirc-(en|de)code-coding-system local here.
18199 (rcirc-mode): Merge make-local-variable into `set'.
18200 (rcirc-parent-buffer): Make permanent buffer-local.
18201 (rcirc-multiline-minor-mode): Don't do it here.
18202 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18203 there's no server buffer.
18204
7d3b9d44
GM
182052011-05-11 Glenn Morris <rgm@gnu.org>
18206
f64049c6
GM
18207 * newcomment.el (comment-kill): Prefix "unused" local.
18208
93c9df73
GM
18209 * term/w32console.el (get-screen-color): Declare.
18210
7d3b9d44
GM
18211 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18212 Handle symbol elements of byte-compile-initial-macro-environment.
18213
9e2dd53f
LL
182142011-05-10 Leo Liu <sdl.web@gmail.com>
18215
488086f4
SM
18216 * bookmark.el (bookmark-bmenu-mode-map):
18217 Bind bookmark-bmenu-search to `/'.
8b340240 18218
9e2dd53f 18219 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18220 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18221 (Footnote-unicode): New function.
18222 (footnote-style-alist): Add unicode style to the list.
18223 (footnote-style): Doc fix.
9e2dd53f 18224
79b70037
GM
182252011-05-10 Jim Meyering <meyering@redhat.com>
18226
18227 Fix doubled-word typos.
18228 * international/quail.el (quail-insert-kbd-layout): and and -> and
18229 * kermit.el: and and -> and
18230 * net/ldap.el (ldap-search-internal): to to -> to
18231 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18232 * progmodes/js.el (js-mode): and and -> and
18233 * textmodes/artist.el (artist-move-to-xy): at at -> at
18234 (artist-draw-region-trim-line-endings): if if -> if
18235 And Safetyc -> Safety.
18236 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18237
b8f82dc1 182382011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18239 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18240
18241 * files.el (hack-one-local-variable-eval-safep):
18242 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18243
4f99f44b
GM
182442011-05-10 Glenn Morris <rgm@gnu.org>
18245
18246 * calendar/diary-lib.el (diary-list-entries-hook)
18247 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18248 (diary-nongregorian-marking-hook, diary-list-entries)
18249 (diary-include-other-diary-files, diary-mark-entries)
18250 (diary-mark-included-diary-files): Doc fixes.
18251
84f29e6b
JB
182522011-05-09 Juanma Barranquero <lekktu@gmail.com>
18253
18254 * misc.el: Require tabulated-list.el during compilation.
18255
9bedd73a
CY
182562011-05-09 Chong Yidong <cyd@stupidchicken.com>
18257
488086f4
SM
18258 * progmodes/compile.el (compilation-start):
18259 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18260 (compilation-filter-hook): Doc fix.
18261
797c735c
DD
182622011-05-09 Deniz Dogan <deniz@dogan.se>
18263
18264 * wdired.el: Remove outdated installation comment. Fix usage
18265 comment.
18266
5f4b1dfe
JB
182672011-05-09 Juanma Barranquero <lekktu@gmail.com>
18268
18269 * misc.el: Implement new command `list-dynamic-libraries'.
18270 (list-dynamic-libraries--loaded-only-p): New variable.
18271 (list-dynamic-libraries--refresh): New function.
18272 (list-dynamic-libraries): New command.
18273
4c44026c
CY
182742011-05-09 Chong Yidong <cyd@stupidchicken.com>
18275
488086f4
SM
18276 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18277 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18278 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18279 higher priority to avoid clobbering by gnu.
18280
027f966d
CY
182812011-05-08 Chong Yidong <cyd@stupidchicken.com>
18282
18283 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18284 if the face has existing theme settings (Bug#8454).
18285
085f5d7d
CY
182862011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18287
488086f4
SM
18288 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18289 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18290
2a86a00c
RS
18291 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18292 special file names `.' and `..' (Bug#8259).
18293
d9c54a06
CY
182942011-05-08 Chong Yidong <cyd@stupidchicken.com>
18295
488086f4
SM
18296 * progmodes/grep.el (grep-mode-font-lock-keywords):
18297 Remove buffer-changing entries.
d9c54a06
CY
18298 (grep-filter): New function.
18299 (grep-mode): Add it to compilation-filter-hook.
18300
18301 * progmodes/compile.el (compilation-filter-hook)
18302 (compilation-filter-start): New defvars.
18303 (compilation-filter): Call compilation-filter-hook prior to
18304 updating the process mark.
18305
c4662635
SM
183062011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18307
18308 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18309
b0512a1d
EZ
183102011-05-07 Eli Zaretskii <eliz@gnu.org>
18311
605c9376
EZ
18312 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18313 mailclient-send-it even if window-system is nil. (Bug#8595)
18314
c4662635
SM
18315 * term/w32console.el (terminal-init-w32console):
18316 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18317 background-mode. (Bug#8597)
18318
d1dc2cc2
SM
183192011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18320
18321 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18322 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18323 New functions.
18324 (defgeneric, eieio--defmethod): Use them.
18325 (eieio-defgeneric): Remove.
18326 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18327
915d1300
GM
183282011-05-07 Glenn Morris <rgm@gnu.org>
18329
a3961c3e
GM
18330 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18331 Use let rather than let*.
18332 (timeclock-find-discrep): Remove unused local.
18333
314347b9
GM
18334 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18335
915d1300
GM
18336 * calendar/appt.el (appt-time-msg-list): Doc fix.
18337
275b59b0
NF
183382011-05-06 Noah Friedman <friedman@splode.com>
18339
18340 * apropos.el (apropos-print-doc): Only use
18341 emacs-lisp-docstring-fill-column when it is bound to an integer,
18342 per that variable's documentation.
18343
6c19f744
SM
183442011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18345
18346 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18347 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18348
60f884b2
GM
183492011-05-06 Glenn Morris <rgm@gnu.org>
18350
5006e634
GM
18351 * calendar/appt.el (appt-message-warning-time): Doc fix.
18352 (appt-warning-time-regexp): New option.
18353 (appt-make-list): Respect appt-message-warning-time.
18354
548d0a63
GM
18355 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18356 New options.
18357 (diary-add-to-list): Strip comments from the displayed string.
18358 (diary-mode): Set comment-start and comment-end.
18359
60f884b2
GM
18360 * vc/diff-mode.el (smerge-refine-subst): Declare.
18361 (diff-refine-hunk): Don't require smerge-mode when compiling.
18362
989681bb
JB
183632011-05-06 Juanma Barranquero <lekktu@gmail.com>
18364
18365 * simple.el (list-processes): Return nil as the docstring says.
18366
a6bc05e1
MA
183672011-05-05 Michael Albinus <michael.albinus@gmx.de>
18368
18369 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18370 to "".
18371 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18372 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18373 determining of binary transfer. (Bug#7383)
18374
23c22e9a
MA
183752011-05-05 Michael Albinus <michael.albinus@gmx.de>
18376
c4662635
SM
18377 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18378 Fix port computation bug. (Bug#8618)
23c22e9a 18379
0bff894f
GM
183802011-05-05 Glenn Morris <rgm@gnu.org>
18381
b8296902
GM
18382 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18383
1f522ce8
GM
18384 * simple.el (shell-dynamic-complete-functions)
18385 (comint-dynamic-complete-functions): Declare.
18386
cf5bee67
GM
18387 * net/network-stream.el (gnutls-negotiate):
18388 * simple.el (tabulated-list-print): Fix declarations.
18389
18390 * progmodes/gud.el (syntax-symbol, syntax-point):
18391 Remove unnecessary and incorrect declarations.
18392
0bff894f 18393 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18394 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18395
9869b3ae
SM
183962011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18397
18398 Fix earlier half-done eieio-defmethod change (bug#8338).
18399 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18400 Streamline and change calling convention.
18401 (defmethod): Adjust accordingly and simplify.
18402 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18403 new eieio--defmethod.
18404 (slot-boundp): Minor CSE simplification.
18405
9c1d5ac5
MZ
184062011-05-05 Milan Zamazal <pdm@zamazal.org>
18407
18408 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18409 (glasses-make-readable): Use glasses-separate-capital-groups.
18410
455c834e
JB
184112011-05-05 Juanma Barranquero <lekktu@gmail.com>
18412
18413 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18414 (warning-series): Doc fix.
18415 (display-warning): Don't try to create the buffer if we just found it.
18416
9ed7c8cb
CY
184172011-05-04 Chong Yidong <cyd@stupidchicken.com>
18418
18419 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18420 (autoload-find-generated-file): New function.
18421 (generate-file-autoloads): Bind generated-autoload-file to
18422 buffer-file-name.
9869b3ae
SM
18423 (update-file-autoloads, update-directory-autoloads):
18424 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18425 output file (Bug#7989).
18426 (batch-update-autoloads): Doc fix.
18427
0898ca10
JB
184282011-05-04 Juanma Barranquero <lekktu@gmail.com>
18429
18430 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18431
31dfb76c
GM
184322011-05-04 Glenn Morris <rgm@gnu.org>
18433
f330b642
GM
18434 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18435 function, so it follows changes in calendar-date-style.
18436 (diary-fancy-date-matcher): New function.
18437 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18438 (diary-fancy-font-lock-fontify-region-function):
18439 Use diary-fancy-date-pattern as a function.
18440
31dfb76c
GM
18441 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18442 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18443
48e79d6a
TZ
184442011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18445
18446 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18447 instead of positional arguments. Allow :keylist and :crlfiles
18448 arguments.
18449 (open-gnutls-stream): Call it.
18450
18451 * net/network-stream.el (network-stream-open-starttls): Adjust to
18452 call `gnutls-negotiate' with :process and :hostname arguments.
18453
dd5a5ee0
SM
184542011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18455
ef80fc09
SM
18456 * minibuffer.el (completion--message): New function.
18457 (completion--do-completion, minibuffer-complete)
18458 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18459 (completion--do-completion): Don't ignore completion-auto-help when in
18460 icomplete-mode.
18461
dd5a5ee0
SM
18462 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18463 internal encoding (e.g. tibetan zero is not whitespace).
18464 (global-whitespace-mode): Prefer save-current-buffer.
18465 (whitespace-trailing-regexp): Remove useless save-match-data.
18466 (whitespace-empty-at-bob-regexp): Minor simplification.
18467
b7d22a83
CY
184682011-05-03 Chong Yidong <cyd@stupidchicken.com>
18469
18470 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18471
5192af46
AM
184722011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18473
18474 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18475 Use `concat' to create string for insertion.
5192af46 18476
5767d190
SM
184772011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18478
18479 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18480 Avoid open-line which runs post-self-insert-hook.
18481 (bibtex-fill-entry): Remove unused `end' var.
18482
bf242939
AM
184832011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18484
5767d190
SM
18485 * textmodes/ispell.el (ispell-add-per-file-word-list):
18486 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18487
25666126
LL
184882011-05-03 Leo Liu <sdl.web@gmail.com>
18489
18490 * isearch.el (isearch-yank-pop): New command.
5767d190 18491 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18492 (isearch-forward): Mention it.
18493
52d3c2d0
SM
184942011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18495
1bcace58
SM
18496 * simple.el (minibuffer-complete-shell-command): Remove.
18497 (minibuffer-local-shell-command-map): Use completion-at-point.
18498 (read-shell-command): Setup completion vars here instead.
18499 (read-expression-map): Bind TAB to symbol completion.
18500
52d3c2d0
SM
18501 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18502 error directly rather via storing it into `results'.
18503
35813471
LL
185042011-05-02 Leo Liu <sdl.web@gmail.com>
18505
18506 * vc/diff.el: Fix description.
18507
e793a940
LMI
185082011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18509
18510 * server.el (server-eval-at): New function.
18511
8de66e05
LMI
185122011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18513
18514 * net/network-stream.el (open-network-stream): Take a :nowait
18515 parameter and pass it on to `make-network-process'.
18516 (network-stream-open-plain): Ditto.
18517
dcb79f20
AS
185182011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18519
18520 * faces.el (face-spec-set-match-display): Don't match toolkit
18521 options on terminal frames.
18522
14a7fbd8
SM
185232011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18524
7eabc1be
SM
18525 * progmodes/pascal.el: Use lexical binding.
18526 (pascal-mode-map): Remove author preferences.
18527
14a7fbd8
SM
18528 * pcomplete.el (pcomplete-std-complete): Don't abuse
18529 completion-at-point.
18530
50f84510
JB
185312011-04-28 Juanma Barranquero <lekktu@gmail.com>
18532
6e087a44
JB
18533 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18534 removing code that has been dead since 1991 or so.
18535
50f84510
JB
18536 * startup.el (command-line): When warning about "_emacs", use a
18537 delayed warning to allow the user to filter it out.
18538
0ba690bd
DD
185392011-04-28 Deniz Dogan <deniz@dogan.se>
18540
18541 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18542 user has not joined.
18543
08abfaad
SM
185442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18545
18546 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18547 aren't any completions at point.
18548
638f053a
JB
185492011-04-28 Juanma Barranquero <lekktu@gmail.com>
18550
18551 * subr.el (display-delayed-warnings): New function.
18552 (delayed-warnings-hook): New variable.
18553
8fff8daa
SM
185542011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18555
08abfaad
SM
18556 * minibuffer.el (completion-at-point, completion-help-at-point):
18557 Don't presume that a given completion-at-point-function will always
18558 use the same calling convention.
18559
8fff8daa
SM
18560 * pcomplete.el (pcomplete-completions-at-point):
18561 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18562 pcomplete-seen is non-nil.
18563 (pcomplete-comint-setup): Also recognize the new comint/shell
18564 completion functions.
18565 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18566 pcomplete-seen is non-nil.
18567
841a1577 185682011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18569
841a1577 18570 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18571 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18572 the first character in the entry. This allows for code to add its
211ec907
UJ
18573 own uid to the entry.
18574 (icalendar--convert-float-to-ical): Add export of
18575 `diary-float'-entries save for those with the optional DAY
18576 argument.
18577
2a782793
DC
185782011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18579
18580 * subr.el (shell-quote-argument): Use alternate escaping strategy
18581 when we spot a variable reference in a string.
18582
0438ce91
DC
185832011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18584
18585 * cus-start.el (all): Define customization for debug-on-event.
18586
841a1577 185872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18588
18589 * subr.el (shell-quote-argument): Escape correctly under Windows.
18590
d090ed6c
SM
185912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18592
18593 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18594
bfd31217
MA
185952011-04-25 Michael Albinus <michael.albinus@gmx.de>
18596
d090ed6c
SM
18597 * net/tramp.el (tramp-process-actions): Add POS argument.
18598 Delete region between POS and (pos).
bfd31217 18599
d090ed6c
SM
18600 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18601 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18602 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18603
18604 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18605 position in `tramp-process-actions' call.
18606
18607 * net/trampver.el: Update release number.
18608
e92f3bd3
SM
186092011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18610
850256b5
SM
18611 * custom.el (defcustom): Obey lexical-binding.
18612
e92f3bd3
SM
18613 Fix octave-inf completion problems reported by Alexander Klimov.
18614 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18615 Inherit from octave-mode-syntax-table.
18616 (inferior-octave-mode): Set info-lookup-mode.
18617 (inferior-octave-completion-at-point): New function.
18618 (inferior-octave-complete): Use it and completion-in-region.
18619 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18620 comint-filename-completion.
18621 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18622 symbol elements which shouldn't be word elements.
18623 (octave-font-lock-keywords, octave-beginning-of-defun)
18624 (octave-function-header-regexp): Adjust regexps accordingly.
18625 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18626
cd22b309
JB
186272011-04-25 Juanma Barranquero <lekktu@gmail.com>
18628
18629 * net/gnutls.el (gnutls-errorp): Declare before first use.
18630
8b492194
TZ
186312011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18632
18633 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18634 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18635 default trustfile exists before going to use it. Add missing
5a5fa834 18636 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18637 Reported by Claudio Bley <claudio.bley@gmail.com>.
18638 (open-gnutls-stream): Add usage example.
18639
18640 * net/network-stream.el (network-stream-open-starttls): Give host
18641 parameter to `gnutls-negotiate'.
18642 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18643 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18644
841a1577 186452011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18646
cd22b309
JB
18647 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18648 Use correct match group (bug#8438).
05842630 18649
3ba7869c
CY
186502011-04-24 Chong Yidong <cyd@stupidchicken.com>
18651
512e3ae1
CY
18652 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18653 (package-menu--generate): New arg specifying packages to show.
18654 (package-menu-refresh, package-menu-execute, list-packages):
18655 Callers changed.
18656 (package-show-package-list): New function, replacing deleted
18657 package--list-packages (renamed because it is non-internal).
18658
18659 * finder.el (finder-list-matches): Use package-show-package-list
18660 instead of deleted package--list-packages.
18661
e92f3bd3
SM
18662 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18663 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18664 (vc-annotate-mode-map): Bind it to RET.
18665
7031be6d
UR
186662011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18667
18668 * progmodes/etags.el (next-file): Don't use set-buffer to change
18669 buffers (Bug#8478).
18670
4ef177aa
CY
186712011-04-24 Chong Yidong <cyd@stupidchicken.com>
18672
c8d173eb
CY
18673 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18674
4ef177aa
CY
18675 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18676 (apropos-accumulator): Doc fix.
18677 (apropos-function, apropos-macro, apropos-command)
18678 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18679 (apropos-plist): Add face property.
18680 (apropos-symbols-internal): Fix indentation.
18681 (apropos-print): Simplify help, and recognize apropos-multi-type.
18682 (apropos-print-doc): Use button-type-get to extract the button's
18683 face property. Fill docstring (Bug#8352).
18684
4ffd0d6b 186852011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18686
18687 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18688
c6c32125 18689 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18690 (mpuz-mode-map): Use mapc.
c6c32125
JB
18691 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18692 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18693 Fix typos in docstrings.
18694
58d468b4
JB
18695 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18696 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18697
6470c3c6
JB
18698 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18699
4ffd0d6b 187002011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18701
18702 * minibuffer.el (completion--do-completion): Avoid the "Next char
18703 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18704
3ad8bad0
CY
18705 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18706 mouse-2 into unread-command-events, it is interpreted correctly.
18707
71d73c9c 18708 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18709 (image-toggle-display): Doc fix.
71d73c9c 18710
841a1577 187112011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18712
4ffd0d6b
GM
18713 * textmodes/page.el (what-page): Use line-number-at-pos to
18714 calculate line number (Bug#6825).
6e1dbaa9 18715
c2fb1b60
JB
187162011-04-22 Juanma Barranquero <lekktu@gmail.com>
18717
18718 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18719 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18720 Pass argument NO-DEFAULT to `find-tag-interactive'.
18721
e02f48d7
JB
187222011-04-22 Juanma Barranquero <lekktu@gmail.com>
18723
18724 Lexical-binding cleanup.
18725
18726 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18727 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18728 * progmodes/ada-prj.el (ada-prj-initialize-values)
18729 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18730 (ada-prj-show-value):
18731 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18732 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18733 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18734 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18735 * progmodes/bug-reference.el (bug-reference-push-button):
18736 * progmodes/fortran.el (fortran-line-length):
18737 * progmodes/glasses.el (glasses-change):
18738 * progmodes/octave-mod.el (octave-fill-paragraph):
18739 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18740 (python-pdbtrack-grub-for-buffer, python-sentinel):
18741 * progmodes/sql.el (sql-save-connection):
18742 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18743 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18744 Mark unused parameters.
18745
18746 * progmodes/compile.el (compilation--flush-directory-cache)
18747 (compilation--flush-parse, compile-internal): Mark unused parameters.
18748 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18749 (compilation-next-error-function): Remove unused variable `timestamp'.
18750
18751 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18752 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18753
18754 * progmodes/dcl-mode.el (dcl-end-of-command):
18755 Remove unused variable `start'.
18756 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18757 (dcl-option-value-basic, dcl-option-value-offset)
18758 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18759 Mark unused parameters.
18760 (dcl-save-local-variable): Remove unused variable `val'.
18761 (mode): Declare.
18762
18763 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18764 Mark unused parameters.
18765 (delphi-ignore-changes): Move before first use.
18766 (delphi-charset-token-at): Remove unused variable `start'.
18767 (delphi-else-start): Remove unused variable `if-count'.
18768 (delphi-comment-block-start, delphi-comment-block-end):
18769 Remove unused variable `kind'.
18770 (delphi-indent-line): Remove unused variable `new-point'.
18771
18772 * progmodes/ebrowse.el (ebrowse-files-list)
18773 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18774 Mark unused parameters. Don't quote `lambda'.
18775 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18776 Don't quote `lambda'.
18777 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18778 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18779 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18780 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18781 Use `ignore-errors'.
18782 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18783 (ebrowse-view/find-file-and-search-pattern)
18784 (ebrowse-view/find-member-declaration/definition):
18785 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18786 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18787 Rename parameter PREFIX-ARG to PREFIX.
18788 (ebrowse-tags-read-name): Remove unused variables `start' and
18789 `member-info'.
18790 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18791 to `tags-file'.
18792
18793 * progmodes/etags.el (local-find-tag-hook): Declare.
18794 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18795 Mark unused parameters.
18796
18797 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18798 (executable-interpret): Mark unused parameter.
18799
18800 * progmodes/flymake.el (flymake-process-sentinel)
18801 (flymake-after-change-function)
18802 (flymake-create-temp-with-folder-structure)
18803 (flymake-get-include-dirs-dot): Mark unused parameters.
18804 (flymake-safe-delete-directory): Remove unused variable `err'.
18805
18806 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18807 (speedbar-timer-fn, speedbar-line-text)
18808 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18809 (speedbar-center-buffer-smartly): Declare functions.
18810 (gdb-find-watch-expression): Remove unused variable `array'.
18811 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18812 (gdb-starting): Mark unused parameters.
18813 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18814 (gdb-table-string): Remove unused variable `res'.
18815 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18816 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18817 (gdb-display-buffer): Remove unused variable `cur-size'.
18818
18819 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18820 allow lexical-binding compilation.
18821 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18822 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18823 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18824 Mark unused parameters.
18825 (gud-gdb-marker-filter): Remove unused variable `match'.
18826 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18827 lambda expressions and funcall them, instead of using `fset'.
18828
18829 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18830 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18831
18832 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18833 variable `header-beg'; use `let'.
18834
18835 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18836 `restart', `last-sexp' and `at-do'.
18837
18838 * progmodes/js.el (js--debug): Mark unused parameter.
18839 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18840 (js--splice-into-items): Remove unused variable `item'.
18841 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18842
18843 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18844 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18845 (makefile-complete): Remove unused variable `try'.
18846 (makefile-fill-paragraph, makefile-match-function-end):
18847 Mark unused parameters.
18848
18849 * progmodes/octave-inf.el (inferior-octave-complete):
18850 Remove unused variable `proc'.
18851 (inferior-octave-output-digest): Mark unused parameter.
18852
18853 * progmodes/perl-mode.el (perl-calculate-indent):
18854 Remove unused variable `err'.
18855
18856 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18857 (prolog-indent-line): Mark unused parameters.
18858 (prolog-indent-line): Remove unused variable `beg'.
18859
18860 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18861 (reporter-dont-compact-list): Declare.
18862
18863 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18864 Remove unused variable `char'.
18865 (sh-debug): Mark unused parameter.
18866 (sh-get-indent-info): Remove unused variable `start'.
18867 (sh-calculate-indent): Remove unused variable `var'.
18868
18869 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18870 (simula-electric-keyword): Remove unused variable `null'.
18871 (simula-search-backward, simula-search-forward): Remove unused
18872 variables `begin' and `end'.
18873
18874 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18875 Remove unused variable `pos'.
18876 (vera-electric-tab, vera-comment-uncomment-region):
18877 Mark unused parameters.
18878 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18879
7ede3b65
CY
188802011-04-22 Chong Yidong <cyd@stupidchicken.com>
18881
18882 * emacs-lisp/package.el (package--builtins, package-alist)
18883 (package-load-descriptor, package-built-in-p, package-activate)
18884 (define-package, package-installed-p)
18885 (package-compute-transaction, package-buffer-info)
18886 (package--push): Doc fix. Distinguish more clearly between
18887 version strings and version lists.
18888
121656e9
JB
188892011-04-21 Juanma Barranquero <lekktu@gmail.com>
18890
18891 Lexical-binding cleanup.
18892
18893 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18894 (5x5-make-mutate-best):
18895 * play/fortune.el (fortune-in-buffer):
18896 * play/gomoku.el (gomoku-init-display):
18897 * play/solitaire.el (solitaire, solitaire-do-check):
18898 * play/tetris.el (tetris-default-update-speed-function):
18899 Mark unused parameters.
18900
18901 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18902 (bubbles--shift): Remove unused variable `char-org'.
18903 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18904 (bubbles--show-images): Remove unused variable `char'.
18905
18906 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18907 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18908 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18909 (decipher-analyze-buffer): Use ?\s.
18910 (decipher-make-checkpoint): Remove unused variable `mapping'.
18911
18912 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18913
18914 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18915 Remove unused variable `result'; use `let'.
18916
18917 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18918 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18919 (gametree-children-shown-p, gametree-compute-reduced-score):
18920 Use `ignore-errors'.
18921
18922 * play/handwrite.el (ps-lpr-switches): Declare.
18923 (handwrite): Remove unused variables `pmin' and `lastp'.
18924
18925 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18926
18927 * play/landmark.el (landmark-init-display)
18928 (landmark-update-naught-weights): Mark unused parameters.
18929 (landmark-y): Remove unused variable `noise'. Simplify.
18930 (landmark-human-plays): Remove unused variable `score'.
18931
18932 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18933 (mpuz-try-proposal): Remove unused variable `game'.
18934
18935 * play/zone.el (life-patterns): Declare.
18936
80f499c7
JB
189372011-04-20 Juanma Barranquero <lekktu@gmail.com>
18938
18939 * vc/vc.el (ediff-vc-internal): Declare function.
18940
024ff170
SM
189412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18942
c0a193ea
SM
18943 * shell.el: Use lexical-binding and std completion UI.
18944 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18945 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18946 comint-preoutput-filter-functions rather than on
18947 comint-output-filter-functions.
18948 (shell-command-completion, shell--command-completion-data)
18949 (shell-filename-completion, shell-environment-variable-completion)
18950 (shell-c-a-p-replace-by-expanded-directory): New functions.
18951 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18952 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18953 (shell-dynamic-complete-environment-variable): Use them.
18954 (shell-dynamic-complete-as-environment-variable)
18955 (shell-dynamic-complete-as-command): Remove.
18956 (shell-match-partial-variable): Match past point.
18957 * comint.el: Clean up use of completion-at-point-functions.
18958 (comint-completion-at-point): New function.
18959 (comint-mode): Use it completion-at-point-functions.
18960 (comint-dynamic-complete): Make it obsolete.
18961 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18962 (comint-c-a-p-replace-by-expanded-history): New function.
18963 (comint-dynamic-complete-functions)
18964 (comint-replace-by-expanded-history): Use it.
18965 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18966 termination strings. Try harder to avoid second try-completion.
18967 (completion-in-region-mode-map): Disable bindings that don't work yet.
18968
2dbaa080
SM
18969 * comint.el: Use lexical-binding. Require CL.
18970 (comint-dynamic-complete-functions): Use comint-filename-completion.
18971 (comint-completion-addsuffix): Tweak custom type.
18972 (comint-filename-completion, comint--common-suffix)
18973 (comint--common-quoted-suffix, comint--table-subvert)
18974 (comint--complete-file-name-data): New functions.
18975 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18976 (comint-dynamic-list-filename-completions): Use them.
18977 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18978
2dbaa080
SM
18979 * minibuffer.el (completion-in-region-mode):
18980 Keep completion-in-region-mode--predicate global.
18981 (completion-in-region--postch):
18982 Assume completion-in-region-mode--predicate is not null.
18983
c79a6f38
SM
18984 * progmodes/flymake.el (flymake-start-syntax-check-process):
18985 Obey `dir'. Simplify.
18986
024ff170
SM
18987 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18988 we're in VC after all.
18989
1c6c854e
CS
189902011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18991
18992 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18993 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18994 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18995
bed7f140
SM
189962011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18997
332e62ab
SM
18998 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18999 add sanity check.
19000
bed7f140
SM
19001 * obsolete/erc-hecomplete.el: Make obsolete.
19002 * obsolete/: Standardize obsolescence info in the header.
19003
f195c582
GM
190042011-04-20 Glenn Morris <rgm@gnu.org>
19005
19006 * calendar/solar.el (solar-horizontal-coordinates):
19007 Use the longitude argument rather than `calendar-longitude'.
19008 (solar-date-next-longitude): Remove unused locals.
19009
cb79b8c0
VJL
190102011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19011
19012 * whitespace.el: New version 13.2.1.
19013
190142011-04-20 felix <EmacsWiki> (tiny change)
19015
d8e4b68b 19016 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19017 switching between major modes on a file.
19018
602ea69d
SM
190192011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19020
19021 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19022 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19023 multi-line comments as well.
19024
06b60517
JB
190252011-04-19 Juanma Barranquero <lekktu@gmail.com>
19026
19027 Lexical-binding cleanup.
19028
19029 * arc-mode.el (archive-mode-revert):
19030 * cmuscheme.el (scheme-interactively-start-process):
19031 * custom.el (custom-initialize-delay):
19032 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19033 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19034 * emacs-lock.el (emacs-lock-clear-sentinel):
19035 * ezimage.el (defezimage):
19036 * follow.el (follow-avoid-tail-recenter):
19037 * fringe.el (set-fringe-mode-1):
19038 * generic-x.el (bat-generic-mode-compile):
19039 * help-mode.el (help-info-variable, help-do-xref)
19040 (help-mode-revert-buffer):
19041 * help.el (view-emacs-todo):
19042 * iswitchb.el (iswitchb-completion-help):
19043 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19044 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19045 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19046 * locate.el (locate-update):
19047 * longlines.el (longlines-encode-region)
19048 (longlines-after-change-function):
19049 * outline.el (outline-isearch-open-invisible):
19050 * ps-def.el (declare-function, charset-dimension, char-width)
19051 (encode-char):
19052 * ps-mule.el (ps-mule-plot-string):
19053 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19054 (recentf-edit-list-select, recentf-edit-list-validate)
19055 (recentf-open-files-action):
19056 * rect.el (delete-whitespace-rectangle-line)
19057 (rectangle-number-line-callback):
19058 * register.el (window-configuration-to-register)
19059 (frame-configuration-to-register):
19060 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19061 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19062 (xselect-convert-to-targets, xselect-convert-to-delete)
19063 (xselect-convert-to-filename, xselect-convert-to-charpos)
19064 (xselect-convert-to-lineno, xselect-convert-to-colno)
19065 (xselect-convert-to-os, xselect-convert-to-host)
19066 (xselect-convert-to-user, xselect-convert-to-class)
19067 (xselect-convert-to-name, xselect-convert-to-integer)
19068 (xselect-convert-to-atom, xselect-convert-to-identity):
19069 * subr.el (declare, ignore, process-kill-without-query)
19070 (text-clone-maintain):
19071 * terminal.el (te-get-char, te-tic-sentinel):
19072 * tool-bar.el (tool-bar-make-keymap):
19073 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19074 * type-break.el (type-break-mode, type-break-noninteractive-query):
19075 * view.el (View-back-to-mark):
19076 * wid-browse.el (widget-browse-action, widget-browse-widget)
19077 (widget-browse-widgets, widget-browse-sexp):
19078 * widget.el (define-widget-keywords):
19079 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19080 Mark unused parameters.
19081
19082 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19083 (align-areas): Remove unused variable `look'.
19084 (align-region): Remove unused variables `real-end' and `pos-list'.
19085
19086 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19087
19088 * bindings.el (mode-line-modified, mode-line-remote):
19089 Mark unused parameters.
19090 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19091
19092 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19093 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19094
19095 * comint.el (comint-history-isearch-pop-state)
19096 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19097 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19098 (comint-substitute-in-file-name): Doc fix.
19099
19100 * completion.el (cmpl-statistics-block): Mark unused parameter.
19101 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19102 (save-completions-to-file, load-completions-from-file):
19103 Remove unused local variable `e'.
19104
19105 * composite.el (compose-chars): Remove unused variable `len'.
19106 (lgstring-insert-glyph): Remove unused variable `g'.
19107 (compose-glyph-string): Remove unused variables `ascent',
19108 `descent', `lbearing' and `rbearing'.
19109 (compose-glyph-string-relative): Remove unused variables
19110 `lbearing', `rbearing' and `wadjust'.
19111 (compose-gstring-for-graphic): Remove unused variables `header',
19112 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19113 (compose-gstring-for-terminal): Remove unused variables `header'
19114 and `nchars'. Use `let', not `let*'.
19115
19116 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19117 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19118 (Custom-buffer-done, custom-buffer-create-internal)
19119 (custom-browse-visibility-action, custom-browse-group-tag-action)
19120 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19121 (widget-magic-mouse-down-action, custom-toggle-parent)
19122 (custom-add-parent-links, custom-toggle-hide-variable)
19123 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19124 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19125 (custom-face-menu-create, custom-variable-menu-create, get)
19126 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19127 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19128 (customize-apropos): Remove unused variable `tests'.
19129 (custom-group-value-create): Remove unused variable `hidden-p'.
19130 (sort-fold-case): Declare.
19131
19132 * cus-theme.el (custom-reset-standard-faces-list)
19133 (custom-reset-standard-variables-list): Declare.
19134 (customize-create-theme, custom-theme-revert, custom-theme-write)
19135 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19136 Mark unused parameters.
19137
19138 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19139
19140 * delim-col.el (delimit-columns-max): Move defvar before first use.
19141
19142 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19143 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19144
19145 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19146 (auto-insert): Declare.
19147 (desktop-restore-file-buffer): Rename desktop-* parameters;
19148 mark unused ones.
19149 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19150 (desktop-buffer): Rename desktop-* parameters.
19151
19152 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19153 (dframe-reposition-frame-xemacs, dframe-help-echo)
19154 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19155 Mark unused parameters.
19156
19157 * dired-aux.el (backup-extract-version-start, overwrite-query)
19158 (overwrite-backup-query, rename-regexp-query)
19159 (rename-non-directory-query): Declare.
19160 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19161 (dired-add-entry): Remove unused variable `orig-file-name'.
19162 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19163 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19164 `dired-copy-preserve-time' directly.
19165 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19166 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19167
19168 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19169 (dired-virtual-revert, dired-make-relative-symlink):
19170 Mark unused parameters.
19171 (manual-program): Declare.
19172 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19173 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19174 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19175
19176 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19177
19178 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19179
19180 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19181 Declare.
19182
19183 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19184
19185 * electric.el (Electric-command-loop): Rename parameter
19186 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19187
19188 * expand.el (expand-in-literal): Remove unused variable `here'.
19189
19190 * facemenu.el (facemenu-add-new-color):
19191 Remove unused variable `docstring'.
19192
19193 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19194 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19195 (face-attr-construct): Mark unused parameter. Doc fix.
19196 (read-color): Remove unused variable `hex-string'.
19197
19198 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19199 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19200 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19201 (display-buffer-other-frame): Remove unused variable `old-window'.
19202 (kill-buffer-hook): Declare.
19203 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19204 Mark unused parameters.
19205 (after-find-file): Pass 1 to `auto-save-mode', not t.
19206
19207 * files-x.el (auto-insert): Declare.
19208 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19209
19210 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19211 variable `buf'. Mark unused parameter.
06b60517
JB
19212 (find-lisp-insert-directory): Mark unused parameter.
19213
19214 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19215 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19216 (format-common-tail): Remove, unused.
19217 (format-deannotate-region): Remove unused variable `loc'.
19218 (format-annotate-region): Remove unused variable `p'.
19219 (format-annotate-single-property-change): Remove unused variables
19220 `default' and `tail'.
19221
19222 * forms.el (read-file-filter): Declare.
19223 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19224
19225 * frame.el (frame-creation-function-alist): Mark unused parameter.
19226 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19227
19228 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19229 Remove unused parameters.
19230 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19231 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19232
19233 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19234 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19235 (hfy-prepare-tag-map): Mark unused parameters.
19236 (htmlfontify-buffer): Use `called-interactively-p'.
19237
19238 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19239 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19240 (ibuffer-do-occur): Mark unused parameters.
19241 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19242 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19243
19244 * ibuffer.el: Don't quote `lambda'.
19245 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19246 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19247 Mark unused parameters.
19248
19249 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19250 (ido-completing-read): Mark unused parameters.
19251 (ido-copy-current-word): Mark unused parameters;
19252 remove unused variable `name'.
19253 (ido-sort-merged-list): Remove unused parameter `dirs'.
19254
19255 * ielm.el (ielm-input-sender): Mark unused parameter.
19256 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19257 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19258 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19259 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19260 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19261
19262 * image-dired.el (image-dired-display-thumbs): Remove unused
19263 variables `curr-file' and `count'.
19264 (image-dired-remove-tag): Remove unused variable `start'.
19265 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19266 variable `curr-file'
19267 (image-dired-rotate-original): Remove unused variable `temp-file'.
19268 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19269 Remove unused variable `file'.
19270 (image-dired-gallery-generate): Remove unused variable `curr'.
19271 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19272
19273 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19274
19275 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19276
19277 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19278
19279 * isearch.el (minibuffer-history-symbol): Declare.
19280 (isearch-edit-string): Remove unused variable `err'.
19281 (isearch-message-prefix, isearch-message-suffix):
19282 Mark unused parameters.
19283
19284 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19285
19286 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19287
19288 * makesum.el (double-column): Remove unused variable `cnt'.
19289
19290 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19291 (ido-ignore-item-temp-list): Declare.
19292
19293 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19294 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19295 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19296 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19297 `mouse-col-delta'.
19298
19299 * mouse-sel.el (mouse-extend-internal):
19300 Remove unused variable `orig-window-frame'.
19301
19302 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19303 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19304 Move declarations before first use.
19305 (pcomplete-opt): Mark unused parameters; doc fix.
19306
19307 * proced.el (proced-revert): Mark unused parameter.
19308 (proced-send-signal): Remove unused variable `err'.
19309
19310 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19311 Rename parameter PREFIX-ARG to ARG.
19312 (ps-basic-plot-string, ps-basic-plot-whitespace):
19313 Mark unused parameters.
19314
19315 * replace.el (replace-count): Define.
19316 (occur-revert-function): Mark unused parameters.
19317 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19318 (isearch-case-fold-search, isearch-string): Declare.
19319 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19320 bind `case-fold-search'. Remove unused variables `beg' and `end',
19321 and simplify.
19322 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19323 COUNT and bind `replace-count'.
19324 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19325 to COUNT.
19326
19327 * savehist.el (print-readably, print-string-length): Declare.
19328
19329 * shadowfile.el (shadow-expand-cluster-in-file-name):
19330 Remove unused variable `cluster'.
19331 (shadow-copy-file): Remove unused variable `i'.
19332 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19333 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19334 (shadow-define-literal-group, shadow-define-regexp-group)
19335 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19336
19337 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19338 (shell): Use `called-interactively-p'.
19339 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19340
19341 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19342 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19343 (delete-backward-char): Remove unused variable `ocol'.
19344 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19345 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19346 (event-apply-hyper-modifier, event-apply-shift-modifier)
19347 (event-apply-control-modifier, event-apply-meta-modifier):
19348 Mark unused parameters.
19349 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19350 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19351
19352 * speedbar.el (speedbar-ignored-directory-expressions)
19353 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19354 (speedbar-find-file, speedbar-dir-follow)
19355 (speedbar-directory-buttons-follow, speedbar-tag-find)
19356 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19357 (speedbar-buffers-line-directory, speedbar-buffer-click):
19358 Mark unused parameters.
19359 (speedbar-tag-file): Remove unused variable `mode'.
19360 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19361
19362 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19363
19364 * talk.el (talk): Remove unused variable `display'.
19365
19366 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19367 (tar-write-region-annotate): Mark unused parameter.
19368
19369 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19370 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19371 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19372 warning by another.
19373
19374 * time-stamp.el (time-stamp-string-preprocess):
19375 Remove unused variable `require-padding'.
19376
19377 * tree-widget.el (widget-glyph-enable): Declare.
19378 (tree-widget-action): Mark unused parameter.
19379
19380 * w32-fns.el (x-get-selection): Mark unused parameter.
19381 (autoload-make-program, generated-autoload-file): Declare.
19382
19383 * wdired.el (wdired-revert): Mark unused parameters.
19384 (wdired-xcase-word): Remove unused variable `err'.
19385
19386 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19387 (whitespace-help-scroll): Remove unused variable `data-help'.
19388
19389 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19390 (widget-image-insert, widget-after-change, default)
19391 (widget-default-format-handler, widget-default-notify)
19392 (widget-default-prompt-value, widget-info-link-action)
19393 (widget-url-link-action, widget-function-link-action)
19394 (widget-variable-link-action, widget-file-link-action)
19395 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19396 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19397 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19398 (widget-insert-button-action, widget-delete-button-action, visibility)
19399 (widget-documentation-link-action, widget-documentation-string-action)
19400 (widget-const-prompt-value, widget-regexp-match, symbol)
19401 (widget-coding-system-prompt-value)
19402 (widget-key-sequence-value-to-external, sexp)
19403 (widget-sexp-value-to-internal, character, vector, cons)
19404 (widget-choice-prompt-value, widget-boolean-prompt-value)
19405 (widget-color--choose-action): Mark unused parameters.
19406 (widget-item-match-inline, widget-choice-match-inline)
19407 (widget-checklist-match, widget-checklist-match-inline)
19408 (widget-group-match): Rename parameter VALUES to VALS.
19409 (widget-field-value-set): Remove unused variable `size'.
19410 (widget-color-action): Remove unused variables `value' and `start'.
19411
19412 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19413 variable `dir'. Doc fix.
06b60517
JB
19414 (windmove-find-other-window): Don't pass it.
19415
19416 * window.el (count-windows): Mark unused parameter.
19417 (bw-adjust-window): Remove unused variable `err'.
19418
19419 * woman.el (woman-file-name): Remove unused variable `default'.
19420 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19421 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19422 (global-font-lock-mode): Declare.
19423 (woman-decode-region): Mark unused parameter.
19424 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19425
19426 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19427 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19428 (x-dnd-handle-moz-url): Remove unused variable `title'.
19429 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19430
19431 * xml.el (xml-parse-tag, xml-parse-attlist):
19432 Remove unused variable `pos'.
19433
bc4f7f3d
GM
194342011-04-19 Glenn Morris <rgm@gnu.org>
19435
19436 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19437 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19438 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19439 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19440 * calendar/cal-html.el (cal-html-insert-minical):
19441 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19442 (calendar-mark-date-pattern):
19443 Prefix "unused" locals.
19444
19445 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19446 optional argument `style'.
19447
19448 * calendar/appt.el (appt-make-list):
19449 * calendar/cal-china.el (calendar-chinese-date-string):
19450 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19451 (diary-hebrew-yahrzeit):
19452 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19453 * calendar/calendar.el (calendar-generate-window):
19454 * calendar/time-date.el (time-to-days):
19455 Remove unused local variables.
19456
16a43933
CY
194572011-04-18 Chong Yidong <cyd@stupidchicken.com>
19458
19459 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19460 glyphless-char-display table.
19461 (tabulated-list-glyphless-char-display): New var.
19462
7eed1860
SS
194632011-04-18 Sam Steingold <sds@gnu.org>
19464
19465 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19466 to acknowledgments.
19467
4d2d1ccd
GM
194682011-04-17 Glenn Morris <rgm@gnu.org>
19469
19470 * calendar/diary-lib.el (diary-sexp-entry):
19471 * calendar/holidays.el (holiday-sexp):
19472 Set debug-on-error rather than the removed stack-trace-on-error.
19473
239da61d
GM
194742011-04-16 Glenn Morris <rgm@gnu.org>
19475
19476 * progmodes/f90.el: Use lexical-binding.
19477 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19478
8b05752a
SM
194792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19480
daca8ba5
SM
19481 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19482 (mail-mode): Setup mailalias completion here instead.
19483 * mail/mailalias.el: Use lexical-binding.
19484 (pattern, mailalias-done): Declare dynamic.
19485 (mail-completion-at-point-function): New function, from mail-complete.
19486 (mail-complete): Use it.
19487 (mail-completion-expand): New function.
19488 (mail-get-names): Use it.
19489 (mail-directory, mail-directory-process, mail-directory-stream):
19490 Don't use `pattern' for lexically bound arg.
19491
6f542485
SM
19492 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19493
037e7c3f
SM
19494 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19495 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19496 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19497
8b05752a
SM
19498 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19499 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19500 (byte-interactive-p): Define them again, for use when inlining
19501 old code.
19502
49093f60
JB
195032011-04-15 Juanma Barranquero <lekktu@gmail.com>
19504
19505 * loadup.el: Use `string-to-number', not `string-to-int'.
19506
b5b8e7de
SM
195072011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19508
19509 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19510 gud-gdb-complete-command.
19511 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19512 (gud-gdb-completion-at-point): New function.
19513 (gud-gdb-completions): Remove.
19514
f42efeb5
MA
195152011-04-14 Michael Albinus <michael.albinus@gmx.de>
19516
49093f60
JB
19517 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19518 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19519 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19520 whether `executable-find' is bound.
f42efeb5
MA
19521
19522 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19523
e240cc21
SM
195242011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19525
19526 * minibuffer.el (completion-in-region-mode-predicate)
19527 (completion-in-region-mode--predicate): New vars.
19528 (completion-in-region, completion-in-region--postch)
19529 (completion-in-region-mode): Use them.
19530 (completion--capf-wrapper): Also return the hook function.
19531 (completion-at-point, completion-help-at-point):
19532 Adjust and provide a predicate.
c2bd2ab0
SM
19533
19534 Preserve arg names for advice of subr and lexical functions (bug#8457).
19535 * help-fns.el (help-function-arglist): Consolidate the subr and
19536 new-byte-code cases. Add argument `preserve-names' to extract names
19537 from the docstring when needed.
19538 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19539 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19540 (ad-arglist): Use help-function-arglist's new arg.
19541 (ad-definition-type): Use cond.
19542
c183f693
JB
195432011-04-13 Juanma Barranquero <lekktu@gmail.com>
19544
06641a47
JB
19545 * autorevert.el (auto-revert-handler):
19546 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19547 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19548 Don't quote lambda.
19549
c183f693
JB
19550 * image-mode.el (image-transform-set-scale):
19551 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19552
1e3b6001
G
195532011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19554
19555 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19556 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19557 Upgrades via gnutls-cli are too slow to be done opportunistically.
19558
2d6af8dd
JB
195592011-04-12 Juanma Barranquero <lekktu@gmail.com>
19560
19561 * dframe.el (dframe-current-frame): Remove spurious quote.
19562
c0749a51
GM
195632011-04-12 Glenn Morris <rgm@gnu.org>
19564
088d0d61
GM
19565 * calendar/cal-tex.el (cal-tex-end-document):
19566 Try to automatically use latin1 input if needed.
19567
c0749a51
GM
19568 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19569 Don't try to cons a mark onto an empty element.
19570
5c90fde0
LL
195712011-04-11 Leo Liu <sdl.web@gmail.com>
19572
19573 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19574 buffers.
19575 (ido-kill-buffer-at-head): Support killing virtual buffers.
19576
369e974d
CY
195772011-04-10 Chong Yidong <cyd@stupidchicken.com>
19578
19579 * minibuffer.el (completion-show-inline-help): New var.
19580 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19581 (minibuffer-force-complete, minibuffer-complete-word):
19582 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19583
19584 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19585 to avoid interference from inline help (Bug#5849).
19586
37f1c930
LL
195872011-04-10 Leo Liu <sdl.web@gmail.com>
19588
099c39a4
JB
19589 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19590 Fix typo.
37f1c930 19591
a32d4040
CY
195922011-04-09 Chong Yidong <cyd@stupidchicken.com>
19593
19594 * image-mode.el (image-toggle-display-image): Signal an error if
19595 not in Image mode.
19596 (image-transform-mode, image-transform-resize)
19597 (image-transform-set-rotation): Doc fix.
daca8ba5 19598 (image-transform-set-resize): Delete.
a32d4040
CY
19599 (image-transform-set-scale, image-transform-fit-to-height)
19600 (image-transform-fit-to-width): Handle image-toggle-display-image
19601 and image-transform-resize directly.
19602
099c39a4 196032011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19604
19605 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19606 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19607 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19608 (doc-view-mode-map): Add bindings for the new functions.
19609
099c39a4 196102011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19611
4d61f28d 19612 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19613 Fix typo in docstring.
19614
3726838a
EZ
196152011-04-08 Eli Zaretskii <eliz@gnu.org>
19616
04f33f1e
EZ
19617 * files.el (file-size-human-readable): Produce one digit after
19618 decimal, like "ls -lh" does.
19619
19620 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19621 the file size representation.
19622
3726838a
EZ
19623 * simple.el (list-processes): If async subprocesses are not
19624 available, error out with a clear error message.
19625
cbb59342
CY
196262011-04-08 Chong Yidong <cyd@stupidchicken.com>
19627
19628 * help.el (help-form-show): New function, to be called from C.
19629 Put help-form output in a buffer named differently than *Help*.
19630
e3971c44
EZ
196312011-04-08 Eli Zaretskii <eliz@gnu.org>
19632
19633 * files.el (file-size-human-readable): New function.
19634
19635 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19636 computing the representation inline. Don't require `cl'.
19637
12544bbe
GM
196382011-04-08 Glenn Morris <rgm@gnu.org>
19639
a1de6c6a
GM
19640 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19641
3c4671f4
GM
19642 * net/browse-url.el (browse-url-firefox):
19643 Test system-type, not system-configuration.
19644
b605679c
GM
19645 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19646 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19647 Use log-edit-empty-buffer-p. (Bug#7598)
19648
56442f0c
GM
19649 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19650 (rlogin-mode-map): Initialize in the defvar.
19651 (rlogin): Use ignore-errors.
19652
12544bbe
GM
19653 * replace.el (occur-mode-map): Some fixes for menu items.
19654
eb237b0f
AH
196552011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19656
19657 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19658
7d668f2c
CY
196592011-04-06 Chong Yidong <cyd@stupidchicken.com>
19660
e67a13ab
CY
19661 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19662 issuing unused warnings.
19663
19664 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19665 macro directly.
19666
7d668f2c
CY
19667 * simple.el: Lisp reimplement of list-processes. Based on an
19668 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19669 (process-menu-mode): New major mode.
19670 (list-processes--refresh, list-processes):
19671 (process-menu-visit-buffer): New functions.
19672
19673 * files.el (save-buffers-kill-emacs): Don't assume any return
19674 value of list-processes, which is undocumented anyway.
19675
a83ec3c9
CY
196762011-04-06 Chong Yidong <cyd@stupidchicken.com>
19677
19678 * emacs-lisp/tabulated-list.el: New file.
19679
e91a96fe
CY
19680 * emacs-lisp/package.el: Use Tabulated List mode.
19681 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19682 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19683 table format using Tabulated List mode variables.
19684 (package--push): New macro, replacing package-list-maybe-add.
19685 (package-menu--generate): Use package--push. Renamed from
19686 package--generate-package-list.
19687 (package-menu-refresh, list-packages): Use it.
daca8ba5 19688 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19689 Return insertion data instead of inserting it directly.
099c39a4
JB
19690 (package-menu-describe-package, package-menu-execute):
19691 Use tabulated-list-get-id.
e91a96fe
CY
19692 (package-menu-mark-delete, package-menu-mark-install)
19693 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19694 (package-menu-mark-obsolete-for-deletion):
19695 Use tabulated-list-put-tag.
e91a96fe
CY
19696 (package--list-packages, package-menu-revert)
19697 (package-menu-get-package, package-menu-get-version)
19698 (package-menu-sort-by-column): Functions deleted.
19699 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19700 (package-menu--status-predicate, package-menu--version-predicate)
19701 (package-menu--name-predicate)
19702 (package-menu--description-predicate): Handle arguments in the
19703 Tabulated List format.
19704 (package-list-packages-no-fetch): Call list-packages.
19705
3e214b50
JB
197062011-04-06 Juanma Barranquero <lekktu@gmail.com>
19707
19708 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19709 (after-find-file): Don't bind it.
3e214b50
JB
19710 (revert-buffer-in-progress-p): New variable.
19711 (revert-buffer): Bind it.
19712 Pass nil for `after-find-file-from-revert-buffer'.
19713
19714 * saveplace.el (save-place-find-file-hook): Use new variable
19715 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19716
3f0f1700
GM
197172011-04-06 Glenn Morris <rgm@gnu.org>
19718
c0274801
GM
19719 * Makefile.in (AUTOGEN_VCS): New variable.
19720 (autoloads): Use $AUTOGEN_VCS.
19721
3f0f1700
GM
19722 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19723 * calendar/calendar.el (calendar-mode-map):
19724 Check for toolkit scroll bars. (Bug#8305)
19725
41ea9e48
CY
197262011-04-05 Chong Yidong <cyd@stupidchicken.com>
19727
19728 * minibuffer.el (completion-in-region--postch)
19729 (completion-in-region-mode): Remove unnecessary messages.
19730
6194c800
JB
197312011-04-05 Juanma Barranquero <lekktu@gmail.com>
19732
33256f14
JB
19733 * font-lock.el (font-lock-refresh-defaults):
19734 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19735 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19736
6194c800
JB
19737 * info.el (Info-directory-list, Info-read-node-name-2)
19738 (Info-split-parameter-string): Doc fixes.
19739 (Info-virtual-nodes): Reflow docstring.
19740 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19741 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19742 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19743 Fix typos in docstrings.
19744 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19745 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19746 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19747 (Info-restore-desktop-buffer): Mark unused parameters.
19748 (Info-directory-find-file, Info-directory-find-node)
19749 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19750 (Info-virtual-index-find-node, Info-apropos-find-file)
19751 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19752 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19753 (Info-virtual-index): Remove unused local variable `nodename'.
19754
b87a8200 197552011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19756
b87a8200
DD
19757 * net/rcirc.el: Update my e-mail address.
19758 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19759
3b2ff876
CY
197602011-04-05 Chong Yidong <cyd@stupidchicken.com>
19761
19762 * startup.el (command-line): Save the cursor's theme-face
19763 directly, instead of using face-override-spec.
19764
19765 * custom.el (load-theme): Minor optimization in assigning faces.
19766
8d17e7ca
JB
197672011-04-04 Juanma Barranquero <lekktu@gmail.com>
19768
19769 * help-fns.el (describe-variable): Complete all variables having
19770 documentation, including keywords.
19771 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19772
2fbc1934
JB
197732011-04-04 Juanma Barranquero <lekktu@gmail.com>
19774
19775 Convert to lexical-binding.
19776
19777 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19778 (bs--get-marked-string, bs--get-modified-string)
19779 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19780 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19781 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19782
19783 * ehelp.el (electric-help-execute-extended)
19784 (electric-help-ctrl-x-prefix):
19785 * hexl.el (hexl-revert-buffer-function):
19786 * linum.el (linum-after-change, linum-after-scroll):
19787 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19788
19789 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19790
74f50695
DU
197912011-04-04 Daiki Ueno <ueno@unixuser.org>
19792
19793 * epa-dired.el:
19794 * epa-mail.el:
19795 * epa-hook.el:
19796 * epa-file.el:
19797 * epa.el:
19798 * epg.el: Use lexical binding.
19799
c11325f7
CY
198002011-04-03 Chong Yidong <cyd@stupidchicken.com>
19801
0d9e9a12
CY
19802 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19803
c11325f7 19804 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19805 dictionary case for flyspell-mark-duplications-exceptions.
19806 Use regexp matching for languages.
c11325f7
CY
19807 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19808 default dictionary (Bug#7926).
19809
da91b5f2
CY
198102011-04-02 Chong Yidong <cyd@stupidchicken.com>
19811
099c39a4
JB
19812 * emacs-lisp/package.el (package--with-work-buffer):
19813 Recognize https URLs.
da91b5f2 19814
099c39a4
JB
19815 * net/network-stream.el: Move from gnus/proto-stream.el.
19816 Change prefix to network-stream throughout.
da91b5f2
CY
19817 (open-protocol-stream): Merge into open-network-stream, leaving
19818 open-protocol-stream as an alias. Handle nil BUFFER args.
19819
19820 * subr.el (open-network-stream): Move to net/network-stream.el.
19821
afa8e9f6
GM
198222011-04-02 Glenn Morris <rgm@gnu.org>
19823
1d2e369d
GM
19824 * find-dired.el (find-exec-terminator): New option.
19825 (find-ls-option): Test for -ls support.
19826 (find-ls-subdir-switches): Test for -b in find-ls-option.
19827 (find-dired, find-grep-dired): Doc fixes.
19828 (find-dired): Use find-exec-terminator.
19829
8abb7da8 19830 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19831 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19832 (find-name-arg): Remove purecopy.
8abb7da8 19833
f3ca7378
GM
19834 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19835 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19836 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19837 accordingly. Don't add the null-device if not needed.
19838
afa8e9f6
GM
19839 * files.el (save-some-buffers): Doc fix.
19840
35eae264
EZ
198412011-04-02 Eli Zaretskii <eliz@gnu.org>
19842
19843 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19844
26b51db5
JB
198452011-04-01 Juanma Barranquero <lekktu@gmail.com>
19846
19847 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19848 Use `dolist' rather than `mapcar'.
19849
7200d79c
SM
198502011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19851
03408648 19852 Add lexical binding.
7200d79c 19853
03408648
SM
19854 * subr.el (apply-partially): Use new closures rather than CL.
19855 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19856 (dolist, dotimes): Use slightly different expansion for lexical code.
19857 (functionp): Move to C.
19858 (letrec): New macro.
19859 (with-wrapper-hook): Use it and apply-partially instead of CL.
19860 (eval-after-load): Preserve lexical-binding.
19861 (save-window-excursion, with-output-to-temp-buffer): Turn them
19862 into macros.
7200d79c 19863
03408648
SM
19864 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19865
19866 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19867 than the arglist.
19868 (help-add-fundoc-usage): Don't add `Not documented'.
19869 (help-function-arglist): Handle closures, subroutines, and new
19870 byte-code-functions.
19871 (help-make-usage): Remove leading underscores.
19872 (describe-function-1): Handle closures.
19873 (describe-variable): Use special-variable-p for completion.
19874
19875 * files.el (lexical-binding): Declare safe.
f488fb65 19876
03408648
SM
19877 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19878 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19879 (pcase): Add `let' pattern.
19880 Change memoization so it actually works.
19881 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19882 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19883 <let>: New case.
f488fb65 19884
03408648
SM
19885 * emacs-lisp/macroexp.el: Use lexical binding.
19886 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19887 Don't convert ' to #' without checking that it's indeed quoting
19888 a lambda.
19889
19890 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19891 Use eval-sexp-add-defvars.
03408648
SM
19892 (eval-sexp-add-defvars): New fun.
19893
19894 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19895
19896 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19897 Don't autoload.
19898 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19899 than the internal `byte-compile-lambda'.
19900 (defmethod): Don't hide code under quotes.
19901 (eieio-defmethod): New `code' argument.
19902
19903 * emacs-lisp/eieio-comp.el: Remove.
19904
19905 * emacs-lisp/edebug.el (edebug-eval-defun)
19906 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19907 (edebug-toggle): Avoid `eval'.
19908
19909 * emacs-lisp/disass.el (disassemble-internal): Handle new
19910 `closure' objects.
19911 (disassemble-1): Handle new byte codes.
19912
19913 * emacs-lisp/cl.el (pushnew): Silence warning.
19914
19915 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19916 (cl-byte-compile-throw): Remove.
19917 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19918
19919 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19920 closures.
19921
19922 * emacs-lisp/cconv.el: New file.
19923
19924 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19925 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19926 (byte-compile-initial-macro-environment):
19927 Handle declare-function here.
19928 (byte-compile--lexical-environment): New var.
19929 (byte-stack-ref, byte-stack-set, byte-discardN)
19930 (byte-discardN-preserve-tos): New lap codes.
19931 (byte-interactive-p): Don't use any more.
19932 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19933 New macros.
19934 (byte-compile-lapcode): Use them and handle new lap codes.
19935 (byte-compile-obsolete): Remove.
19936 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19937 (byte-compile-arglist-warn): Check late def of inlinable funs.
19938 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19939 since they should have been expanded by now.
19940 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19941 (byte-compile-from-buffer): Remove unused second arg.
19942 (byte-compile-preprocess): New function.
19943 (byte-compile-toplevel-file-form): New function to distinguish
19944 file-form calls from outside from file-form calls from hunk-handlers.
19945 (byte-compile-file-form): Simplify.
19946 (byte-compile-file-form-defsubst): Remove.
19947 (byte-compile-file-form-defmumble): Simplify now that
19948 byte-compile-lambda always returns a byte-code-function.
19949 (byte-compile): Preprocess.
19950 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19951 Remove, not used any more.
19952 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19953 (byte-compile-make-args-desc): New funs.
19954 (byte-compile-lambda): Handle lexical functions. Always return
19955 a byte-code-function.
19956 (byte-compile-reserved-constants): New var, to make up room for
19957 closed-over variables.
19958 (byte-compile-constants-vector): Obey it.
19959 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19960 (byte-compile-macroexpand-declare-function): New function.
19961 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19962 byte-code-functions.
19963 (byte-compile-form): Check obsolescence here.
19964 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19965 (byte-compile-variable-ref): Remove.
19966 (byte-compile-dynamic-variable-op): New fun.
19967 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19968 (byte-compile-variable-set): New funs.
19969 (byte-compile-discard): Add 2 args.
19970 (byte-compile-stack-ref, byte-compile-stack-set)
19971 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19972 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19973 macroexpand-all instead.
19974 (byte-compile-quote-form): Remove.
19975 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19976 (byte-compile-bind, byte-compile-unbind): New funs.
19977 (byte-compile-let): Handle let* and lexical binding.
19978 (byte-compile-let*): Remove.
19979 (byte-compile-catch, byte-compile-unwind-protect)
19980 (byte-compile-track-mouse, byte-compile-condition-case):
19981 Handle a new :fun-body form, used for lexical scoping.
19982 (byte-compile-save-window-excursion)
19983 (byte-compile-with-output-to-temp-buffer): Remove.
19984 (byte-compile-defun): Simplify.
19985 (byte-compile-stack-adjustment): New fun.
19986 (byte-compile-out): Use it.
19987 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19988
19989 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19990 handler any more.
19991
19992 * emacs-lisp/byte-opt.el: Use lexical binding.
19993 (byte-inline-lapcode): Remove (to bytecomp).
19994 (byte-compile-inline-expand): Pay attention to inlining to/from
19995 lexically bound code.
19996 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19997 any more.
19998 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19999 any more and don't call compiler-macros.
20000 (byte-compile-splice-in-already-compiled-code): Remove.
20001 (byte-code): Don't inline any more.
20002 (disassemble-offset): Receive `bytes' as argument rather than via
20003 dynamic scoping.
20004 (byte-compile-tag-number): Declare before first use.
20005 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20006 `return' even if make-spliceable.
20007 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20008 obsolete interactive-p.
20009 (byte-optimize-lapcode): Optimize new lap-codes.
20010 Don't trip up on new form of `byte-constant' lap code.
20011
20012 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20013
20014 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20015
20016 * custom.el (custom-initialize-default, custom-declare-variable):
20017 Use `defvar'.
20018
20019 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20020 New variables.
20021 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20022 (COMPILE_FIRST): Add macroexp and cconv.
20023 * makefile.w32-in: Mirror changes in Makefile.in.
20024
20025 * vc/cvs-status.el:
20026 * vc/diff-mode.el:
20027 * vc/log-edit.el:
20028 * vc/log-view.el:
20029 * vc/smerge-mode.el:
20030 * textmodes/bibtex-style.el:
090bd7cb 20031 * textmodes/css-mode.el:
03408648
SM
20032 * startup.el:
20033 * uniquify.el:
da91b5f2
CY
20034 * minibuffer.el:
20035 * newcomment.el:
20036 * reveal.el:
20037 * server.el:
20038 * mpc.el:
20039 * emacs-lisp/smie.el:
20040 * doc-view.el:
20041 * dired.el:
03408648
SM
20042 * abbrev.el: Use lexical binding.
20043
0f0c1f27
EZ
200442011-04-01 Eli Zaretskii <eliz@gnu.org>
20045
20046 * info.el (info-display-manual): New function.
20047
c82b2579
SM
200482011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20049
20050 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20051
221ddf68
TH
200522011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20053
20054 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20055 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20056
cba6e77e
GM
200572011-03-31 Glenn Morris <rgm@gnu.org>
20058
e040639f
GM
20059 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20060
cba6e77e
GM
20061 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20062
6d0f1c9e
CS
200632011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20064
20065 * progmodes/python.el (python-default-interpreter)
20066 (python-python-command-args, python-jython-command-args)
20067 (python-which-shell, python-which-args, python-which-bufname)
20068 (python-file-queue, python-comint-output-filter-function)
20069 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20070 variables and functions.
20071
3e2d70fd
SM
200722011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20073
20074 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20075 (completion-in-region-mode): New minor mode.
20076 (completion-in-region): Use it.
20077 (completion-in-region--data, completion-in-region-mode-map): New vars.
20078 (completion-in-region--postch): New function.
20079 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20080 New vars.
20081 (completion--capf-wrapper): New function.
20082 (completion-at-point): Use it to track well-behavedness of
20083 hook functions.
20084 (completion-help-at-point): New command.
20085
f3e4086c
JM
200862011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20087
20088 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20089 syntax class to search for whitespace on a single line
20090 (Message-ID: <4D938140.4030905@redhat.com>).
20091
eb7ffc14
LL
200922011-03-30 Leo Liu <sdl.web@gmail.com>
20093
20094 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20095 New commands.
20096 (edit-abbrevs-map): Bind them here.
20097 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20098
d806ab68
KM
200992011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20100
20101 * allout.el (allout-hide-by-annotation, allout-flag-region):
20102 Reduce possibility of overlay leakage by making them volatile.
20103
20104 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20105 hash is not shared between buffers. Mode initialization is
20106 responsible for giving it a useful starting value.
20107 (allout-item-span): Reduce possibility of overlay leakage by
20108 making them volatile.
20109 (allout-widgets-count-buttons-in-region): Add diagnostic function
20110 for tracking down button overlay leaks.
20111
ea622834
LL
201122011-03-29 Leo Liu <sdl.web@gmail.com>
20113
20114 * ido.el (ido-read-internal): Use the default history var
20115 minibuffer-history if no HISTORY is specified.
20116
b62f8267
G
201172011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20118
03408648
SM
20119 * net/imap.el (imap-shell-open, imap-process-connection-type):
20120 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20121 Kerberos, SSL, other subprocesses.
20122
947b6566
LL
201232011-03-28 Leo Liu <sdl.web@gmail.com>
20124
20125 * abbrev.el (abbrev-table-empty-p): New function.
20126 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20127 nonempty ones. (Bug#5937)
20128
5ffb62aa
JD
201292011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20130
20131 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20132
7a097943
LL
201332011-03-27 Leo Liu <sdl.web@gmail.com>
20134
20135 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20136 for foreground and background colors.
20137 (ansi-color-make-color-map): Adapt.
20138
c5b40130
LL
201392011-03-25 Leo Liu <sdl.web@gmail.com>
20140
1f48f7d2
LL
20141 * midnight.el (midnight-time-float): Remove. Note it calculates
20142 the microsecond component incorrectly and seconds-to-time does the
20143 same job.
625897ec 20144 Remove redundant (require 'timer).
1f48f7d2 20145
c5b40130
LL
20146 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20147 (ido-completions): Remove unused arguments. (Bug#8329)
20148
d86d2721
SM
201492011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20150
20151 * minibuffer.el (completion--flush-all-sorted-completions):
20152 Remove itself from hook.
20153 (completion-at-point): Let the functions perform the completion
20154 immediately and return nil or t.
20155 * comint.el (comint-dynamic-complete-functions): Now identical to
20156 completion-at-point-functions.
20157 (comint-dynamic-list-input-ring): Remove unused var `index'.
20158 (comint--match-partial-filename, comint--unquote&expand-filename):
20159 New funs, split from comint-match-partial-filename.
20160 (comint-dynamic-complete): Use completion-at-point.
20161 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20162
e8974c48
DA
201632011-03-24 Drew Adams <drew.adams@oracle.com>
20164
20165 * thingatpt.el: Support `defun'.
20166
def71b5e
LL
201672011-03-23 Leo Liu <sdl.web@gmail.com>
20168
cb5af48e
LL
20169 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20170
def71b5e
LL
20171 * help-mode.el (help-mode-finish): Tweak regexp.
20172
927c53e7
GM
201732011-03-23 Glenn Morris <rgm@gnu.org>
20174
18d05bed
GM
20175 * eshell/esh-opt.el (eshell-eval-using-options):
20176 Do not bind unused local variable `eshell-option-stub'.
20177
927c53e7
GM
20178 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20179
9d0da923
JB
201802011-03-22 Juanma Barranquero <lekktu@gmail.com>
20181
20182 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20183 keymap variable in `with-no-warnings' to avoid a warning when the
20184 keymap has been already `defconst'ed.
20185
4b978a67
LL
201862011-03-22 Leo Liu <sdl.web@gmail.com>
20187
20188 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20189 encode all chars in abbrevs; otherwise use emacs-mule or
20190 utf-8-emacs. (Bug#8308)
20191
5fd62452
JB
201922011-03-22 Juanma Barranquero <lekktu@gmail.com>
20193
0b1596c6
JB
20194 * simple.el (backward-delete-char-untabify):
20195 Avoid warning about using `delete-backward-char'.
20196
5fd62452
JB
20197 * image.el (image-type-file-name-regexps): Make it variable.
20198 `imagemagick-register-types' modifies it, and the user may want
20199 to add new extensions for known image types.
20200 (imagemagick-register-types): Throw error if not using ImageMagick.
20201
0b4e93f1
LL
202022011-03-22 Leo Liu <sdl.web@gmail.com>
20203
20204 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20205 located before rcirc-prompt-end-marker.
20206 (rcirc-complete): Error if point is not after rcirc prompt.
20207 Handle the case when table is nil.
9882e214 20208 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20209
fccee4ab
CY
202102011-03-22 Chong Yidong <cyd@stupidchicken.com>
20211
20212 * custom.el (custom--inhibit-theme-enable): Make it affect only
20213 custom-theme-set-variables and custom-theme-set-faces.
20214 (provide-theme): Ignore custom--inhibit-theme-enable.
20215 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20216 (custom-enabling-themes): Delete variable.
d86d2721
SM
20217 (enable-theme): Accept only loaded themes as arguments.
20218 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20219 (custom-enabled-themes): Forbid themes from setting this.
20220 Eliminate use of custom-enabling-themes.
20221 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20222
af896da6
LL
202232011-03-21 Leo Liu <sdl.web@gmail.com>
20224
20225 * ido.el (ido-read-internal): Add ido-selected to history instead
20226 of user input.
20227
78f64af0
SM
202282011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20229
20230 * subr.el (deferred-action-list, deferred-action-function):
20231 Mark obsolete.
20232
b16ac1ec
LL
202332011-03-21 Leo Liu <sdl.web@gmail.com>
20234
810f7698
LL
20235 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20236 change on 2011-02-13 (bug#8309).
20237
b16ac1ec
LL
20238 * minibuffer.el (read-file-name-function): Change default value.
20239 (read-file-name--defaults): Rename from read-file-name-defaults.
20240 (read-file-name-default): Rename from read-file-name.
20241 (read-file-name): Call read-file-name-function.
20242
4e05e67e
GM
202432011-03-21 Glenn Morris <rgm@gnu.org>
20244
20245 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20246 Doc fixes.
20247
4359915b
CY
202482011-03-21 Chong Yidong <cyd@stupidchicken.com>
20249
20250 * cus-theme.el: Add missing provide statement.
20251 (customize-create-theme): Extract theme value correctly.
20252 (custom-theme-visit-theme): Autoload.
20253 (customize-create-theme): Prompt before inserting default faces.
20254
1fe275ee
JB
202552011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20256
20257 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20258 units and musical notes.
20259
cd394be1 202602011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20261
20262 * ido.el (ido-read-internal): Use completing-read-default.
20263 (ido-completing-read): Fix compatibility with completing-read.
20264
7d476bde
CO
202652011-03-20 Christian Ohler <ohler@gnu.org>
20266
20267 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20268 (ert-delete-all-tests): Use `called-interactively-p' rather than
20269 `interactive-p'.
20270 (ert--make-xrefs-region): Respect END.
20271
fe0fb33e
CY
202722011-03-19 Chong Yidong <cyd@stupidchicken.com>
20273
ff854b0b
CY
20274 * dired-aux.el (dired-create-directory): Signal an error if the
20275 directory already exists (Bug#8246).
20276
fe0fb33e
CY
20277 * facemenu.el (list-colors-display): Call list-faces-display
20278 inside with-help-window.
20279 (list-colors-print): Use display property to align the final
20280 column, instead of checking window-width.
20281
576bce32
EZ
202822011-03-19 Eli Zaretskii <eliz@gnu.org>
20283
4d61f28d 20284 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20285 windows-nt systems.
20286 (emerge-protect-metachars): Quote correctly for ms-dos and
20287 windows-nt systems.
20288
89c41d68 202892011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20290
20291 * info.el (info-initialize): Replace all uses of `:' with
20292 path-separator for compatibility with non-Unix systems.
20293 Cache quoting of path-separator. (Bug#8258)
20294
b14e3e21 202952011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20296
20297 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20298 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20299 (mouse-avoidance-mode): Fix typos in docstrings.
20300
4525ce3e
CY
203012011-03-19 Chong Yidong <cyd@stupidchicken.com>
20302
20303 * startup.el (package-subdirectory-regexp): Move from package.el.
20304 Omit \\` and \\', and let callers add them.
20305
20306 * emacs-lisp/package.el (package-strip-version)
20307 (package-load-all-descriptors): Add \\` and \\' to
20308 package-subdirectory-regexp before using it.
20309 (package-untar-buffer): New arg DIR; ensure that file untars only
20310 into this expected directory. Remove superfluous delete-region.
20311 (package-unpack): Caller changed.
20312 (package-tar-file-info): Use package-subdirectory-regexp.
20313
a904a09a 203142011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20315
a904a09a
SM
20316 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20317 diff-mode-shared-map (bug#8284).
20318 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20319
203202011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20321
20322 * calendar/time-date.el (format-seconds): Use assoc instead of
20323 assoc-string, since assoc-string doesn't exist in XEmacs.
20324
171fc304
JB
203252011-03-17 Juanma Barranquero <lekktu@gmail.com>
20326
20327 * custom.el (custom-known-themes): Reflow docstring.
20328 (custom-theme-load-path): Fix typo in docstring.
20329 (load-theme): Fix typo in error message.
20330 (custom-available-themes, custom-variable-theme-value):
20331 Use `let', not `let*'.
20332
d71990a1
JB
203332011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20334
20335 * calc/README: Mention inclusion of musical notes.
20336
20337 * calc/calc-units.el (calc-lu-quant): Rename from
20338 `calc-logunits-quantity'.
20339 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20340 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20341 (calc-db): Rename from `calc-dblevel'.
20342 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20343 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20344 (calc-np): Rename from `calc-nplevel'.
20345 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20346 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20347 (calc-lu-plus): Rename from `calc-logunits-add'.
20348 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20349 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20350 (calc-lu-minus): Rename from `calc-logunits-sub'.
20351 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20352 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20353 (calc-lu-times): Rename from `calc-logunits-mul'.
20354 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20355 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20356 (calc-lu-divide): Rename from `calc-logunits-div'.
20357 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20358 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20359
20360 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20361 functions being autoloaded.
20362
20363 * calc/calc.el (calc-lu-power-reference): Rename from
20364 `calc-logunits-power-reference'.
20365 (calc-lu-field-reference): Rename from
20366 `calc-logunits-field-reference'.
20367
7a71b18d
GM
20368 * calc/calc-help.el (calc-l-prefix-help):
20369 Mention musical note functions.
d71990a1 20370
40c2934b
SM
203712011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20372
20373 * minibuffer.el (completion-all-sorted-completions):
20374 Use :completion-cycle-penalty text property if present.
20375
b0911414
KM
203762011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20377
20378 * allout.el (allout-yank-processing): Adjust for new rebulleting
20379 regime so bullet being yanked is used without prompting the user
20380 for a choice.
20381
8a05b668
JB
203822011-03-16 Juanma Barranquero <lekktu@gmail.com>
20383
20384 * startup.el (command-line): Warn the user that _emacs is deprecated.
20385
5ba5fb81
JB
203862011-03-16 Juanma Barranquero <lekktu@gmail.com>
20387
20388 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20389 (delphi-verbose, delphi-comment-face, delphi-string-face)
20390 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20391 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20392 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20393 (delphi-new-comment-line, delphi-font-lock-defaults)
20394 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20395 Fix typos in docstrings.
20396
2dab465b
KM
203972011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20398
5ba5fb81 20399 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20400 Invert the roles of character and string values for INSTEAD, so a
20401 string is used for the more common case of a defaulting prompt.
20402
0adf5618
SM
204032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20404
20405 * progmodes/ruby-mode.el (ruby-backward-sexp):
20406 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20407 * play/gamegrid.el (gamegrid-make-face):
20408 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20409 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20410 * notifications.el (notifications-notify):
20411 * net/xesam.el (xesam-search-engines):
20412 * net/quickurl.el (quickurl-list-insert):
20413 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20414
d72700e5
CY
204152011-03-15 Chong Yidong <cyd@stupidchicken.com>
20416
20417 * startup.el (command-line): Update package subdirectory regexp.
20418
49c5410a
SM
204192011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20420
c6eee9aa
SM
20421 * allout.el (allout-abbreviate-flattened-numbering)
20422 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20423
49c5410a
SM
20424 * subr.el (read-char-choice): Only show the cursor after the prompt,
20425 not after the answer.
20426
047b2bb9
KR
204272011-03-15 Kevin Ryde <user42@zip.com.au>
20428
20429 * help-fns.el (variable-at-point): Skip leading quotes, if any
20430 (bug#8253).
20431
0a57d256
SM
204322011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20433
20434 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20435 warning message.
20436
77c992bc
MA
204372011-03-14 Michael Albinus <michael.albinus@gmx.de>
20438
20439 * shell.el (shell): When called interactively, offer to change the
20440 shell file name on remote hosts.
20441
eebc475d
TZ
204422011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20443
20444 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20445 integration for LDAP parameters. The host, base, user or binddn,
20446 and secret tokens can be specified in a netrc file, for instance.
20447 This is optional because an `auth-source' parameter must be
20448 specified in the search attributes.
20449
9d05d1ba
JB
204502011-03-13 Juanma Barranquero <lekktu@gmail.com>
20451
20452 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20453
09d9db2c
GM
204542011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20455
20456 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20457 into declaration. Remove redundant and harmful binding.
20458
204592011-03-12 Eli Zaretskii <eliz@gnu.org>
20460
20461 * files.el (file-ownership-preserved-p): Pass `integer' as an
20462 explicit 2nd argument to `file-attributes'. If the file's owner
20463 is the Administrators group on Windows, and the current user is
20464 Administrator, consider that a match.
20465
20466 * server.el (server-ensure-safe-dir): Consider server directory
20467 safe on MS-Windows if its owner is the Administrators group while
20468 the current Emacs user is Administrator. Use `=' to compare
20469 numerical UIDs, since they could be integers or floats.
20470
219bd536
JB
204712011-03-12 Juanma Barranquero <lekktu@gmail.com>
20472
20473 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20474
f3afd36b
MA
204752011-03-12 Michael Albinus <michael.albinus@gmx.de>
20476
20477 Sync with Tramp 2.2.1.
20478
20479 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20480
20481 * net/trampver.el: Update release number.
20482
3aaaa6f1
SM
204832011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20484
94642599
SM
20485 * progmodes/compile.el (compilation--previous-directory): Fix up
20486 various nil/dead-marker mismatches (bug#8014).
20487 (compilation-directory-properties, compilation-error-properties):
20488 Don't call it at a position past the one we're about to change.
20489
3aaaa6f1
SM
20490 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20491 Disable obsolescence warnings in the file that declares it.
20492
14239447
KM
204932011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20494
099c39a4
JB
20495 * allout-widgets.el (allout-widgets-tally):
20496 Initialize allout-widgets-tally as a hash table rather than nil to
20497 prevent mode-line redisplay warnings. Also, clarify the module
20498 description and fix a comment typo.
14239447 20499
135e287c
JB
205002011-03-11 Juanma Barranquero <lekktu@gmail.com>
20501
20502 * help-fns.el (describe-variable): Don't complete keywords.
20503 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20504
ffbf300e
CY
205052011-03-10 Chong Yidong <cyd@stupidchicken.com>
20506
ba08b241
CY
20507 * emacs-lisp/package.el (package-version-join): Impose a standard
20508 string representation for pre/alpha/beta version lists.
20509 (package-unpack-single): Standardize the directory name by passing
20510 it through package-version-join.
20511 (package-strip-rcs-id): Accept any version string that does not
20512 signal an error in version-to-list.
ffbf300e 20513
f346fd6b
MA
205142011-03-10 Michael Albinus <michael.albinus@gmx.de>
20515
20516 * simple.el (delete-trailing-whitespace): Return nil for the
20517 benefit of `write-file-functions'.
20518
ccb55d27
GM
205192011-03-10 Glenn Morris <rgm@gnu.org>
20520
5ceaac0c
GM
20521 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20522
02da65ff
GM
20523 * vc/vc-git.el (vc-git-program): New option.
20524 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20525 (vc-git--call): Use it.
20526
b2f603cc
GM
20527 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20528
5772caab
GM
20529 * cus-edit.el (Custom-newline): If no button at point, look
20530 for a subgroup button at start-of-line. (Bug#2298)
20531
ccb55d27
GM
20532 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20533
ec6ecaed
JD
205342011-03-10 Julien Danjou <julien@danjou.info>
20535
20536 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20537 `cursor-type' is nil.
20538
9d5aa01d
JB
205392011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20540
20541 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20542
b6a5875b
KM
205432011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20544
7a71b18d 20545 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20546 preserves the existing header prefix, rebulleting it if necessary,
20547 rather than replacing it. This is necessary for proper operation
20548 of cooperative addons like allout-widgets.
1154d12e
JB
20549 (allout-make-topic-prefix, allout-rebullet-heading):
20550 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20551 value as alternate bullet to be used, instead of prompting the user
20552 for a bullet character.
b6a5875b 20553
ee545c35
MA
205542011-03-09 Michael Albinus <michael.albinus@gmx.de>
20555
d86d2721
SM
20556 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20557 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20558 `tramp-default-port'.
20559
c47971d7
DD
205602011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20561
20562 * net/rcirc.el (rcirc-handler-001): Remove useless
20563 with-rcirc-process-buffer.
20564 (rcirc-check-auth-status): Swap arguments to string-match.
20565
13522cb4
GM
205662011-03-09 Glenn Morris <rgm@gnu.org>
20567
0be6f4f1
GM
20568 * shell.el (shell-mode):
20569 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20570
13522cb4
GM
20571 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20572 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20573
515de2e3
CY
205742011-03-08 Chong Yidong <cyd@stupidchicken.com>
20575
20576 * emacs-lisp/package.el (package-refresh-contents)
20577 (package-menu-execute): Use condition-case-no-debug.
20578
b511b994
MA
205792011-03-08 Michael Albinus <michael.albinus@gmx.de>
20580
20581 * simple.el (shell-command-to-string): Use `process-file'.
20582
20583 * emacs-lisp/package.el (package-tar-file-info): Handle also
20584 remote files.
20585
d86d2721
SM
20586 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20587 Use `equal' for upload base check.
b511b994 20588
25bbfb31
AM
205892011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20590
20591 * textmodes/texinfo.el (texinfo-environments):
20592 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20593
be996521
GM
205942011-03-08 Glenn Morris <rgm@gnu.org>
20595
e9c8529f
GM
20596 * cus-start.el (cursor-in-non-selected-windows):
20597 Fix :set quoting oddness. (Bug#8192)
20598
be996521
GM
20599 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20600 in some setf expressions. (Bug#2159)
20601
2bb5649e
CY
206022011-03-08 Chong Yidong <cyd@stupidchicken.com>
20603
20604 * custom.el (custom-available-themes): Return themes in
20605 alphabetical order.
20606
33383987 20607See ChangeLog.15 for earlier changes.
e3d51b27
MR
20608
20609;; Local Variables:
20610;; coding: utf-8
e3d51b27
MR
20611;; End:
20612
acaf905b 20613 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20614
20615 This file is part of GNU Emacs.
20616
20617 GNU Emacs is free software: you can redistribute it and/or modify
20618 it under the terms of the GNU General Public License as published by
20619 the Free Software Foundation, either version 3 of the License, or
20620 (at your option) any later version.
20621
20622 GNU Emacs is distributed in the hope that it will be useful,
20623 but WITHOUT ANY WARRANTY; without even the implied warranty of
20624 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20625 GNU General Public License for more details.
20626
20627 You should have received a copy of the GNU General Public License
20628 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.