Remove some old information from cl.texi that is no longer relevant
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
3c92de70
SM
12012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * minibuffer.el (minibuffer-force-complete): Use one more marker
4 for the temporary-overlay-map command (bug#12619).
5
a4b6d7c6
CY
62012-10-24 Chong Yidong <cyd@gnu.org>
7
8 * time.el (display-time-world-mode): Derive from special-mode.
9 (display-time-world): Use display-buffer (Bug#12708).
10 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
11 (display-time-world-display): Wrap the final delete-char inside
12 inhibit-read-only.
a4b6d7c6 13
75e8f9d2
CY
142012-10-24 Chong Yidong <cyd@gnu.org>
15
cd996018
CY
16 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
17 Doc fix.
18
75e8f9d2
CY
19 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
20
d92df117
SM
212012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
22
23 * minibuffer.el (completion--all-sorted-completions-location): New var.
24 (completion--cache-all-sorted-completions)
25 (completion--flush-all-sorted-completions): Use it.
26 (completion-in-region, completion-in-region--postch)
27 (completion-at-point, completion-help-at-point): Use markers in
28 completion-in-region--data (bug#12619).
29
9c3e39f3
SM
302012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
31
c79825bd
SM
32 * progmodes/compile.el (compilation-start): Try to handle common
33 quoting of `cd' argument (bug#12640).
34
9c3e39f3
SM
35 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
36 (bug#12671).
37
a6709bc7
GM
382012-10-23 Glenn Morris <rgm@gnu.org>
39
40 * progmodes/gud.el (gud-menu-map):
41 Check gdb-active-process is bound. (Bug#12358)
42
d1069532
SM
432012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
44
d20d69c0
SM
45 * repeat.el (repeat): Set real-this-command (bug#12232).
46
d1069532
SM
47 * htmlfontify.el (hfy-post-html-hook):
48 * filesets.el (filesets-cache-fill-content-hook):
49 * arc-mode.el (archive-extract-hook):
50 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
51 * net/rcirc.el (rcirc-sentinel-functions)
52 (rcirc-receive-message-functions, rcirc-activity-functions)
53 (rcirc-print-functions):
54 * net/dbus.el (dbus-event-error-functions):
55 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
56 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
57 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
58 * term/sun.el (sun-raw-prefix-hooks):
59 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
60
f7eac6d8
MA
612012-10-23 Michael Albinus <michael.albinus@gmx.de>
62
d1069532
SM
63 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
64 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
65 (tramp-smb-wait-for-output): Add timeout to
66 `tramp-accept-process-output' calls.
67
608d9d7c
CY
682012-10-23 Chong Yidong <cyd@gnu.org>
69
49238e7f
CY
70 * faces.el (font-list-limit): Define as an obsolete variable.
71
72 * startup.el (command-line):
73 * cus-start.el: Don't refer to font-list-limit.
74
608d9d7c
CY
75 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
76
4ff5b1b2
SM
772012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * subr.el (internal-temp-output-buffer-show): Rename from
80 temp-output-buffer-show, since previously compiled files expect this name.
81
ea1d4aac
GM
822012-10-23 Glenn Morris <rgm@gnu.org>
83
84 * image.el (image-type-from-file-name): If multiple types match,
85 return the first one that is supported. (Bug#9045)
86
eda82a31
GM
872012-10-22 Glenn Morris <rgm@gnu.org>
88
89 * image.el (imagemagick-enabled-types): Doc fix.
90
4f020bec
TA
912012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
92
93 * progmodes/which-func.el (which-func-current): The hash-table may have
94 an explicit nil (bug#12338).
95
c77d37e2
SM
962012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * electric.el (electric-pair-delete-selection-self-insert-function):
99 Rename to electric-pair-will-use-region, return a boolean.
100 (electric-pair-mode): Adjust accordingly. Don't require delsel.
101
102 * delsel.el (delete-selection-helper): Use a function instead of a hook.
103 (delete-selection-pre-hook): Use use-region-p.
104 (delete-selection-self-insert-function): Remove.
105 (self-insert-command): Obey self-insert-uses-region-functions.
106 (self-insert-iso): Revert to previous setting, since we don't actually
107 know what that command does.
108 (delete-selection-self-insert-hooks): Remove.
109
b1d39ccc
SL
1102012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
111
112 * delsel.el (delete-selection-helper): New function, extracted from
113 delete-selection-pre-hook.
114 (delete-selection-pre-hook): Use it.
115 (delete-selection-self-insert-function): New function.
116 (delete-selection-self-insert-hooks): New hook.
117 (self-insert-command, self-insert-iso): Use it.
118 * electric.el (electric-pair-syntax): New function, extracted from
119 electric-pair-post-self-insert-function.
120 (electric-pair-post-self-insert-function): Use it.
121 (electric-pair-delete-selection-self-insert-function): New function.
122 (electric-pair-mode): Require delsel and setup
123 delete-selection-self-insert-hooks (bug#11520).
124
045ef729
CY
1252012-10-20 Chong Yidong <cyd@gnu.org>
126
4c5d08a8
CY
127 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
128 no changes to show (Bug#12586).
129
045ef729
CY
130 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
131 list explicitly (Bug#12571).
132
3503c798 1332012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 134
b1d39ccc
SL
135 * progmodes/flymake.el (flymake-create-temp-inplace):
136 Use file-truename.
79e1997a 137
2068905b
EZ
1382012-10-20 Eli Zaretskii <eliz@gnu.org>
139
140 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
141
4c9e9550
JB
1422012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
143
144 * calc/calc-units.el (math-extract-units): Properly extract powers
145 of units.
146
1a6e7e38
DC
1472012-10-20 Daniel Colascione <dancol@dancol.org>
148
149 * frame.el (make-frame): Set x-display-name as we used to in order
150 to unbreak creating an X11 frame from an Emacs daemon started
151 without a display.
152
8e808318
SM
1532012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
154
155 * minibuffer.el (minibuffer-force-complete): Make the next completion use
156 the same completion-field (bug@12221).
157
fb0104da
MR
1582012-10-19 Martin Rudalics <rudalics@gmx.at>
159
160 * emacs-lisp/debug.el (debug): Record height of debugger window
161 also when debugger will be back (Bug#8789).
162
8c27235e
CY
1632012-10-18 Chong Yidong <cyd@gnu.org>
164
165 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
166 Convert to defcustom.
167 (gdb-get-source-file): Don't bind pop-up-windows.
168
169 * progmodes/gud.el (gud-display-line): Don't specially re-use
170 other frames for the gdb-mi case (Bug#12648).
171
90eacf99
SM
1722012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
173
aaf0c300
SM
174 * emacs-lisp/advice.el: Clean up commentary a bit.
175 (ad-do-advised-functions, ad-with-originals): Use `declare'.
176 (byte-code-function-p): Never redefine.
177
90eacf99
SM
178 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
179
281c9d2b
GM
1802012-10-18 Glenn Morris <rgm@gnu.org>
181
40714e3d
GM
182 * dired.el (dired-sort-toggle): Some ls implementations only allow
183 a single option string. (Bug#12666)
184
281c9d2b
GM
185 * minibuffer.el (completion-cycle-threshold): Doc fix.
186
b278604e
KH
1872012-10-17 Kenichi Handa <handa@gnu.org>
188
90eacf99
SM
189 * international/mule.el (set-keyboard-coding-system):
190 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
191 Supply TERMINAL arg to set-input-meta-mode.
192
7ebc5f5a
MH
1932012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
194
195 * wdired.el (wdired-old-marks): New variable.
196 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
197 (wdired-do-renames): Move point with renamed file and don't lose
198 mark status (Bug#11795).
199
e5a94ec4
JL
2002012-10-16 Juri Linkov <juri@jurta.org>
201
202 * replace.el (query-replace-help): Mention multi-buffer replacement
203 keys in the Help message. (Bug#12655)
204
d18a0d24
CY
2052012-10-15 Chong Yidong <cyd@gnu.org>
206
207 * emacs-lisp/byte-run.el (defsubst): Doc fix.
208
8111f5e6
EZ
2092012-10-14 Eli Zaretskii <eliz@gnu.org>
210
7b9abf24
EZ
211 * window.el (display-buffer): Doc fix.
212
8111f5e6
EZ
213 * progmodes/compile.el (compilation-error-regexp-alist-alist):
214 Adjust the msft regexp to the output of Studio 2010, and move msft
215 before edg-1. See the discussion on emacs-devel,
216 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
217 for the details.
218
5046ef67
SM
2192012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
220
9760c73c
SM
221 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
222 (oset): Move uses of object-class-fast macro after its definition.
223
5046ef67
SM
224 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
225
0d11ff1c
CY
2262012-10-13 Chong Yidong <cyd@gnu.org>
227
228 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
229 enabled, re-enable it (Bug#11963).
230
88ded8ac
MR
2312012-10-13 Martin Rudalics <rudalics@gmx.at>
232
233 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
234 non-nil, restore window configuration (Bug#12623).
235
bd0ffffd
SM
2362012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
237
06485aa8
SM
238 * help-fns.el (describe-variable, describe-function-1):
239 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
240
bd0ffffd
SM
241 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
242
3a989246
GM
2432012-10-12 Glenn Morris <rgm@gnu.org>
244
245 * mail/rmailsum.el (rmail-header-summary):
246 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
247
55cd00c8
FEG
2482012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
249
bd0ffffd
SM
250 * progmodes/python.el (python-mode-map):
251 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
252 (python-nav--up-list): Fix behavior for blocks on the same level.
253
ac9fc2c7
SM
2542012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
255
d8cc4c00 256 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 257
5253a5fd
SM
258 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
259 changes to the format of load-history.
260
ac9fc2c7
SM
261 * international/mule-cmds.el (read-char-by-name): Move let-binding of
262 completion-ignore-case in case that var is buffer-local (bug#12615).
263
cde44a77
KH
2642012-10-11 Kenichi Handa <handa@gnu.org>
265
266 * international/eucjp-ms.el: Re-generated.
267
4ef4a10d
KH
2682012-10-10 Kenichi Handa <handa@gnu.org>
269
270 * select.el (xselect--encode-string): If a coding is specified for
271 selection, and that is compatible with COMPOUND_TEXT, use it.
272
9d7f027b
MR
2732012-10-10 Martin Rudalics <rudalics@gmx.at>
274
275 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
276 (switch-to-buffer):
277 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 278
238f3a58
SM
2792012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
282 Don't document nil as a useful value (bug#12583).
283
1d51f99c
MA
2842012-10-09 Michael Albinus <michael.albinus@gmx.de>
285
238f3a58
SM
286 * net/tramp.el (tramp-debug-message):
287 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
288 (with-tramp-progress-reporter): Rename from
289 `tramp-with-progress-reporter'.
238f3a58
SM
290 (with-tramp-file-property, with-tramp-connection-property):
291 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
292 `with-connection-property', respectively.
293
294 * net/tramp-cache.el: Remove `with-file-property' and
295 `with-connection-property'.
296
297 * net/tramp.el:
298 * net/tramp-gvfs.el:
299 * net/tramp-sh.el:
300 * net/tramp-smb.el: Adapt callees.
301
302 * net/trampver.el: Update release number.
303
26b77251
GM
3042012-10-09 Glenn Morris <rgm@gnu.org>
305
9a5f296f
GM
306 * w32-fns.el (set-message-beep):
307 * term/w32-win.el (set-message-beep): Update declarations.
308
94c66ce5
SM
3092012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
310
10766e9e
SM
311 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
312 (mode-line-widen, mode-line-input-method-map)
313 (mode-line-coding-system-map, mode-line-remote)
314 (mode-line-unbury-buffer, mode-line-bury-buffer)
315 (mode-line-next-buffer, mode-line-previous-buffer):
316 Replace save-selected-window+select-window => with-selected-window.
317
f754db08
SM
318 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
319 * progmodes/cc-vars.el (bq-process): Remove, unused.
320
94c66ce5
SM
321 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
322
a4ff7fe1
FEG
3232012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
324
325 Implemented `backward-up-list'-like navigation.
326 * progmodes/python.el (python-nav-up-list)
327 (python-nav-backward-up-list): New functions.
328 (python-mode-map): Define substitute key for backward-up-list to
329 python-nav-backward-up-list.
330
24517d82
FEG
3312012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
332
333 * progmodes/python.el (python-fill-paragraph): Rename from
334 python-fill-paragraph-function. Fixed fill-paragraph for
335 decorators (Bug#12605).
336
51867ae2
FEG
3372012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
338
339 * progmodes/python.el (python-shell-output-filter): Handle extra
340 carriage return in OSX (Bug#12409).
341
a5b773c4
FEG
3422012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
343
344 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 345 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
346 (python-syntax-propertize-function): Use it.
347 (python-shell-output-syntax-table): New var.
348 (inferior-python-mode): Prevent unbalanced parens/quotes from
349 previous output mess with current input context.
350
13373538
JB
3512012-10-08 Juanma Barranquero <lekktu@gmail.com>
352
353 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
354 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
355
775a132d
MA
3562012-10-08 Michael Albinus <michael.albinus@gmx.de>
357
358 * ffap.el (ffap-replace-file-component): Support Tramp file name
359 syntax, not only ange-ftp's one.
360
3ab44929
GM
3612012-10-08 Glenn Morris <rgm@gnu.org>
362
57f1dee4
GM
363 * cus-start.el (message-log-max): Set :version.
364
3ab44929
GM
365 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
366
6a088630
MR
3672012-10-08 Martin Rudalics <rudalics@gmx.at>
368
369 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
370 the minibuffer window (Bug#10851).
371
8dbce54c
FEG
3722012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
373
374 Enhancements on forward-sexp movement.
375 * progmodes/python.el (python-nav-beginning-of-statement)
376 (python-nav-end-of-statement): Return point-marker.
377 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
378 (python-info-current-symbol)
379 (python-info-statement-starts-block-p): Rename from
380 python-info-beginning-of-block-p.
381 (python-info-statement-ends-block-p): Rename from
382 python-info-end-of-block-p.
383 (python-info-beginning-of-statement-p)
384 (python-info-end-of-statement-p)
385 (python-info-beginning-of-block-p, python-info-end-of-block-p):
386 New functions.
387
5acd2b3e
SM
3882012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
389
390 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
391 frame-selected-windows.
392
e08348a0
DC
3932012-10-08 Daniel Colascione <dancol@dancol.org>
394
395 * battery.el (battery-status-function): Check for
396 w32-battery-status itself, not system-time windows-nt.
397
398 * frame.el: Require cl-lib.
399 (display-format-alist): New variable mapping frame types to
400 functions that initialize them.
401 (window-system-for-display): New function: interprets
402 display-format-alist.
403 (make-frame-on-display): Remove existing display-selection logic
404 and just forward to make-frame, which will now DTRT.
405 (make-frame): Restructure to use window-system-for-display to
406 figure out how to create a frame on a given display.
407 (display-mouse-p): Look for frame-type w32, not a particular
408 system-type.
409
410 * loadup.el: Load w32 lisp code when we have the w32 feature.
411
412 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
413 system-type windows-nt.
414
415 * server.el (server-create-window-system-frame): Look for window
416 type.
417 (server-proces-filter): Only force a window system when windows-nt
418 _and_ w32. Explain why.
419
420 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
421 of window systems we configure for the mode.
422
423 * startup.el (command-line): Mark window system is initialized
424 after we've done it.
425
426 * common-win.el (x-select-text): Look for w32, not windows-nt.
427
428 * ns-win.el: Require cl-lib. Add ourselves to
429 display-format-alist.
430 (ns-initialize-window-system): Assert we're not initialized twice.
431
432 * w32-win.el: Enable lexical binding; require cl-lib; add
433 ourselves to display-format-alist.
434 (w32-handle-dropped-file): Convert incoming dropped files from
435 Windows paths to Cygwin ones before passing them on to the rest of
436 Emacs.
437 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
438 (w32-initialize-window-system): Assert we're not initialized twice.
439
440 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
441 (x-initialize-window-system): Assert we're not initialized twice.
442
443 * w32-common-fns.el: New File.
444 (w32-version, w32-using-nt, w32-get-clipboard-data)
445 (w32-set-clipboard-data, x-set-selection, x-get-selection)
446 (w32-charset-info-alist, x-last-selected, text)
447 (x-get-selection-value, x-selection-value): Move here.
448
449 * w32-fns.el: Require w32-common-fns.
450 (w32-version, w32-using-nt, w32-get-clipboard-data)
451 (w32-set-clipboard-data, x-set-selection, x-get-selection)
452 (w32-charset-info-alist, x-last-selected, text)
453 (x-get-selection-value, x-selection-value): Move to
454 w32-common-fns.
455
456 * w32-vars.el:
457 (w32-allow-system-shell, w32-system-shells): Define only in
458 non-cygwin case.
459
795b1482
SM
4602012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
463 (read-passwd): Remove a few more potential sources of leaks.
464
f27c99dc
FEG
4652012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
466
467 * progmodes/python.el (inferior-python-mode)
795b1482 468 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
469 variables copied from parent buffer.
470
fcacb558
JD
4712012-10-07 Jan Djärv <jan.h.d@swipnet.se>
472
473 * term/ns-win.el (ns-read-file-name): Update declaration to match
474 nsfns.m.
475 (ns-respond-to-change-font): Change fontsize separatly so we are sure
476 it is set when font is acted upon.
477
be0d5bae
FEG
4782012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
479
480 Enhancements to indentation.
481 * progmodes/python.el (python-indent-context): Give priority to
482 inside-string context. Make comments indentation markers.
483 (python-indent-region): Do not mess with strings, unless it's the
484 enclosing set of quotes.
485
13af0d10
SM
4862012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
487
662a9d0e
SM
488 * window.el (internal--before-save-selected-window)
489 (internal--after-save-selected-window): New functions extracted from
490 save-selected-window. Make sure we return the `alist' we construct.
491 (save-selected-window): Use them.
492
493 * textmodes/tex-mode.el (tex-recenter-output-buffer):
494 Use with-selected-window.
495
13af0d10
SM
496 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
497 forms that define macros (bug#12593).
498
6aa75fb6
KH
4992012-10-07 Kenichi Handa <handa@gnu.org>
500
13af0d10
SM
501 * international/mule-conf.el (compound-text-with-extensions):
502 Add :mime-charset property as x-ctext.
6aa75fb6 503
78d876b9
SM
5042012-10-07 Stefan Merten <smerten@oekonux.de>
505
506 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
507 (rst-indent-literal-normal, rst-indent-literal-minimized)
508 (rst-indent-comment): Correct :version tag.
557337e9 509 (rst-official-cvs-rev): Correct version string.
78d876b9 510
99a1e701
GM
5112012-10-07 Glenn Morris <rgm@gnu.org>
512
513 * mail/rmailmm.el (rmail-mime-process-multipart):
514 Do not confuse a multipart message with an epilogue
515 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
516
08f18c3d
FEG
5172012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
518
519 Fix shell output retrieval and comint-prompt-regexp init.
520 * progmodes/python.el (inferior-python-mode):
521 (python-shell-make-comint): Fix initialization of
522 comint-prompt-regexp from copied file local variables.
523 (python-shell-fetched-lines): Remove var.
524 (python-shell-output-filter-in-progress): Rename from
525 python-shell-fetch-lines-in-progress.
526 (python-shell-output-filter-buffer): Rename from
527 python-shell-fetch-lines-string.
528 (python-shell-fetch-lines-filter): Delete function.
529 (python-shell-output-filter): New function.
530 (python-shell-send-string-no-output): Use them.
531
82ed3ab4
GM
5322012-10-07 Glenn Morris <rgm@gnu.org>
533
1595ecfa
GM
534 * hi-lock.el (hi-lock-process-phrase):
535 Try to make it less fragile. (Bug#7161)
536
82ed3ab4
GM
537 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
538
f1f4dba0
GM
5392012-10-06 Glenn Morris <rgm@gnu.org>
540
addc11ed 541 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
542 non-existent mode `help'.
543 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 544
460042b8
GM
545 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
546 (reftex-create-bibtex-footer): Fix custom types.
547
67667c70
GM
548 * progmodes/sh-script.el (sh-indent-after-continuation):
549 Add explicit :group.
550
18dec750
GM
551 * textmodes/rst.el (rst-preferred-decorations)
552 (rst-shift-basic-offset): Clarify obsolescence versions.
553
d1a1c7e6
GM
554 * profiler.el (profiler): Add missing group :version tag.
555 * avoid.el (mouse-avoidance-banish-position):
556 * proced.el (proced-renice-command):
557 * calc/calc.el (calc-ensure-consistent-units):
558 * calendar/icalendar.el (icalendar-import-format-uid):
559 * net/tramp.el (tramp-save-ad-hoc-proxies):
560 * progmodes/bug-reference.el (bug-reference-bug-regexp):
561 * progmodes/flymake.el (flymake-error-bitmap)
562 (flymake-warning-bitmap, flymake-fringe-indicator-position):
563 * progmodes/sh-script.el (sh-indent-after-continuation):
564 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
565 (verilog-before-save-font-hook, verilog-after-save-font-hook):
566 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
567 (vhdl-array-index-record-field-in-sensitivity-list)
568 (vhdl-indent-comment-like-next-code-line):
569 * textmodes/reftex-vars.el (reftex-ref-style-alist)
570 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
571 (reftex-cite-key-separator, reftex-create-bibtex-header)
572 (reftex-create-bibtex-footer):
573 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
574 (rst-indent-literal-normal, rst-indent-literal-minimized)
575 (rst-indent-comment): Add missing custom :version tags.
576
ef35abb4
GM
577 * calendar/timeclock.el (timeclock-modeline-display):
578 Add missing obsolete alias for renamed user option.
579
d1aae614
GM
580 * strokes.el (strokes-modeline-string):
581 * emulation/crisp.el (crisp-mode-modeline-string):
582 * eshell/esh-mode.el (eshell-status-in-modeline):
583 Aliases to defcustoms must come before the defcustom.
584
f1f4dba0
GM
585 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
586 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
587 (cal-tex-cursor-week-monday): Doc fixes.
588 (cal-tex-cursor-week2-summary): Doc fix.
589 Rename from cal-tex-cursor-week-at-a-glance.
590
591 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
592 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
593
594 * calendar/calendar.el (calendar-mode-map):
595 Add cal-tex-cursor-week2-summary.
596
d39109c3
SM
5972012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
598
685f87b0
SM
599 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
600
d39109c3
SM
601 * subr.el (read-passwd-map): New var.
602 (read-passwd): Use `read-string' again.
603 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
604
5694896d
J
6052012-10-06 Jambunathan K <kjambunathan@gmail.com>
606
607 * register.el (append-to-register, prepend-to-register):
608 Deactivate mark, as does `copy-to-register' (bug#12389).
609
9414dd8d
CY
6102012-10-06 Chong Yidong <cyd@gnu.org>
611
612 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
613
2b89bca4
KH
6142012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
615
616 * international/characters.el: Fix simple mistake ((car chars) ->
617 elt), delete duplicated code.
618
d5acb99a
GM
6192012-10-06 Glenn Morris <rgm@gnu.org>
620
621 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
622
123ec157
JS
6232012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
624
625 * color.el (color-hsl-to-rgb): Fix incorrect results for
626 small and large hue values. (Bug#12559)
627
7fa36ccb
FEG
6282012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
629
630 Enhancements to docstring formatting when filling paragraphs.
631 * progmodes/python.el (python-fill-docstring-style): Rename from
632 python-fill-string-style. Added new style.
633 (python-fill-string): Use new style. Better checks for
634 docstrings.
635
d8788e1e
GM
6362012-10-05 Glenn Morris <rgm@gnu.org>
637
204f3953
GM
638 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
639
d8788e1e
GM
640 * color.el (color-name-to-rgb, color-rgb-to-hex)
641 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
642 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
643 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
644 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
645
8d956cef
GM
646 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
647
e8757f09 6482012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
649
650 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
651 to get the correct size across symlinks.
652
e8757f09
GM
653 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
654
0e2ae83d
JL
6552012-10-04 Juri Linkov <juri@jurta.org>
656
657 * replace.el (query-replace-interactive): Declare obsolete.
658 (query-replace-read-from): Add the last incremental search string
659 to the list of default values accessible via M-n.
660 (map-query-replace-regexp): Use `read-regexp'.
661 (query-replace, query-replace-regexp, query-replace-regexp-eval)
662 (map-query-replace-regexp, replace-string, replace-regexp):
663 Fix docstrings to replace mentions of `query-replace-interactive'
664 with alternatives. (Bug#12526)
665
93cacb6d
JL
6662012-10-04 Juri Linkov <juri@jurta.org>
667
668 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
669 (dired-pop-to-buffer): Declare obsolete.
670 (dired-mark-pop-up): Doc fix.
671
fc345011
FEG
6722012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
673
674 Allow user to set docstring style for fill-paragraph.
675 * progmodes/python.el
676 (python-fill-comment-function, python-fill-string-function)
677 (python-fill-decorator-function, python-fill-paren-function):
678 Remove :safe for defcustoms.
679 (python-fill-string-style): New defcustom
5694896d 680 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
681 (python-fill-string): Honor python-fill-string-style settings.
682
6bab5d8b
MR
6832012-10-04 Martin Rudalics <rudalics@gmx.at>
684
685 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
686 after setting its buffer (Bug#10805).
687
a1a9f411
FEG
6882012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
689
690 Fix cornercase for string syntax.
691 * progmodes/python.el (python-syntax-propertize-function):
692 Simplify and enhance the regexp for unescaped quotes. Now it also
693 matches quotes in weird situations like the single quote in
694 "something\"'".
695 (python-syntax-stringify): Simplify num-quotes detecting code.
696
05e153a6
GM
6972012-10-03 Glenn Morris <rgm@gnu.org>
698
699 * help-macro.el (three-step-help):
700 Revert 2012-09-29 change. (Bug#12567)
701
2e566ecb
MR
7022012-10-03 Martin Rudalics <rudalics@gmx.at>
703
96ef9ccd
MR
704 * menu-bar.el (kill-this-buffer): Don't do anything when
705 `menu-frame' is not alive or visible (Bug#8184).
706
2e566ecb
MR
707 * emacs-lisp/debug.el (debug): When quitting the debugger window
708 restore current buffer (Bug#12502).
709
a96e1cb7
CY
7102012-10-02 Chong Yidong <cyd@gnu.org>
711
5694896d
J
712 * progmodes/hideif.el (hif-lookup, hif-defined):
713 Handle semantic-c-takeover-hideif.
a96e1cb7 714
b3ecad33
PE
7152012-10-02 Paul Eggert <eggert@cs.ucla.edu>
716
717 Change sampling interval units from ms to ns.
718 * profiler.el (profiler-sampling-interval): Change units
719 from ms to ns, multiplying the default by 1000000 so that
720 it remains 1 ms.
721 (profiler-report-cpu-line-format): Give enough room for
722 the maximum counters on 64-bit hosts.
723 (profiler-report-render-calltree-1): Call them "CPU samples",
724 not "Time (ms)", since they are not milliseconds now (and
725 never really were).
726
8cb51b66 7272012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 728
5694896d
J
729 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
730 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 731
fd795bf4
CY
7322012-10-02 Chong Yidong <cyd@gnu.org>
733
734 * emacs-lisp/eieio.el: Restore Version header.
735
fe0a74f9
SM
7362012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
737
6be9197e
SM
738 * vc/diff-mode.el (diff--auto-refine-data): New var.
739 (diff-hunk): Use it to delay refinement.
740 (diff-mode): Remove overlays when we turn off font-lock.
741
18486139
SM
742 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
743 (table-initialize-table-fixed-width-mode)
744 (table-set-table-fixed-width-mode): Remove functions.
745 (table-command-list): Move initialization into declaration.
746 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
747 (table-with-cache-buffer): Use `declare'.
748 (table-span-cell): Simplify via CSE.
749 (table-fixed-width-mode): Use define-minor-mode.
750 (table-call-interactively, table-funcall, table-apply): Remove.
751 (table-function): New function, to replace them.
752
d83ef976
SM
753 * bookmark.el (bookmark-search-pattern): Remove var.
754 (bookmark-read-search-input): Remove function.
755 (bookmark-bmenu-search): Reimplement using a minibuffer.
756
cd386662
SM
757 * faces.el (modeline): Remove obsolete face name.
758
fe0a74f9
SM
759 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
760 and give a non-nil default value.
761 (add-change-log-entry): Simplify accordingly.
762
9f7b98f8
DG
7632012-10-01 Dmitry Gutov <dgutov@yandex.ru>
764
765 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
766 (vc-git-log-edit-toggle-amend): New function.
767 (vc-git-log-edit-toggle-signoff): New function.
768 (vc-git-log-edit-mode): New major mode.
769 (vc-git-log-edit-mode-map): Keymap for it.
770 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
771
772 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
773 header names.
774 (log-edit-toggle-header): New function.
775 (log-edit-extract-headers): Accept function values in HEADERS alist.
776
62a81506
CY
7772012-10-01 David Engster <deng@randomsample.de>
778
779 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
780 from symbol property and change message to be more consistent with
781 Emacs proper.
782 (eieio-describe-generic): Add filename for each implementation.
783 Fix indices for generic and normal methods.
784 (eieio-method-def, eieio-class-def): New buttons.
785 (eieio-help-find-method-definition)
786 (eieio-help-find-class-definition): New functions.
787 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
788 class, constructor and method definitions.
789
790 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
791 information in symbol property.
792 (scoped-class): Remove.
793 (eieio-slot-name-index, call-next-method): Check if it is bound.
794
7952012-10-01 Leo P. White <lpw25@cam.ac.uk>
796
797 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
798 (eieio-custom-mode): New major mode.
799 (eieio-customize-object): Use it.
800
8012012-10-01 Eric Ludlam <zappo@gnu.org>
802
803 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
804 specifying the expected class, and whether subclassing is allowed.
805 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
806 (eieio-persistent-validate/fix-slot-value)
807 (eieio-persistent-slot-type-is-class-p): New functions.
808 (eieio-named::slot-missing): Doc fix.
62a81506
CY
809
810 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
811 Stop using unused publd variable.
812
813 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
814 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
815 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
816 (eieio-speedbar-handle-click): Do not specify a class for the
817 method. Fixes method invocation order problems with EDE.
818
375e49d4
SM
8192012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
820
821 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
822 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
823
16ce6ccd
KF
8242012-10-01 Karl Fogel <kfogel@red-bean.com>
825
826 * bookmark.el (bookmark-version-control): Give tags in the
827 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
828 (bookmark-write-file): Bind `print-circle' to `t' to allow
829 circular custom bookmark types. (Bug#12503)
16ce6ccd 830
19e54a4d
PE
8312012-10-01 Paul Eggert <eggert@cs.ucla.edu>
832
86ec63ba
PE
833 Revert the FOLLOW-SYMLINKS change for file-attributes.
834 * files.el (remote-file-name-inhibit-cache, after-find-file):
835 * time.el (display-time-file-nonempty-p): Undo last change.
836
19e54a4d
PE
837 * profiler.el (profiler-sampling-interval): Change default back to 1.
838 See Stefan Monnier in
839 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
840
0478776b
FEG
8412012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
842
843 Shell output catching a la gud-gdb.
844 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
845 (python-shell-fetch-lines-string, python-shell-fetched-lines):
846 New Vars.
0478776b
FEG
847 (python-shell-fetch-lines-filter): New function.
848 (python-shell-send-string-no-output): Use them.
849
c22bac2c
TM
8502012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
851
852 * profiler.el (profiler-sampling-interval): Rename from
853 profiler-sample-interval.
854 (profiler-sampling-interval): Default to 10.
855 (profiler-find-profile): New command (was profiler-find-log).
856 (profiler-find-profile-other-window): New command.
857 (profiler-find-profile-other-frame): New command.
858 (profiler-profile): Introduce API-level data structure.
859
e7a2937b
PE
8602012-09-30 Paul Eggert <eggert@cs.ucla.edu>
861
862 file-attributes has a new optional arg FOLLOW-SYMLINKS.
863 * files.el (remote-file-name-inhibit-cache):
864 * time.el (display-time-file-nonempty-p): Use it.
865 * files.el (after-find-file): Don't chase links before calling
866 file-exists-p, as file-exists-p already does the right thing.
867
4f595e15
RA
8682012-09-30 Ralf Angeli <angeli@caeruleus.net>
869
870 Merge from standalone RefTeX repository.
871
872 The following ChangeLog entries are shortened versions of the
873 original ones with file paths adapted. A not so strongly edited
874 version of the original ChangeLog can be found in the commit log.
875
876 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
877 (reftex-arg-cite): Use `reftex-cite-key-separator'.
878 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
879
880 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
881 that entries with whitespace at various places are found.
882 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
883 Include @String definitions in the resulting bib file. Add header
884 and footer defined in `reftex-create-bibtex-header' and
885 `reftex-create-bibtex-footer'.
886 (reftex-do-citation): Make it possible again to insert
887 non-existent entries. Save match data when asking for optional
888 arguments. Return all keys, not just the first one.
889 (reftex-all-used-citation-keys): Fix regexp to correctly extract
890 all citations in the same line.
891 (reftex-parse-bibtex-entry): Accept additional optional argument
892 `raw' and keep quotes or braces if it is non-nil. Match fields
893 containing hyphens besides word constituents.
894 (reftex-get-string-refs): New function.
895 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
896 and ask if it should be reread in case it did.
897 (reftex-pop-to-bibtex-entry)
898 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
899 entries with spaces or tabs in front of arguments.
900 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
901 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
902 Match entries containing numbers and symbol constituents.
903 (reftex-do-citation, reftex-figure-out-cite-format):
904 Use `reftex-cite-key-separator'.
4f595e15
RA
905
906 * textmodes/reftex-dcr.el: Move provide statement to end of file.
907 (reftex-mouse-view-crossref): Explain why point is set.
908
909 * textmodes/reftex-global.el: Whitespace changes.
910
911 * textmodes/reftex-index.el: Move provide statement to end of
912 file.
913 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
914 (reftex-index-visit-phrases-buffer): Set marker when visiting
915 buffer. This allows for returning from the phrases file to the
916 file one was just editing instead of the file where the last
917 phrases was added from.
918 (reftex-index-phrases-syntax-table): New variable. Give ?\"
919 punctuation syntax as it usually is not used as string quote in
920 TeX-related modes and may occur unmatched. The change also
921 prevents fontification of quoted content.
922 (reftex-index-phrases-mode): Use it.
923
375e49d4
SM
924 * textmodes/reftex-parse.el (reftex-parse-from-file):
925 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
926 (reftex-parse-from-file): Use beginning of match instead of end as
927 bound.
928
929 * textmodes/reftex-ref.el: Adapt creation of
930 `reftex-<package>-<macro>' functions to new structure of
931 `reftex-ref-style-alist'.
375e49d4
SM
932 (reftex-reference): Use `reftex-ref-style-list' function.
933 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
934 reference macro if `reftex-ref-macro-prompt' is non-nil.
935 (reftex-reference): Pass refstyle to `reftex-format-special'.
936 Determine reference macro by looking at
375e49d4
SM
937 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
938 Use only one special format function.
4f595e15
RA
939 (reftex-varioref-vref, reftex-fancyref-fref)
940 (reftex-fancyref-Fref): Remove definitions. The functions are now
941 generated from `reftex-ref-style-alist'.
942 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
943 Remove.
944 (reftex-format-special): New function.
945
946 * textmodes/reftex-sel.el
947 (reftex-select-cycle-ref-style-internal): Adapt to new structure
948 of `reftex-ref-style-alist'. Remove code for testing macro type.
949 (reftex-select-toggle-varioref)
950 (reftex-select-toggle-fancyref): Remove.
951 (reftex-select-cycle-ref-style-internal)
952 (reftex-select-cycle-ref-style-forward)
953 (reftex-select-cycle-ref-style-backward): New functions.
954 (reftex-select-label-map): Use `v' and `V' for general cycling
955 through reference styles. Add `p' for switching between number
956 and page reference types.
957
375e49d4
SM
958 * textmodes/reftex-toc.el (reftex-re-enlarge):
959 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
960 the horizontal version throws an error even if the parameter is 0.
961
962 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
963 (reftex-plug-into-AUCTeX): Doc fix.
964 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
965 string. Adapt to new name.
966 (reftex-ref-style-alist): Change structure so that it is not
967 possible to use multiple different package names within a style.
375e49d4
SM
968 Remove the symbols for symbols for macro type distinction.
969 Add characters for macro selection.
4f595e15
RA
970 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
971 (reftex-create-bibtex-footer): New variables.
972 (reftex-format-ref-function): Mention third argument of special
973 format function.
375e49d4
SM
974 (reftex-ref-style-alist, reftex-ref-style-default-list):
975 New variables.
4f595e15
RA
976 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
977 to new implementation. Mark as obsolete. Add compatibility code
978 for honoring the variable values in case they are set.
375e49d4
SM
979 (reftex-cite-format-builtin, reftex-bibliography-commands):
980 Add support for ConTeXt.
981 (reftex-format-ref-function, reftex-format-cite-function):
982 Fix custom type.
4f595e15
RA
983 (reftex-cite-key-separator): New variable.
984
985 * textmodes/reftex.el (reftex-syntax-table-for-bib)
986 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
987 `reftex-syntax-table' because parens have to retain their paren
988 syntax in order for parsing of BibTeX entries like @book(...) to
989 work.
990 (reftex-in-comment): Do not error out if `comment-start-skip' is
991 not set. Deal correctly with escaped comment characters.
375e49d4
SM
992 (reftex-tie-multifile-symbols): Add doc string.
993 Initialize `reftex-ref-style-list'.
4f595e15
RA
994 (reftex-untie-multifile-symbols): Add doc string.
995 (reftex-add-index-macros): Doc fix.
996 (reftex-ref-style-activate, reftex-ref-style-toggle)
997 (reftex-ref-style-list): New functions.
998 (reftex-mode-menu): Use them. Adapt to new structure of
999 `reftex-ref-style-alist'.
1000 (reftex-select-with-char): Kill the RefTeX Select buffer when
1001 done.
1002 (reftex-remove-if): New function.
1003 (reftex-erase-all-selection-and-index-buffers)
1004 (reftex-mode-menu): Reference styles are now computed from
1005 `reftex-ref-style-alist'. Fix typo.
1006 (reftex-report-bug): New function.
1007 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1008 algorithms with O(n log n). Introduce optional argument SORT (not
1009 yet used).
1010
440ba395
FEG
10112012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1012
1013 Enhancements for triple-quote string syntax.
375e49d4
SM
1014 * progmodes/python.el (python-syntax-propertize-function):
1015 Match both quote cases in one regexp.
440ba395
FEG
1016 (python-syntax-stringify): Handle matches properly.
1017
4c478e6b
JL
10182012-09-30 Juri Linkov <juri@jurta.org>
1019
1020 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1021 to nil around the call to `insert' to prevent
4c478e6b
JL
1022 directory time modification by lock_file. (Bug#2295)
1023 * tar-mode.el (tar-summarize-buffer): Idem.
1024
d80d54b2
JL
10252012-09-30 Juri Linkov <juri@jurta.org>
1026
1027 * facemenu.el (list-colors-sort): Add option "Luminance".
1028 (list-colors-sort-key): Implement it.
1029
1030 * vc/diff-mode.el (diff-refine-removed):
1031 * vc/ediff-init.el (ediff-fine-diff-A):
1032 * vc/smerge-mode.el (smerge-refined-removed):
1033 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1034
d7e642cc
JD
10352012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1036
1037 * term/ns-win.el (x-file-dialog): New function.
1038
ee41332b
JB
10392012-09-30 Juanma Barranquero <lekktu@gmail.com>
1040
1041 * ido.el (ido-max-directory-size): Default to nil; the current
1042 default is small for POSIX systems, and impractical on Windows 7
1043 now that lstat returns directory sizes for NTFS.
1044
5938d519
MR
10452012-09-30 Martin Rudalics <rudalics@gmx.at>
1046
1047 In buffer display functions handle window-height/window-width
1048 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1049 * window.el (window--display-buffer): New argument ALIST.
1050 Obey window-height and window-width alist entries.
1051 (window--try-to-split-window): New argument ALIST.
1052 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1053 changed and window-combination-limit equals `window-size'.
1054 (display-buffer-in-atom-window)
1055 (display-buffer-in-major-side-window)
1056 (display-buffer-in-side-window, display-buffer-same-window)
1057 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1058 (display-buffer-pop-up-window, display-buffer-below-selected)
1059 (display-buffer-at-bottom, display-buffer-in-previous-window)
1060 (display-buffer-use-some-window): Adjust all callers of
1061 window--display-buffer and window--try-to-split-window.
1062 (fit-frame-to-buffer): New option.
1063 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1064 is non-nil.
1065 (display-buffer-in-major-side-window): Evaluate window-height /
1066 window-width alist entries.
1067
1068 * help.el (temp-buffer-resize-frames)
1069 (temp-buffer-resize-regexps): Remove options.
1070 (temp-buffer-resize-mode): Adjust doc-string.
1071 (resize-temp-buffer-window): Don't consult
1072 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1073 temp-buffer-resize-frames.
1074
375e49d4
SM
1075 * dired.el (dired-mark-pop-up):
1076 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1077 entry.
1078
c4c0c2df
CY
10792012-09-30 Chong Yidong <cyd@gnu.org>
1080
48de8b12
CY
1081 * server.el (server-host): Document the security implications.
1082 (server-auth-key): Doc fix.
1083
1084 * startup.el (initial-buffer-choice): Doc fix.
1085
1086 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1087
a97dc380
CY
1088 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1089 restriction change.
1090
d39d3c8e
CY
1091 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1092
c4c0c2df
CY
1093 * help-fns.el (help-fns--obsolete): Fix last change.
1094
98a5e33b
SM
10952012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1096
34cf6f39
SM
1097 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1098 (minor-mode-map-alist): Remove redundant code.
1099
e01c13fe
SM
1100 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1101 visited in a buffer.
1102 (cvs-insert-visited-file): New function.
1103 (find-file-hook): Use it.
1104
1105 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1106
02661b3a
SM
1107 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1108 chose face.
1109 (log-edit-empty-buffer-p): Don't require a space after a header.
1110
43711d4b
SM
1111 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1112
38a30d64
SM
1113 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1114
4ffb41a9
SM
1115 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1116 a proper minor-mode.
1117
98a5e33b
SM
1118 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1119
de82e29b
GM
11202012-09-29 Glenn Morris <rgm@gnu.org>
1121
5cc2e639
GM
1122 * winner.el (winner-mode): Remove variable (let define-minor-mode
1123 handle it).
1124 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1125 Doc fixes.
1126 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1127 (winner-mode): Use define-minor-mode.
1128
7bd302eb
GM
1129 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1130 the full definition in loaddefs, rather than duplicating it.
1131
2923922f 1132 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1133
0e3e4156
GM
1134 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1135 (inferior-lisp-program, inferior-lisp-load-command)
1136 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1137 No need to autoload defcustoms.
0e3e4156 1138
de82e29b
GM
1139 * hippie-exp.el (hippie-expand-try-functions-list)
1140 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1141 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1142 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1143 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1144 * progmodes/vhdl-mode.el (vhdl-line-expand):
1145 Explicitly load hippie-exp, so it does not get autoloaded
1146 while hippie-expand-try-functions-list is let-bound.
1147
e60b51ab
GM
11482012-09-28 Glenn Morris <rgm@gnu.org>
1149
277f0cfa
GM
1150 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1151
e60b51ab
GM
1152 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1153 Only "cl.el" counts as cl these days.
1154
53baf48a
JL
11552012-09-28 Juri Linkov <juri@jurta.org>
1156
1157 Display archive errors in the echo area instead of inserting
1158 to the file buffer.
1159
1160 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1161 to STDERR-TEST that can be a regexp matching a successful output.
1162 Create a temporary file and redirect stderr to it. Search for
1163 STDERR-TEST in the stderr output and display it in the echo area
1164 if no match is found.
1165 (archive-extract-by-file): New function like
1166 `archive-extract-by-stdout' but extracting archives to files
1167 and looking for successful matches in stdout. Function body is
1168 mostly copied from `archive-rar-extract'.
1169 (archive-rar-extract): Use `archive-extract-by-file'.
1170 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1171
9c1228c3
LL
11722012-09-28 Leo Liu <sdl.web@gmail.com>
1173
375e49d4
SM
1174 * pcomplete.el (pcomplete-show-completions):
1175 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1176
9c1228c3
LL
1177 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1178
7f457c06
SM
11792012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1180
3df749b0
SM
1181 * type-break.el: Use lexical-binding.
1182 (type-break-mode): Use define-minor-mode.
1183
7f457c06
SM
1184 * emacs-lisp/pcase.el (pcase--mark-used): New.
1185 (pcase--u1): Use it (bug#12512).
1186
1187 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1188 in load-history with the right file name.
1189
c00ebc98
TH
11902012-09-28 Tassilo Horn <tsdh@gnu.org>
1191
1192 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1193 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1194 (doc-view-get-bounding-box): Make bounding box slicing work for
1195 ODF and DVI documents.
1196
96fb7170
GM
11972012-09-28 Glenn Morris <rgm@gnu.org>
1198
1199 * type-break.el (type-break-mode, type-break-interval)
1200 (type-break-good-rest-interval, type-break-keystroke-threshold):
1201 No need to autoload.
1202 (type-break-good-rest-interval, type-break-keystroke-threshold):
1203 Add :set-after.
1204
5bc93c67
CY
12052012-09-28 Chong Yidong <cyd@gnu.org>
1206
1207 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1208 Add :version tag.
1209
9cad61d6
SM
12102012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1211
e28e67b3 1212 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1213
daee954c
GM
12142012-09-27 Glenn Morris <rgm@gnu.org>
1215
a88324d4
GM
1216 * faces.el (x-display-name): Declare (for without-x builds).
1217
8e5064e5
GM
1218 * linum.el (linum-format): Don't autoload it. Improve :type.
1219
cc1783c2
GM
1220 * progmodes/tcl.el: Don't require outline when compiling.
1221 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1222 * textmodes/sgml-mode.el: Don't require outline when compiling.
1223 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1224
48c339f2
GM
1225 * term.el (term-ansi-reset):
1226 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1227
daee954c
GM
1228 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1229 files for RCS and SCCS. (Bug#9781)
1230
b7f42161
CY
12312012-09-27 Chong Yidong <cyd@gnu.org>
1232
1233 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1234 change; value should be t.
1235
a2e770db
SM
12362012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1237
83600dc8
SM
1238 * image-mode.el: Use lexical-binding.
1239 (image-mode-winprops): Use t to stand for the window of
1240 a buffer that's not displayed.
1241 * doc-view.el (doc-view-new-window-function): Handle the new
1242 t in winprops.
1243 (doc-view-enlarge): Make it a real nop if the size is not changed.
1244 (doc-view-display): Handle the case where the buffer is not (yet?)
1245 displayed in any window.
1246 (doc-view-saved-settings): New var.
1247 (doc-view-mode): Use it.
1248 (doc-view-fallback-mode): Set it.
1249
a2e770db
SM
1250 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1251 Set lexical-binding.
1252 (minibuffer-eldef-shorten-default): New var.
1253 (minibuffer-default-in-prompt-regexps): Use it for new default.
1254 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1255
e3b60857
JB
12562012-09-26 Juanma Barranquero <lekktu@gmail.com>
1257
1258 * international/uni-bidi.el:
1259 * international/uni-category.el:
1260 * international/uni-name.el:
1261 * international/uni-numeric.el: Regenerate.
1262
3a880af4
SM
12632012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1264 Stefan Monnier <monnier@iro.umontreal.ca>
1265
1266 * profiler.el: New file.
1267
07b1a5fb
SM
12682012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1269
1270 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1271 (testcover-reinstrument): Simplify with CSE.
1272
42019c2e
JB
12732012-09-26 Juanma Barranquero <lekktu@gmail.com>
1274
1275 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1276
179f044b
WS
12772012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1278
1279 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1280 (verilog-auto-input, verilog-auto-insert-lisp)
1281 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1282 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1283 (verilog-auto-unused, verilog-auto-wire)
1284 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1285 newline. Reported by Andrew Jones.
1286 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1287 Reported by Brad Dobbie.
07b1a5fb
SM
1288 (verilog-batch-delete-trailing-whitespace):
1289 Create verilog-batch-delete-trailing-whitespace.
1290 Reported by Brad Dobbie.
179f044b
WS
1291 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1292 parameters from another module. Reported by Dan Katz.
1293 (verilog-auto, verilog-auto-assign-modport)
1294 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1295 AUTOINOUTMODPORT for UVM interface module shell generation.
1296 Reported by Brad Dobbie.
1297 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1298 standard behavior.
1299 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1300 Reported by Matt Martin.
1301
9c52dd5a
MR
13022012-09-25 Martin Rudalics <rudalics@gmx.at>
1303
1304 * window.el (window--resize-child-windows): When resizing child
1305 windows proportionally, process them in reverse order to
1306 preserve the "when splitting a window the new one gets the odd
1307 line" behavior.
1308 (window--resize-root-window-vertically): When resizing the
1309 minibuffer window try to affect only windows at the bottom of the
1310 frame. (Bug#12419)
1311
863666eb
CY
13122012-09-25 Chong Yidong <cyd@gnu.org>
1313
1314 * subr.el (declare): Doc fix.
1315
1316 * help-fns.el (help-fns--obsolete): Handle macros properly.
1317
59f7af81
CY
13182012-09-25 Chong Yidong <cyd@gnu.org>
1319
1320 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1321 this function obsolete.
1322
1323 * calendar/cal-x.el (calendar-two-frame-setup)
1324 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1325 * calendar/calendar.el (american-calendar, european-calendar)
1326 (calendar-for-loop):
1327 * comint.el (comint-dynamic-simple-complete)
1328 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1329 * desktop.el (desktop-load-default):
1330 * dired-x.el (dired-omit-here-always)
1331 (dired-hack-local-variables, dired-default-directory):
1332 * emacs-lisp/derived.el (derived-mode-class):
1333 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1334 * emacs-lock.el (toggle-emacs-lock):
1335 * epa.el (epa-display-verify-result):
1336 * epg.el (epg-sign-keys, epg-start-sign-keys)
1337 (epg-passphrase-callback-function):
1338 * eshell/esh-util.el (eshell-for):
1339 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1340 (eshell-add-to-window-buffer-names):
1341 * files.el (locate-file-completion):
1342 * imenu.el (imenu-example--create-c-index)
1343 (imenu-example--create-lisp-index)
1344 (imenu-example--lisp-extract-index-name)
1345 (imenu-example--name-and-position):
1346 * international/mule-cmds.el (princ-list):
1347 * international/mule-diag.el (decode-codepage-char):
1348 * international/mule-util.el (detect-coding-with-priority):
1349 * iswitchb.el (iswitchb-read-buffer):
1350 * mail/mailalias.el (mail-complete):
1351 * mail/sendmail.el (mail-sent-via):
1352 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1353 (mouse-major-mode-menu):
1354 * password-cache.el (password-read-and-add):
1355 * pcomplete.el (pcomplete-parse-comint-arguments):
1356 * progmodes/sh-script.el (sh-maybe-here-document):
1357 * replace.el (query-replace-regexp-eval):
1358 * savehist.el (savehist-load):
1359 * simple.el (choose-completion-delete-max-match):
1360 * term.el (term-dynamic-simple-complete):
1361 * vc/ediff-init.el (ediff-check-version):
1362 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1363 * vc/vc.el (vc-diff-switches-list):
1364 * view.el (view-return-to-alist-update): Likewise.
1365
1366 * subr.el (eval-next-after-load, makehash, insert-string)
1367 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1368 mark obsolete.
1369 (mode-line-inverse-video): Variable deleted.
1370
1371 * international/mule-util.el (string-to-sequence): Remove.
1372
1373 * calendar/calendar.el (calendar-version):
1374 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1375 (icalendar-convert-diary-to-ical):
1376 * cus-edit.el (custom-mode):
1377 * ansi-color.el (ansi-color-unfontify-region):
1378 * international/latin1-disp.el (latin1-char-displayable-p):
1379 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1380 * progmodes/which-func.el (which-func-update-1):
1381 Use define-obsolete-function-alias.
59f7af81
CY
1382
1383 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1384 * net/newst-treeview.el (newsticker-groups-filename):
1385 Fix incorrect obsolescence declaration.
59f7af81
CY
1386
1387 * allout.el (allout-passphrase-hint-string): Likewise.
1388 (allout-init): Use a declare form to mark obsolete.
1389
1390 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1391 this applies to functions.
1392
1393 * iswitchb.el (iswitchb-read-buffer): Move code of
1394 iswitchb-define-mode-map here, and delete that obsolete function.
1395
1396 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1397 font-lock-reference-face.
1398
cca96c97
GM
13992012-09-25 Glenn Morris <rgm@gnu.org>
1400
b06eeda8
GM
1401 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1402 Doc fixes.
1403
cca96c97
GM
1404 * eshell/em-term.el (eshell-term-name):
1405 Default to term-term-name. (Bug#12485)
1406
dc4f818b
FEG
14072012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1408
cca96c97
GM
1409 * progmodes/python.el (python-shell-send-buffer): Better handling
1410 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1411
289c24bd
GM
14122012-09-24 Glenn Morris <rgm@gnu.org>
1413
1414 * eshell/esh-cmd.el (eshell-find-alias-function):
1415 Tighten up file-name regexp. (Bug#12499)
1416
8fb8b88f
FEG
14172012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1418
1419 Enhancements for triple-quote string syntax.
1420 * progmodes/python.el (python-quote-syntax): Remove.
1421 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1422 (python-syntax-count-quotes, python-syntax-stringify):
1423 New functions.
8fb8b88f 1424
6c27f0f8
CY
14252012-09-24 Chong Yidong <cyd@gnu.org>
1426
a5f2b6ec
CY
1427 * mail/supercite.el (sc-version): Remove obsolete function.
1428 (sc-describe): Don't mark as obsolete, since it is bound.
1429 (sc-submit-bug-report): Remove.
1430
1431 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1432 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1433 (log-edit-require-final-newline)
1434 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1435
1436 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1437 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1438 * vc/vc.el (vc-checkout-carefully): Likewise.
1439
1440 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1441 (emerge-version): Remove.
1442
1443 * progmodes/compile.el (compile-internal): Remove.
1444 (compilation-parse-errors-function): Fix typo.
1445
1446 * international/mule.el (set-char-table-default): Remove.
1447 (set-coding-priority, make-coding-system, generic-char-p)
1448 (charset-list, charset-bytes, charset-id): Use declare to mark
1449 functions as obsolete.
1450
1451 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1452 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1453 * vc/vc-hooks.el (vc-default-registered): Don't use
1454 vc-master-templates.
1455
07b1a5fb
SM
1456 * font-lock.el (font-lock-reference-face):
1457 Use define-obsolete-variable-alias.
6c27f0f8
CY
1458
1459 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1460 * calendar/calendar.el (calendar-font-lock-keywords):
1461 * calendar/diary-lib.el (diary-font-lock-keywords)
1462 (diary-fancy-font-lock-keywords):
1463 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1464 * textmodes/reftex-index.el (reftex-insert-index):
1465 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1466 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1467 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1468 * progmodes/prolog.el (prolog-font-lock-keywords):
1469 * progmodes/idlwave.el (idlwave-idl-keywords):
1470 * progmodes/ada-mode.el (ada-font-lock-keywords):
1471 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1472
bcc0adbf
GM
14732012-09-24 Glenn Morris <rgm@gnu.org>
1474
1475 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1476
095bb823
FEG
14772012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1478
1479 * progmodes/python.el (python-indent-line): More consistent cursor
1480 movement behavior.
1481
70efc5c9
SM
14822012-09-23 Stefan Merten <smerten@oekonux.de>
1483
1484 * textmodes/rst.el: Fix compiler warning.
1485
2f438239
RW
14862012-09-23 Roland Winkler <winkler@gnu.org>
1487
07b1a5fb
SM
1488 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1489 Transcribe also LaTeX hyphenation.
2f438239
RW
1490 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1491 bibtex-reformat-previous-options.
1492
936ad041
RW
14932012-09-23 Roland Winkler <winkler@gnu.org>
1494
1495 * proced.el (proced-renice-command): New variable.
1496 (proced-marked-processes): New function.
1497 (proced-with-processes-buffer): New macro.
1498 (proced-send-signal): Use them.
1499 (proced-renice): New command bound to r.
1500
6fab0274
RW
15012012-09-23 Roland Winkler <winkler@gnu.org>
1502
1503 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1504 ibuffer-saved-filter-groups has one element, shortcut the call of
1505 completing-read. (Bug#12331)
1506
9a930676
CY
15072012-09-23 Chong Yidong <cyd@gnu.org>
1508
1509 * bindings.el (mode-line-toggle-read-only):
1510 * bs.el (bs-toggle-readonly):
1511 * buff-menu.el (Buffer-menu-toggle-read-only):
1512 * dired.el (dired-toggle-read-only):
1513 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1514
d07ff9db
CY
15152012-09-23 Chong Yidong <cyd@gnu.org>
1516
1517 * image.el (image-type-available-p): Adapt to init-image-library
1518 argument changes.
1519
51c4474e
JL
15202012-09-22 Juri Linkov <juri@jurta.org>
1521
1522 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1523 `dired-toggle-read-only'. (Bug#12462)
1524
43bf5e8e
MR
15252012-09-22 Martin Rudalics <rudalics@gmx.at>
1526
1527 * subr.el (temp-output-buffer-show): New function.
1528 (with-output-to-temp-buffer): Call temp-output-buffer-show
1529 instead of internal-temp-output-buffer-show.
1530
c88b867f
CY
15312012-09-22 Chong Yidong <cyd@gnu.org>
1532
3df47cd5
CY
1533 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1534 (Bug#12462).
1535
c88b867f
CY
1536 * repeat.el (repeat): Doc fix (Bug#12348).
1537
1538 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1539 (Bug#10909).
1540
1541 * simple.el (shell-command-on-region): Doc fix.
3171e303 1542 (read-only-mode): Doc fix.
c88b867f 1543
df9685f3
EZ
15442012-09-22 Eli Zaretskii <eliz@gnu.org>
1545
1546 * emacs-lisp/timer.el (run-with-idle-timer)
1547 (timer-activate-when-idle): Warn against reinvoking an idle timer
1548 from within its own timer action. (Bug#12447)
1549
8e17c9ba
MR
15502012-09-22 Martin Rudalics <rudalics@gmx.at>
1551
1552 * cus-start.el (window-combination-limit): Add new optional
1553 values.
1554 * window.el (temp-buffer-window-show)
1555 (window--try-to-split-window): Handle new values of
1556 window-combination-limit (Bug#1806).
1557 (split-window): Test window-combination-limit for t instead of
1558 non-nil.
1559 (display-buffer-at-bottom): New buffer display action function.
1560 * help.el (temp-buffer-resize-regexps): New option.
1561 (temp-buffer-resize-mode): Rewrite doc-string.
1562 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1563 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1564
48a24920
SM
15652012-09-22 Stefan Merten <smerten@oekonux.de>
1566
70efc5c9 1567 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1568 (rst-official-version)
1569 (rst-package-emacs-version-alist): Sync with official version
1570 V1.4.0.
1571 (rst-faces-defaults, rst-set-level-default)
1572 (rst-level-face-max, rst-level-face-base-color)
1573 (rst-level-face-base-light, rst-level-face-format-light)
1574 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1575 (rst-adornment-faces-alist): Match new setup.
1576 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1577 (rst-level-5, rst-level-6): New faces.
1578
82f8cd94
CY
15792012-09-22 Chong Yidong <cyd@gnu.org>
1580
1581 * simple.el (undo): Handle indirect buffers (Bug#8207).
1582
acfa068f 15832012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1584
1585 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1586 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1587 (ido-set-matches-1): Use it. (Bug#2042)
1588
acfa068f 15892012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1590
1591 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1592 Fix 2011-05-17 change. (Bug#12418)
1593
acfa068f 15942012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1595
1596 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1597
acfa068f 15982012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1599
1600 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1601 Be more robust about locating simple.el.
1602
acfa068f 16032012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1604
1605 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1606
acfa068f
CY
16072012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1608
1609 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1610
41a97e6f
JL
16112012-09-20 Juri Linkov <juri@jurta.org>
1612
eb2deaff
JL
1613 * replace.el (query-replace-read-from): Use `read-regexp' instead
1614 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1615 (occur-read-primary-args): Use `read-regexp' instead of
1616 `read-string'.
1617 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1618 `read-from-minibuffer'.
1619 * isearch.el (isearch-occur): Use `read-regexp' instead of
1620 `read-string'.
1621 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1622 `read-from-minibuffer'.
1623 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1624 of `read-string'. (Bug#7567)
1625
5825610b
JL
1626 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1627 and allow accepting a list of strings prepended to a list of
1628 standard default values. Doc fix. (Bug#12321)
1629
eebbf404
JL
1630 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1631
41a97e6f
JL
1632 * replace.el (read-regexp): Don't add ": " when PROMPT already
1633 ends with a colon and space. (Bug#12321)
1634
c9e452d3
TH
16352012-09-20 Tassilo Horn <tsdh@gnu.org>
1636
1637 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1638 error.
1639
ee97deee
SM
16402012-09-20 Stefan Merten <smerten@oekonux.de>
1641
70efc5c9 1642 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1643 Fixes feature request bug#11711.
1644 (rst-mode): Create `imenu-create-index-function'.
1645 (rst-get-stripped-line): Delete after refactoring.
1646 (rst-section-tree, rst-section-tree-rec)
1647 (rst-section-tree-point): Refactor and document properly.
1648 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1649 (rst-imenu-convert-cell, rst-imenu-create-index):
1650 New function.
ee97deee 1651
f490dab9
SM
16522012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1653
95b9712e
SM
1654 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1655 (macroexp--expand-all): Use it.
1656 (macroexp--funcall-and-return): Remove by folding it into its sole
1657 caller (macroexp--warn-and-return).
1658 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1659 Use macroexp--obsolete-warning.
1660
f490dab9
SM
1661 * calc/calc.el: Fix last change by removing the whole chunk, since it
1662 was only needed back when Calc was not bundled.
1663
96e8d411
MR
16642012-09-20 Martin Rudalics <rudalics@gmx.at>
1665
1666 * emacs-lisp/debug.el (debug): Restore assignment to
1667 debugger-old-buffer removed on 2012-09-08.
1668
0876a82d
JL
16692012-09-20 Juri Linkov <juri@jurta.org>
1670
1671 * dired-aux.el (dired-diff): Remove (require 'diff) since
1672 `diff-latest-backup-file' is now autoloaded.
1673
9f7c28f0
CY
16742012-09-20 Chong Yidong <cyd@gnu.org>
1675
1676 * vc/diff.el (diff-latest-backup-file): Autoload.
1677
7a04bee9
SM
16782012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1679
e6f0a80d
SM
1680 * calc/calc.el: Remove redundant autoload shape check.
1681 (sel-mode): Don't defvar.
1682 (calc-get-stack-element): Add `sel-mode' arg instead.
1683 (calc-top, calc-top-list): Pass it this additional argument.
1684 * calc/calc-store.el (calc-store-map):
1685 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1686 (calc-map-equation, calc-outer-product, calc-inner-product):
1687 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1688
7a04bee9
SM
1689 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1690
12734222
JL
16912012-09-19 Juri Linkov <juri@jurta.org>
1692
1693 * dired-aux.el (dired-diff): Add (require 'diff) because
1694 `diff-latest-backup-file' is not autoloaded.
1695 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1696 of `dired-get-filename' to t to not report error when there is
1697 no default file on the current line.
1698
46624b4f
SM
16992012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1700
ce97595b
SM
1701 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1702 macroexp--eval-if-compile.
1703 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1704 (macroexp--expand-all): Use them (bug#12371).
1705
46624b4f
SM
1706 * doc-view.el (doc-view-guess-paper-size)
1707 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1708
db8a5a18
TH
17092012-09-19 Tassilo Horn <tsdh@gnu.org>
1710
1711 New feature: set optimal slice from BoundingBox information.
1712 * doc-view.el (doc-view-mode-map): Add keybinding.
1713 (doc-view-menu): Add menu entry.
1714 (doc-view-set-slice): Adapt docstring.
1715 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1716 (doc-view-scale-bounding-box)
1717 (doc-view-set-slice-from-bounding-box): New functions.
1718 (doc-view-paper-sizes): New defvar.
1719
69f6644c
GM
17202012-09-19 Glenn Morris <rgm@gnu.org>
1721
35f5b19d
GM
1722 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1723 (byte-compile-log-warning): Autoload. (Bug#12371)
1724
69f6644c
GM
1725 * calendar/calendar.el (calendar-american-month-header)
1726 (calendar-european-month-header, calendar-iso-month-header)
1727 (calendar-month-header): New options.
1728 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1729 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1730
e543ae91
JD
17312012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1732
1733 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1734
2fd5e67d
JL
17352012-09-18 Juri Linkov <juri@jurta.org>
1736
1737 * dired-aux.el (dired-diff): Restore original functionality of
1738 getting the default value, but keep new feature of using the
1739 latest existing backup file (`diff-latest-backup-file').
1740
42917e79
JL
17412012-09-18 Juri Linkov <juri@jurta.org>
1742
1743 * dired.el (dired-mark): If the region is active in Transient Mark
1744 mode, mark all files in the active region. Doc fix.
1745 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1746 Doc fix. (Bug#10624)
1747
20f70ede
JL
17482012-09-18 Juri Linkov <juri@jurta.org>
1749
1750 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1751 attributes for M-n are pulled from the file at point.
1752 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1753 Suggested by Drew Adams. (Bug#10624)
1754
32fb8162
DG
17552012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1756
1757 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1758 whitespace after "end".
1759 (ruby-do-end-to-brace): Collapse block to one line if it fits
1760 within fill-column.
1761
37ab5092
MR
17622012-09-18 Martin Rudalics <rudalics@gmx.at>
1763
1764 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1765 value.
1766 (debug): Don't remove debugger window when debugger is expected
1767 to be back.
1768
ed1f0bd3
CY
17692012-09-18 Chong Yidong <cyd@gnu.org>
1770
1771 * custom.el (defface): Doc fix.
1772
1773 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1774
a11035b8
MB
17752012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1776
1777 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1778 to initialize query-on-exit; then test that instead (bug#12288).
1779
64f6a736
SM
17802012-09-17 Stefan Merten <smerten@oekonux.de>
1781
70efc5c9 1782 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1783 (rst-defcustom-testcover, rst-testcover-add-compose)
1784 (rst-testcover-add-1value): New functions.
1785 (rst-portable-mark-active-p): Replace by `use-region-p'.
1786 (rst-update-section, rst-classify-adornment)
1787 (rst-find-title-line): Mark `1value' forms.
1788 (rst-classify-adornment): Remove superfluous form.
1789 (rst-update-section, rst-get-adornments-around)
1790 (rst-adornment-complete-p, rst-get-next-adornment)
1791 (rst-adjust, rst-promote-region)
1792 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1793 (rst-find-pfx-in-region, rst-section-tree-rec)
1794 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1795 (rst-toc-node, rst-toc, rst-forward-section)
1796 (rst-iterate-leftmost-paragraphs)
1797 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1798 (rst-bullet-list-region)
1799 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1800 (rst-compile-find-conf, rst-compile)
1801 (rst-repeat-last-character): Fix style.
1802
580bd868
CY
18032012-09-17 Chong Yidong <cyd@gnu.org>
1804
1805 * comint.el (comint--complete-file-name-data): Don't add a space
1806 if the status is `sole'; that adds a gratuitous space in the
1807 completion-cycling case (Bug#12092).
1808
1809 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1810
69de3ec6
RS
18112012-09-17 Richard Stallman <rms@gnu.org>
1812
0dee970c
RS
1813 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1814 only in the mime-shown mode, not in raw mode.
1815 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1816 mime processing. (Bug#12305)
0dee970c 1817
6b250df6
GM
1818 * mail/rmail.el (rmail-retry-failure):
1819 Turn off mime processing first. (Bug#12037)
acb1c47b 1820
69de3ec6
RS
1821 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1822
d079ee5f
CY
18232012-09-17 Chong Yidong <cyd@gnu.org>
1824
1825 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1826 (shell-dynamic-complete-functions): Convert to defcustom.
1827 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1828
865fe16f
CY
1829 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1830 * comint.el (comint-prompt-read-only):
1831 * custom.el (defcustom):
1832 * hi-lock.el (hi-lock-mode):
1833 * ibuffer.el (ibuffer-formats):
1834 * ielm.el (ielm-prompt-read-only):
1835 * novice.el (disable-command):
1836 * saveplace.el (toggle-save-place):
1837 * speedbar.el (speedbar-supported-extension-expressions):
1838 * startup.el (auto-save-list-file-prefix, init-file-user)
1839 (after-init-hook, inhibit-startup-echo-area-message):
1840 * strokes.el (strokes-help):
1841 * time-stamp.el (time-stamp):
1842 * calendar/calendar.el (calendar, diary-file):
1843 * calendar/diary-lib.el (diary-mail-entries, diary)
1844 (diary-list-entries-hook):
1845 * calendar/holidays.el (holidays, calendar-holidays):
1846 * calendar/lunar.el (lunar-phases):
1847 * calendar/solar.el (sunrise-sunset):
1848 * emulation/edt.el (edt-load-keys):
1849 * emulation/viper.el (viper-mode):
1850 * eshell/em-alias.el (eshell-command-aliases-list):
1851 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1852 * international/ogonek.el (ogonek-information):
1853 * net/tramp-cmds.el (tramp-bug):
1854 * net/quickurl.el (quickurl-reread-hook-postfix):
1855 * play/decipher.el (decipher-font-lock-keywords):
1856 * progmodes/cc-styles.el (c-set-style):
1857 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1858 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1859 * progmodes/octave-mod.el (octave-mode):
1860 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1861 * progmodes/verilog-mode.el (verilog-read-defines):
1862 * textmodes/two-column.el (2C-mode): Likewise.
1863
48093eb9
KY
18642012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1865
1866 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1867 that holds many addresses.
1868
c584eaf9
CY
18692012-09-16 Chong Yidong <cyd@gnu.org>
1870
40d70ecb
CY
1871 * align.el (align-areas): Call the indication function with
1872 positions instead of markers for arguments (Bug#12343).
1873
1667e065
CY
1874 * files.el (parse-colon-path): Use split-string (Bug#12351).
1875
fdc2806d 1876 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1877 (display-buffer-function): Mark as obsolete.
fdc2806d 1878
f1be615c 1879 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1880 values similar to font-lock-keywords (Bug#12136).
1881 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1882 (compilation-error-regexp-alist): Doc fix.
1883
f40a9709
GM
18842012-09-15 Glenn Morris <rgm@gnu.org>
1885
72aa16e1
GM
1886 * version.el (emacs-bzr-version-bzr): New function.
1887 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1888
82375160
GM
1889 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1890 checkouts, check the parent dirstate matches the branch.
1891 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1892 empty string.
1893
f40a9709
GM
1894 * version.el (emacs-bzr-version): Doc fix.
1895 (emacs-bzr-version-dirstate): New function.
1896 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1897 is local try and check that it matches the branch. If not, just
1898 use dirstate information. (Bug#12441)
1899
cb26b7f5
JL
19002012-09-14 Juri Linkov <juri@jurta.org>
1901
1902 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1903 (Bug#12399)
1904
2de39f08
SM
19052012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1906
0fb3cb7c
SM
1907 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1908
2de39f08
SM
1909 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1910 Remove obsolete byte-compiler hack that tried to silence some warnings.
1911 (edebug-submit-bug-report): Remove.
1912 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1913 Remove aliases, use the un-prefixed name instead.
1914 (edebug-pop-to-buffer): Consider other frames.
1915 (edebug-original-read):: Make it more obvious that it's always defined.
1916 (edebug--make-form-data-entry, edebug--form-data-name)
1917 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1918 single-dashed name, and implement with cl-defstruct.
1919 (edebug-set-form-data-entry): Use the standard accessors.
1920 (edebug-make-top-form-data-entry): Use push.
1921 (edebug-no-match): Drop useless `funcall'.
1922 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1923 to functions.
1924 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1925 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1926 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1927 (easy-menu-define, with-custom-print): Remove redundant specs.
1928 (edebug-outside-overriding-local-map)
1929 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1930 (edebug--display): Bind unread-command-events directly to nil rather
1931 than binding it to unread-command-events and later setting it to nil.
1932 (edebug--display): Kill edebug-eval-buffer here...
1933 (edebug--recursive-edit): ...rather than here.
1934 Bind standard-output and standard-input.
1935 (edebug-eval): Check cl-macroexpand-all is fboundp.
1936 (edebug-temp-display-freq-count): Fix last change.
1937
1938 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1939 * subr.el (noreturn, 1value): Add `debug' spec.
1940 * emacs-lisp/advice.el: Require cl-lib.
1941 (ad-copy-tree): Remove, use copy-tree instead.
1942 (ad-dolist): Remove use dolist or cl-dolist instead.
1943 (ad-do-return): Remove, use cl-return instead.
1944 (defadvice): Add `debug' spec.
1945
5b68b333
JL
19462012-09-13 Juri Linkov <juri@jurta.org>
1947
1948 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1949 (Bug#12399)
1950
b9800ec4
GM
19512012-09-13 Glenn Morris <rgm@gnu.org>
1952
6a2e6868
GM
1953 * calc/calc.el (math-compose-expr):
1954 * calc/calc-ext.el (math-compose-expr):
1955 * progmodes/cc-defs.el (cl-macroexpand-all):
1956 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1957 (cl-macroexpand-all): Update declarations.
1958
b9800ec4
GM
1959 * vc/vc.el: No need to require ediff.
1960 (ediff-load-version-control): Declare.
1961 (ediff-vc-internal): Fix declaration.
1962 (vc-version-ediff): Require ediff.
1963
c18e885b
PE
19642012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1965
1966 Use a more backwards-compatible timer format (Bug#12430).
1967 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1968 being right after USECS, as that better supports old code that
1969 inadvisedly looked directly at the timer vector.
1970
d607d303
KH
19712012-09-13 Kenichi Handa <handa@gnu.org>
1972
1973 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1974 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1975 `coding-priority' property of these language environment.
1976
72eac303
PE
19772012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1978
1979 Fix glitches caused by addition of psec to timers (Bug#12430).
1980 * image.el (image-animate-timer):
1981 * time.el (display-time-world-timer):
1982 Use timer--function and timer--args rather than raw access to
1983 timer vector.
1984
2168fe4f
GM
19852012-09-13 Glenn Morris <rgm@gnu.org>
1986
1987 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1988 If not compiling a file, try using load-file-name.
1989
bd8d6108
SM
19902012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1991
c0c54fbd
SM
1992 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1993 Fix last change.
1994 (edebug-update-eval-list): Use `push'.
1995
bd8d6108
SM
1996 * emacs-lisp/edebug.el: Use lexical-binding.
1997 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1998 Mark unused args with underscore.
1999 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2000 (edebug-form-data): Use defvar-local.
2001 (edebug-make-before-and-after-form, edebug-make-after-form):
2002 Use backquote.
2003 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2004 Not dynamically scoped any more.
2005 (edebug--enter-trace): Add arguments `function' and `args'.
2006 Rename from edebug-enter-trace.
2007 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2008 (edebug--update-coverage): Add `after-index' and `value' args.
2009 Rename from edebug-update-coverage.
2010 (edebug-slow-after): Call it accordingly.
2011 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2012 edebug-recursive-edit.
2013 (edebug--display): Call it accordingly. Add args `value',
2014 `offset-index', and `arg-mode'. Rename from edebug-display.
2015 (edebug-debugger, edebug): Call it accordingly.
2016 (edebug-eval-display-list): Use dolist.
2017
a9f9d9de
JL
20182012-09-12 Juri Linkov <juri@jurta.org>
2019
2020 * info.el (Info-search): Don't check for isearch-mode and
2021 isearch-regexp before let-binding search-spaces-regexp to
2022 Info-search-whitespace-regexp.
2023 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2024 search-whitespace-regexp if isearch-lax-whitespace or
2025 isearch-regexp-lax-whitespace is non-nil.
2026 (Info-mode): Don't set local variable search-whitespace-regexp.
2027 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2028
bfeae2cf
SM
20292012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2032 (debugger-env-macro): Remove support for unread-command-char.
2033
2034 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2035 the temporary map re-appearing on emulation-mode-map-alists.
2036
2037 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2038 since 22.1.
2039
2040 * ehelp.el (with-electric-help): Accept functions in
2041 electric-help-form-to-execute.
2042 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2043 And replace unread-command-char -> unread-command-events.
2044
fbbcaf1b
MA
20452012-09-12 Michael Albinus <michael.albinus@gmx.de>
2046
2047 Sync with Tramp 2.2.6.
2048
2049 * net/tramp.el (tramp-accept-process-output): Don't use
2050 JUST-THIS-ONE in the XEmacs case.
2051
2052 * net/trampver.el: Update release number.
2053
4dece104
MR
20542012-09-12 Martin Rudalics <rudalics@gmx.at>
2055
bfeae2cf
SM
2056 * emacs-lisp/debug.el (debugger-previous-window-height):
2057 New variable.
4dece104
MR
2058 (debug): When debugger-jumping-flag is non-nil try to restore
2059 height of debugger window. (Bug#8789)
2060
45b82ad0
SM
20612012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2062
60c49c0f
SM
2063 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2064 overriding-local-map and pre/post-command-hook here.
2065 (edebug-recursive-edit): Do it here instead (bug#12345).
2066 (edebug-outside-unread-command-char): Remove all uses of
2067 unread-command-char.
2068
45b82ad0
SM
2069 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2070 inhibit-debugger is bound instead.
2071
baa26ea0
BG
20722012-09-11 Bastien Guerry <bzg@gnu.org>
2073
2074 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2075 (Bug#12346)
baa26ea0 2076
04e8abfa
BG
20772012-09-11 Bastien Guerry <bzg@gnu.org>
2078
96d03571 2079 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2080 (Bug#12347)
96d03571
BG
2081
20822012-09-11 Bastien Guerry <bzg@gnu.org>
2083
fc0c31f8 2084 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2085
04e082b0
MM
20862012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2087
2088 * progmodes/sql.el: Version 3.1
2089 (sql-db2-escape-newlines): New variable.
2090 (sql-escape-newlines-filter): Use it.
2091
399a361b
JB
20922012-09-10 Juanma Barranquero <lekktu@gmail.com>
2093
2094 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2095
0780c517
DN
20962012-09-10 Dan Nicolaescu <dann@gnu.org>
2097
45b82ad0
SM
2098 * vc/diff-mode.el (diff-mode-menu):
2099 Bind diff-remove-trailing-whitespace.
0780c517 2100
9b851e25
SM
21012012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2104 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2105 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2106 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2107 (eval-defun-2): Remove bogus interactive spec.
2108 (lisp-indent-line): Remove redundant whole-exp code, now done in
2109 indent-according-to-mode.
2110 (save-match-data): Remove redundant indent data.
2111
2112 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2113 Use `declare'.
2114
3231d532
JL
21152012-09-09 Juri Linkov <juri@jurta.org>
2116
2117 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2118 (replace-lax-whitespace, query-replace-regexp)
2119 (query-replace-regexp-eval, replace-regexp): Doc fix.
2120 (perform-replace, replace-highlight): Let-bind
2121 isearch-lax-whitespace to replace-lax-whitespace and
2122 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2123
2124 * isearch.el (isearch-query-replace): Let-bind
2125 replace-lax-whitespace to isearch-lax-whitespace and
2126 replace-regexp-lax-whitespace to
2127 isearch-regexp-lax-whitespace. (Bug#10885)
2128
70fe8236
SM
21292012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2132
8ed43f15
AM
21332012-09-09 Alan Mackenzie <acm@muc.de>
2134
70fe8236
SM
2135 * progmodes/cc-engine.el (c-state-cache-init):
2136 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2137 (c-record-parse-state-state):
2138 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2139
bfabf70a
AS
21402012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2141
2142 * register.el (register-separator): Rename from
2143 separator-register. All uses changed. Doc fix.
2144 (register): Fix version.
2145
011474aa
CY
21462012-09-09 Chong Yidong <cyd@gnu.org>
2147
2148 * replace.el (query-replace-map): Bind four new symbols for
2149 requesting window scrolling.
2150
2151 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2152 query-replace-map (Bug#8948).
2153
2154 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2155
2156 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2157 since they are now in query-replace-map.
2158
2159 * window.el (scroll-other-window-down): Make the arg optional.
2160
a8b7cd8d
CY
21612012-09-09 Chong Yidong <cyd@gnu.org>
2162
2163 * files.el (hack-local-variables-confirm): Use quit-window to kill
2164 the *Local Variables* buffer.
2165
c3268831
DG
21662012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2167
2168 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2169 not just expect to be at its beginning. Adjust callees.
2170 Succeed when do-end block has no space before the pipe character.
2171 (ruby-brace-to-do-end): When the original block is one-liner,
2172 convert to multiline. Reindent the result.
2173
0979429b
J
21742012-09-08 Jambunathan K <kjambunathan@gmail.com>
2175
2176 * register.el (register): New group.
27359e99 2177 (separator-register): New user option.
0979429b
J
2178 (increment-register): Route it to `append-to-register', if
2179 register contains text. Implication is that `C-x r +' can now be
2180 used for appending to a text register (bug#12217).
2181 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2182 `separator-register'.
0979429b 2183
ace2989a
AM
21842012-09-08 Alan Mackenzie <acm@muc.de>
2185
2186 AWK Mode: make auto-newline work when there's "==" in the pattern.
2187 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2188 correctly.
0979429b
J
2189 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2190 Test more rigorously for "=" token.
ace2989a 2191
616c6c36
DG
21922012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2193
0979429b
J
2194 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2195 Only fail when reached LIMIT.
616c6c36 2196
35d98877
CY
21972012-09-08 Chong Yidong <cyd@gnu.org>
2198
2199 * dired.el (dired-mode-map): Don't bind M-=.
2200
2201 * dired-aux.el (dired-diff): Use backup file as default.
2202
1715f2db
DA
22032012-09-08 Drew Adams <drew.adams@oracle.com>
2204
2205 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2206
6dcef6ec
CY
22072012-09-08 Chong Yidong <cyd@gnu.org>
2208
2209 * subr.el (syntax-after, syntax-class): Doc fix.
2210
fa2bcf43
MR
22112012-09-08 Martin Rudalics <rudalics@gmx.at>
2212
2213 * window.el (display-buffer-in-previous-window): New buffer
2214 display action function.
2215
2216 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2217 (debugger-previous-window): New variable.
2218 (debug): Rewrite using display-buffer-in-previous-window,
2219 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2220
daac280a
SM
22212012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2222
2223 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2224
9dd40b00
MM
22252012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2226
daac280a
SM
2227 * progmodes/python.el (python-shell-send-string):
2228 When default-directory is remote, create temp file on remote
9dd40b00
MM
2229 filesystem.
2230 (python-shell-send-file): When file is remote, pass local view of
2231 file paths to remote Python interpreter. (Bug#12340)
2232
145823ec
CY
22332012-09-07 Chong Yidong <cyd@gnu.org>
2234
cee2e90d
CY
2235 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2236
0d7eb2ea
CY
2237 * files.el (after-find-file): Don't fail on a read-only buffer if
2238 require-final-newline is `visit' or `visit-save' (Bug#11156).
2239
145823ec
CY
2240 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2241
daac280a
SM
2242 * userlock.el (ask-user-about-supersession-threat):
2243 Use read-char-choice (Bug#12093).
145823ec 2244
74c582e6
CY
22452012-09-07 Chong Yidong <cyd@gnu.org>
2246
e5c2edf7
CY
2247 * subr.el (buffer-narrowed-p): New function.
2248
2249 * ses.el (ses-widen):
2250 * simple.el (count-words--buffer-message):
1f9f395d 2251 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2252
2253 * simple.el (count-words-region): Don't signal an error if there
2254 is a non-nil prefix arg and the mark is not set.
c640e87d 2255
74c582e6
CY
2256 * help.el (describe-key-briefly): Allow the message to be seen
2257 when invoked from the minibuffer (Bug#7014).
2258
d81ceaaf
DG
22592012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2260
2261 * progmodes/ruby-mode.el (ruby-end-of-defun)
2262 (ruby-beginning-of-defun): Simplify, allow indentation before
2263 block beginning and end keywords.
8f06acce
DG
2264 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2265 (ruby-end-of-defun): Expect that the point is at the beginning of
2266 the defun.
d81ceaaf 2267
d458ef98
SM
22682012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2271 (bug#12367).
2272 (cl--make-usage-args): Strip _ from argument names.
2273
20367d28
RS
22742012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2275
2276 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2277 obsolete alias speedbar-key-map.
2278 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2279 (vhdl-index-menu-init): Don't use obsolete variable
2280 font-lock-maximum-size.
2281
3424a4f6
CY
22822012-09-06 Chong Yidong <cyd@gnu.org>
2283
2284 * frame.el (window-system-version): Mark as obsolete.
2285
fcbfbdea
CY
2286 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2287 of obsolete variable speedbar-key-map.
2288
826b3235
JL
22892012-09-06 Juri Linkov <juri@jurta.org>
2290
2291 * replace.el (replace-lax-whitespace): New defcustom.
2292 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2293 (replace-string, replace-regexp): Mention it in docstrings.
2294 (perform-replace, replace-highlight): Let-bind
2295 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2296 to the values of replace-lax-whitespace and regexp-flag.
2297 Don't let-bind search-whitespace-regexp. (Bug#10885)
2298
2299 * isearch.el (isearch-query-replace): Let-bind
2300 replace-lax-whitespace instead of let-binding
2301 replace-search-function and replace-re-search-function.
2302 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2303 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2304 (isearch-toggle-symbol): Set isearch-regexp to nil
2305 in isearch-word mode (like in isearch-toggle-word).
2306
1ec5e41d
JL
23072012-09-06 Juri Linkov <juri@jurta.org>
2308
2309 * replace.el (replace-search-function)
2310 (replace-re-search-function): Set default values to nil.
2311 (perform-replace): Let-bind isearch-related variables based on
2312 replace-related values, call `isearch-search-fun' and let-bind
2313 the result to `search-function'. Remove code that sets
2314 `search-function' and `search-string' separately for
2315 `delimited-flag'.
2316 (replace-highlight): Add new argument `delimited-flag' and
2317 rename other arguments to the names used in `perform-replace'.
2318 Let-bind `isearch-word' to the argument `delimited-flag'.
2319 (Bug#10885, bug#10887)
2320
0ba2d4b6
DG
23212012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2322
2323 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2324 ruby-beginning-of-indent, simplify, allow all keywords to have
2325 indentation before them.
2326 (ruby-beginning-of-indent): Adjust for above. Search until the
2327 found point is not inside a string or comment.
2328 (ruby-font-lock-keywords): Allow symbols to start with "@"
2329 character, give them higher priority than variables.
2330 (ruby-syntax-propertize-function)
2331 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2332 matchers. Expression expansions are not comments when inside a
2333 string, and there comment syntax status is irrelevant.
2334 (ruby-match-expression-expansion): New function. Check that
2335 expression expansion is inside a string, and it's not escaped.
2336 (ruby-font-lock-keywords): Use it.
2337
ef654460
MR
23382012-09-05 Martin Rudalics <rudalics@gmx.at>
2339
2340 * help.el (temp-buffer-max-height): New default value.
2341 (temp-buffer-resize-frames): New option.
2342 (resize-temp-buffer-window): Optionally resize frame.
2343
2344 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2345 (fit-frame-to-buffer): New function.
2346
7e570fbf 23472012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2348
2349 * emulation/cua-rect.el (cua--init-rectangles):
2350 * textmodes/picture.el (picture-mode-map):
2351 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2352 like forward-char and backward-char. (Bug#12317)
2353
7e570fbf 23542012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2355
2356 * progmodes/flymake.el (flymake-warning-re): New variable.
2357 (flymake-parse-line): Use it.
2358
7e570fbf 23592012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2360
2361 * calendar/holidays.el (holiday-christian-holidays):
2362 Rename an entry. (Bug#12289)
2363
7e570fbf 23642012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2365
2366 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2367 (bug#12222).
2368
972debf2
SM
23692012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * loadup.el: Load macroexp. Remove hack.
2372 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2373 (macroexp--expand-all): Use it to get better warnings.
2374 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2375 (internal-macroexpand-for-load): New functions.
2376 (macroexp--pending-eager-loads): New var.
2377 (emacs-startup-hook): New hack to replace one in loadup.el.
2378 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2379 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2380 (cl-psetf): Simplify.
2381 (cl-defstruct): Add indent rule.
2382
8ce192e3
LI
23832012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2384
2385 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2386 over `user-mail-address' for the SMTP MAIL FROM envelope.
2387 (smtpmail-via-smtp): Ditto.
2388
6578b4d8
DG
23892012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2390
2391 * progmodes/ruby-mode.el: Clean up keybindings.
2392 (ruby-mode-map): Don't bind ruby-electric-brace,
2393 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2394 backward-kill-word, reindent-then-newline-and-indent.
2395 (ruby-mark-defun): Remove.
2396 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2397 (ruby-mode): Set local beginning-of-defun-function and
2398 end-of-defun-function values.
2399
c5e28e39
MR
24002012-09-03 Martin Rudalics <rudalics@gmx.at>
2401
2402 * window.el (temp-buffer-window-setup-hook)
2403 (temp-buffer-window-show-hook): New hooks.
2404 (temp-buffer-window-setup, temp-buffer-window-show)
2405 (with-temp-buffer-window): New functions.
972debf2
SM
2406 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2407 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2408
2409 * help.el (temp-buffer-resize-mode): Fix doc-string.
2410 (resize-temp-buffer-window): New optional argument WINDOW.
2411
2412 * files.el (recover-file, save-buffers-kill-emacs):
2413 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2414
73406194
MA
24152012-09-02 Michael Albinus <michael.albinus@gmx.de>
2416
2417 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2418 remote definition of `default-directory', ensure we can connect.
2419
63dd1c6f
JL
24202012-09-02 Juri Linkov <juri@jurta.org>
2421
2422 Toggle whitespace matching mode with M-s SPC.
2423 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2424
2425 * isearch.el (search-whitespace-regexp): Doc fix.
2426 Remove cons cell customization.
2427 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2428 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2429 New variables.
2430 (isearch-forward, isearch-forward-regexp): Doc fix.
2431 (isearch-toggle-lax-whitespace): New command.
2432 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2433 (re-search-forward-lax-whitespace)
2434 (re-search-backward-lax-whitespace): New functions.
2435 (isearch-whitespace-regexp): Remove function.
2436 (isearch-query-replace): Let-bind replace-search-function and
2437 replace-re-search-function.
2438 (isearch-occur): Let-bind search-spaces-regexp according to the
2439 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2440 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2441 condition for C-q SPC.
2442 (isearch-search-fun-default): Use new functions mentioned above.
2443 (isearch-search-forward, isearch-search-backward): Remove functions.
2444 (isearch-search): Don't let-bind search-spaces-regexp.
2445 (isearch-lazy-highlight-space-regexp): Remove variable.
2446 (isearch-lazy-highlight-lax-whitespace)
2447 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2448 (isearch-lazy-highlight-new-loop): Use them.
2449 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2450
af7dda05
CY
24512012-09-02 Chong Yidong <cyd@gnu.org>
2452
2453 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2454
d67d3afd
GM
24552012-09-02 Glenn Morris <rgm@gnu.org>
2456
2457 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2458
69678719
GM
24592012-09-01 Glenn Morris <rgm@gnu.org>
2460
2461 * term.el: Tidy up menu definitions.
2462 (term-mode-map): Use easymenu for In/Out, Complete menus.
2463 (term-pager-break-map): Initialize in the defvar.
2464 (term-terminal-menu, term-signals-menu): Define with easymenu.
2465 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2466 (term-pager-menu): New, extracted from term-process-pager.
2467 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2468 (term-update-mode-line): Propertize line/char and page items.
2469 (term-process-pager): Move keymap initialization elsewhere.
2470
78dd6ab1
MR
24712012-09-01 Martin Rudalics <rudalics@gmx.at>
2472
2473 * window.el (switch-to-prev-buffer): Handle additional values of
2474 BURY-OR-KILL argument. Don't switch in minibuffer window.
2475 (switch-to-next-buffer): Don't switch in minibuffer window.
2476 (quit-restore-window): New function based on quit-window.
2477 Handle additional values of former KILL argument.
2478 (quit-window): Call quit-restore-window with appropriate
2479 interpretation of KILL argument.
2480 (display-buffer-below-selected): New buffer display action
2481 function.
2482
3d10e134
SM
24832012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2484
2485 * minibuffer.el (completion-at-point-functions): Complete docstring
2486 (bug#12254).
2487
0e23ef9d
PE
24882012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2489
2490 Better seed support for (random).
2491 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2492 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2493 * play/mpuz.el, play/tetris.el, play/zone.el:
2494 * calc/calc-comb.el (math-init-random-base):
2495 * play/blackbox.el (bb-init-board):
2496 * play/life.el (life):
2497 * server.el (server-use-tcp):
2498 * type-break.el (type-break):
2499 Remove unnecessary call to (random t).
2500 * net/sasl.el (sasl-unique-id-function):
2501 Change (random t) to (random), now that the latter is more random.
2502 * play/life.el (life-initialized): Remove no-longer-needed var.
2503
862382df
MR
25042012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2505
2506 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2507 Consider frame's buffer predicate when choosing the buffer.
2508 (Bug#12081)
2509
262a66e1
RS
25102012-08-30 Richard Stallman <rms@gnu.org>
2511
2512 * simple.el (special-mode-map): Delete binding for `z'.
2513
f17e1d00
AS
25142012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2515
2516 * progmodes/compile.el (compilation-always-kill): Doc fix.
2517
24777832
CY
25182012-08-30 Chong Yidong <cyd@gnu.org>
2519
2520 * window.el (display-buffer-reuse-frames): Make the obsolescence
2521 message more informative.
2522
69ba1f04
GM
25232012-08-30 Glenn Morris <rgm@gnu.org>
2524
2525 * paren.el (show-paren-delay):
2526 Add a :set function. Doc fix. (Bug#12297)
2527
f0019ede
MB
25282012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2529
2530 * progmodes/compile.el (compilation-always-kill): New var.
2531 (compilation-start): Use it.
2532
35e62fc9
SM
25332012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2534
af070a1c
SM
2535 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2536 * files.el (read-only-mode): Move to simple.el.
2537
35e62fc9
SM
2538 * files.el (read-only-mode): New minor mode.
2539 (toggle-read-only): Use it and mark obsolete.
2540 (find-file--read-only):
2541 * vc/vc.el (vc-next-action, vc-checkout):
2542 * vc/vc-cvs.el (vc-cvs-checkout):
2543 * obsolete/vc-mcvs.el (vc-mcvs-update):
2544 * ffap.el (ffap--toggle-read-only): Update callers.
2545
c2c43c23
MA
25462012-08-29 Michael Albinus <michael.albinus@gmx.de>
2547
2548 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2549 remote shell scripts.
2550 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2551
2552 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2553 "/usr/local/sbin".
2554
9fba804b
SM
25552012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2556
2557 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2558
eada0861 25592012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2560
806f0cc7
LL
2561 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2562 completion-at-point. (Bug#12220)
2563
3bb213b9
LL
2564 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2565
22ab32ef
LL
2566 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2567
eada0861 25682012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2569
19c17fc1
CY
2570 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2571 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2572
eada0861 25732012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2574
2575 * progmodes/hideif.el (hif-compress-define-list):
2576 Fix typo. (Bug#11951)
2577
eada0861 25782012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2579
2580 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2581 buffer local setting.
2582
27d6c5a8
LL
2583 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2584 rcirc-encode-coding-system.
2585
eada0861 25862012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2587
2588 * net/rcirc.el (rcirc-split-message): New function.
2589 (rcirc-send-message): Use it. (Bug#12051)
2590
d44688e4
JL
25912012-08-28 Juri Linkov <juri@jurta.org>
2592
2593 * info.el (Info-fontify-node): Hide empty lines at the end of
2594 the node. (Bug#12272)
2595
34f10d41
MR
25962012-08-27 Drew Adams <drew.adams@oracle.com>
2597
2598 * dired.el (dired-pop-to-buffer): Make window start at beginning
2599 of buffer (Bug#12281).
2600
77f1f99c
CY
26012012-08-26 Chong Yidong <cyd@gnu.org>
2602
2603 * window.el (special-display-regexps, special-display-frame-alist)
2604 (special-display-buffer-names, special-display-function)
2605 (display-buffer-reuse-frames): Mark as obsolete.
2606
2607 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2608
2609 * help.el (help-print-return-message): Don't treat
2610 display-buffer-reuse-frames specially.
2611
d97af5a0
CY
26122012-08-26 Chong Yidong <cyd@gnu.org>
2613
9fba804b
SM
2614 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2615 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2616 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2617 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2618 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2619 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2620 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2621 the functions directly with gdb-display-buffer-other-frame-action.
2622 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2623 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2624 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2625 (gdb-display-registers-buffer): Define directly.
2626 (def-gdb-display-buffer): Macro deleted.
2627 (gdb-display-buffer): Remove second and third args, callers don't
2628 use them. Defer to the default display-buffer behavior, apart
2629 from making windows dedicated.
2630 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2631
2632 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2633
2634 * window.el (display-buffer-pop-up-frame): Handle a
2635 pop-up-frame-parameters alist entry.
2636 (display-buffer): Document it.
2637
dd7ffad6
CY
26382012-08-26 Chong Yidong <cyd@gnu.org>
2639
2640 * isearch.el (search-whitespace-regexp): Make string and nil
2641 values apply to both ordinary and regexp search. Allow a cons
2642 cell value to distinguish between the two.
2643 (isearch-whitespace-regexp, isearch-search-forward)
2644 (isearch-search-backward): New functions.
2645 (isearch-occur, isearch-search-fun-default, isearch-search)
2646 (isearch-lazy-highlight-new-loop): Use them.
2647 (isearch-forward, isearch-forward-regexp): Doc fix.
2648
4c47bd1e
CY
26492012-08-26 Chong Yidong <cyd@gnu.org>
2650
2651 * faces.el (help-argument-name): Always inherit from italic
2652 (Bug#12213).
2653
9aba119d
MR
26542012-08-25 Martin Rudalics <rudalics@gmx.at>
2655
2656 * window.el (window--even-window-heights): Even heights when
2657 WINDOW and the selected window form a vertical combination.
2658 (display-buffer-use-some-window): Provide that window used gets
2659 sized back by quit-window. (Bug#11880) and (Bug#12091)
2660
ca5256ad
PE
26612012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2662
2663 Fix file time stamp problem with bzr and CVS (Bug#12001).
2664 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2665 in the file's time stamp, since the version control system loses
2666 that information.
2667
d1c0d176
JL
26682012-08-22 Juri Linkov <juri@jurta.org>
2669
2670 * info.el (Info-fontify-node): Hide the suffix of the
2671 Info file name in the header line. (Bug#12187)
2672
141562ff
GM
26732012-08-22 Glenn Morris <rgm@gnu.org>
2674
2675 * calendar/cal-tex.el (cal-tex-weekly-common):
2676 Restore leading blank page.
2677
61a48e19 26782012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2679
2680 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2681 the region under `shift-select-mode'. (Bug#12231)
2682
26832012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2684
2685 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2686 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2687 gives details on why the space is never needed.
2688
ea95074e
MR
26892012-08-22 Martin Rudalics <rudalics@gmx.at>
2690
9fba804b
SM
2691 * window.el (walk-window-tree, window-with-parameter):
2692 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2693 should run on the minibuffer window.
2694 (window-at-side-list): Don't operate on minibuffer window.
2695 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2696 (window--size-ignore): Rename to window--size-ignore-p.
2697 Update callers.
caceae25
MR
2698 (display-buffer-in-atom-window, window--major-non-side-window)
2699 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2700 (delete-side-window, display-buffer-in-side-window):
2701 New functions.
caceae25
MR
2702 (window--side-check, window-deletable-p, delete-window)
2703 (delete-other-windows, split-window): Handle side windows and
2704 atomic windows appropriately.
2705 (window--display-buffer): Call display-buffer-record-window also
2706 when the window buffer did not change.
ea95074e 2707
80a51fa0
CS
27082012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2709
2710 * help-fns.el (help-fns--key-bindings):
2711 Abbreviate non-symbol remap targets. (Bug#12174)
2712
fbb6300b
MR
27132012-08-22 Martin Rudalics <rudalics@gmx.at>
2714
2715 * dired.el (dired-mark-remembered): Don't clobber point.
2716 (Bug#11795)
2717
2b2c0794
GM
27182012-08-22 Glenn Morris <rgm@gnu.org>
2719
2720 * progmodes/bug-reference.el (bug-reference): New custom group.
2721 (bug-reference-bug-regexp): Make it a defcustom.
2722
37219830
DU
27232012-08-22 Daiki Ueno <ueno@unixuser.org>
2724
2725 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2726 (js-paren-indent-offset, js-square-indent-offset)
2727 (js-curly-indent-offset): Add :safe (Bug#12257).
2728
94e0e559
EC
27292012-08-22 Edward O'Connor <hober0@gmail.com>
2730
2731 * json.el (json-key-format): Add error properties.
2732 (json-encode-key): New function.
2733 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2734 Use json-encode-key.
2735
da485f5e
GM
27362012-08-22 Glenn Morris <rgm@gnu.org>
2737
2738 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2739 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2740 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2741 Update for above change.
2742
c6cc78b8
AS
27432012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2744
2745 * cus-face.el (custom-face-attributes): Fix customize type for the
2746 :underline attribute. (Bug#11805)
2747
5481664a
MR
27482012-08-21 Martin Rudalics <rudalics@gmx.at>
2749
2750 * window.el (window-point-1, set-window-point-1): Remove.
2751 (window-in-direction, record-window-buffer)
2752 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2753 (window--state-get-1, display-buffer-record-window):
2754 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2755 window-point and set-window-point respectively.
2756
6d74698e
GM
27572012-08-21 Glenn Morris <rgm@gnu.org>
2758
b7fa2691
GM
2759 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2760 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2761 Use it.
2762
52f56d5a
GM
2763 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2764 (cal-tex-shortday): New function.
2765 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2766 (cal-tex-cursor-filofax-daily): Use the above.
2767
9f1ee09e
GM
2768 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2769 New functions.
2770 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2771 (cal-tex-cursor-filofax-week): Use them.
2772
79858159
GM
2773 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2774 New constants.
2775 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2776 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2777
d346b2b4
GM
2778 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2779 (cal-tex-end-document): Don't rely on buffer name.
2780
b2403709
GM
2781 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2782 Use cal-tex-vspace.
2783 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2784 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2785 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2786 Use cal-tex-arg.
b2403709 2787
1cebb5c0
GM
2788 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2789 (cal-tex-cursor-week, cal-tex-cursor-week2)
2790 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2791 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2792 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2793 (cal-tex-insert-preamble, cal-tex-b-document)
2794 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2795 Improve cal-tex-cmd usage.
2796
c68cd5d4
GM
2797 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2798 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2799 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2800 (cal-tex-weekly-paper): New function.
2801 (cal-tex-cursor-week, cal-tex-cursor-week2)
2802 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2803 (cal-tex-cursor-day): Use it.
2804
9dca4801
GM
2805 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2806 (cal-tex-cursor-filofax-week): Remove leading blank page.
2807
1941e134
GM
2808 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2809 Add autoload cookie. For now at least, don't use color, since
2810 no other cal-tex function does.
2811
6d74698e
GM
2812 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2813 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2814 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2815
64cde199
JL
28162012-08-21 Juri Linkov <juri@jurta.org>
2817
2818 * info.el (Info-file-attributes): New variable.
2819 (info-insert-file-contents): Add file attributes to
2820 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2821 `Info-toc-nodes' when previous modtime of the Info file is less
2822 than new modtime.
2823 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2824 of info.el. (Bug#12230)
2825
32757648
GM
28262012-08-20 Glenn Morris <rgm@gnu.org>
2827
2828 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2829 * calendar/holidays.el (calendar-holiday-list):
2830 Report errors with display-warning rather than beep'n'sleep.
2831
a32fbbcf
MA
28322012-08-20 Michael Albinus <michael.albinus@gmx.de>
2833
2834 * net/tramp.el (tramp-accept-process-output): Accept only output
2835 from PROC. Otherwise, process filters and sentinels might be
2836 confused. (Bug#12145)
2837
a05731a0
CY
28382012-08-20 Chong Yidong <cyd@gnu.org>
2839
2840 * descr-text.el (describe-text-properties-1): Use overlays-in to
2841 report on empty overlays (Bug#3322).
2842
36e8d1eb
GM
28432012-08-20 Glenn Morris <rgm@gnu.org>
2844
3d300447
GM
2845 * mail/rmailout.el (rmail-output-read-file-name):
2846 Trap and report errors in rmail-output-file-alist elements.
2847
36e8d1eb
GM
2848 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2849 since most non-font-lock faces are not also variables).
2850
b96e5814
ER
28512012-08-20 Edward Reingold <reingold@iit.edu>
2852
2853 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2854 New function. (Bug12160)
2855
7cef3569
GM
28562012-08-19 Glenn Morris <rgm@gnu.org>
2857
2858 * mail/rmailout.el (rmail-output-read-file-name):
2859 Fix previous change (when the alist is nil or does not match).
2860
17975d7f
CY
28612012-08-19 Chong Yidong <cyd@gnu.org>
2862
2863 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2864 (Bug#12228).
2865
2170b1bd
CY
28662012-08-18 Chong Yidong <cyd@gnu.org>
2867
2868 * simple.el (yank-handled-properties): New defcustom.
2869 (yank-excluded-properties): Add font-lock-face and category.
2870 (yank): Doc fix.
2871
9fba804b
SM
2872 * subr.el (remove-yank-excluded-properties):
2873 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2874 and category is now done this way, instead of being hard-coded.
2875 (insert-for-yank-1): Remove font-lock-face handling.
2876 (yank-handle-font-lock-face-property)
2877 (yank-handle-category-property): New function.
2878
ee218151
GM
28792012-08-17 Glenn Morris <rgm@gnu.org>
2880
2881 * mail/rmailout.el (rmail-output-read-file-name):
2882 Check rmail-output-file-alist against the full message body
2883 in the correct rmail buffer. (Bug#12214)
2884
4a6bc3fd
MA
28852012-08-17 Michael Albinus <michael.albinus@gmx.de>
2886
9fba804b
SM
2887 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2888 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2889
383dcbf9
CY
28902012-08-17 Chong Yidong <cyd@gnu.org>
2891
2892 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2893 font spec, set the font directly (Bug#3228).
2894
998c4a6a
MR
28952012-08-17 Martin Rudalics <rudalics@gmx.at>
2896
2897 * window.el (delete-window): Fix last fix.
2898
52162052
MR
28992012-08-16 Martin Rudalics <rudalics@gmx.at>
2900
2901 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2902 (window-child, window-child-count, window-last-child)
2903 (window-normalize-window, window-combined-p)
2904 (window-combinations, window-atom-root, window-min-size)
2905 (window-sizable, window-sizable-p, window-size-fixed-p)
2906 (window-min-delta, window-max-delta, window--resizable)
2907 (window--resizable-p, window-resizable, window-total-size)
2908 (window-full-height-p, window-full-width-p, window-body-size)
2909 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2910 (minimize-window, window-deletable-p, delete-window)
2911 (delete-other-windows, set-window-buffer-start-and-point)
2912 (next-buffer, previous-buffer, split-window, balance-windows-2)
2913 (set-window-text-height, window-buffer-height)
2914 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2915 (truncated-partial-width-window-p): Minor code adjustments.
2916 In doc-strings state whether the argument window has to denote a
85c2386b 2917 live, valid or any window.
52162052 2918
1c308380
PS
29192012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2920
2921 * progmodes/subword.el (subword-forward-function)
2922 (subword-backward-function, subword-forward-regexp)
2923 (subword-backward-regexp): New variables.
2924 (subword-forward, subword-forward-internal, subword-backward-internal):
2925 Use new variables, eg so that different "word" definitions
2926 can be easily used. (Bug#11411)
2927
94c9ece1
SM
29282012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2929
2930 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2931 for composite selectors.
2932 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2933 operation just because we can't find a previous revision.
2934
f2045622
CY
29352012-08-15 Chong Yidong <cyd@gnu.org>
2936
2937 * frame.el (set-frame-font): Accept font objects.
2938
582db660
SM
29392012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2942
2f29c200
WJ
29432012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2944
456e62c2
WJ
2945 * man.el (Man-overstrike-face, Man-underline-face)
2946 (Man-reverse-face): Remove variables.
2947 (Man-overstrike, Man-underline, Man-reverse): New faces.
2948 (Man-fontify-manpage): Use them instead of the variables.
2949 (Man-cleanup-manpage): Comment change.
2950 (Man-ansi-color-map): New variable.
2951 (Man-fontify-manpage): Use it.
2952 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2953
2f29c200
WJ
2954 Implement ANSI SGR parameters 22-27 (bug#12146).
2955 * ansi-color.el (ansi-colors): Doc fix.
2956 (ansi-color-context, ansi-color-context-region): Doc fix.
2957 (ansi-color--find-face): New function.
2958 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2959 Rename the local variable `face' to `codes' since it is now a list of
2960 ansi codes. Doc fix.
2961 (ansi-color-get-face): Remove.
2962 (ansi-color-parse-sequence): New function, derived from
2963 ansi-color-get-face.
2964 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2965 codes 22-27.
2966
b4f5e9df
SM
29672012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * subr.el (read-passwd): Allow use from a minibuffer.
2970
ba025fbd
EZ
29712012-08-14 Eli Zaretskii <eliz@gnu.org>
2972
2973 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2974 inside comments and strings as identifiers.
2975
2976 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2977 expression to evaluate. This allows to evaluate expressions with
2978 embedded whitespace.
2979 (gud-tooltip-tips): Add a blank before the newline in the
2980 message-box text, for the benefit of message-box emulation on
2981 MS-Windows.
2982
2983 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2984 messages from GDB, pop them up in a tooltip to give feedback to
2985 user.
b4f5e9df
SM
2986 (gdb-tooltip-print-1): Quote the expression to evaluate.
2987 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2988 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2989 if the TTY name is nil or empty (which happens when communicating
2990 with the inferior via pipes, e.g. on MS-Windows).
2991 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2992 don't send that to the GUD buffer.
2993
c548f821
GM
29942012-08-14 Glenn Morris <rgm@gnu.org>
2995
2996 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2997 Optimize away setq-default with no args, as for setq. (Bug#12195)
2998
55802e4a
CY
29992012-08-14 Chong Yidong <cyd@gnu.org>
3000
4abcdac8
CY
3001 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3002
55802e4a
CY
3003 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3004 (Bug#12085).
3005
3c3cda1a
GM
30062012-08-14 Glenn Morris <rgm@gnu.org>
3007
3008 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3009
e1873bd0
MA
30102012-08-14 Michael Albinus <michael.albinus@gmx.de>
3011
3012 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3013 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3014 Use cached shell name.
3015
925411b4
FEG
30162012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3017
3018 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3019 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3020
e636fafe
DG
30212012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3022
3023 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3024 (ruby-percent-literal-beg-re): New constant.
3025 (ruby-syntax-general-delimiters-goto-beg): Rename to
3026 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3027 (ruby-syntax-propertize-general-delimiters): Rename to
3028 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3029 popular term. Adjust comments everywhere.
3030 (ruby-syntax-propertize-percent-literal): Only propertize when not
3031 inside a simple string or comment. When the literal is unclosed,
3032 leave the text after it unpropertized.
f063063a
DG
3033 (ruby-syntax-methods-before-regexp): New constant.
3034 (ruby-syntax-propertize-function): Use it to recognize regexps.
3035 Don't look at the text after regexp, just use the whitelist.
e636fafe 3036
e5b19827
AS
30372012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3038
3039 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3040 non-nil always load the compiled file if it exists. (Bug#12197)
3041
a9f6f311
CY
30422012-08-14 Chong Yidong <cyd@gnu.org>
3043
3044 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3045 (hi-lock-set-pattern): When deciding whether to use font lock or
3046 overlays, look at font-lock-mode instead of font-lock-fontified
3047 (Bug#12168).
3048 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3049 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3050
7d806b1e
DU
30512012-08-14 Daiki Ueno <ueno@unixuser.org>
3052
3053 * subr.el (internal--after-with-selected-window): Fix typo
3054 (Bug#12193).
3055
5beed586
FEG
30562012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3057
3058 Use `completion-table-dynamic' for completion functions.
3059 * progmodes/python.el
3060 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3061 (python-shell-completion--get-completions):
3062 Remove functions.
5beed586
FEG
3063 (python-shell-completion-complete-at-point): New function.
3064 (python-completion-complete-at-point): Use it.
3065
92cb3b04
J
30662012-08-13 Jambunathan K <kjambunathan@gmail.com>
3067
3068 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3069 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3070
89660017
SM
30712012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3072
3c98c962
SM
3073 * subr.el (function-get): Refine `autoload' arg so it can also
3074 autoload functions for gv.el (bug#12191).
3075 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3076 autoloads macros.
3077
aa7c6dbe
SM
3078 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3079 Prefer pcase-let over destructuring-bind.
3080 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3081 Also, remove whitespace as we go, rather than after accumulating the
3082 various places.
3083
89660017
SM
3084 * subr.el (internal--before-with-selected-window)
3085 (internal--after-with-selected-window): Fix typo seleted->selected.
3086 (with-selected-window): Adjust callers.
3087 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3088
31cd32c9
BG
30892012-08-13 Bastien Guerry <bzg@gnu.org>
3090
0fcd3d9f 3091 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3092 enhancement. (Bug#12172)
3093
1b15d8ad
AS
30942012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3095
31e54db0
AS
3096 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3097 type 1-6.
3098 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3099 extended headers.
3100
1b15d8ad
AS
3101 * files.el (hack-local-variables-filter): Remove useless eval.
3102
35cb9c06
MR
31032012-08-13 Martin Rudalics <rudalics@gmx.at>
3104
3105 * subr.el (with-selected-window): Fix last change.
3106
1439443b
SM
31072012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3108
3109 * subr.el (internal--before-with-seleted-window)
3110 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3111 (with-selected-window): Use them, to replace dependency on
3112 tty-top-frame.
1439443b 3113
0d9e2599
NN
31142012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3115
3116 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3117 binding for `newline'.
3118 (ruby-move-to-block): When moving backward, stop at block opening,
3119 not indentation.
3120 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3121 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3122 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3123 `ruby-toggle-block'.
3124
ba10c48c
SM
31252012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3126
3127 * ibuffer.el (ibuffer-do-toggle-read-only):
3128 * dired.el (dired-toggle-read-only):
3129 * buff-menu.el (Buffer-menu-toggle-read-only):
3130 * bindings.el (mode-line-toggle-read-only):
3131 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3132
9229c658
AS
31332012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3134
3135 * descr-text.el (describe-char): Put the overlays over the
3136 "displayed as" character.
3137
0fd09128
JB
31382012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3139
3140 * calc/calc-units.el (math-default-units-table): Give an
3141 initial value.
3142 (math-put-default-units): Add options to put composite units and
3143 unit systems in the default units table.
3144 (calc-convert-units): Send composite units to
3145 `math-put-default-units' when appropriate.
3146
9ff9402d 31472012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3148
fbb5e336
GM
3149 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3150
7aacaf15
GM
3151 * tutorial.el (help-with-tutorial):
3152 * emacs-lisp/copyright.el (copyright-update-directory):
3153 * emacs-lisp/autoload.el (autoload-find-generated-file)
3154 (autoload-find-file): Disable local eval: (for insurance).
3155
f40b9f10
GM
3156 * files.el (hack-local-variables-filter): If an eval: form is not
3157 known to be safe, and enable-local-variables is :safe, then ignore
3158 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3159 This is CVE-2012-3479.
f40b9f10 3160
daa9f1a6
SM
31612012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3164 (rx-form): Simplify.
3165
9cd80478
DG
31662012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3167
0d9e2599
NN
3168 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3169 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3170 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3171 (ruby-syntax-propertize-function): Adjust for changes in
3172 `ruby-syntax-propertize-heredoc'.
3173
31742012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3175
9cd80478
DG
3176 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3177 binding (use `M-;' instead).
9cd80478 3178 (ruby-singleton-class-p): New function.
0d9e2599 3179 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3180
d301b413
SM
31812012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3182
3183 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3184
1530c98e
CY
31852012-08-10 Chong Yidong <cyd@gnu.org>
3186
3187 * progmodes/python.el (python-shell-get-process-name): Don't mess
3188 with same-window-buffer-names.
3189
3190 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3191 (eshell-remove-from-window-buffer-names): Make obsolete.
3192 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3193 (eshell): Just use pop-to-buffer-same-window instead.
3194
e1293765
CY
31952012-08-10 Chong Yidong <cyd@gnu.org>
3196
3197 * bindings.el: Bind M-= back to count-words-region.
3198
3199 * simple.el (count-words-region): Accept a prefix arg for acting
3200 on the entire buffer.
3201 (count-words--buffer-message): New helper function.
3202
e1894109
SM
32032012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3206 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3207 (event-start, event-end): Use posn-at-point to return a more
3208 informative posn.
3209 (posnp): New function.
3210 * mouse.el (popup-menu-normalize-position): Use it.
3211
c69f56a2
MY
32122012-08-10 Masatake YAMATO <yamato@redhat.com>
3213
3214 * mouse.el (popup-menu-normalize-position): New function.
3215 (popup-menu): Use `popup-menu-normalize-position' to normalize
3216 the form for POSITION argument.
3217
3218 * term/x-win.el (x-menu-bar-open):
3219 Use the value returend from (posn-at-point) as position
3220 passed to `popup-menu'.
3221
31673780
JB
32222012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3223
3224 * calc/calccomp.el (math-compose-expr): Add extra argument
3225 indicating that parentheses should be put around products in
3226 denominators. Give multiplication precedence over division during
3227 composition.
3228
dab7711b
CY
32292012-08-09 Chong Yidong <cyd@gnu.org>
3230
dee4ef93
CY
3231 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3232 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3233 (Man-untabify-command, manual-program): Convert to defcustom
3234 (Bug#10429).
3235
73e2bbc5
CY
3236 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3237
3e861c8a
CY
3238 * descr-text.el (describe-char): Don't insert extra newlines
3239 (Bug#10127).
3240
a9f5a649
CY
3241 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3242 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3243
dab7711b
CY
3244 * align.el (align-region): Delete temporary markers (Bug#10047).
3245 Plus some code cleanups.
3246
e0cc4efa
FEG
32472012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3248
3249 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3250 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3251 (python-shell-internal-last-output): Use make-local-variable
3252 instead of make-variable-buffer-local.
3253
489af14f
FEG
32542012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3255
3256 * progmodes/python.el: Enhancements to forward-sexp.
3257 (python-nav-forward-sexp): Rename from
3258 python-nav-forward-sexp-function.
c69f56a2
MY
3259 (python-nav--forward-sexp, python-nav--backward-sexp):
3260 New functions.
489af14f 3261
0fc50303
JB
32622012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3263
3264 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3265 modes and simplification modes.
3266
5d65606a
SM
32672012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3268
3269 * delsel.el (delete-selection-pre-hook): Don't propagate the
3270 file-supersession signals (bug#12161).
3271
4250fdf5
SM
32722012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3275 (cl-map-extents): Add compatibility aliases (bug#12135).
3276
d9f9b465
MA
32772012-08-08 Michael Albinus <michael.albinus@gmx.de>
3278
3279 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3280 tests by `ignore-error'.
3281 (tramp-find-shell): Open also a new shell, when cache is already
3282 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3283
ce0fcefa
JL
32842012-08-08 Juri Linkov <juri@jurta.org>
3285
3286 * bookmark.el: Add `defaults' property to the bookmark record.
3287 (bookmark-current-buffer): Doc fix.
3288 (bookmark-make-record): Add `defaults' property with default values
3289 to the bookmark record.
3290 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3291 with `bookmark-insert-current-bookmark'.
3292 (bookmark-set): Get `defaults' property from the bookmark record
3293 and use it in `read-from-minibuffer'.
3294 (bookmark-insert-current-bookmark): Remove function.
3295
3296 * info.el (Info-bookmark-make-record): Add `defaults' property
3297 with values of canonical Info node name, the current Info file
3298 name and the current Info node name. (Bug#12107)
3299
53fa8652
JL
33002012-08-08 Juri Linkov <juri@jurta.org>
3301
3302 * files.el (basic-save-buffer): Use `buffer-name' as the default
3303 of `read-file-name' when buffer is not visiting a file (bug#12128).
3304
242c0a95
JL
33052012-08-08 Juri Linkov <juri@jurta.org>
3306
3307 * info.el (Info-isearch-search): Doc fix.
3308 (Info-search): Change search-failed message from "initial node" to
3309 "end of node" (bug#12078).
3310 (Info-isearch-search): Change `isearch-string-state' to
3311 `isearch--state-string'.
3312
32ac3a6b
GM
33132012-08-08 Glenn Morris <rgm@gnu.org>
3314
3315 * language/persian.el: Remove file.
f8c1afd5 3316 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3317 * loadup.el: Remove language/persian.
3318
2c2d9c9c
OF
33192012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3320
3321 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3322
2d79ec42
FEG
33232012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3324
3325 * progmodes/python.el Fixed defsubst warning.
3326 (python-syntax-context) Rename from python-info-ppss-context.
3327 (python-syntax-context-type): Rename from
3328 python-info-ppss-context-type.
3329 (python-syntax-comment-or-string-p): Rename from
3330 python-info-ppss-comment-or-string-p.
3331
2bd255dd
JB
33322012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3333
3334 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3335
c395097f
AS
33362012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3337
6125983e
AS
3338 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3339 a defcustom that is quoted with backquote.
3340
4250fdf5
SM
3341 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3342 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3343 (math-do-arg-check, math-define-function-body): Use backquote forms.
3344 * calc/calc-ext.el (math-defcache): Likewise.
3345 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3346 * allout.el (allout-new-exposure): Likewise.
3347 * calc/calcalg2.el (math-tracing-integral): Likewise.
3348 * info.el (Info-last-menu-item): Likewise.
3349 * emulation/vip.el (vip-loop): Likewise.
3350 * textmodes/artist.el (artist-funcall): Likewise.
3351 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3352 Construct menu-item directly.
3353
4250fdf5
SM
3354 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3355 Don't declare.
c395097f 3356
5fb50dd3
CY
33572012-08-07 Chong Yidong <cyd@gnu.org>
3358
3359 * simple.el (deactivate-mark): Preserve text properties when
3360 saving the primary selection (Bug#8384).
3361
54eea618
KR
33622012-08-07 Kevin Ryde <user42@zip.com.au>
3363
3364 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3365 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3366 and continue processing (Bug#12110).
3367
638eaeb9
SM
33682012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3371 syntax-propertize-function (bug#10095).
3372
ea376861
SM
33732012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3374
f91b35be
SM
3375 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3376 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3377 describe-function-1.
3378 (describe-function-1): Use them. Move compiler macro after sig.
3379 (help-fns--compiler-macro): Use function-get. Assume we're already in
3380 standard-output. Adjust layout to new call order.
3381
ea376861
SM
3382 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3383 re-binding a symbol that has a symbol-macro (bug#12119).
3384
d5be7bd0
MB
33852012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3386
3387 * language/persian.el: New file. (Bug#11812)
3388 * loadup.el: Add language/persian.el.
3389
90749b53
CY
33902012-08-06 Chong Yidong <cyd@gnu.org>
3391
3392 * window.el (window--maybe-raise-frame): New function.
3393 (window--display-buffer): Split off from here.
3394 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3395 (display-buffer-pop-up-window, display-buffer-use-some-window):
3396 Obey an inhibit-switch-frame action alist entry.
3397 (display-buffer): Update doc.
3398
3399 * replace.el (occur-after-change-function): Avoid losing focus by
3400 using the inhibit-switch-frame display parameter (Bug#12139).
3401
ba7b0154
FEG
34022012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3403
3404 Make internal shell process buffer names start with space.
3405 * progmodes/python.el (python-shell-make-comint): Add optional
3406 argument INTERNAL.
3407 (run-python-internal): Use it.
3408 (python-shell-internal-get-or-create-process): Check for new
3409 internal buffer names.
3410
5eaeacb5
GM
34112012-08-06 Glenn Morris <rgm@gnu.org>
3412
e296d94b 3413 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3414 Do less getting and setting of environment variables.
3415
b7ccbdc2
CY
34162012-08-05 Chong Yidong <cyd@gnu.org>
3417
777fe95e
CY
3418 * proced.el (proced): Add substitution string to docstring to
3419 trigger autoloading of the proced library on C-h f (Bug#1768).
3420
4250fdf5
SM
3421 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3422 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3423
3424 * imenu.el (imenu-generic-expression): Move documentation here
3425 from imenu--generic-function.
3426 (imenu--generic-function): Refer to imenu-generic-expression.
3427
9e3b7800 34282012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3429
3430 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3431 indentation declaration.
3432 (viper-loop): Add indentation declaration (Bug#7025).
3433
e5d9c0d1
CY
34342012-08-05 Chong Yidong <cyd@gnu.org>
3435
f0422feb
CY
3436 * help-fns.el (describe-variable): Add hyperlink for
3437 directory-local variables files. Improve buffer-local and
3438 permanent-local reporting; suggested by MON KEY (Bug#6644).
3439
3440 * help-mode.el (help-dir-local-var-def): New button type.
3441
e5d9c0d1
CY
3442 * files.el (kill-buffer-hook): Provide a defvar.
3443
a4f2deaa
GM
34442012-08-05 Glenn Morris <rgm@gnu.org>
3445
3446 * eshell/esh-ext.el (eshell/addpath):
3447 Also update eshell-path-env. (Bug#12013)
3448
a9dd5754
CY
34492012-08-05 Chong Yidong <cyd@gnu.org>
3450
a4f2deaa 3451 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3452
d014c740
CY
3453 * fringe.el (fringe-styles): Add docstring.
3454 (fringe--check-mode): New function.
3455 (set-fringe-mode, set-fringe-style): Use it.
3456 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3457
a9dd5754
CY
3458 * files.el (set-auto-mode): Fix invalid setq call.
3459
7c2dc8bd
SM
34602012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * isearch.el: Misc simplification; use defstruct.
3463 (isearch-mode-map): Dense maps now work like sparse ones.
3464 (isearch--state): New defstruct.
3465 (isearch-string-state, isearch-message-state, isearch-point-state)
3466 (isearch-success-state, isearch-forward-state)
3467 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3468 (isearch-wrapped-state, isearch-barrier-state)
3469 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3470 replaced by defstruct's accessors.
3471 (isearch--set-state): Rename from isearch-top-state and change
3472 calling convention.
3473 (isearch-push-state): Use new isearch--get-state.
3474 (isearch-toggle-word): Disable regexp when enabling word.
3475 (isearch-message-prefix): Remove unused arg _c-q-hack.
3476 (isearch-message-suffix): Remove unused arg _ellipsis.
3477
7fcc0070
AS
34782012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3479
3480 * simple.el (list-processes--refresh): For a server use :host or
3481 :local as the address.
97ad0769 3482 (list-processes): Doc fix.
7fcc0070 3483
a11035b8 34842012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3485
3486 * lisp/mpc.el: Support password in host argument.
3487 (mpc--proc-connect): Parse and use new password element.
3488 Set mpc-proc variable instead of returning process.
3489 (mpc-proc): Adjust accordingly.
3490
6dad7178
EZ
34912012-08-03 Eli Zaretskii <eliz@gnu.org>
3492
18949c2f
EZ
3493 * whitespace.el (whitespace-display-mappings): Use Unicode
3494 codepoints, instead of emacs-mule codepoints. See
3495 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3496 for the details.
3497
6dad7178
EZ
3498 * files.el (file-truename): Don't skip symlink-chasing part on
3499 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3500 Windows into the loop that recursively chases symlinks.
3501 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3502 MS-DOS.
3503
385b0198
CY
35042012-08-03 Chong Yidong <cyd@gnu.org>
3505
6200f3c4
CY
3506 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3507
385b0198
CY
3508 * sort.el (sort-regexp-fields): Doc fix.
3509
b9e74744
TH
35102012-08-03 Tassilo Horn <tsdh@gnu.org>
3511
3512 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3513 labels regex position point at the expected place.
3514
41013cb4
MK
35152012-08-03 MON KEY <monkey@sandpframing.com>
3516
3517 * net/imap.el (imap-interactive-login, imap-authenticate)
3518 (imap-mailbox-lsub, imap-mailbox-list)
3519 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3520 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3521 (imap-parse-response): Doc fix.
3522
0ffee616
JT
35232012-08-03 João Távora <joaotavora@gmail.com>
3524
3525 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3526 if sexp scanning does not move point (Bug#5734).
3527
cfcc9cc8
TH
35282012-08-02 Tassilo Horn <tsdh@gnu.org>
3529
3530 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3531 Add listings, minted, and ctable packages.
3532 (reftex-label-alist-builtin): Move listings, minted, and ctable
3533 entries before LaTeX.
a01bbb84 3534 (reftex-label-alist): Docfix.
cfcc9cc8 3535
66ec2442
BG
35362012-08-02 Bastien Guerry <bzg@gnu.org>
3537
3538 * replace.el (occur): Fix docstring (bug#12122).
3539
837b365b
GM
35402012-08-02 Glenn Morris <rgm@gnu.org>
3541
3542 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3543
e098de97
PE
35442012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3545
3546 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3547 * international/mule-cmds.el: Create
3548 inactivate-current-input-method-function as an obsolete alias for
3549 deactivate-current-input-method-function. See Katsumi Yamaoka in
3550 <http://bugs.gnu.org/10150#46>.
3551
a0f95636
JB
35522012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3553
3554 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3555 of nested `if's.
3556
0d26d7c4
GM
35572012-08-01 Glenn Morris <rgm@gnu.org>
3558
3559 * progmodes/autoconf.el (autoconf-definition-regexp):
3560 Add AH_TEMPLATE, adjust submatch numbering.
3561 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3562 (autoconf-current-defun-function): Update for above change.
3563 (autoconf-current-defun-function): First skip to end of current word.
3564
b686ba06
RS
35652012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3566
3567 * calendar/cal-html.el (cal-html-insert-agenda-days):
3568 Fix typo. (Bug#12018)
3569
0d49da68
FEG
35702012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3571
3572 Shell processes: enhancements to startup and CEDET compatibility.
3573 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3574 (python-shell-make-comint): accept-process-output at startup.
3575 (run-python-internal): Set inferior-python-mode-hook to nil.
3576 (python-shell-internal-get-or-create-process): call sit-for.
3577 (python-preoutput-result): Add obsolete alias.
3578 (python-shell-internal-send-string): Use it.
3579 (python-shell-send-setup-code): Remove call to
3580 accept-process-output.
3581
f1a71c6e
AS
35822012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3583
3584 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3585 (Bug#12108)
3586
d2605269
JB
35872012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3588
3589 * calc-mode.el (calc-basic-simplification-mode): Rename from
3590 `calc-limited-simplification-mode'.
3591 (calc-alg-simplification-mode): New function.
fc0c31f8 3592 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3593
d2605269
JB
3594 * calc.el (calc-set-mode-line): Adjust mode line display for
3595 basic simplification mode.
3596
3597 * calc-help.el (calc-m-prefix-help): Update help message.
3598
3599 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3600 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3601
a3827a43
BG
36022012-07-31 Bastien Guerry <bzg@gnu.org>
3603
3604 * man.el (man): Fix comment. (bug#12101)
3605
502e3f89
MR
36062012-07-31 Martin Rudalics <rudalics@gmx.at>
3607
3608 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3609 Don't return a non-nil value when no suitable buffer was found.
3610
d7714961
FEG
36112012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3612
3613 * progmodes/python.el (run-python-internal): Disable font lock for
3614 internal shells.
3615
1f45e27e
SM
36162012-07-30 Stefan Merten <smerten@oekonux.de>
3617
70efc5c9 3618 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3619 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3620 (rst-official-version, rst-official-cvs-rev)
3621 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3622 (rst-mode-map): New key binding.
3623
0aee6912
PE
36242012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3625
3626 Update .PHONY listings in makefiles.
3627 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3628 autoloads, update-subdirs, updates, bzr-update, update-authors,
3629 compile-onefile, compile-calc, backup-compiled-files,
3630 compile-after-backup, compile-one-process, mh-autoloads,
3631 bootstrap-clean, distclean, maintainer-clean.
3632
9052f9f0
JB
36332012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3634
1823ac5a
JB
3635 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3636 (calc-set-mode-line): Don't display "AlgSimp ".
3637
3638 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3639 (calc-lim-simplify-mode): New function.
3640 (calc-set-simplify-mode): Default to 'alg.
3641 (calc-default-simplify-mode): Make algebraic simplifications
3642 the default.
3643
3644 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3645 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3646
8d7c7eed 3647 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3648 indicate new simplification modes.
3649
1823ac5a
JB
3650 * calc/README: Mention new default simplification mode.
3651
9052f9f0
JB
3652 * calc/calc.el (math-normalize-error): New variable.
3653 (math-normalize): Set `math-normalize-error' to t
3654 when there's an error.
3655
3656 * calc/calc-alg.el (math-simplify): Don't simplify when
3657 `math-normalize' returns an error.
3658
20ba0cb4
EZ
36592012-07-29 Eli Zaretskii <eliz@gnu.org>
3660
3661 * international/mule-cmds.el (set-locale-environment): Revert last
3662 change, since display-graphic-p returns nil when this function is
3663 called during startup. Instead...
3664
3665 * term/w32console.el (terminal-init-w32console): ...setup the
3666 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3667
a5dcc929
JL
36682012-07-29 Juri Linkov <juri@jurta.org>
3669
3670 * simple.el (goto-line): Don't display default line number in the
3671 prompt because it should be displayed by `read-number' (bug#9952).
3672 Add the current line number to the defaults of `goto-line' to
3673 allow its easier modification by users with `M-n' (bug#9201).
3674
3675 * subr.el (read-number): Support multiple default values like in
3676 other minibuffer reading functions. Replace `read' with
3677 `string-to-number' for consistency with `number-to-string'.
3678
72b255c7
PE
36792012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3680
3681 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3682 * emulation/viper-init.el (viper-deactivate-input-method-action):
3683 Rename from viper-inactivate-input-method-action.
3684 (viper-deactivate-input-method):
3685 Rename from viper-inactivate-input-method.
3686 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3687 * international/mule-cmds.el (deactivate-input-method):
3688 Rename from inactivate-input-method.
3689 Also run input-method-deactivate-hook.
3690 (deactivate-current-input-method-function):
3691 Rename from inactivate-current-input-method-function.
3692 (input-method-deactivate-hook): New hook.
3693 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3694 (inactivate-input-method): Mark obsolete.
3695
72b255c7
PE
3696 * international/quail.el (quail-activate):
3697 Also run quail-deactivate-hook.
3698 (quail-deactivate): Rename from quail-inactivate.
3699 * international/robin.el (robin-activate):
3700 Also run robin-deactivate-hook.
3701 (robin-deactivate): Rename from robin-inactivate.
3702
2549c068
CY
37032012-07-29 Chong Yidong <cyd@gnu.org>
3704
3705 * simple.el (indicate-copied-region): New function.
3706 (kill-ring-save): Split off from here.
3707
3708 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3709 (kill-rectangle): Set deactivate-mark to t on read-only error.
3710
3711 * register.el (copy-to-register, copy-rectangle-to-register):
3712 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3713 (append-to-register, prepend-to-register): Call indicate-copied-region.
3714
37152012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3716
3717 * simple.el (async-shell-command-buffer): New defcustom.
3718 (shell-command): Use it. (Bug#4719)
3719
01bd1b0d
EZ
37202012-07-28 Eli Zaretskii <eliz@gnu.org>
3721
3722 * international/mule-cmds.el (set-locale-environment): In a
3723 console session on MS-Windows, set up keyboard and terminal
3724 encoding from the OEM codepage, not the ANSI codepage.
3725 (Bug#12055)
3726
a55739d3
CY
37272012-07-28 Chong Yidong <cyd@gnu.org>
3728
3729 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3730 gdb-get-location.
3731
0e1a094f 37322012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3733
3734 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3735 the alist (bug#12029).
3736
20329d73
EZ
37372012-07-28 Eli Zaretskii <eliz@gnu.org>
3738
3739 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3740 (compile-always, compile-first)
3741 ($(lisp)/calendar/cal-loaddefs.el)
3742 ($(lisp)/calendar/diary-loaddefs.el)
3743 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3744 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3745 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3746 instead of on update-subdirs.
3747 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3748
345a2258
CY
37492012-07-28 Chong Yidong <cyd@gnu.org>
3750
1eee6341
CY
3751 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3752 directory if vc-deduce-backend returns nil (Bug#7350).
3753
345a2258
CY
3754 * simple.el (delete-trailing-lines): New option.
3755 (delete-trailing-whitespace): Obey it (Bug#11879).
3756
049a0936
DE
37572012-07-28 David Engster <deng@randomsample.de>
3758
3759 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3760 Explanation of new 'symbol-qnames feature in doc-strings.
3761 (xml-maybe-do-ns): Return expanded names as plain symbols if
3762 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3763 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3764
aa81af71
FEG
37652012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3766
3767 Consistent completion in inferior python with emacs -nw.
3768 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3769 binding in inferior-python-mode-map with "\t".
3770 (python-shell-completion-complete-at-point)
3771 (python-completion-complete-at-point): Remove interactive spec.
3772
e827b1eb
JB
37732012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3774
3775 * calc/calccomp.el (math-compose-expr): Undo previous change.
3776
a90dfb95
FEG
37772012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3778
4250fdf5 3779 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3780 run-python.
3781 (python-shell-make-comint): Fix pop-to-buffer call.
3782 (run-python): Autoload. New arg SHOW.
3783 (python-shell-get-or-create-process): Do not pop python process
3784 buffer.
3785
32770973 37862012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3787
3788 * notifications.el (notifications-on-action-signal)
3789 (notifications-on-closed-signal): Use also the bus address for the map.
3790 (notifications-notify, notifications-close-notification)
fc0c31f8 3791 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3792
86332df2
TH
37932012-07-27 Tassilo Horn <tsdh@gnu.org>
3794
4250fdf5
SM
3795 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3796 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3797 ctable macro.
3798 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3799 labels written in keyvals syntax.
3800
ca1302a4
JB
38012012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3802
3803 * calc/calccomp.el (math-compose-expr): Use parentheses when
3804 there is a product in the denominator of a fraction.
3805
f8b91036
EZ
38062012-07-26 Eli Zaretskii <eliz@gnu.org>
3807
3808 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3809 ($(lisp)/calendar/diary-loaddefs.el)
3810 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3811 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3812 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3813 rewritten while the autoload files are built at the same time,
3814 which needs to load subdirs.el.
3815
c8e5a42c
MR
38162012-07-26 Martin Rudalics <rudalics@gmx.at>
3817
3818 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3819 (mouse-drag-line): Don't exit tracking when a switch-frame or
3820 switch-window event occurs (Bug#12006).
3821
670d85ea
SM
38222012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * mouse.el (popup-menu): Fix last change.
3825
7abaf5cc
SM
38262012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 Autoload from Lisp with more care. Follow aliases when looking for
3829 function properties.
3830 * subr.el (autoloadp): New function.
3831 (symbol-file): Use it.
3832 (function-get): New function.
3833 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3834 autoload-do-load.
3835 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3836 (lisp-indent-function):
3837 * emacs-lisp/gv.el (gv-get):
3838 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3839 * emacs-lisp/byte-opt.el (byte-optimize-form):
3840 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3841 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3842 Use function-get.
3843 * emacs-lisp/cl.el: Don't propagate function properties any more.
3844
3845 * speedbar.el (speedbar-add-localized-speedbar-support):
3846 * emacs-lisp/disass.el (disassemble-internal):
3847 * desktop.el (desktop-load-file):
3848 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3849 (describe-function-1):
3850 * emacs-lisp/find-func.el (find-function-noselect):
3851 * emacs-lisp/elp.el (elp-instrument-function):
3852 * emacs-lisp/advice.el (ad-has-proper-definition):
3853 * apropos.el (apropos-safe-documentation, apropos-macrop):
3854 * emacs-lisp/debug.el (debug-on-entry):
3855 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3856 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3857 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3858
b1364986
AA
38592012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3860
3861 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3862 function, not an obsolete variable (Bug#12046).
3863
67ada220
AS
38642012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3865
3866 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3867
f08088e3
CS
38682012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3869
3870 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3871 window only if it is still live (Bug#12034).
3872
8137e7b3
MR
38732012-07-25 Martin Rudalics <rudalics@gmx.at>
3874
3875 * subr.el (redirect-frame-focus): Add advertised calling
3876 convention (Bug#12030).
3877
09ae5da1
PE
38782012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3879
3880 Prefer typical American spelling for "acknowledgment".
3881 * vc/add-log.el (change-log-acknowledgment): Rename from
3882 change-log-acknowledgement, with an alias for the old name.
3883
3cc5a3a8
JB
38842012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3885
3886 * calc-alg.el (math-simplify-divide): Don't cross multiply
3887 in an equation when the lhs is a variable.
3888
b7af7f62
JD
38892012-07-24 Julien Danjou <julien@danjou.info>
3890
3891 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3892 Remove, unused.
3893
ec1b09b1
EZ
38942012-07-23 Eli Zaretskii <eliz@gnu.org>
3895
3896 * startup.el (command-line): Don't display an empty user name in
3897 the error message about non-existent home directory, when
3898 init-file-user was set to an empty string. See
3899 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3900 for the details and context.
3901
b525fd8a
VB
39022012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3903
3904 * ses.el (ses-cell-formula-aset): New macro.
3905 (ses-cell-references-aset): New macro.
3906 (ses-cell-p): New function.
3907 (ses-rename-cell): Do no longer rely on complex operations like
3908 ses-cell-set-formula or ses-set-cell to change the cell and handle
3909 the undo at the same time, but rather use lower level new macros
3910 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3911 the undo directly. Refresh the mode line.
b525fd8a 3912
2c73e345
LL
39132012-07-21 Leo Liu <sdl.web@gmail.com>
3914
670d85ea
SM
3915 * progmodes/cc-cmds.el (c-defun-name):
3916 Use match-string-no-properties instead for consistency.
2c73e345 3917
542dfbde
LL
39182012-07-20 Leo Liu <sdl.web@gmail.com>
3919
3646bcd6
LL
3920 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3921 (Bug#7879)
3922
542dfbde
LL
3923 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3924
25721031
CY
39252012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3926
3927 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3928 * progmodes/bug-reference.el, misearch.el: Provide themselves
3929 (bug#11915).
3930
3931 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3932 of narrowed buffer (bug#11966).
3933
316e68a7
VB
39342012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3935
3936 * ses.el (ses-rename-cell): Set new name also in reference list of
3937 cells of which the renamed cell depends.
3938
bbf0e7d9
MY
39392012-07-20 Masatake YAMATO <yamato@redhat.com>
3940
3941 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3942 to check whether menu-bar is shown or not. If not shown,
3943 show the menu-bar as a popup menu instead of using tmm.
3944 * mouse.el (popup-menu): Accept `point' as `position' argument.
3945
c28662a8
DG
39462012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3947
3948 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3949 up inside string symbol literal (bug#11923).
3950
87ab808f
EZ
39512012-07-20 Eli Zaretskii <eliz@gnu.org>
3952
3953 * startup.el (fancy-startup-text): Read the whole tutorial, not
3954 just its first 256 bytes. Prevents gibberish in display of the
3955 tutorial title.
3956
89dea803
DA
39572012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3958
3959 Drop idle buffer compaction due to an absence of the
3960 proved efficiency.
3961 * compact.el: Remove.
3962
8a4e6db8
SS
39632012-07-19 Sam Steingold <sds@gnu.org>
3964
3965 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3966 vc-bzr-pull & vc-bzr-merge-branch.
3967 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3968 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3969 for consistency with compilation-error-regexp-alist.
3970 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3971 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3972 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3973 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3974
5db81e33
SM
39752012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3976
3977 * emacs-lisp/chart.el: Use lexical-binding.
3978 (chart-emacs-storage): Don't hardcode the list of entries.
3979
5b835e1d
DA
39802012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3981
3982 Next round of tweaks caused by Fgarbage_collect changes.
3983 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3984
9cd47b72
DA
39852012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3986
3987 Compact buffers when idle.
3988 * compact.el: New file.
3989
1d6fc0df
SM
39902012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3991
3992 * subr.el (eventp): Presume that if it looks vaguely like an event,
3993 it's an event (bug#10190).
3994
1d29cc7d
FEG
39952012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3996
3997 Enhancements to ppss related code (thanks Stefan).
3998 * progmodes/python.el (python-indent-context)
3999 (python-indent-calculate-indentation, python-indent-dedent-line)
4000 (python-indent-electric-colon, python-nav-forward-block)
4001 (python-mode-abbrev-table)
1d6fc0df 4002 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4003 for ppss context.
4004 (python-info-continuation-line-p): Cleanup.
4005 (python-info-ppss-context): Do not catch 'quote.
4006 (python-info-ppss-context-type)
4007 (python-info-ppss-comment-or-string-p): Simplify.
4008
d583cbe6
FEG
40092012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4010
4011 * progmodes/python.el: Enhancements to eldoc support.
4012 (python-info-current-symbol): New function.
4013 (python-eldoc-at-point): Use python-info-current-symbol.
4014 (python-info-current-defun): Fix cornercase on first defun scan.
4015 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4016 and signal error when no inferior python process is available.
4017
eceb6feb
DG
40182012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4019
4020 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4021 assume it's always t.
4022 (vc-git-registered): Remove caching, the function is only called
4023 once.
4024 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4025
4c8ff0fe
CY
40262012-07-18 Chong Yidong <cyd@gnu.org>
4027
19fb7186
CY
4028 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4029
9587c688
CY
4030 * simple.el (count-words): Report on narrowing (Bug#9959).
4031
0fe776a1
CY
4032 * bindings.el: Bind M-= to count-words.
4033
4c8ff0fe
CY
4034 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4035
7f5331cc
MY
40362012-07-18 Masatake YAMATO <yamato@redhat.com>
4037
4038 * progmodes/sh-script.el (sh-imenu-generic-expression):
4039 Capture a function with `function' keyword and without parentheses
4040 like "function FOO" (bug#11856).
4041
2dc2a609
TH
40422012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4043
4044 * window.el (split-window-sensibly): Make WINDOW argument
4045 optional.
4046
439f7677
CY
40472012-07-18 Chong Yidong <cyd@gnu.org>
4048
9aeb25a6
CY
4049 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4050
439f7677
CY
4051 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4052 and make C-x 8 RET exit isearch (Bug#11439).
4053
4054 * international/iso-transl.el: Move isearch-mode-map key
4055 definitions to isearch.el.
4056
12999ea8
SM
40572012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4060 (eieio-defclass): Use gv-define-setter when possible.
4061
3ab6e069
DA
40622012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4063
4064 Reflect recent changes in Fgarbage_collect.
4065 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4066 reflect new format of data returned by Fgarbage_collect.
4067
0a60bc10
FEG
40682012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4069
4070 New utility functions + python-info-ppss-context fix (Bug#11910).
4071 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4072 (python-info-ppss-comment-or-string-p): New functions.
4073 (python-info-ppss-context): Small fix for string check.
4074
6dafa0d5
JL
40752012-07-17 Juri Linkov <juri@jurta.org>
4076
4077 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4078 (dired-do-async-shell-command): Don't add `*' at the end of the
4079 command (Bug#11815).
4080 (dired-do-shell-command): Doc fix.
4081 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4082 Join the individual commands using either "&" or ";" as the
4083 separator depending on the values of these trailing characters.
4084 At the end re-add the trailing "&". (Bug#10598)
4085
4086 * simple.el (async-shell-command): Sync the interactive spec with
4087 `shell-command'. Doc fix.
4088 (shell-command): Doc fix.
4089
b19dd9d1
JL
40902012-07-17 Juri Linkov <juri@jurta.org>
4091
4092 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4093
bcdc27d7 40942012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4095
bcdc27d7 4096 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4097 * progmodes/python.el (python-nav-beginning-of-statement):
4098 Rename from python-nav-statement-start.
bcdc27d7
FEG
4099 (python-nav-end-of-statement): Rename from
4100 python-nav-statement-end.
4101 (python-nav-beginning-of-block): Rename from
4102 python-nav-block-start.
4103 (python-nav-end-of-block): Rename from python-nav-block-end.
4104
191da00e
FEG
41052012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4106
7f5331cc
MY
4107 * progmodes/python.el (python-shell-send-string-no-output):
4108 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4109 future interactions (Bug#11868).
4110
4dc7c8d5 41112012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4112
88ecaf8f
SM
4113 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4114
ef501ef0
SM
4115 * emacs-lisp/elint.el (elint-find-args-in-code):
4116 Use help-function-arglist, so as to handle lexical byte-code.
4117
aa7aaf8f
SM
4118 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4119 change (bug#11826).
4120
45fd731c
SM
41212012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4122
2143fa32
SM
4123 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4124 Avoid spuriously marking the buffer as modified because of c-is-sws.
4125
efc26dbe
SM
4126 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4127 as not-a-comment (bug#11946).
4128
f5695c9a
SM
4129 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4130 for uninterned vars.
4131
4132 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4133 Use read-event since we don't really want to read chars but bytes.
4134
45fd731c
SM
4135 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4136 $$..$$ but also $..$ using regexps (bug#11953).
4137 Use tex-verbatim for \url and \path.
4138 (tex-font-lock-keywords): Define as defconst like the others.
4139 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4140
ddfc8813
RK
41412012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4142
4143 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4144 alias for insert-char.
4145
758e556a
FEG
41462012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4147
4148 * progmodes/python.el: Simplified imenu implementation.
4149 (python-nav-jump-to-defun): Remove command.
4150 (python-mode-map): Use `imenu' instead.
4151 (python-nav-list-defun-positions-cache)
4152 (python-imenu-include-defun-type, python-imenu-make-tree)
4153 (python-imenu-subtree-root-label, python-imenu-index-alist):
4154 Remove vars.
4155 (python-nav-list-defun-positions, python-nav-read-defun)
4156 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4157 (python-imenu-make-tree, python-imenu-create-index):
4158 Remove functions.
758e556a
FEG
4159 (python-mode): Update to interact with imenu by setting
4160 `imenu-extract-index-name-function' only.
4161
032d23ab
FEG
41622012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4163
4164 * progmodes/python.el: Enhancements to navigation commands.
4165 (python-nav-backward-sentence)
4166 (python-nav-forward-sentence): Remove.
4167 (python-nav-backward-statement, python-nav-forward-statement)
4168 (python-nav-statement-start, python-nav-statement-end)
4169 (python-nav-backward-block, python-nav-forward-block)
4170 (python-nav-block-start, python-nav-block-end)
4171 (python-nav-forward-sexp-function)
4172 (python-info-current-line-comment-p)
4173 (python-info-current-line-empty-p): New functions.
4174 (python-indent-context): Use `python-nav-statement-start'.
4175
01795a1b
MA
41762012-07-16 Michael Albinus <michael.albinus@gmx.de>
4177
9328d9aa
MA
4178 * eshell/em-ls.el (eshell/ls): Use `apply'.
4179
4180 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4181 multi-hops, instead of Tramp internals.
4182
01795a1b
MA
4183 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4184
4185 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4186 when F1 and F2 are located on different hosts.
4187
63408057
CY
41882012-07-14 Chong Yidong <cyd@gnu.org>
4189
4190 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4191 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4192 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4193 (xterm-mouse--read-event-sequence-1000)
4194 (xterm-mouse--read-event-sequence-1006): New functions. For old
4195 mouse protocol, handle M-mouse-X events correctly.
4196 (xterm-mouse-event): New arg specifying mouse protocol.
4197 (turn-on-xterm-mouse-tracking-on-terminal)
4198 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4199 sequence to toggle extended coordinates on newer XTerms.
4200 This appears to be harmless on terminals which do not support this.
63408057 4201
cd276f6e
LL
42022012-07-14 Leo Liu <sdl.web@gmail.com>
4203
28ca98ac
LL
4204 Add fringe bitmap indicators for flymake. (Bug#11253)
4205 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4206 (flymake-make-overlay): New arg BITMAP.
4207 (flymake-error-bitmap, flymake-warning-bitmap)
4208 (flymake-fringe-indicator-position): New user variables.
4209
cd276f6e
LL
4210 * fringe.el: New bitmap exclamation-mark.
4211
04408072
JD
42122012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4213
4214 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4215 also (Bug#7879).
4216
b5cf7fc4
CY
42172012-07-14 Chong Yidong <cyd@gnu.org>
4218
4219 * electric.el (electric-pair-post-self-insert-function): Fix pair
4220 insertion in empty-region case (Bug#11520).
4221
be755c79
RT
42222012-07-14 Chong Yidong <cyd@gnu.org>
4223
45fd731c
SM
4224 * bindings.el: Consolidate ctl-x-r-map bindings.
4225 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4226
4227 * rect.el, register.el: Move bindings to bindings.el.
4228
42292012-07-14 Reuben Thomas <rrt@sc3d.org>
4230
4231 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4232
7f5b3198
AS
42332012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4234
4235 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4236
97662200
JB
42372012-07-13 Juanma Barranquero <lekktu@gmail.com>
4238
80185fed
JB
4239 * bindings.el (top): Use `mapc' instead of `mapcar'.
4240
97662200
JB
4241 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4242
2bb1ae55
MA
42432012-07-13 Michael Albinus <michael.albinus@gmx.de>
4244
4245 * progmodes/sql.el (sql-comint): Suppress the check for program on
4246 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4247 (Bug#11908)
4248
dea31bd3
CY
42492012-07-13 Chong Yidong <cyd@gnu.org>
4250
4251 * bindings.el: Assign a non-nil permanent-local property to
4252 per-buffer variables which lack a default value (Bug#11930).
4253
4254 * help-fns.el (describe-variable): In the "automatically becomes
4255 local" notice, take note of permanent-local variables.
4256
b68b3337
CY
42572012-07-13 Chong Yidong <cyd@gnu.org>
4258
4259 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4260 to allow printing the message when called from Lisp.
4261
4262 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4263 Remove toggle-read-only.
4264
4265 * bs.el (bs-toggle-readonly):
45fd731c
SM
4266 * buff-menu.el (Buffer-menu-toggle-read-only):
4267 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4268
4269 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4270 Remove with-no-warnings around toggle-read-only.
4271 (ffap-read-only, ffap-read-only-other-window)
4272 (ffap-read-only-other-frame): Callers changed.
4273
4274 * help-mode.el: Don't require view package.
4275 (help-mode-finish): Set buffer-read-only instead of calling
4276 toggle-read-only.
4277
4278 * bindings.el (mode-line-toggle-read-only):
4279 * dired.el (dired-toggle-read-only):
4280 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4281 with non-nil second arg.
4282
4283 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4284 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4285 directly.
4286
56bc1586
EZ
42872012-07-12 Eli Zaretskii <eliz@gnu.org>
4288
4289 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4290 not incf.
4291
a464a6c7
SM
42922012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4293
4294 More CL cleanups and reduction of use of cl.el.
4295 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4296 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4297 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4298 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4299 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4300 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4301 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4302 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4303 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4304 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4305 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4306 * eshell/em-cmpl.el, eshell/em-banner.el:
4307 * calendar/parse-time.el: Use cl-lib.
4308 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4309 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4310 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4311 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4312 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4313 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4314 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4315 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4316 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4317 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4318 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4319 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4320 `lambda' rather than with `quote'.
4321 (eshell-do-opt): Adjust accordingly.
4322 (eshell-process-option): Simplify.
4323 * eshell/esh-var.el:
4324 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4325 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4326 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4327 to `pcase--dontcare'.
4328 * emacs-lisp/cl.el (labels): Mark obsolete.
4329 (cl--letf, letf): Move to cl-lib.
4330 (cl--letf*, letf*): Remove.
4331 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4332 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4333 (cl-progv): Rewrite.
4334 (cl--letf, cl-letf): Move from cl.el.
4335 (cl-letf*): New macro.
4336 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4337
7ad4afe1
MA
43382012-07-11 Michael Albinus <michael.albinus@gmx.de>
4339
4340 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4341
9af57756
CY
43422012-07-11 Chong Yidong <cyd@gnu.org>
4343
4344 * vc/log-edit.el (log-edit-vc-backend): New variable.
4345 (log-edit): Doc fix.
4346
4347 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4348 argument of log-edit to set up all local variables.
4349 (vc-start-logentry): New optional arg specifying VC backend.
4350
4351 * vc/vc.el (vc-checkin): Use it.
4352 (vc-deduce-fileset): Handle Log Edit buffers.
4353 (vc-diff): Make first argument optional too.
4354
4355 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4356
8477cc7a
MA
43572012-07-10 Michael Albinus <michael.albinus@gmx.de>
4358
4359 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4360 command, just in case. The function is not needed anymore.
4361 (eshell-external-command): Do not call `eshell-remote-command'.
4362
19faa8e8
SM
43632012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4364
f58e0fd5
SM
4365 Reduce use of (require 'cl).
4366 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4367 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4368 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4369 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4370 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4371 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4372 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4373 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4374 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4375 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4376 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4377 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4378 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4379 (byte-compile-unfold-bcf, byte-compile-check-variable):
4380 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4381 (byte-compile-nilconstp):
4382 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4383 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4384
2519d43a
SM
4385 * emacs-lisp/gv.el (cond): Make it a valid place.
4386 (if): Simplify slightly.
4387
19faa8e8
SM
4388 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4389 (pcase--self-quoting-p): New function.
4390 (pcase--u1): Use it.
4391
c4907a5e
GM
43922012-07-10 Glenn Morris <rgm@gnu.org>
4393
4394 * emacs-lisp/authors.el (authors-fixed-entries):
4395 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4396
c4444d16
PE
43972012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4398
4399 Rename configure.in to configure.ac (Bug#11603).
4400 * emacs-lisp/authors.el (authors-canonical-file-name):
4401 * progmodes/autoconf.el (autoconf-mode):
4402 Prefer configure.ac to configure.in.
4403
d75be97d
CY
44042012-07-08 Chong Yidong <cyd@gnu.org>
4405
01ac65bd
CY
4406 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4407 Implement the mouse-1-click-follows-link handling properly.
4408
4409 * info.el (Info-link-keymap): Use follow-link mechanism for
4410 header-line links (Bug#374).
4411
d75be97d
CY
4412 * simple.el (deactivate-mark): Do not set the primary selection
4413 if another program has acquired it (Bug#11772).
4414
87a92845 44152012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4416
4417 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4418 (woman-decode-region): Replace escaped-escapes without destroying
4419 bold or underline (Bug#11552).
87a92845 4420 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4421
621b9d6c
CY
44222012-07-07 Chong Yidong <cyd@gnu.org>
4423
4424 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4425 (interprogram-cut-function, interprogram-paste-function):
4426 Mention that we typically mean the clipboard.
621b9d6c 4427
133a11fc
GM
44282012-07-06 Glenn Morris <rgm@gnu.org>
4429
0d27a45e
GM
4430 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4431
133a11fc
GM
4432 * files.el (toggle-read-only): Restrict message to interactive use.
4433
07b151f1
MA
44342012-07-06 Michael Albinus <michael.albinus@gmx.de>
4435
4436 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4437
4438 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4439
211b896b
GM
44402012-07-06 Glenn Morris <rgm@gnu.org>
4441
50394322
GM
4442 * Makefile.in (compile-one-process): Rename from "recompile".
4443
211b896b
GM
4444 * Makefile.in (bzr-update): "compile" is the same as "recompile
4445 autoloads", but parallelizable, so use that instead.
4446
4737eec9
DG
44472012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4448
4449 * window.el (quit-window): Always restore window height when
8137e7b3 4450 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4451
226c3633 44522012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4453
4454 * simple.el (kill-whole-line): Doc tweak.
4455
226c3633 44562012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4457
4458 * files.el (file-relative-name): Compare file names
4459 case-insensitively if on MS-Windows or MS-DOS, or if
4460 read-file-name-completion-ignore-case is non-nil. Don't use
4461 case-fold-search for this purpose. (Bug#11827)
4462
4dc7c8d5
SM
44632012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4464
4465 * calendar/cal-dst.el (calendar-current-time-zone):
4466 Return calendar-current-time-zone-cache if non-nil.
4467
44682012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 44692012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4470
19faa8e8
SM
4471 * calendar/cal-dst.el (calendar-current-time-zone):
4472 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4473
60198fc9
GM
44742012-07-06 Glenn Morris <rgm@gnu.org>
4475
4476 * Makefile.in (cvs-update): Remove old alias.
4477
957b3189
MA
44782012-07-05 Michael Albinus <michael.albinus@gmx.de>
4479
4480 Sync with Tramp 2.2.6-pre.
4481
4482 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4483 compatible declaration.
4484
19faa8e8
SM
4485 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4486 Protect `list-load-path-shadows' call.
957b3189
MA
4487
4488 * net/tramp-compat.el (top): Require packages, which aren't
4489 autoloaded anymore for XEmacs. Protect call of
4490 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4491 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4492 it hurts at least for SXEmacs.
4493 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4494 standard-value for `temporary-file-directory'.
4495
4496 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4497 Redirect stderr to /dev/null.
4498 (tramp-sh-handle-write-region): uid and gid can be floats.
4499 Reported by Russell Sim <russell.sim@gmail.com>.
4500 (tramp-sh-handle-vc-registered): Hide errors.
4501 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4502 and `start-file-process'.
4503 (tramp-maybe-open-connection): Check also whether `non-essential'
4504 is bound.
4505
566df3fc
CY
45062012-07-04 Chong Yidong <cyd@gnu.org>
4507
4508 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4509 (xml-parse-tag): Likewise, and avoid changing entity tables.
4510 (xml-syntax-table): Define from scratch, making sure not to give
4511 x2000 and other Unicode spaces whitespace syntax, since those are
4512 not spaces in XML.
4513 (xml-parse-fragment): Delete unused function.
4514 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4515 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4516 (xml-entity-ref, xml-pe-reference-re)
4517 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4518 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4519 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4520 (xml-entity-value-re): Use syntax references in regexps where
4521 possible; no need to define inside a let-binding.
4522 (xml-parse-dtd): Use xml-pe-reference-re.
4523 (xml-entity-or-char-ref-re): New defconst.
4524 (xml-parse-string, xml-substitute-special): Use it.
4525
30eabd7a
SM
45262012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4527
0781098a
SM
4528 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4529 (find-file--read-only): New function.
4530 (find-file-read-only, find-file-read-only-other-window)
4531 (find-file-read-only-other-frame): Use it.
4532 (insert-file-contents-literally): Don't `fset'.
4533 (get-free-disk-space): Use locate-dominating-file.
4534
b5771c0d
SM
4535 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4536 function is already compiled.
4537
30eabd7a
SM
4538 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4539
b4886f6e
MA
45402012-07-03 Michael Albinus <michael.albinus@gmx.de>
4541
4542 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4543 files on the same host.
4544
b9d82339
AS
45452012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4546
4547 * help-fns.el (describe-function-1): Only call
4548 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4549
a76e6535
CY
45502012-07-03 Chong Yidong <cyd@gnu.org>
4551
4552 * xml.el: Protect parser against XML bombs.
4553 (xml-entity-expansion-limit): New variable.
4554 (xml-parse-string, xml-substitute-special): Use it.
4555 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4556
b544fef2
GM
45572012-07-03 Glenn Morris <rgm@gnu.org>
4558
4559 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4560 Allow linking to specific messages in debbugs reports (eg 123#5).
4561
a7aef6f5
CY
45622012-07-02 Chong Yidong <cyd@gnu.org>
4563
4564 * xml.el: Fix entity and character reference expansion, allowing
4565 them to expand into markup as per XML spec.
4566 (xml-default-ns): New variable.
4567 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4568 (xml-parse-region): Make first two arguments optional.
4569 Discard text properties.
4570 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4571 All callers changed.
a7aef6f5
CY
4572 (xml-parse-tag): Call xml-parse-tag-1. For backward
4573 compatibility, this function should not modify buffer contents.
4574 (xml-parse-tag-1): Fix opening-tag regexp.
4575 (xml-parse-string): Rewrite, handling entity and character
4576 references properly.
4577 (xml--entity-replacement-text): Signal an error if a parameter
4578 entity is undefined.
4579
3df31c9f
SM
45802012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4581
2b5208f1
SM
4582 * comint.el (comint-output-filter): Filter out repeated prompts.
4583
3df31c9f
SM
4584 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4585 and file-name-absolute-p.
4586 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4587 internal calls.
4588
e3ac1281
PE
45892012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4590
4591 Spelling fixes.
4592 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4593 Rename from byte-compile--refiy-function. All uses changed.
4594
fbf2e7ad
CY
45952012-07-01 Chong Yidong <cyd@gnu.org>
4596
4597 * xml.el (xml--parse-buffer): New function. Move most of
4598 xml-parse-region here.
4599 (xml-parse-region): Copy region into a temporary buffer, since
4600 parameter entity substitution requires changing buffer contents.
4601 Use xml--parse-buffer.
4602 (xml-parse-file): Use xml--parse-buffer.
4603 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4604 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4605
9bf0aa15
GM
46062012-06-30 Glenn Morris <rgm@gnu.org>
4607
bbce2853
GM
4608 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4609
9bf0aa15
GM
4610 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4611 Remove outdated and unnecessary dbus declarations.
4612
0d23c240
EZ
46132012-06-30 Eli Zaretskii <eliz@gnu.org>
4614
4615 * emacs-lisp/timer.el (timer-until): Subtract results of
4616 float-time, instead of taking float-time of the result of
4617 time-subtract, since float-time signals an error for negative time
4618 arguments.
4619
b3218de1
CY
46202012-06-30 Chong Yidong <cyd@gnu.org>
4621
4622 * xml.el (xml-*-re): Convert defvars into defconsts, and
4623 eval-and-compile them so eval-and-compile works on derivatives.
4624 (xml--entity-replacement-text): Use eval-and-comple.
4625
a40c87a0
MA
46262012-06-30 Michael Albinus <michael.albinus@gmx.de>
4627
4628 * vc/vc-git.el (vc-git-registered): Use cache property
4629 `git-registered'.
4630 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4631 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4632 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4633
ac87de97
DG
46342012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4635
4636 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4637 removed (likely outside Emacs). (Bug#11757)
ac87de97 4638
ac10fe06
SM
46392012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4640
3df31c9f 4641 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4642
7f3fbd5d
CY
46432012-06-30 Chong Yidong <cyd@gnu.org>
4644
4645 * xml.el: Implement XML parameter entities.
4646 (xml-parameter-entity-alist): New variable.
4647 (xml-parse-region, xml-parse-fragment): Preserve previous values
4648 of xml-entity-alist and xml-parameter-entity-alist, so that
4649 repeated calls on different documents do not change them.
4650 (xml-parse-tag): Fix doctype regexp.
4651 (xml--entity-replacement-text): New function.
4652 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4653 properly requires url retrieval which is unimplemented.
4654 (xml-escape-string): Doc fix.
4655
3cfbebba
SM
46562012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4659
2af3565e
DA
46602012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4661
4662 * fringe.el (fringe-mode): Doc fix.
4663
929df0e7
MA
46642012-06-29 Michael Albinus <michael.albinus@gmx.de>
4665
4666 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4667 is non-nil.
4668 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4669 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4670
c8d3a25c 46712012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4672
c8d3a25c
GM
4673 * calendar/cal-dst.el (calendar-current-time-zone):
4674 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4675
c8d3a25c 46762012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4677
4678 * progmodes/which-func.el (which-func-format):
4679 Add mouse-face. (Bug#11698)
4680
c8d3a25c
GM
46812012-06-29 Leo Liu <sdl.web@gmail.com>
4682
4683 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4684
46852012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4686
4687 * minibuffer.el (minibuffer-confirm-exit-commands):
4688 Add completion-at-point (bug#11725).
4689
46902012-06-29 Glenn Morris <rgm@gnu.org>
4691
4692 * progmodes/f90.el (f90-font-lock-keywords-2):
4693 Add some preprocessor elements. (Bug#10499)
4694
46952012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4698 Use syntax-propertize (bug#11739).
4699
2badeec4
JB
47002012-06-28 Juanma Barranquero <lekktu@gmail.com>
4701
4702 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4703
ae4969c2
JD
47042012-06-28 Julien Danjou <julien@danjou.info>
4705
4706 * term.el (term-handle-colors-array): Use a set of new faces to
4707 color the terminal. Also uses :inverse-video property.
4708 (term-default-fg-color): Set to nil by default, deprecate in favor
4709 of `term-face'.
4710 (term-default-bg-color): Set to nil by default, deprecate in favor
4711 of `term-face'.
4712 (term-current-face): Use `term-face' by default.
4713 (term-bold-attribute): Variable deleted.
4714
1c9bd870
GM
47152012-06-28 Glenn Morris <rgm@gnu.org>
4716
4717 * simple.el (completion-list-mode-finish):
4718 Don't use toggle-read-only. (Since completion-list-mode has
4719 a special mode-class, it wasn't doing anything extra anyway.)
4720
c207708c
SM
47212012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 Make inlining of other-mode interpreted functions work (bug#11799).
4724 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4725 (byte-compile): Use it to fix compilation of lexical-binding closures.
4726 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4727 function, if needed.
4728
3fd56834
SM
47292012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4730
04901786
SM
4731 * help-mode.el (help-make-xrefs): Don't just withstand
4732 cyclic-variable-indirection but any error in documentation-property.
4733
1ec4b7b2
SM
4734 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4735 memory use.
4736 * bindings.el (bindings--define-key): New function.
4737 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4738 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4739 * bindings.el: Use it to purecopy define-key bindings.
4740
e309e2a5
SM
4741 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4742
d5c6faf9
SM
4743 * emacs-lisp/cl.el (flet): Mark obsolete.
4744 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4745 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4746 * progmodes/js.el (js-c-fill-paragraph):
4747 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4748 (ebrowse-switch-member-buffer-to-derived-class):
4749 * play/5x5.el (5x5-solver): Use cl-flet.
4750
6e9590e2
SM
4751 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4752 (cl--symbol-function): New macro.
4753 (cl--letf, cl--letf*): Use it.
4754
3fd56834
SM
4755 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4756 Strip "toggle-" if any.
4757
35ff222c
GM
47582012-06-27 Glenn Morris <rgm@gnu.org>
4759
1ba6038a
GM
4760 * info.el (Info-default-directory-list): Move here from paths.el.
4761 * paths.el: Remove file, which is now empty.
4762 * loadup.el: No longer load "paths".
4763
0ea0e51b
GM
4764 * custom.el (custom-initialize-delay): Doc fix.
4765
35ff222c
GM
4766 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4767 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4768 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4769 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4770 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4771 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4772 * eshell/eshell.el (eshell-defgroup): Remove alias.
4773
c89926a5
CY
47742012-06-27 Chong Yidong <cyd@gnu.org>
4775
4776 * help.el (help-enable-auto-load): New variable.
4777
4778 * help-fns.el (help-fns--autoloaded-p): New function.
4779 (describe-function-1): Refer to a function as "autoloaded" if it
4780 was autoloaded at any time in the past. Perform autoloading if
4781 help-enable-auto-load is non-nil.
4782
cc06e7e7
EZ
47832012-06-26 Eli Zaretskii <eliz@gnu.org>
4784
4785 * makefile.w32-in (compile, compile-always): Depend on
4786 update-subdirs, not on subdirs.el. Otherwise, several different
4787 sub-targets of 'bootstrap' running in parallel could
4788 simultaneously write to subdirs.el, producing a garbled file.
4789
d2c32364
SS
47902012-06-26 Sam Steingold <sds@gnu.org>
4791
4792 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4793 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4794 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4795 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4796 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4797 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4798 * textmodes/tex-mode.el: Use it.
4799 Did not touch cedet and org because they are maintained elsewhere.
4800
5cf983b2
MR
48012012-06-26 Martin Rudalics <rudalics@gmx.at>
4802
4803 * calendar/calendar.el (calendar-exit): Don't try to delete or
4804 iconify last frame. See:
4805 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4806
8c4f2952
JD
48072012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4808
4809 * server.el (server-process-filter): Remember dir in the
4810 process's `server-client-directory' properties.
4811
772b2e2c
CY
48122012-06-24 Chong Yidong <cyd@gnu.org>
4813
4814 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4815 non-tag text.
4816
711b11e1
JB
48172012-06-23 Juanma Barranquero <lekktu@gmail.com>
4818
4819 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4820
dc5d230c
SM
48212012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4822
4823 * help-fns.el (describe-variable): Don't croak when doc is not found.
4824 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4825 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4826 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4827 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4828 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4829 ((lambda ..) ..).
4830 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4831
136e1c1d
CY
48322012-06-23 Chong Yidong <cyd@gnu.org>
4833
e8c1cabf
CY
4834 * info.el (Info-mouse-follow-link): Accept symbol values of
4835 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4836 (Info-fontify-node): Use Info-link-keymap for all navigation
4837 buttons, with link-args property to perform the desired action.
4838 (Info-link-keymap): Doc fix.
4839 (Info-next-link-keymap, Info-prev-link-keymap)
4840 (Info-up-link-keymap): Delete now-unused keymaps.
4841
0e9e6c6a
CY
48422012-06-23 Chong Yidong <cyd@gnu.org>
4843
05e89fea
CY
4844 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4845
0e9e6c6a
CY
4846 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4847 system abbrevs.
4848
4849 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4850
e33c6771
SM
48512012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4852
b68581e2
SM
4853 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4854 (bug#11719).
4855
e33c6771
SM
4856 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4857 the requote function doesn't work properly (bug#11714).
4858
7117e105
GM
48592012-06-23 Glenn Morris <rgm@gnu.org>
4860
4861 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4862
36cec983
SM
48632012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4864
4865 Further GV/CL cleanups.
4866 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4867 gv-expander.
4868 (gv--defun-declaration): New function.
4869 (defun-declarations-alist): Use it.
4870 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4871 (gv-place): Autoload.
4872 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4873 original definition of dotimes and dolist.
4874 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4875 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4876 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4877 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4878 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4879 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4880 to the function's definition.
4881 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4882 * window.el:
4883 * files.el:
4884 * faces.el:
4885 * env.el: Don't use CL.
4886
d35af63c
PE
48872012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4888
4889 Support higher-resolution time stamps (Bug#9000).
4890
4891 * calendar/time-date.el (with-decoded-time-value): New arg
4892 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4893 (encode-time-value): New optional arg PICO. New type 3.
4894 (time-to-seconds) [!float-time]: Support the new picoseconds
4895 component if it's used.
4896 (seconds-to-time, time-subtract, time-add):
4897 Support ps-resolution time stamps as well.
4898
4899 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4900 (timerp): Timer vectors now have length 9, not 8.
4901 (timer--time): Support new-style (4-part) time stamps.
4902 (timer-next-integral-multiple-of-time): Time stamps now have
4903 picosecond resolution, so take a bit more care about rounding.
4904 (timer-relative-time, timer-inc-time): New optional arg psecs.
4905 (timer-set-time-with-usecs): Set psecs to 0.
4906 (timer--activate): Check psecs component, too.
4907
4908 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4909
ac77b21a
SM
49102012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4911
f143bfe3
SM
4912 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4913 Move the non-essential binding to the post/pre-command-hook where it is
4914 more obviously correct.
4915
ac77b21a
SM
4916 * subr.el (read-passwd): Don't use a history at all.
4917 * savehist.el (savehist-save): Remove password saved accidentally
4918 because of the above bug.
4919
76386c5a
BG
49202012-06-22 Bastien Guerry <bzg@gnu.org>
4921
4922 * files.el (toggle-read-only): Display a message telling whether
4923 the buffer is read-only or not (bug#11726).
4924
2ee3d7f0
SM
49252012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4926
4927 * emacs-lisp/gv.el: New file.
4928 * subr.el (push, pop): Extend to generalized variables.
4929 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4930 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4931 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4932 gv-define-simple-setter, and gv-define-expander.
4933 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4934 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4935 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4936 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4937 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4938 gv-letplace.
4939 (cl-defstruct): Don't define setf-method any more.
4940 * emacs-lisp/cl.el (flet): Don't autoload.
4941 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4942 (define-setf-expander, defsetf, define-modify-macro)
4943 (cl-struct-setf-expander): Move from cl-lib.el.
4944 * emacs-lisp/syntax.el:
4945 * emacs-lisp/ewoc.el:
4946 * emacs-lisp/smie.el:
4947 * emacs-lisp/cconv.el:
4948 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4949 (timer--time): Use gv-define-simple-setter.
4950 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4951 to avoid coding-system problems in subr.el. Adjust all users.
4952 (macroexp--maxsize, macroexp-small-p): New functions.
4953 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4954 * scroll-bar.el (scroll-bar-mode):
4955 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4956 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4957 * winner.el (winner-configuration, winner-make-point-alist)
4958 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4959 * files.el (locate-file-completion-table): Avoid list*.
4960
c5695d1d
CY
49612012-06-22 Chong Yidong <cyd@gnu.org>
4962
4963 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4964 (dired-create-files): Doc fix (Bug#11329).
4965 (dired-do-copy): Doc fix (Bug#11334).
4966 (dired-mark-read-string): Doc fix (Bug#11553).
4967
2ee3d7f0
SM
4968 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4969 Doc fix (Bug#11326).
c5695d1d
CY
4970 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4971 (dired-dwim-target): Doc fix.
4972
4973 * wdired.el (wdired-mode): Doc fix.
4974
89b5595a
GM
49752012-06-22 Glenn Morris <rgm@gnu.org>
4976
575db3f1
GM
4977 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4978 (pcmpl-rpm-cache-stamp-file): New constant.
4979 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4980 (pcmpl-rpm-packages): Optionally cache list of packages.
4981
a4c8dd51
GM
4982 * pcmpl-rpm.el (pcmpl-rpm): New group.
4983 (pcmpl-rpm-query-options): New option.
4984 (pcmpl-rpm-packages): No need to inline it.
4985 Use pcmpl-rpm-query-options.
4986
89b5595a
GM
4987 * calendar/calendar.el (calendar-in-read-only-buffer):
4988 Avoid some needless mode changes.
4989
e76f0800
CY
49902012-06-21 Chong Yidong <cyd@gnu.org>
4991
4992 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4993 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4994 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4995
297a8f1d
CY
49962012-06-20 Chong Yidong <cyd@gnu.org>
4997
4998 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4999
d34c18b1
DR
50002012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5001
5002 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5003 (bug#11201).
5004
32f7f28e
CY
50052012-06-20 Chong Yidong <cyd@gnu.org>
5006
5007 * term.el (term-window-width): Handle the case of a missing right
5008 fringe (Bug#8837).
5009 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5010 (term-mode): Use define-derived-mode. Minor cleanups.
5011 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5012 (term-move-columns, term-insert-char, term-emulate-terminal)
5013 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5014
493c6688
MA
50152012-06-20 Michael Albinus <michael.albinus@gmx.de>
5016
d34c18b1
DR
5017 * net/ange-ftp.el (ange-ftp-get-passwd):
5018 Bind `enable-recursive-minibuffers'.
493c6688
MA
5019 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5020
3f06ecf4
DR
50212012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5022
5023 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5024
68f12411
GM
50252012-06-19 Glenn Morris <rgm@gnu.org>
5026
5027 * progmodes/python.el (python-mode): Derive from prog-mode.
5028
b3820318
KG
50292012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5030
5031 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5032 (edt-user-menu-bar-update-buffers): New functions.
5033 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5034
c6bf3022
CY
50352012-06-19 Chong Yidong <cyd@gnu.org>
5036
5037 * subr.el (with-selected-window): Preserve the selected window's
5038 terminal's top-frame (Bug#4702).
5039
5040 * window.el (save-selected-window): Likewise.
5041
25f09295
SM
50422012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * progmodes/python.el (python-rx-constituents): Move backquote.
5045 (python-skeleton-define, python-define-auxiliary-skeleton):
5046 Use `declare'.
5047
6b11952a
MA
50482012-06-18 Michael Albinus <michael.albinus@gmx.de>
5049
5050 * minibuffer.el (read-file-name-default): Revert the patch from
5051 2012-06-17.
5052
ee4b1330
SM
50532012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5054
5055 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5056 (pcase--u1, pcase--q1): Don't use apply-partially.
5057
35647f79
GM
50582012-06-18 Glenn Morris <rgm@gnu.org>
5059
5060 * progmodes/python.el (python-proc, python-buffer)
5061 (python-send-receive, python-send-string): Fix obsolete versions.
5062
24b0cff0
MR
50632012-06-18 Martin Rudalics <rudalics@gmx.at>
5064
5065 * window.el (special-display-p): Completely remove stringp
5066 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5067
29855149
MA
50682012-06-17 Michael Albinus <michael.albinus@gmx.de>
5069
5070 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5071
5072 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5073
5074 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5075 * net/tramp-sh.el (tramp-maybe-open-connection):
5076 Throw if `non-essential' is non-nil.
5077
07463363
MR
50782012-06-17 Martin Rudalics <rudalics@gmx.at>
5079
5080 * window.el (special-display-p): Signal an error if BUFFER-NAME
5081 is not a string (Bug#11713).
5082
48d1354e
PE
50832012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5084
5085 * progmodes/python.el (python-info-beginning-of-backslash):
5086 Rename from python-info-beginning-of-backlash, as a spelling fix.
5087
eb4a8a9a
CY
50882012-06-17 Chong Yidong <cyd@gnu.org>
5089
5090 * term.el (term-emulate-terminal): If term-check-size is called,
5091 move point to the process mark without resetting point (Bug#4635).
5092
ddfbf826 50932012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5094
5095 * international/mule-cmds.el (mule-menu-keymap)
5096 (set-language-environment, set-locale-environment): Doc tweaks.
5097
9b0e3eba
AA
50982012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5099
5100 * cus-face.el (custom-face-attributes): Add wave-style underline
5101 attribute.
5102 * faces.el (set-face-attribute): Update docstring to describe
5103 wave-style underline attribute.
5104
771e3eae
CY
51052012-06-16 Chong Yidong <cyd@gnu.org>
5106
5107 * term/xterm.el (terminal-init-xterm): Discard input before
5108 querying background mode (Bug#10959).
5109
7ae2ea10
SM
51102012-06-16 Stefan Merten <smerten@oekonux.de>
5111
5112 * textmodes/rst.el: Added and corrected some comments.
5113 (rst-re-alist-def): Improve symbol syntax.
5114 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5115 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5116 (rst-official-version, rst-official-cvs-rev): Update version
5117 information.
7ae2ea10 5118
b6974efa
JB
51192012-06-15 Juanma Barranquero <lekktu@gmail.com>
5120
5121 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5122 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5123
8826d473
GM
51242012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5125
5126 * progmodes/python.el: New python.el merge.
5127 (python-guess-indent): Obsolete var.
5128 (python-indent-guess-indent-offset): New defcustom.
5129 (python-indent): Obsolete var.
5130 (python-indent-offset): New defcustom.
5131 (python-python-command, python-jython-command): Delete var.
5132 (python-shell-interpreter): New defcustom.
5133 (python-pdbtrack-do-tracking-p): Delete var.
5134 (python-pdbtrack-activate): New defcustom.
5135 (python-use-skeletons): Obsolete var.
5136 (python-skeleton-autoinsert): New defcustom.
5137 (inferior-python-filter-regexp, python-continuation-offset)
5138 (python-honour-comment-indentation, python-indent-string-contents)
5139 (python-jython-packages, python-mode-hook)
5140 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5141 (python-shell-prompt-alist)
5142 (python-source-modes): Delete defcustoms.
5143 (python-check-buffer-name, python-eldoc-setup-code)
5144 (python-eldoc-string-code, python-ffap-setup-code)
5145 (python-ffap-string-code, python-fill-comment-function)
5146 (python-fill-decorator-function, python-fill-paren-function)
5147 (python-fill-string-function, python-imenu-include-defun-type)
5148 (python-imenu-make-tree, python-imenu-subtree-root-label)
5149 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5150 (python-shell-compilation-regexp-alist)
5151 (python-shell-completion-module-string-code)
5152 (python-shell-completion-pdb-string-code)
5153 (python-shell-completion-setup-code)
5154 (python-shell-completion-string-code)
5155 (python-shell-enable-font-lock, python-shell-exec-path)
5156 (python-shell-extra-pythonpaths)
5157 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5158 (python-shell-process-environment)
5159 (python-shell-prompt-block-regexp)
5160 (python-shell-prompt-output-regexp)
5161 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5162 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5163 (python-shell-virtualenv-path): New defcustoms.
5164 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5165 (inferior-python-mode-syntax-table, python--prompt-regexp)
5166 (python-buffer, python-command python-python-command)
5167 (python-default-template, python-imports, python-indent-index)
5168 (python-indent-list, python-indent-list-length)
5169 (python-mode-running, python-pdbtrack-is-tracking-p)
5170 (python-preoutput-continuation, python-preoutput-leftover)
5171 (python-preoutput-result, python-preoutput-skip-next-prompt)
5172 (python-prev-dir/file, python-recursing)
5173 (python-saved-check-command, python-version-checked)
5174 (python-which-func-length-limit)
5175 (view-return-to-alist): Delete vars.
5176 (python-check-custom-command, python-dotty-syntax-table)
5177 (python-imenu-index-alist, python-indent-current-level)
5178 (python-indent-dedenters, python-indent-levels)
5179 (python-nav-beginning-of-defun-regexp)
5180 (python-nav-list-defun-positions-cache)
5181 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5182 (python-shell-internal-buffer)
5183 (python-skeleton-available): New vars.
5184 (def-python-skeleton): Delete macro.
5185 (python-skeleton-define): New macro.
5186 (python-define-auxiliary-skeleton, python-rx): New macros.
5187 (python-insert-class): Delete command.
5188 (python-skeleton-class): New command.
5189 (python-insert-def): Delete command.
5190 (python-skeleton-def): New command.
5191 (python-insert-for): Delete command.
5192 (python-skeleton-for): New command.
5193 (python-insert-if): Delete command.
5194 (python-skeleton-if): New command.
5195 (python-insert-try/except, python-insert-try/finally): Delete commands.
5196 (python-skeleton-try): New command.
5197 (python-insert-while): Delete command.
5198 (python-skeleton-while): New command.
5199 (python-backspace): Delete command.
5200 (python-indent-dedent-line-backspace): New command.
5201 (python-electric-colon): Delete command.
5202 (python-indent-electric-colon): New command.
5203 (python-guess-indent): Delete command.
5204 (python-indent-guess-indent-offset): New command.
5205 (python-shift-left): Delete command.
5206 (python-indent-shift-left): New command.
5207 (python-shift-right): Delete command.
5208 (python-indent-shift-right): New command.
5209 (python-find-function): Delete command.
5210 (python-nav-jump-to-defun): New command.
5211 (python-next-statement): Delete command.
5212 (python-nav-forward-sentence): New command.
5213 (python-previous-statement): Delete command.
5214 (python-nav-backward-sentence): New command.
5215 (python-fill-paragraph): Delete command.
5216 (python-fill-paragraph-function): New command.
5217 (python-send-buffer): Delete command.
5218 (python-shell-send-buffer): New command.
5219 (python-send-defun): Delete command.
5220 (python-shell-send-defun): New command.
5221 (python-send-region, python-send-region-and-go): Delete commands.
5222 (python-shell-send-region)
5223 (python-shell-switch-to-shell): New commands.
5224 (python-send-string): Delete command.
5225 (python-shell-send-string): New command.
5226 (python-switch-to-python): Delete command.
5227 (python-shell-switch-to-shell): New command.
5228 (python-describe-symbol): Delete command.
5229 (python-eldoc-at-point): New command.
5230 (python--set-prompt-regexp, python-args-to-list)
5231 (python-after-info-look, python-check-version)
5232 (python-check-comint-prompt, python-find-imports)
5233 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5234 (python-unload-function, python-expand-template)
5235 (python-maybe-jython, python-preoutput-filter)
5236 (python-pdbtrack-get-source-buffer)
5237 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5238 (python-pdbtrack-toggle-stack-tracking)
5239 (python-pdbtrack-track-stack-file, python-initial-text)
5240 (python-first-word, python-comment-line-p, python-send-command)
5241 (python-setup-brm, python-sentinel, python-set-proc)
5242 (python-skip-out, python-input-filter, python-outdent-p)
5243 (python-outline-level, python-backslash-continuation-line-p)
5244 (python-end-of-block, python-end-of-statement, python-mark-block)
5245 (python-beginning-of-block, python-beginning-of-statement)
5246 (python-blank-line-p, python-beginning-of-string)
5247 (python-open-block-statement-p): Delete functions.
5248 (python-indent-line, python-indent-line-1): Delete functions.
5249 (python-indent-line): New function.
5250 (python-indentation-levels): Delete function.
5251 (python-indent-calculate-levels): New function.
5252 (python-proc): Delete function.
5253 (python-shell-get-process): New function.
5254 (python-send-receive): Delete function.
5255 (python-shell-send-string-no-output): New function.
5256 (python-module-path): Delete function.
5257 (python-ffap-module-path): New function.
5258 (python-completion-at-point)
5259 (python-symbol-completions): Delete functions.
5260 (python-completion-complete-at-point): New function.
5261 (python-load-file): Delete function.
5262 (python-shell-send-file): New function.
5263 (python-calculate-indentation): Delete function.
5264 (python-indent-calculate-indentation): New function.
5265 (python-skip-comments/blanks): Delete function.
5266 (python-util-forward-comment): New function.
5267 (python-continuation-line-p): Delete function.
5268 (python-info-continuation-line-p): New function.
5269 (python-which-func, python-current-defun): Delete function.
5270 (python-info-current-defun): New function.
5271 (python-beginning-of-defun): Delete function.
5272 (python-nav-beginning-of-defun): New function.
5273 (python-close-block-statement-p)
5274 (python-block-end-p): Delete function.
5275 (python-info-closing-block): New function.
5276 (python-comint-output-filter-function)
5277 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5278 (python-fill-comment, python-fill-decorator, python-fill-paren)
5279 (python-fill-string, python-imenu-make-element-tree)
5280 (python-imenu-make-tree, python-imenu-tree-assoc)
5281 (python-indent-context, python-indent-dedent-line)
5282 (python-indent-line-function)
5283 (python-indent-post-self-insert-function)
5284 (python-indent-toggle-levels)
5285 (python-info-assignment-continuation-line-p)
5286 (python-info-beginning-of-backlash)
5287 (python-info-block-continuation-line-p)
5288 (python-info-closing-block-message)
5289 (python-info-line-ends-backslash-p)
5290 (python-info-looking-at-beginning-of-defun)
5291 (python-info-ppss-context, python-info-ppss-context-type)
5292 (python-nav-list-defun-positions, python-nav-read-defun)
5293 (python-nav-sentence-end, python-nav-sentence-start)
5294 (python-pdbtrack-comint-output-filter-function)
5295 (python-pdbtrack-set-tracked-buffer)
5296 (python-shell-calculate-exec-path)
5297 (python-shell-calculate-process-environment)
5298 (python-shell-completion--do-completion-at-point)
5299 (python-shell-completion--get-completions)
5300 (python-shell-completion-complete-at-point)
5301 (python-shell-completion-complete-or-indent)
5302 (python-shell-get-or-create-process)
5303 (python-shell-get-process-name)
5304 (python-shell-internal-get-or-create-process)
5305 (python-shell-internal-get-process-name)
5306 (python-shell-internal-send-string, python-shell-make-comint)
5307 (python-shell-parse-command, python-shell-send-setup-code)
5308 (python-skeleton-add-menu-items)
5309 (python-util-clone-local-variables, python-util-position)
5310 (run-python-internal, python-indentation-levels)
5311 (python-nav-beginning-of-defun)
5312 (python-completion-complete-at-point): New functions.
5313 (run-python): Change arguments. New API requirements.
5314
4302f5ba
SM
53152012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5316
f38ea36d
SM
5317 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5318 (bug#11649).
5319
5320 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5321 (macroexp--expand-all): Use it.
5322
4302f5ba
SM
5323 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5324 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5325 Use `cl-function' instead.
5326
33377562
JB
53272012-06-14 Juanma Barranquero <lekktu@gmail.com>
5328
5329 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5330 Suggested by Stefan Monnier while discussing bug#11657.
5331
54c5ba1a
SS
53322012-06-14 Sam Steingold <sds@gnu.org>
5333
5334 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5335
f9f1b1fe
AS
53362012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5337
5338 * play/doctor.el (doctor-doc): Remove parameter and use
5339 doctor-sent instead of sent.
5340 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5341
a81068ba
SM
53422012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5a315f9c
SM
5344 * files.el: Require cl-lib.
5345 (file-name-non-special): Replace case -> cl-case.
5346
5347 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5348
a81068ba
SM
5349 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5350 mapping from #' to function*.
5351
8cca9703
CY
53522012-06-13 Chong Yidong <cyd@gnu.org>
5353
5354 * mouse.el (mouse-drag-track): Do not set the mark if the user
5355 releases the mouse without selecting anything (Bug#11588).
5356
a12ac9d7
SM
53572012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5358
ccf1dc18
SM
5359 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5360 as well (bug#11646).
5361
ef62b23d
SM
5362 * loadup.el: Count byte-code functions as well.
5363
c4c8444a
SM
5364 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5365 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5366
a12ac9d7
SM
5367 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5368 (bug#11649). Add cl-defun and cl-defmacro.
5369
87e6e64f
DA
53702012-06-13 Drew Adams <drew.adams@oracle.com>
5371
5372 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5373 Fix last change.
5374
682cefaf
MA
53752012-06-13 Michael Albinus <michael.albinus@gmx.de>
5376
5377 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5378 Otherwise, it blocks in batch mode.
5379
773e1f08
JB
53802012-06-13 Juanma Barranquero <lekktu@gmail.com>
5381
5382 * help-mode.el (bookmark-make-record-default): Declare.
5383
60057926
CY
53842012-06-13 Chong Yidong <cyd@gnu.org>
5385
5386 * emacs-lisp/package.el (list-packages): Compute a list of
5387 packages that are newly-available since the last list-packages
5388 invocation.
5389 (package-menu--new-package-list): New var.
5390 (package-menu--generate, package-menu--print-info)
5391 (package-menu--status-predicate, package-menu-mark-install):
5392 Handle new status label "new".
5393
ad4d226c
SM
53942012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5397 conversion to backquotes.
5398
f1a4e679
CY
53992012-06-12 Chong Yidong <cyd@gnu.org>
5400
5401 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5402 Rename from gud-inhibit-global-bindings.
5403
5404 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5405
5406 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5407 hook from nxml-glyph-set-hook.
5408
5409 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5410 declaration.
5411
5412 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5413
5414 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5415 Convert to defcustom.
5416
0c9e42b5
DA
54172012-06-12 Drew Adams <drew.adams@oracle.com>
5418
5419 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5420 New functions.
5421 (help-mode): Use them.
5422
09e06855
GM
54232012-06-11 Glenn Morris <rgm@gnu.org>
5424
5425 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5426 Use preprocessor face for directives.
5427 (fortran-directive-re): Doc fix.
5428
71adb94b
SM
54292012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5430
2eb87922
SM
5431 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5432 conversion to backquotes (bug#11652).
5433
71adb94b
SM
5434 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5435 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5436 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5437 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5438 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5439 (cl-ninth, cl-tenth): Mark them as inlinable.
5440 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5441 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5442 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5443 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5444 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5445 (cl-list*, cl-adjoin): Don't put an autoload manually.
5446 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5447 (cl--compiler-macro-list*): Add autoload cookie.
5448 (cl--compiler-macro-cXXr): New function.
2eb87922 5449
71adb94b
SM
5450 * help-fns.el (help-fns--compiler-macro): New function extracted from
5451 describe-function-1; follow aliases and use `compiler-macro' property.
5452 (describe-function-1): Use it.
5453
a6674402
CY
54542012-06-11 Chong Yidong <cyd@gnu.org>
5455
5456 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5457 is uninstalled, if imagemagick is installed.
5458
bb3faf5b
SM
54592012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * emacs-lisp/cl-lib.el: Use lexical-binding.
5462 (cl-map-extents, cl-maclisp-member): Remove.
5463 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5464 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5465 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5466 * emacs-lisp/cl-extra.el: Use lexical-binding.
5467 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5468 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5469 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5470 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5471 * emacs-lisp/cl-seq.el: Use lexical-binding.
5472 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5473 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5474 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5475 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5476 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5477 CL's internals.
5478
2fe4b125
MA
54792012-06-11 Michael Albinus <michael.albinus@gmx.de>
5480
5481 Sync with Tramp 2.2.6-pre.
5482
5483 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5484 `print-length' and `print-level' to nil, in order to avoid
5485 truncation. Reported by Christopher Schmidt
5486 <christopher@ristopher.com>.
5487
5488 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5489
5490 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5491 New defmacro.
5492 (tramp-compat-copy-directory): Add optional argument
5493 COPY-CONTENTS. It is not handled yet.
5494
5495 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5496 (tramp-ftp-file-name-p): Simplify.
5497
5498 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5499 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5500 connection vector.
5501
5502 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5503 (tramp-methods): Do not use `tramp-password-end-of-line'.
5504 (tramp-completion-function-alist-putty): Handle UNIX case.
5505 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5506 (tramp-do-file-attributes-with-stat)
5507 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5508 gid as real numbers. They could run out of integer range on cygwin.
5509 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5510 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5511 (tramp-open-connection-setup-interactive-shell):
5512 Use `tramp-cleanup'. Move check for busyboxes ...
5513 (tramp-find-shell): ... here. Simplify implementation.
5514 Set "remote-shell" property also for alternative shells.
5515 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5516 If failing, a regular file would be written otherwise.
5517 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5518 (tramp-find-inline-encoding): Cache the coding commands in the
5519 process cache. Apply test command on the remote side, if defined.
5520 (tramp-find-inline-compress): Cache the compress commands in the
5521 process cache.
5522 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5523 when requested. Handle hops.
5524 (tramp-current-connection): New defvar.
87e6e64f
DA
5525 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5526 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5527 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5528 (tramp-get-inline-compress, tramp-get-inline-coding):
5529 Read connection properties from the process cache.
2fe4b125
MA
5530
5531 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5532 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5533 New defconsts.
2fe4b125
MA
5534 (tramp-smb-prompt): Extend for powershell prompt.
5535 (tramp-smb-file-name-handler-alist): Add handlers for
5536 `process-file', `shell-command' and `start-file-process'.
5537 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5538 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5539 (tramp-smb-file-name-p): Simplify.
5540 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5541 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5542 (tramp-smb-shell-quote-argument): New defuns.
5543 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5544 Implement using "tar". By this, time-stamps are preserved.
5545 (tramp-smb-handle-copy-file): Handle also the case of directories.
5546 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5547 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5548 Use `tramp-get-connection-buffer').
2fe4b125
MA
5549 (tramp-smb-handle-rename-file): Use "rename", when source and
5550 target are on the same share.
87e6e64f
DA
5551 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5552 Use `tramp-smb-server-version'.
2fe4b125
MA
5553 (tramp-smb-wait-for-output): Remove prompt.
5554
5555 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5556 (tramp-methods, tramp-rsh-end-of-line):
5557 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5558 (tramp-save-ad-hoc-proxies): New defcustom.
5559 (tramp-completion-function-alist): Adapt docstring.
5560 (tramp-default-password-end-of-line): Remove defcustom.
5561 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5562 (tramp-user-regexp, tramp-file-name-regexp-unified)
5563 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5564 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5565 (tramp-remote-file-name-spec-regexp): New defconst.
5566 (tramp-file-name-structure): Extend structure for hops.
5567 (tramp-get-method-parameter): Move up.
5568 (tramp-file-name-p, tramp-dissect-file-name)
5569 (with-parsed-tramp-file-name): Handle hops.
5570 (tramp-file-name-hop): New defun.
5571 (tramp-make-tramp-file-name): New optional arg HOP.
5572 (tramp-message-show-progress-reporter-message): New defvar.
5573 (tramp-with-progress-reporter): Use it. We cannot use
5574 `tramp-message-show-message' here, because this suppresses also
5575 error buffers.
5576 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5577 `tramp-message-show-message' is nil.
5578 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5579 (tramp-cleanup): New defun.
5580 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5581 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5582 an error unchanged.
5583 (tramp-completion-handle-file-name-all-completions): Handle hops.
5584 Fix an error when called from ido.
5585 (tramp-completion-dissect-file-name): Use better local variable
5586 name. Add hop to the vector.
5587 (tramp-handle-insert-file-contents): Use progress-reporter for the
5588 whole scenario.
5589 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5590 to `t'.
5591 (tramp-check-for-regexp): Simplify search.
5592 (tramp-enter-password): Remove it. Move implementation ...
5593 (tramp-action-password): ... here.
5594 (tramp-mode-string-to-int, tramp-local-host-p)
5595 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5596 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5597 Set tramp-autoload cookie.
2fe4b125
MA
5598
5599 * net/trampver.el: Update release number.
5600
56012012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5602 Michael Albinus <michael.albinus@gmx.de>
5603
5604 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5605 (tramp-parse-group, tramp-parse-file)
5606 (tramp-parse-shostkeys-sknownhosts): New defuns.
5607 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5608 (tramp-parse-shosts-group, tramp-parse-sconfig)
5609 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5610 (tramp-parse-sknownhosts, tramp-parse-hosts)
5611 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5612 Use them.
5613 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5614 (tramp-parse-putty-group): Don't narrow.
5615 (tramp-parse-putty): Make a loop.
5616 (tramp-file-name-handler): Catch the `suppress' signal.
5617
72834e10
CY
56182012-06-11 Chong Yidong <cyd@gnu.org>
5619
5620 * image.el (imagemagick-register-types): Put the ImageMagick entry
5621 at the end of image-type-file-name-regexps.
5622
a4712e11
JB
56232012-06-11 Johan Bockgård <bojohan@gnu.org>
5624
5625 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5626 (pcase, pcase-let*, pcase-dolist): Use them.
5627
82ad98e3
SM
56282012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * emacs-lisp/pcase.el (pcase--let*): New function.
5631 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5632 (pcase--expand): Use macroexp-let².
5633
f80efb86
SM
56342012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5635
5636 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5637 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5638 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5639 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5640 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5641 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5642
31ca4639 56432012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5644
31ca4639
CY
5645 * mail/rmail.el (rmail-yank-current-message): Leave point at
5646 correct position. (Bug#11660)
94f0aa34 5647
31ca4639 56482012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5649
31ca4639 5650 * allout-widgets.el: Fix code header.
9e1b8ec4 5651
31ca4639 56522012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5653
f80efb86
SM
5654 * cus-edit.el (customize-changed-options-previous-release):
5655 Bump to 24.1.
31ca4639 5656
642b6d30
AS
56572012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5658
5659 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5660
4f5d2ba1
CY
56612012-06-09 Chong Yidong <cyd@gnu.org>
5662
5663 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5664
e75852fd
MR
56652012-06-09 Martin Rudalics <rudalics@gmx.at>
5666
5667 * window.el (special-display-popup-frame): Don't use
5668 window--display-buffer (Bug#11651).
5669
1e48e282
EZ
56702012-06-09 Eli Zaretskii <eliz@gnu.org>
5671
8a26b487
EZ
5672 Fix parallel builds: make sure loaddefs.el is not being written
5673 while Lisp files are compiled.
5674 (compile): Don't depend on 'mh-autoloads'.
5675 (compile-CMD, compile-SH): Depend on 'autoloads'.
5676 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5677
1e48e282
EZ
5678 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5679
6175e34b
CY
56802012-06-09 Chong Yidong <cyd@gnu.org>
5681
5682 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5683 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5684 Doc fixes (Bug#11225).
5685
d9857e53
SM
56862012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5687
5688 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5689 a function if there's a clear indication that it has a compiler-macro.
5690 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5691 (macro-declarations-alist): Add arglist to declaration functions.
5692 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5693 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5694 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5695 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5696 Also add autoload to find the compiler macro.
5697 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5698 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5699 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5700 (cl--compiler-macro-get): New functions, replacing calls to
5701 cl-define-compiler-macro.
5702 (cl-typep) [compiler-macro]: Use macroexp-let².
5703
f81298f8 57042012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5705
5706 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5707 string properly, fixes Bug#11473.
5708
4b56d0fe
CY
57092012-06-08 Chong Yidong <cyd@gnu.org>
5710
5711 * faces.el (set-face-attribute): Doc fix.
5712 (modify-face): Don't use :bold and :italic.
5713 (error, warning, success): Tweak definitions.
5714
5715 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5716 (custom-modified, custom-set, custom-changed, custom-themed)
5717 (custom-saved, custom-button, custom-button-mouse)
5718 (custom-button-pressed, custom-state, custom-comment-tag)
5719 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5720 (custom-group-subtitle): Use new-style face specs.
5721 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5722 (custom-set-face, custom-changed-face, custom-saved-face)
5723 (custom-button-face, custom-button-pressed-face)
5724 (custom-documentation-face, custom-state-face)
5725 (custom-comment-face, custom-comment-tag-face)
5726 (custom-variable-tag-face, custom-variable-button-face)
5727 (custom-face-tag-face, custom-group-tag-face-1)
5728 (custom-group-tag-face): Remove obsolete face alias.
5729
5730 * epa.el (epa-validity-high, epa-validity-medium)
5731 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5732 (epa-field-name, epa-field-body):
5733 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5734 (font-lock-keyword-face, font-lock-builtin-face)
5735 (font-lock-function-name-face, font-lock-variable-name-face)
5736 (font-lock-type-face, font-lock-constant-face):
5737 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5738 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5739 * speedbar.el (speedbar-button-face, speedbar-file-face)
5740 (speedbar-directory-face, speedbar-tag-face)
5741 (speedbar-selected-face, speedbar-highlight-face)
5742 (speedbar-separator-face):
5743 * whitespace.el (whitespace-newline, whitespace-space)
5744 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5745 (whitespace-line, whitespace-space-before-tab)
5746 (whitespace-space-after-tab, whitespace-indentation)
5747 (whitespace-empty):
5748 * emulation/cua-base.el (cua-global-mark):
5749 * eshell/em-prompt.el (eshell-prompt):
5750 * net/newst-plainview.el (newsticker-new-item-face)
5751 (newsticker-old-item-face, newsticker-immortal-item-face)
5752 (newsticker-obsolete-item-face, newsticker-date-face)
5753 (newsticker-statistics-face, newsticker-default-face):
5754 * net/newst-reader.el (newsticker-feed-face)
5755 (newsticker-extra-face, newsticker-enclosure-face):
5756 * net/newst-treeview.el (newsticker-treeview-face)
5757 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5758 (newsticker-treeview-immortal-face)
5759 (newsticker-treeview-obsolete-face)
5760 (newsticker-treeview-selection-face):
5761 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5762 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5763 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5764 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5765 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5766 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5767 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5768 (mpuz-text):
5769 * progmodes/vera-mode.el (vera-font-lock-number)
5770 (vera-font-lock-function, vera-font-lock-interface):
5771 * textmodes/table.el (table-cell): Use new-style face specs, and
5772 don't use the old :bold and :italic attributes.
5773
5774 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5775 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5776 (ebrowse-member-class, ebrowse-progress): Likewise.
5777 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5778 (ebrowse-file-name-face, ebrowse-default-face)
5779 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5780 (ebrowse-progress-face): Remove obsolete faces.
5781
5782 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5783 Inherit from error and warning faces respectively.
5784
5785 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5786 Likewise.
f80efb86
SM
5787 (flyspell-incorrect-face, flyspell-duplicate-face):
5788 Remove obsolete aliases.
4b56d0fe 5789
03310646
MA
57902012-06-08 Michael Albinus <michael.albinus@gmx.de>
5791
5792 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5793 Avoid infloop.
5794
513749ee
SM
57952012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * startup.el (argv, argi): Make lexically scoped.
5798 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5799 * emacs-lisp/cl-macs.el: Use lexical-binding.
5800 Rename cl-bind-* to cl--bind-*.
5801 * files.el: Don't require `cl' since it doesn't use it.
5802 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5803
595ef4ad
JB
58042012-06-08 Juanma Barranquero <lekktu@gmail.com>
5805
5806 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5807 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5808 instead of calling external sort utility.
5809 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5810
e9f66fcb
EZ
58112012-06-08 Eli Zaretskii <eliz@gnu.org>
5812
5813 * descr-text.el (describe-char): Mention how to insert the
5814 character, if the current input method doesn't support it.
5815 See the discussion in this thread for the details:
5816 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5817
3d10db47
SS
58182012-06-08 Sam Steingold <sds@gnu.org>
5819
5820 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5821 XF86Back to previous-buffer.
5822 (minibuffer-local-map): Bind them to next-history-element and
5823 previous-history-element respectively.
5824 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5825 help-go-back respectively.
5826 * info.el (Info-mode-map): Bind them to Info-history-forward and
5827 Info-history-back respectively.
5828 These are the keys next to Up on the ThinkPad keyboard.
5829
de7e2b36
SM
58302012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5833 * emacs-lisp/cl-macs.el: Provide itself.
5834 (cl--labels-convert-cache): New var.
5835 (cl--labels-convert): New function.
5836 (cl-flet, cl-labels): New implementation with new semantics, relying on
5837 lexical-binding.
5838 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5839 (cl-closure-vars, cl--function-convert-cache)
5840 (cl--function-convert): Move from cl-macs.el.
5841 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5842 rename by removing the "cl-" prefix.
5843 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5844
6fa6c4ae
SM
58452012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5848 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5849 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5850 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5851 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5852 (cl-hash-table-count): Add old compatibility aliases.
5853
5854 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5855 Use macroexpand-all-environment instead.
5856 (cl--old-macroexpand): New var.
5857 (cl--sm-macroexpand): New function.
5858 (cl-symbol-macrolet): Use it during macro expansion.
5859 (cl--function-convert-cache): New var.
5860 (cl--function-convert): New function, extracted from
5861 cl-macroexpand-all.
5862 (cl-lexical-let): Use it.
5863
5864 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5865 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5866 (cl-member): Remove old alias.
5867
5868 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5869 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5870 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5871 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5872 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5873 (cl-macroexpand-cmacs): Remove var.
5874 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5875 Use macroexpand-all instead.
5876
4dd1c416
SM
58772012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5880 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5881 (macroexp-copyable-p): New functions and macros.
5882 * emacs-lisp/edebug.el (edebug-unwrap):
5883 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5884 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5885 (pcase--let*): Remove.
5886 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5887 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5888 macroexp-const-p instead.
5889 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5890
5891 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5892 instead of "cl-" for internal definitions. Use macroexp-const-p.
5893 (cl-old-bc-file-form): Remove var.
5894 (cl-const-exprs-p): Remove fun.
5895 (cl-labels, cl-macrolet): Use backquote.
5896 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5897 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5898 (cl-define-setf-expander): Rename from cl-define-setf-method.
5899 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5900
5901 * international/mule-cmds.el: Don't require CL.
5902 (view-hello-file): Don't use `letf'.
5903
ed8bd4d7
SM
59042012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5905
7287f2f3
SM
5906 * tmm.el (tmm-prompt): Use string-prefix-p.
5907 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5908 (tmm-add-prompt): Use minibuffer-completion-help.
5909 (tmm-delete-map): Remove.
5910
ed8bd4d7
SM
5911 * subr.el (kbd): Make it its own function.
5912
7b4cdbf4
SM
59132012-06-07 Stefan Merten <smerten@oekonux.de>
5914
5915 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5916 Silence compiler warnings. Fix versions.
ed8bd4d7 5917 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5918 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5919 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5920 (rst-package-emacs-version-alist): Correct Emacs version to
5921 represent major merge with upstream.
ed8bd4d7 5922 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5923
2b48d721
GM
59242012-06-06 Glenn Morris <rgm@gnu.org>
5925
5926 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5927 Only print environment variables if set.
5928
fa779ab0
SM
59292012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5930
5931 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5932 (macroexp--cons): Rename from maybe-cons.
5933 (macroexp--accumulate): Rename from macroexp-accumulate.
5934 (macroexp--all-forms): Rename from macroexpand-all-forms.
5935 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5936 (macroexp--expand-all): Rename from macroexpand-all-1.
5937
628299e0
SS
59382012-06-06 Sam Steingold <sds@gnu.org>
5939
5940 * calendar/calendar.el (calendar-in-read-only-buffer):
5941 Call `special-mode' to enable the standard read-only keybindings.
5942
b7bb5838
SM
59432012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5946 with "loading" messages (bug#11635).
5947
dfb308ba
MA
59482012-06-06 Michael Albinus <michael.albinus@gmx.de>
5949
5950 * files.el (enable-remote-dir-locals): New option.
5951 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5952
0372ee92
MA
5953 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5954 Ensure, that the temp directory is local.
5955
5956 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5957 `temporary-file-directory'.
5958
eed0bb91
MA
5959 * progmodes/python.el (python-send-region): Ensure, that the
5960 temporary file is created also in the remote case.
5961
7a58f64d
GM
59622012-06-06 Glenn Morris <rgm@gnu.org>
5963
f7dd4e98
GM
5964 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5965 (vc-rcs-update-changelog): Use it.
5966
090bd7cb 5967 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5968
7a58f64d
GM
5969 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5970 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5971 (vc-sccs-diff): Replace use of the external vcdiff script.
5972
daed4003
GM
59732012-06-05 Glenn Morris <rgm@gnu.org>
5974
5975 * ledit.el: Move to obsolete/.
5976
48c455c7
SS
59772012-06-05 Sam Steingold <sds@gnu.org>
5978
ed9265fc 5979 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5980 patch (Bug#11140).
5981
57a7d507
SM
59822012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5983
090bd7cb 5984 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5985
53aacf21
SM
5986 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5987 compiler-macro expansion.
5988
57a7d507
SM
5989 Add native compiler-macro support.
5990 * emacs-lisp/macroexp.el (macroexpand-all-1):
5991 Support compiler-macros directly. Properly follow aliases and apply
5992 the compiler macros more thoroughly.
5993 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5994 macroexpand now properly follows aliases.
5995 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5996 (cl-compiler-macroexpand): Use new prop.
5997 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5998
5999 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6000
51a5f9d8
MR
60012012-06-05 Martin Rudalics <rudalics@gmx.at>
6002
6003 * window.el (get-lru-window, get-mru-window, get-largest-window):
6004 New argument NOT-SELECTED to avoid picking the selected window.
6005 (window--display-buffer-1, window--display-buffer-2): Replace by
6006 new function window--display-buffer
6007 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6008 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6009 Use window--display-buffer.
51a5f9d8
MR
6010 (display-buffer-use-some-window): Remove temporary dedication
6011 hack by calling get-lru-window and get-largest-window with
6012 NOT-SELECTED argument non-nil. Call window--display-buffer.
6013
08f9f738
GM
60142012-06-05 Glenn Morris <rgm@gnu.org>
6015
6016 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6017 Replace external vcdiff script.
6018
e364a2b7
SM
60192012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6022
041df390
CY
60232012-06-04 Chong Yidong <cyd@gnu.org>
6024
e364a2b7
SM
6025 * image.el (imagemagick-types-inhibit): Revert last change.
6026 Add INFO and M.
47b36b94 6027 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6028
7c1898a7
SM
60292012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6030
6031 * emacs-lisp/cl-lib.el: Rename from cl.el.
6032 * emacs-lisp/cl.el: New compatibility file.
6033 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6034 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6035 to obey the "cl-" prefix.
6036 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6037
0c3461de
GM
60382012-06-03 Glenn Morris <rgm@gnu.org>
6039
1e266c88
GM
6040 * emacs-lisp/authors.el (authors-aliases): Addition.
6041
0c3461de
GM
6042 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6043 Fix :version.
6044
d8a52e15
SM
60452012-06-03 Stefan Merten <smerten@oekonux.de>
6046
6047 * textmodes/rst.el: Add comments.
6048 (rst-transition, rst-adornment): New faces.
6049 (rst-adornment-faces-alist): Make default safe to reevaluate.
6050 Fixes
6051 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6052 Improve customization tags.
6053 (rst-define-level-faces): Clarify meaning.
6054
5205d6f6
CY
60552012-06-03 Chong Yidong <cyd@gnu.org>
6056
6057 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6058 (compilation-mode-line-run, compilation-mode-line-exit):
6059 New faces.
5205d6f6
CY
6060 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6061
757ee657
JD
60622012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6063
7c1898a7
SM
6064 * progmodes/which-func.el (which-func-update-ediff-windows):
6065 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6066
5f2c76c6
CY
60672012-06-03 Chong Yidong <cyd@gnu.org>
6068
6069 * bindings.el: Remove explicit help text from format-mode-line.
6070 It is now supplied by mode-line-default-help-echo.
6071 (mode-line-front-space, mode-line-end-spaces)
6072 (mode-line-misc-info): New variables.
6073 (mode-line-modes, mode-line-position): Move the default value to
6074 the variable definition.
6075 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6076 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6077 (mode-line-modified-help-echo): New functions.
6078 (mode-line-mule-info, mode-line-modified): Use them.
6079 (mode-line-eol-desc, propertized-buffer-identification):
6080 Consistency fixes for help text.
cbe46e5f
CY
6081 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6082 set-buffer-file-coding-system (Bug#289).
6083 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6084
f2d6a3df
SM
60852012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6086
6087 * simple.el (execute-extended-command): Set real-this-command
6088 (bug#11506).
6089
37269466
CY
60902012-06-02 Chong Yidong <cyd@gnu.org>
6091
6092 Remove incorrect uses of "modeline" in comments, docstrings, and
6093 function/variable names (Bug#10329).
6094
6095 * cus-edit.el (mode-line):
6096 * dframe.el (dframe-mouse-hscroll):
6097 * emacs-lisp/re-builder.el:
6098 * emacs-lisp/easy-mmode.el (define-minor-mode):
6099 * frame.el (set-frame-name):
6100 * help.el (lookup-minor-mode-from-indicator):
6101 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6102 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6103 (c-toggle-hungry-state):
6104 * progmodes/antlr-mode.el (antlr-language-alist):
6105 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6106 * progmodes/vhdl-mode.el (vhdl-mode):
6107 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6108 * term/ns-win.el (ns-face-at-pos):
6109 * term/sup-mouse.el (sup-mouse-report):
6110 * textmodes/flyspell.el (flyspell-mode-line-string):
6111 * textmodes/ispell.el (ispell-highlight-face):
6112 * textmodes/reftex-global.el:
6113 * vc/vc-arch.el (vc-arch-mode-line-string):
6114 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6115 * vc/vc-git.el (vc-git-mode-line-string):
6116 * vc/vc-hooks.el (vc-display-status)
6117 (vc-default-mode-line-string):
6118 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6119
6120 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6121
6122 * dired.el (dired-sort-set-mode-line): Rename from
6123 dired-sort-set-modeline. All callers changed.
6124
6125 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6126 eshell-status-in-modeline.
6127
6128 * foldout.el (foldout-mode-line-string): Rename from
6129 foldout-modeline-string. All callers changed.
6130 (foldout-update-mode-line): Rename from foldout-update-modeline.
6131
6132 * subr.el (redraw-modeline): Make into obsolete alias.
6133
6134 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6135 timeclock-modeline-display. Make old name an alias.
6136 (timeclock-update-mode-line): Likewise. All callers changed.
6137 (timeclock-mode-line-display): No need to check before using
6138 add-hook.
6139 (timeclock-relative, timeclock-day-over-hook)
6140 (timeclock-use-elapsed, timeclock-mode-string)
6141 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6142
6143 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6144 crisp-mode-modeline-string.
6145
6146 * play/solitaire.el (solitaire-build-mode-line): Rename from
6147 solitaire-build-modeline. All callers changed.
6148
6149 * play/zone.el (zone-hiding-mode-line): Rename from
6150 zone-hiding-modeline. All callers changed.
6151 (zone): Remove unusued `modeline-hidden-level' property.
6152
6153 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6154 xscheme-modeline-initialize. All callers changed.
6155
6156 * strokes.el (strokes-lighter): Rename from
6157 strokes-modeline-string.
6158
6159 * textmodes/sgml-mode.el (html-face-tag-alist)
6160 (html-tag-face-alist): Use mode-line face instead of obsolete
6161 alias modeline.
6162
42152ee4
SM
61632012-06-02 Stefan Merten <smerten@oekonux.de>
6164
6165 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6166 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6167
95f520b5
CY
61682012-06-02 Chong Yidong <cyd@gnu.org>
6169
6170 * image.el (imagemagick-enabled-types): Rename from
6171 imagemagick-types-enable. Add many more types.
6172 (imagemagick-types-inhibit): Change default to nil.
6173 (imagemagick-filter-types): Caller changed.
6174
4a5f187a
SM
61752012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6176
03fef3e6
SM
6177 * emacs-lisp/cl-macs.el: Use backquotes.
6178 (cl-transform-function-property): Use eval-and-compile rather than
6179 abusing `require'.
6180 (defstruct): Use declare-function instead of with-no-warnings.
6181
4a5f187a
SM
6182 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6183 (byte-compile-output-docform): Re-add the print-circle bindings.
6184 (byte-compile-fix-header): Use #$ just because it's shorter.
6185 (byte-compile-output-file-form): Remove defun/defmacro.
6186
bd56924f
MR
61872012-06-01 Martin Rudalics <rudalics@gmx.at>
6188
6189 * simple.el (choose-completion): Remove now obsolete binding for
6190 owindow.
6191
046e38ce
MA
61922012-06-01 Michael Albinus <michael.albinus@gmx.de>
6193
6194 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6195 in order to avoid "Stack overflow in regexp matcher".
6196
32d72c2f
GM
61972012-05-31 Glenn Morris <rgm@gnu.org>
6198
6199 * image.el: For clarity, call imagemagick-register-types at
6200 top-level, rather than relying on a custom :initialize.
6201 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6202 (imagemagick-filter-types): New function. (Bug#7406)
6203 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6204 If disabling support, remove elements altogether rather
6205 than using an impossible regexp.
6206 (imagemagick-types-inhibit): Give it the default init function.
6207
dd41169b
SM
62082012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6209
4a5f187a
SM
6210 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6211 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6212
efc00ab1 62132012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6214
6215 * desktop.el (desktop-read): Clear previous and next buffers for
6216 all windows and bury *Messages* buffer (bug#11556).
6217
500fcedc
SM
62182012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 Add `declare' for `defun'. Align `defmacro's with it.
6221 * emacs-lisp/easy-mmode.el (define-minor-mode)
6222 (define-globalized-minor-mode): Don't autoload the var definitions.
6223 * emacs-lisp/byte-run.el: Use lexical-binding.
6224 (defun-declarations-alist, macro-declarations-alist): New vars.
6225 (defmacro, defun): Use them.
6226 (make-obsolete, define-obsolete-function-alias)
6227 (make-obsolete-variable, define-obsolete-variable-alias):
6228 Use `declare'.
6229 (macro-declaration-function): Mark obsolete.
6230 * emacs-lisp/autoload.el: Use lexical-binding.
6231 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6232
6e8a1786
AM
62332012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6234
6235 * textmodes/ispell.el (ispell-with-no-warnings):
6236 Define as a macro.
500fcedc
SM
6237 (ispell-kill-ispell, ispell-change-dictionary):
6238 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6239 `interactive-p'.
6240
61b108cc
SM
62412012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6244 (macro-declaration-function): Move var from C code.
6245 (macro-declaration-function): Define function with defalias.
6246 * emacs-lisp/macroexp.el (macroexpand-all-1):
6247 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6248 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6249 defun/defmacro any more.
6250 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6251 Provide fallback for unknown arglist.
6252 (byte-compile-arglist-warn): Change calling convention.
6253 (byte-compile-output-file-form): Move print-vars binding.
6254 (byte-compile-output-docform): Simplify accordingly.
6255 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6256 (byte-compile-defmacro-declaration): Remove.
6257 (byte-compile-file-form-defmumble): Generalize to defalias.
6258 (byte-compile-output-as-comment): Return byte-positions.
6259 Simplify callers accordingly.
6260 (byte-compile-lambda): Use `assert'.
6261 (byte-compile-defun, byte-compile-defmacro): Remove.
6262 (byte-compile-file-form-defalias):
6263 Use byte-compile-file-form-defmumble.
6264 (byte-compile-defalias-warn): Remove.
6265
6d3f7c2f
SM
62662012-05-29 Stefan Merten <smerten@oekonux.de>
6267
6268 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6269 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6270
6271 (rst-mode-abbrev-table): Merge definition.
6272 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6273 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6274
6dbaa1c7
UJ
62752012-05-29 Ulf Jasper <ulf.jasper@web.de>
6276
6277 * calendar/icalendar.el
6278 (icalendar-export-region): Export UID properly.
6279
d209e2fb 62802012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6281 * calendar/icalendar.el (icalendar-import-format):
6282 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6283 (icalendar-import-format-uid): New.
6284 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6285 Export UID.
6286
6876a58d
SM
62872012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6288
6289 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6290 different alternative patterns.
6291 (pcase-codegen): Be more careful to preserve identity.
6292 (pcase--u1): Don't forget to mark vars as used.
6293
6294 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6295 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6296 (byte-compile-from-buffer): ...rather than here.
6297
6298 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6299 functions from byte-compile-function-environment.
6300
46b7967e
TN
63012012-05-29 Troels Nielsen <bn.troels@gmail.com>
6302
6303 * window.el (window-deletable-p): Avoid deleting the root window
6304 of a frame with an active minibuffer.
6305
69d565e2
MR
63062012-05-29 Martin Rudalics <rudalics@gmx.at>
6307
6308 * simple.el (choose-completion): Use quit-window (Bug#11567).
6309
a149fa51
CY
63102012-05-29 Chong Yidong <cyd@gnu.org>
6311
6312 * whitespace.el (whitespace-cleanup): Fix usage of
6313 whitespace-empty-at-bob-regexp (Bug#11492).
6314
2b311310
AH
63152012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6316
6317 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6318 revert (Bug#11488).
6319
b9cb2387
JL
63202012-05-29 Juri Linkov <juri@jurta.org>
6321
6322 * isearch.el (isearch-mode-map): Bind `M-s _' to
6323 `isearch-toggle-symbol'. Bind `M-s c' to
6324 `isearch-toggle-case-fold'.
6325 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6326 (isearch-forward): Add `M-s _' to the docstring.
6327 (isearch-forward-symbol, isearch-toggle-case-fold)
6328 (isearch-symbol-regexp): New functions. (Bug#11381)
6329
d5e61c1c
JL
63302012-05-29 Juri Linkov <juri@jurta.org>
6331
6332 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6333 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6334 a function, call it to get the regexp.
6335 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6336 property `isearch-message-prefix' instead of the string "word ".
6337 (isearch-search-fun-default): For the case of `isearch-word',
6338 return a lambda that calls re-search-forward/re-search-backward
6339 with a regexp returned by `word-search-regexp' or by the function
6340 in `isearch-word'.
6341
8cbd80f7
JL
63422012-05-29 Juri Linkov <juri@jurta.org>
6343
6344 * isearch.el (isearch-search-fun-default): New function.
6345 (isearch-search-fun): Move default part to the new function
6346 `isearch-search-fun-default'.
6347 (isearch-search-fun-function): Set the default value to
6348 `isearch-search-fun-default'. (Bug#11381)
6349
6350 * comint.el (comint-history-isearch-end):
6351 Use `isearch-search-fun-default'.
6352 (comint-history-isearch-search): Use `isearch-search-fun-default'
6353 and remove spacial case for `isearch-word'.
6354 (comint-history-isearch-wrap): Remove spacial case for
6355 `isearch-word'.
6356
6357 * hexl.el (hexl-isearch-search-function):
6358 Use `isearch-search-fun-default'.
6359
6360 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6361 Use `word-search-regexp' for `isearch-word'.
6362
6363 * misearch.el (multi-isearch-search-fun):
6364 Use `isearch-search-fun-default'.
6365
6366 * simple.el (minibuffer-history-isearch-search):
6367 Use `isearch-search-fun-default' and remove spacial case for
6368 `isearch-word'.
6369 (minibuffer-history-isearch-wrap): Remove spacial case for
6370 `isearch-word'.
6371
6372 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6373 Remove spacial case for `isearch-word'.
6374 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6375
85c8c5b6
AM
63762012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6377
6378 Decrease XEmacs incompatibilities.
6379 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6380 Use `string-match'.
6381 (flyspell-delete-region-overlays): Use alternative definition for
6382 XEmacs.
6383 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6384 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6385 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6386 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6387 `define-obsolete-face-alias' under XEmacs, but old method.
6388
6389 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6390 `with-no-warnings' definition or Emacs alias.
6391 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6392 (ispell-word): Do not use `region-p' if XEmacs.
6393
8cab9efc
AM
63942012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6395
6396 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6397 Check for `ispell-dictionary-base-alist' instead of full
6398 `ispell-dictionary-alist'.
6399 (ispell-init-process): Show spellchecker when starting new Ispell
6400 process.
6401
fda91268
RZ
64022012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6403
6404 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6405 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6406
694ea8e3
JB
64072012-05-27 Juanma Barranquero <lekktu@gmail.com>
6408
6409 * version.el (motif-version-string, gtk-version-string)
6410 (ns-version-string): Declare.
6411
e4d4f539
JL
64122012-05-27 Juri Linkov <juri@jurta.org>
6413
6414 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6415 after the `eval-defun-1' specialcaseing
6416 like in `edebug-eval-defun' (bug#10181).
6417
6418 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6419 like in `eval-defun-1'.
6420
33017faf 64212012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6422
fda91268
RZ
6423 * mail/sendmail.el (mail-yank-region):
6424 Recognize rmail-yank-current-message in addition to insert-buffer.
6425 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6426 a *mail* buffer created through rmail-start-mail with sendmail as
6427 mail-user-agent.
6428
33017faf
GM
64292012-05-27 Chong Yidong <cyd@gnu.org>
6430
6431 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6432 Default to 256 (Bug#11267).
6433
6434 * help.el (describe-mode): Doc fix.
6435
04188bb9
GM
64362012-05-26 Glenn Morris <rgm@gnu.org>
6437
38264cc9
GM
6438 * w32-fns.el (w32-init-info): Remove.
6439 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6440
eb7afdad
GM
6441 * info.el (info-initialize): For self-contained NS builds, put the
6442 included info/ directory at the front. (Bug#2791)
6443
04188bb9
GM
6444 * paths.el (Info-default-directory-list): Make it a defcustom,
6445 mainly so that we can use custom-initialize-delay.
6446
a179e3f7
SM
64472012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6448
43416392
SM
6449 * subr.el (buffer-has-markers-at): Mark obsolete.
6450
a179e3f7 6451 * subr.el (lambda): Use declare.
43416392 6452
a179e3f7
SM
6453 * emacs-lisp/lisp-mode.el (lambda):
6454 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6455
34a008d9
AH
64562012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6457
6458 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6459
0a3b289f
GM
64602012-05-26 Glenn Morris <rgm@gnu.org>
6461
6462 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6463
758c81e8
GM
64642012-05-25 Glenn Morris <rgm@gnu.org>
6465
f9f334f0
GM
6466 * paths.el: Remove no-byte-compile.
6467 * loadup.el: No need to load paths.el uncompiled.
6468
87eb79c2
GM
6469 * image.el (imagemagick-types-inhibit): Doc fix.
6470
758c81e8
GM
6471 * version.el: Remove no-byte-compile and associated formatting.
6472 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6473 is ancient code from when there was an "inc-vers.el".
6474
e7e85dc0
SM
64752012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6476
6477 * progmodes/gdb-mi.el: Minor style changes.
6478 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6479 Turn into minor modes.
6480 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6481 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6482 (gdb-shell): Remove unneeded let-binding.
6483 (gdb-get-many-fields): Eliminate O(n²) behavior.
6484
f31237a4
EZ
64852012-05-25 Eli Zaretskii <eliz@gnu.org>
6486
6487 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6488 platforms that don't link in fontset.c.
6489
bc1b21bb
JL
64902012-05-25 Juri Linkov <juri@jurta.org>
6491
6492 Use the same diff color scheme as in modern VCSes (bug#10181).
6493
6494 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6495 to avoid confusion with `diff-added' that now uses green colors.
6496 (diff-removed): Use shades of red.
6497 (diff-added): Use shades of green.
6498 (diff-changed): Leave just the yellow color.
6499 (diff-use-changed-face): New variable.
6500 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6501 how to highlight context diff changes.
6502 (diff-refine-change): Use shades of yellow.
6503 (diff-refine-removed): New face that uses shades of red.
6504 (diff-refine-added): New face that uses shades of green.
6505 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6506 `diff-refine-removed' in the call to `smerge-refine-subst'
6507 depending on the value of `diff-use-changed-face'.
6508
6509 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6510 (smerge-other): Use shades of green.
6511 (smerge-base): Use shades of yellow.
6512 (smerge-refined-change): Empty face.
6513 (smerge-refined-removed): New face that uses shades of red.
6514 (smerge-refined-added): New face that uses shades of green.
6515 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6516 args `props-r' and `props-a', and use them. Doc fix.
6517 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6518 on its value use different faces `smerge-refined-change',
6519 `smerge-refined-removed', `smerge-refined-added' in the call to
6520 `smerge-refine-subst'.
6521
6522 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6523 Add face condition `min-colors 88' with shades of red.
6524 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6525 `min-colors 88' with shades of green.
6526 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6527 `min-colors 88' with shades of yellow.
6528
6df9112c
GM
65292012-05-24 Glenn Morris <rgm@gnu.org>
6530
ead5edc0
GM
6531 * paths.el (prune-directory-list, remote-shell-program): Move to...
6532 * files.el (prune-directory-list, remote-shell-program): ...here.
6533 For the latter, delay initialization, prefer ssh, just search PATH.
6534
f18b81e6
GM
6535 * paths.el (term-file-prefix): Move to faces.el (the only user).
6536 * faces.el (term-file-prefix): Move here, make it a defcustom.
6537
ee2f89a6
GM
6538 * paths.el (news-directory, news-path, news-inews-program):
6539 Move to gnus/nnspool.el.
61a583ca 6540
f8815e4c
GM
6541 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6542
c8f3b42c
GM
6543 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6544 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6545 Make the latter a defcustom, with a delayed initialization.
6546
6df9112c
GM
6547 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6548 These were deleted from Gnus itself late 2010.
6549
5dadff36
JB
65502012-05-22 Juanma Barranquero <lekktu@gmail.com>
6551
9e1701c6
JB
6552 * progmodes/which-func.el (which-func-ff-hook):
6553 Check against user-error, not error.
6554
bd7239f5 6555 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6556 cl-specs.el, which no longer exists.
6557
3290526d
GM
65582012-05-22 Glenn Morris <rgm@gnu.org>
6559
6560 * info.el (info-emacs-bug): New command.
6561 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6562 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6563
ff0c3cfb
GM
65642012-05-21 Glenn Morris <rgm@gnu.org>
6565
6566 * makefile.w32-in (update-subdirs-SH):
6567 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6568
5814f126
SM
65692012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6570
a52c0aa0
SM
6571 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6572
5814f126
SM
6573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6574 Simplify Maven regexp, and make sure the file can't start with a space
6575 (bug#11517).
6576
b847032c
GM
65772012-05-21 Glenn Morris <rgm@gnu.org>
6578
6579 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6580 Scrap superfluous subshells.
6581
3858bfe7
SM
65822012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6585 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6586
d14b0029
JB
65872012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6588
6589 * calc/calc.el (calc-ensure-consistent-units): New variable.
6590
a52c0aa0
SM
6591 * calc/calc-units.el (math-consistent-units-p)
6592 (math-check-unit-consistency): New functions.
6593 (calc-quick-units, calc-convert-units):
6594 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6595 is non-nil.
d14b0029
JB
6596 (calc-extract-units): Fix typo.
6597
60c4db3a
SM
65982012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6599
77f3b62e
SM
6600 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6601
60c4db3a
SM
6602 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6603 (flyspell-default-deplacement-commands): Don't spell check after
6604 repeated window/frame switches (e.g. triggered by mouse-movement).
6605 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6606 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6607 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6608 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6609 Remove unused vars.
6610 (flyspell-get-casechars, flyspell-get-not-casechars):
6611 Simplify; Don't bother removing a ] just to add it back.
6612 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6613
d209e2fb 66142012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6615
6616 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6617 New functions.
bd7239f5 6618 (math-function-table): Add support for more C functions.
b1a10716 6619
3f1b25b5
AM
66202012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6621
090bd7cb
JB
6622 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6623 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6624 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6625
b581bb5c
SM
66262012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6627
6628 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6629 their respective macro declarations.
6630 * skeleton.el (define-skeleton):
6631 * progmodes/compile.el (define-compilation-mode):
6632 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6633 (define-ibuffer-filter):
6634 * emacs-lisp/generic.el (define-generic-mode):
6635 * emacs-lisp/easy-mmode.el (define-minor-mode)
6636 (define-globalized-minor-mode):
6637 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6638 * emacs-lisp/byte-run.el (defsubst):
6639 * custom.el (deftheme): Add doc-string metadata.
6640
70b8ef8f
SM
66412012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6644
b1198e17
SM
66452012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6646
9abdc45d
SM
6647 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6648
b1198e17
SM
6649 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6650 * emacs-lisp/cl-macs.el: Idem.
6651 * emacs-lisp/cl-specs.el: Remove.
6652
4735906a
SM
66532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 Minor renaming of internal CL functions and variables.
6656 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6657 (cl--position): Rename from cl-position.
6658 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6659 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6660 (cl--random-state): Rename from *random-state*.
6661
ac348012
SM
66622012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6663
6664 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6665 parens around the arg list (bug#11499).
6666
a0a79cde
JL
66672012-05-17 Juri Linkov <juri@jurta.org>
6668
6669 * isearch.el (word-search-regexp, word-search-backward)
6670 (word-search-forward, word-search-backward-lax)
6671 (word-search-forward-lax): Move functions from search.c
6672 (bug#10145, bug#11381).
6673
65034a51
AM
66742012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6675
090bd7cb
JB
6676 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6677 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6678 Delay for otherchars as for normal word components.
65034a51 6679
1a72a195
SM
66802012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6681
6682 * minibuffer.el (completion--sifn-requote): Fix last change.
6683 (minibuffer-local-must-match-filename-map):
6684 Move define-obsolete-variable-alias before its var.
6685
fdb058c2
SM
66862012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6687
c41045e6
SM
6688 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6689
036dfb8b
SM
6690 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6691 behavior.
6692 (completion--string-equal-p): New function.
6693 (completion--twq-all): Use it to get better assertion failure data.
6694
2473256d
SM
6695 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6696 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6697 (shell--requote-argument): New functions.
6698 (shell-completion-vars): Use them.
6699 (shell--parse-pcomplete-arguments): Rename from
6700 shell-parse-pcomplete-arguments.
6701 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6702 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6703 Obey comint-file-name-quote-list.
6704
fdb058c2
SM
6705 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6706 (smie-indent-keyword): Use it.
6707
51fa99f1
SM
67082012-05-14 Stefan Merten <smerten@oekonux.de>
6709
6710 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6711
e18afed7 67122012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6713
6714 * net/rlogin.el (rlogin-mode-map): Fix last change.
6715
e18afed7 67162012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6717
6718 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6719 the following \r\n using a single `process-send-string', since the
6720 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6721 with two `process-send-string's (Bug#11444).
8633b1f4 6722
e18afed7 67232012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6724
fdb058c2
SM
6725 * shell.el (shell-parse-pcomplete-arguments):
6726 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6727
2d21d7f6
WJ
67282012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6729
e18afed7 6730 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6731 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6732 (image-transform-width, image-transform-fit-width): New functions.
6733 (image-transform-properties): Use them.
6734 (image-transform-check-size): New function.
6735 (image-toggle-display-image): Use it (for testing).
6736 (image-transform-set-rotation): Reduce angle mod 360.
6737 Delete obsolete comment.
6738
7102e6d0
WJ
67392012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6740
6741 * image-mode.el: Fix scaling (bug#11399).
6742 (image-transform-resize): Doc fix.
6743 (image-transform-properties): Default scale is 1 and height should
6744 be an integer.
6745
06bc5e6e
SM
67462012-05-13 Johan Bockgård <bojohan@gnu.org>
6747
6748 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6749 than hard-coding `car', to fix misbehavior when moving forward.
6750
0ae03b6a
CY
67512012-05-13 Chong Yidong <cyd@gnu.org>
6752
6753 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6754 (tabulated-list-entries, tabulated-list-padding)
6755 (tabulated-list-sort-key): Make permanent-local.
6756
6757 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6758 (electric-buffer-list): Put electric buffer menu
6759 command descriptions in this docstring, instead of the docstring
6760 of electric-buffer-menu-mode. Code cleanups.
6761 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6762 Electric-buffer-menu-mode.
6763 (electric-buffer-update-highlight): Minor code cleanup.
6764
205a7391
MA
67652012-05-13 Michael Albinus <michael.albinus@gmx.de>
6766
6767 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6768 (Bug#11447)
6769
e5bd0a28
SM
67702012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6771
6772 Move define-obsolete-variable-alias before the var's definition.
6773 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6774 * tooltip.el (tooltip-hook):
6775 * textmodes/reftex-toc.el (reftex-toc-map):
6776 * textmodes/reftex-sel.el (reftex-select-label-map)
6777 (reftex-select-bib-map):
6778 * textmodes/reftex-index.el (reftex-index-map)
6779 (reftex-index-phrases-map):
6780 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6781 * progmodes/meta-mode.el (meta-mode-map):
6782 * novice.el (disabled-command-hook):
6783 * loadhist.el (unload-hook-features-list):
6784 * frame.el (blink-cursor):
6785 * files.el (find-file-not-found-hooks, write-file-hooks)
6786 (write-contents-hooks):
6787 * emulation/tpu-edt.el (GOLD-map):
6788 * emacs-lock.el (emacs-lock-from-exiting):
6789 * emacs-lisp/generic.el (generic-font-lock-defaults):
6790 * emacs-lisp/chart.el (chart-map):
6791 * dos-fns.el (register-name-alist):
6792 * dired-x.el (dired-omit-files-p):
6793 * desktop.el (desktop-enable):
6794 * cus-edit.el (custom-mode-hook):
6795 * buff-menu.el (buffer-menu-mode-hook):
6796 * bookmark.el (bookmark-read-annotation-text-func)
6797 (bookmark-exit-hooks):
6798 * allout.el (allout-mode-deactivate-hook)
6799 (allout-exposure-change-hook, allout-structure-added-hook)
6800 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6801 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6802 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6803 comes before the corresponding variable's definition.
6804
ac59c2f6
CY
68052012-05-12 Chong Yidong <cyd@gnu.org>
6806
6807 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6808 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6809 (Buffer-menu-mode-map): Bind it.
6810 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6811
dee6c9a3
SM
68122012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6813
2171cea5
SM
6814 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6815 (prolog-upper-case-string, prolog-lower-case-string)
6816 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6817 (prolog-use-smie, prolog-smie-grammar): New vars.
6818 (prolog-smie-forward-token, prolog-smie-backward-token)
6819 (prolog-smie-rules): New funs.
6820 (prolog-comment-indent): Remove.
6821 (prolog-mode-variables): Use default comment indentation instead.
6822 Setup SMIE.
6823 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6824 (prolog-mode): Don't call them any more.
6825 (prolog-electric-colon, prolog-electric-dash)
6826 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6827
aa0382bd
SM
6828 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6829
dbacb4bd
SM
6830 * minibuffer.el (completion--twq-all): Again, allow case differences.
6831
13bdd94c
SM
6832 * term.el: Move keymap initialization code to be more idiomatic.
6833 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6834 (term-terminal-menu): Move initialization into declaration.
6835 (term-escape-char): Let the user set it in her .emacs.
6836
ff46c759
SM
6837 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6838 Provide SMIE-based indentation (not enabled by default yet).
6839 (sh-mode-map): Don't bind electric keys.
6840 Use electric-pair-mode instead of skeleton-pair.
6841 (sh-assignment-regexp): Fit within 80 columns.
6842 (sh-indent-supported): Specify actual shell name instead of boolean.
6843 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6844 (sh-maybe-here-document): Use it. Make obsolete.
6845 (sh-electric-here-document-mode) New minor mode.
6846 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6847 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6848 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6849 (sh-smie-rc-grammar, sh-use-smie): New vars.
6850 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6851 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6852 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6853 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6854 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6855 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6856 (sh-set-shell): Use smie-setup if requested.
6857
dee6c9a3
SM
6858 * term.el (term-set-escape-char): Properly set term-escape-char.
6859 See http://stackoverflow.com/questions/10524656.
6860
9f9aa044
CY
68612012-05-10 Chong Yidong <cyd@gnu.org>
6862
6863 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6864 Use url-generic-parse-url, and handle host names and Windows
6865 filenames properly.
6866 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6867 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6868 URL schemes to work on.
6869 (ffap--toggle-read-only): New function.
6870 (ffap-read-only, ffap-read-only-other-window)
6871 (ffap-read-only-other-frame): Use it.
6872 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6873 necessary for ffap-url-unwrap-remote.
6874
836d29b3
DA
68752012-05-10 Dave Abrahams <dave@boostpro.com>
6876
6877 * cus-start.el (create-lockfiles): Add it.
6878
00fd78ed
CY
68792012-05-09 Chong Yidong <cyd@gnu.org>
6880
6881 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6882 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6883
666b903b 68842012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6885
6886 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6887
666b903b 68882012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6889
6890 * ansi-color.el (ansi-color-process-output): Check for validity of
6891 comint-last-output-start before using it. This avoids a bad
6892 interaction with gdb-mi's input/output buffer.
6893
666b903b 68942012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6895
6896 * files.el (dir-locals-read-from-file):
6897 Mention dir-locals in any error message.
6898
666b903b 68992012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6900
6901 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6902 package (Bug#11410).
6903
f677562b
CY
6904 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6905 variables into description.
6906
666b903b 69072012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6908
6909 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6910 shell-delimiter-argument-list (bug#11348).
6911 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6912
b499d8d0
JB
69132012-05-09 Juanma Barranquero <lekktu@gmail.com>
6914
8f6b6da8
JB
6915 * textmodes/rst.el: Silence byte-compiler warnings.
6916 (rst-re-alist, rst-reset-section-caches): Move around.
6917 (rst-re): Use `characterp', not `char-valid-p'.
6918 (font-lock-beg, font-lock-end): Declare.
6919
4824146a
JB
6920 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6921 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6922
b499d8d0
JB
6923 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6924
ad89bb83
GM
69252012-05-08 Glenn Morris <rgm@gnu.org>
6926
6927 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6928
8bba5a75
SM
69292012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6930
49ed9c8e
SM
6931 * vc/log-edit.el: Add GNU coding standards highlighting.
6932 (log-edit-font-lock-gnu-style)
6933 (log-edit-font-lock-gnu-keywords): New vars.
6934 (log-edit-font-lock-keywords): New fun.
6935 (log-edit-mode): Don't fold case in font-lock.
6936 (log-edit-font-lock-keywords): Do not assume case-folding.
6937
07d00b56
SM
6938 * imenu.el: Misc cleanup. Make docstrings out of comments.
6939 Use lexical-binding.
6940 (imenu--index-alist, imenu--last-menubar-index-alist)
6941 (imenu-menubar-modified-tick): Use defvar-local.
6942 (imenu--split-menu): Remove unused var.
6943 (imenu--cleanup-seen): Declare as global.
6944 (imenu--cleanup): Use dolist.
6945
8bba5a75
SM
6946 * subr.el (defvar-local): Add debug spec and doc-string position.
6947
5075bdb5
GM
69482012-05-08 Glenn Morris <rgm@gnu.org>
6949
090bd7cb 6950 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6951 * language/english.el, language/georgian.el, language/greek.el:
6952 * language/japanese.el, language/khmer.el, language/korean.el:
6953 * language/lao.el, language/misc-lang.el, language/romanian.el:
6954 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6955 * language/thai.el, language/utf-8-lang.el:
6956 Remove no-byte-compile setting.
6957
5075bdb5
GM
6958 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6959
06f679a7
AH
69602012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6961
6962 * progmodes/make-mode.el (makefile-browse):
6963 Remove unnecessary interactive. (Bug#11324)
6964
03794570
GM
69652012-05-07 Glenn Morris <rgm@gnu.org>
6966
af8630f4
GM
6967 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6968
03794570
GM
6969 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6970
f0809a9d
SM
69712012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6972
28be5ce7
SM
6973 * loadup.el: Preload newcomment.el.
6974 * newcomment.el: Move autoload-only code to toplevel.
6975
f0809a9d
SM
6976 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6977 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6978 Handle new :right-align column property.
6979 (tabulated-list-print-col): Idem, plus use `display' text-property to
6980 try and preserve alignment for variable pitch fonts.
6981
1241b724
CY
69822012-05-07 Chong Yidong <cyd@gnu.org>
6983
6984 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6985 (tabulated-list-use-header-line): New var.
6986 (tabulated-list-init-header): Use it.
6987 (tabulated-list-print-fake-header): New function.
6988 (tabulated-list-print): Use it.
6989 (tabulated-list-sort-button-map): Add non-header-line commands.
6990 (tabulated-list-init-header): Add column name property to basic
6991 labels as well.
6992 (tabulated-list-col-sort): Handle non-header-line button case.
6993 (tabulated-list--sort-by-column-name): Fix a corner case.
6994
f0809a9d
SM
6995 * buff-menu.el (list-buffers--refresh):
6996 Handle Buffer-menu-use-header-line.
1241b724 6997
e5f9458f
CY
69982012-05-06 Chong Yidong <cyd@gnu.org>
6999
7000 * buff-menu.el: Convert to Tabulated List mode.
7001 (Buffer-menu-buffer+size-width): Make obsolete.
7002 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7003 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7004 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7005 documentation into docstring of buffer-menu.
7006 (Buffer-menu-toggle-files-only): Add an informative message.
7007 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7008 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7009 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7010 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7011 (Buffer-menu-execute, Buffer-menu-select)
7012 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7013 (Buffer-menu-bury): Use Tabulated List machinery.
7014 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7015 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7016 Delete.
e5f9458f
CY
7017 (list-buffers--refresh): New function.
7018 (list-buffers-noselect): Use it.
7019 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7020 (Buffer-menu--pretty-file-name): New helper functions.
7021
7022 * loadup.el: Preload tabulated-list.
7023
7024 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7025 tabulated-list-sort-column.
7026 (tabulated-list-init-header): Add the initial aligning space even
7027 if tabulated-list-padding is zero.
7028
e129292c
CS
70292012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7030
7031 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7032 whose cdr is not a cons cell correctly (bug#11038).
7033
6632d361
CY
70342012-05-06 Chong Yidong <cyd@gnu.org>
7035
e129292c
CS
7036 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7037 Accept additional plist in column descriptors.
6632d361
CY
7038 (tabulated-list-init-header): Obey it.
7039 (tabulated-list-get-entry): New function.
7040 (tabulated-list-put-tag): Use it. Use string-width instead of
7041 length.
7042 (tabulated-list--column-number): New function.
7043 (tabulated-list-print): Use it.
e129292c
CS
7044 (tabulated-list-print-col): New function.
7045 Set `tabulated-list-column-name' property on each column's text.
6632d361 7046 (tabulated-list-print-entry): Use it.
e129292c
CS
7047 (tabulated-list-delete-entry, tabulated-list-set-col):
7048 New functions.
6632d361
CY
7049 (tabulated-list-sort-column): New command (Bug#11337).
7050
3cc99f68
CY
7051 * buff-menu.el (list-buffers): Move C-x C-b binding from
7052 buff-menu.el to bindings.el.
7053
7054 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7055 :advertised-binding feature.
7056
52b61776
TN
70572012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7058
7059 * progmodes/compile.el (compilation-internal-error-properties):
7060 Calculate start position correctly when end-col is set but
7061 end-line is not (Bug#11382).
7062
ebfe2597
WJ
70632012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7064
7065 * man.el (Man-unindent): Use text-property-default-nonsticky to
7066 prevent untabify from inheriting face properties (Bug#11408).
7067
6d3f7c2f
SM
70682012-05-05 Stefan Merten <smerten@oekonux.de>
7069
7070 * textmodes/rst.el: Major merge with upstream development up to
7071 Docutils SVN r7399 / rst.el V1.2.1.
7072
7073 Clarify maintainership and authors.
7074
7075 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7076 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7077 (rst-official-version, rst-official-cvs-rev, rst-version)
7078 (rst-package-emacs-version-alist): New functions and variables
7079 for version information.
7080
7081 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7082 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7083 (rst-mode-syntax-table, rst-mode): New and corrected functions
7084 and variables representing reStructuredText features.
7085
7086 (rst-re): New function for reStructuredText regexes. Use in
7087 many places.
7088
7089 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7090 (rst-mode-map): Rebind keys.
7091
7092 (rst-mode-lazy, rst-font-lock-keywords)
7093 (rst-font-lock-extend-region)
7094 (rst-font-lock-extend-region-internal)
7095 (rst-font-lock-extend-region-extend)
7096 (rst-font-lock-find-unindented-line-limit)
7097 (rst-font-lock-find-unindented-line-match)
7098 (rst-adornment-level, rst-font-lock-adornment-level)
7099 (rst-font-lock-adornment-match)
7100 (rst-font-lock-handle-adornment-pre-match-form)
7101 (rst-font-lock-handle-adornment-matcher): Major revision of
7102 font-locking. Integrate with other code. Use `jit-lock-mode'.
7103
7104 (rst-preferred-adornments, rst-adjust-hook)
7105 (rst-new-adornment-down, rst-preferred-bullets)
7106 (rst-preferred-bullets, rst-indent, rst-indent-width)
7107 (rst-indent-field, rst-indent-literal-normal)
7108 (rst-indent-literal-minimized, rst-indent-comment): Change,
7109 extend and improve customization.
7110
7111 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7112 (rst-normalize-cursor-position, rst-get-decoration)
7113 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7114 (rst-rstrip, rst-toc-insert-find-delete-contents)
7115 (rst-shift-fill-region, rst-compute-bullet-tabs)
7116 (rst-debug-print-tabs, rst-debug-mark-found)
7117 (rst-shift-region-guts, rst-shift-region-right)
7118 (rst-shift-region-left, rst-use-char-classes)
7119 (rst-font-lock-keywords-function)
7120 (rst-font-lock-indentation-point)
7121 (rst-font-lock-find-unindented-line-begin)
7122 (rst-font-lock-find-unindented-line-end)
7123 (rst-font-lock-find-unindented-line)
7124 (rst-font-lock-adornment-point, rst-font-lock-level)
7125 (rst-adornment-level-alist): Remove functions and variables.
7126
7127 (rst-compare-adornments, rst-get-adornment-match)
7128 (rst-suggest-new-adornment, rst-get-adornments-around)
7129 (rst-adornment-complete-p, rst-get-next-adornment)
7130 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7131 (rst-straighten-adornments): Standardize function names to
7132 use "adornment" instead of "decoration". Correct callers.
7133 Similar standardizing in many places.
7134
7135 (rst-update-section, rst-adjust, rst-promote-region)
7136 (rst-enumerate-region, rst-bullet-list-region)
7137 (rst-repeat-last-character): Correct use of `interactive'.
7138
7139 (rst-classify-adornment, rst-find-all-adornments)
7140 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7141 (rst-find-leftmost-column, rst-repeat-last-character):
7142 Refactor functions.
7143
7144 (rst-find-title-line, rst-reset-section-caches)
7145 (rst-get-adornments-around, rst-adjust-adornment-work)
7146 (rst-arabic-to-roman, rst-roman-to-arabic)
7147 (rst-insert-list-pos, rst-insert-list-new-item)
7148 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7149 New functions.
7150
7151 (rst-all-sections, rst-section-hierarchy)
7152 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7153 New variables.
7154
7155 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7156 configuration instead of only buffer. Change where necessary.
7157
7158 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7159 (rst-shift-region, rst-adaptive-fill): New functions for
7160 indentation and filling.
7161
7162 (rst-comment-line-break, rst-comment-indent)
7163 (rst-comment-insert-comment, rst-comment-region)
7164 (rst-uncomment-region): New functions for handling comments.
7165
7166 (rst-compile): Quote shell arguments.
7167
7168 (rst-compile-pdf-preview, rst-compile-slides-preview):
7169 Delete temporary files after use.
7170
a43f98b3
GM
71712012-05-05 Glenn Morris <rgm@gnu.org>
7172
48176e8b
GM
7173 * calendar/cal-html.el: Optionally include holidays in the output.
7174 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7175 (cal-html-holidays): New option.
7176 (cal-html-css-default): Add holiday entry.
7177 (holiday-in-range): Autoload it.
7178 (cal-html-htmlify-entry): Add optional class argument.
7179 (cal-html-htmlify-list): Add optional holidays argument.
7180 (cal-html-insert-agenda-days): Include holidays in the output.
7181 (cal-html-one-month): Maybe include holidays.
7182
a43f98b3
GM
7183 * calendar/holidays.el (holiday-in-range):
7184 Move here from cal-tex-list-holidays.
7185 * calendar/cal-tex.el (cal-tex-list-holidays):
7186 Make it an obsolete alias for holiday-in-range. Update all callers.
7187
fef9d149 71882012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7189
7190 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7191 Nextstep.
7192
248da2f4
RW
71932012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7194
7195 * files.el (file-auto-mode-skip): New var.
7196 (set-auto-mode-1): Use it.
7197
f95e9344
SM
71982012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7199
df96ab1e
SM
7200 * repeat.el: Use lexical-binding.
7201 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7202 (repeat-undo-count): Remove.
7203 (repeat):
7204 * progmodes/octave-mod.el (octave-abbrev-start):
7205 * progmodes/f90.el (f90-abbrev-start):
7206 * face-remap.el (text-scale-adjust):
7207 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7208
5342bb06
SM
7209 * emacs-lisp/pcase.el (pcase--let*): New function.
7210 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7211 a bit more.
7212 (pcase--split-pred): Be more clever about ruling out overlap between
7213 a predicate and some constant pattern.
7214 (pcase--q1): Use `null' instead of (eq foo nil).
7215
f95e9344
SM
7216 * subr.el (setq-local, defvar-local): New macros.
7217 (kbd): Redefine as an alias.
7218 (with-selected-window): Leave unrelated frames alone.
7219 (set-temporary-overlay-map): New function.
7220
71873e2b
SM
72212012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7222
7223 * subr.el (user-error): New function.
7224 * window.el (switch-to-buffer):
7225 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7226 (smerge-match-conflict):
7227 * simple.el (previous-matching-history-element)
7228 (next-matching-history-element, goto-history-element, undo-more)
7229 (undo-start):
7230 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7231 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7232 (next-file, tags-loop-scan, list-tags, complete-tag):
7233 * progmodes/compile.el (compilation-loop):
7234 * mouse.el (mouse-minibuffer-check):
7235 * man.el (Man-bgproc-sentinel, Man-goto-page):
7236 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7237 (Info-history-forward, Info-follow-reference, Info-menu)
7238 (Info-extract-menu-item, Info-extract-menu-counting)
7239 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7240 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7241 (Info-next-reference, Info-prev-reference, Info-index)
7242 (Info-index-next, Info-follow-nearest-node)
7243 (Info-copy-current-node-name):
7244 * imenu.el (imenu--make-index-alist)
7245 (imenu-default-create-index-function, imenu-add-to-menubar):
7246 * files.el (basic-save-buffer, recover-file):
7247 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7248 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7249 (checkdoc-message-text, checkdoc-defun):
7250 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7251 * cus-edit.el (customize-changed-options, customize-rogue)
7252 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7253 (custom-variable-mark-to-reset-standard)
7254 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7255 (custom-file):
7256 * completion.el (check-completion-length):
7257 * comint.el (comint-search-arg)
7258 (comint-previous-matching-input-string-position)
7259 (comint-previous-matching-input)
7260 (comint-replace-by-expanded-history-before-point, comint-send-input)
7261 (comint-copy-old-input, comint-backward-matching-input)
7262 (comint-goto-process-mark, comint-set-process-mark):
7263 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7264 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7265
8a61ee22
SM
72662012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7267
66408d1e
SM
7268 * dabbrev.el (dabbrev--ignore-case-p): New function.
7269 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7270 Use it.
7271
8a61ee22
SM
7272 * files.el (automount-dir-prefix): Mark as obsolete.
7273
3c74813a
GM
72742012-05-04 Glenn Morris <rgm@gnu.org>
7275
7276 * patcomp.el, play/bruce.el: Move to obsolete/.
7277
0bfcf5c5
PE
72782012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7279
7280 Fix minor Y10k bugs.
7281 * arc-mode.el (archive-unixdate):
7282 * autoinsert.el (auto-insert-alist):
7283 * calc/calc-forms.el (math-this-year):
7284 * emacs-lisp/copyright.el (copyright-current-year)
7285 (copyright-update-year, copyright):
7286 * tar-mode.el (tar-clip-time-string):
7287 * time.el (display-time-update):
7288 Don't assume years have 4 digits.
7289
78f3273a
CY
72902012-05-04 Chong Yidong <cyd@gnu.org>
7291
7292 * dos-w32.el (file-name-buffer-file-type-alist)
7293 (direct-print-region-use-command-dot-com):
7294 * ffap.el (ffap-menu-regexp):
7295 * find-file.el (ff-special-constructs):
7296 * follow.el (follow-debug):
7297 * forms.el (forms--debug):
7298 * iswitchb.el (iswitchb-all-frames):
7299 * ido.el (ido-all-frames):
7300 * emacs-lisp/timer.el (timer-max-repeats):
7301 * mail/feedmail.el (feedmail-mail-send-hook)
7302 (feedmail-mail-send-hook-queued):
7303 * mail/footnote.el (footnote-signature-separator):
7304 * mail/mailabbrev.el (mail-alias-separator-string)
7305 (mail-abbrev-mode-regexp):
7306 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7307 * progmodes/idlwave.el (idlwave-libinfo-file)
7308 (idlwave-default-completion-case-is-down)
7309 (idlwave-library-routines): Convert defvars to defcustoms.
7310
7311 * mail/rmail.el (rmail-decode-mime-charset):
7312 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7313 (idlwave-shell-fix-inserted-breaks)
7314 (idlwave-shell-activate-alt-keybindings)
7315 (idlwave-shell-use-breakpoint-glyph):
7316 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7317
f7ae6719
SM
73182012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7319
7320 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7321
47086495
WS
73222012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7323
7324 * progmodes/verilog-mode.el (font-lock-keywords):
7325 Fix mis-highligting auto. Reported by Craig Barner.
7326 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7327 defines from global name space. Reported by Dan Dever.
47086495
WS
7328 (verilog-auto-reset, verilog-auto-reset-widths)
7329 (verilog-auto-tieoff): Support using unbased numbers for
7330 AUTORESET and AUTOTIEOFF.
7331 (verilog-submit-bug-report): Update variable list.
7332 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7333 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7334 (verilog-auto-template-lint): Fix hash error when linting modules
7335 with no used templates.
7336 (verilog-warn, verilog-warn-error)
7337 (verilog-warn-fatal): When non-interactive report multiple
7338 warnings before exiting. Suggested by Brad Dobbie.
7339 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7340 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7341 to report unused template errors. Reported by Brad Dobbie.
7342 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7343 nets, bug438. Reported by Vns Blore.
47086495
WS
7344 (verilog-auto-inout-module, verilog-auto-reg)
7345 (verilog-read-decls, verilog-read-sub-decls-sig)
7346 (verilog-signals-edit-wire-reg, verilog-signals-with):
7347 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7348 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7349 "reg" for backwards compatibility presuming Verilog 2001.
7350 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7351 (verilog-preprocess): Fix replication of preprocess output.
7352 Reported by Brad Dobbie.
7353 (verilog-auto-inst-interfaced-ports):
7354 Create verilog-auto-inst-interfaced-ports, bug429.
7355 Reported by Julian Gorfajn.
7356 (verilog-after-save-font-hook)
7357 (verilog-before-save-font-hook): New variable.
7358 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7359 (verilog-save-font-mods): Wrap disabling fontification, reported
7360 by David Rogoff.
7361 (verilog-do-indent, verilog-pretty-declarations-auto)
7362 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7363 Reported by Pierre-David Pfister.
7364 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7365 of class declarations, bug292. Reported by Kevin Heilman.
7366 (verilog-read-decls): Fix 'parameter type' not appearing in
7367 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7368 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7369 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7370 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7371 Reported by David Kravitz.
7372
73732012-05-03 Michael McNamara <mac@mail.brushroad.com>
7374
7375 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7376 assignment with tests in ifs and for loops.
7377 (verilog-extended-complete-re, verilog-complete-reg): Change so
7378 that DPI inport functions don't look like fuction declarations.
7379 (verilog-pretty-expr): Don't line up assignment
7380 operations to the test and increment in if and for loops
7381 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7382 that DPI inport functions don't look like fuction declarations.
47086495 7383
2e51d4b5
KH
73842012-05-03 Kenichi Handa <handa@m17n.org>
7385
7386 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7387 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7388 (Bug#11282).
7389
2bd785a2
SM
73902012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * emacs-lisp/bytecomp.el
7393 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7394 since cconv.el might have introduced :fun-body, internal-make-closure,
7395 and friends for bytecomp to handle (bug#11391).
7396 * custom.el (defcustom): Avoid ((λ ..) ..).
7397
99d27583
SM
73982012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7401
55a71479
JB
74022012-05-02 Juanma Barranquero <lekktu@gmail.com>
7403
7404 * notifications.el (dbus-debug):
7405 * term/linux.el (gpm-mouse-enable):
7406 * term/screen.el (xterm-register-default-colors): Declare.
7407
7b97c764
CY
74082012-05-02 Chong Yidong <cyd@gnu.org>
7409
2bc356d7
CY
7410 * cus-start.el (gc-cons-percentage, exec-suffixes)
7411 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7412 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7413 (make-cursor-line-fully-visible, void-text-area-pointer)
7414 (font-list-limit): Add customization data.
7415
7b97c764
CY
7416 * allout.el (allout-exposure-change-functions)
7417 (allout-structure-added-functions)
7418 (allout-structure-deleted-functions)
7419 (allout-structure-shifted-functions): Rename abnormal hooks from
7420 *-hook, and convert to defcustoms.
5d3385a0
JB
7421 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7422 Convert to defcustoms.
7b97c764
CY
7423 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7424
7425 * allout-widgets.el: Hook callers changed.
7426
90207a15 74272012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7428
7429 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7430 the yanked message in preference to the default value of
7431 buffer-file-coding-system.
7432
90207a15 74332012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7434
5d3385a0
JB
7435 * window.el (display-buffer--action-function-custom-type):
7436 Fix entry.
d9558cad 7437
90207a15 74382012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7439
7440 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7441
d80ac57b
GM
74422012-05-01 Glenn Morris <rgm@gnu.org>
7443
976f7668
GM
7444 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7445
beb83b5a
GM
7446 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7447
d80ac57b
GM
7448 * cus-edit.el (custom-variable-documentation): Simplify with format.
7449
b593d6a9 74502012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7451 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7452
7453 * simple.el (suggest-key-bindings, execute-extended-command):
7454 Move from keyboard.c.
7455
782fbf2a
CY
74562012-05-01 Chong Yidong <cyd@gnu.org>
7457
7458 * follow.el: Eliminate advice.
7459 (set-process-filter, process-filter, sit-for): Advice deleted.
7460 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7461 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7462 Vars deleted.
782fbf2a
CY
7463 (follow-auto): Use a :set function.
7464 (follow-mode): Rewritten. Don't advise process filters.
7465 (follow-switch-to-current-buffer-all, follow-scroll-up)
7466 (follow-scroll-down): Assume follow-mode is bound.
7467 (follow-comint-scroll-to-bottom)
7468 (follow-align-compilation-windows): New functions.
7469 (follow--window-sorter): New function.
7470 (follow-all-followers): Use it to explicitly sort windows by their
7471 positions; don't make assumptions about next-window order.
7472 (follow-windows-start-end, follow-delete-other-windows-and-split)
7473 (follow-calc-win-start): Doc fix.
7474 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7475 vertical-motion unnecessarily.
7476 (follow-adjust-window): New function.
7477 (follow-post-command-hook): Use it.
7478 (follow-call-set-process-filter, follow-call-process-filter)
7479 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7480 (follow-stop-intercept-process-output, follow-generic-filter):
7481 Functions deleted.
7482 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7483 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7484 New functions, replacing advice on scroll-bar-* commands.
87233a14 7485 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7486
7487 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7488 (comint-postoutput-scroll-to-bottom): Use it.
7489 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7490
290af740
GM
74912012-05-01 Glenn Morris <rgm@gnu.org>
7492
7493 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7494 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7495 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7496 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7497 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7498 Remove no-byte-compile setting.
7499
6eac8dc9
SM
75002012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7501
7502 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7503 all-completions code to not return a number in the last cdr.
7504
9cc7819c
LL
75052012-04-30 Leo Liu <sdl.web@gmail.com>
7506
7507 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7508 read-only error.
7509
c93b886f
CY
75102012-04-29 Chong Yidong <cyd@gnu.org>
7511
7512 * follow.el (follow-calc-win-end): Rewrite to handle partial
7513 screen lines correctly (Bug#8390).
7514 (follow-avoid-tail-recenter): Minor cleanup.
7515
8b6c19f4
SM
75162012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 Avoid the obsolete `assoc' package.
7519 * speedbar.el (speedbar-refresh): Avoid adelete.
7520 (speedbar-file-lists): Simplify and avoid aput.
7521 * man.el (Man--sections, Man--refpages): New vars, replacing
7522 Man-sections-alist and Man-refpages-alist.
7523 (Man-build-section-alist, Man-build-references-alist):
7524 Use them; avoid aput.
7525 (Man--last-section, Man--last-refpage): New vars.
7526 (Man-follow-manual-reference): Use them.
7527 Use the `default' arg of completing-read.
7528 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7529
c5bb7569
CY
75302012-04-27 Chong Yidong <cyd@gnu.org>
7531
d1d2e2e8
CY
7532 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7533
15cd8efd
CY
7534 * startup.el (x-apply-session-resources): New function.
7535
7536 * term/ns-win.el (ns-initialize-window-system):
7537 * term/w32-win.el (w32-initialize-window-system):
7538 * term/x-win.el (x-initialize-window-system): Use it to properly
7539 set menu-bar-mode and other vars from X resources, even if the
7540 initial frame is not a window-system frame (Bug#2299).
7541
c5bb7569
CY
7542 * subr.el (read-key): Avoid running filter function when setting
7543 up temporary tool bar entries (Bug#9922).
7544
a8e7d6d7 75452012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7546
7547 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7548 (Bug#11344)
7549
a8e7d6d7 75502012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7551
7552 * select.el (xselect--encode-string): New function, split from
7553 xselect-convert-to-string.
7554 (xselect-convert-to-string): Use it.
7555 (xselect-convert-to-filename, xselect-convert-to-os)
7556 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7557 returned strings are properly encoded (Bug#11315).
7558
a8e7d6d7 75592012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7560
7561 * simple.el (delete-active-region): Move to killing custom group.
7562
a8e7d6d7 75632012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7564
7565 * progmodes/which-func.el (which-func-current): Quote %
7566 characters for mode-line processing.
7567
578c1d4b 75682012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7569
7570 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7571 reaching eob (Bug#11286).
7572
a8e7d6d7 75732012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7574
7575 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7576 (gdb): Make it buffer-local and init to zero.
7577 (gdb-control-commands-regexp): New variable.
7578 (gdb-send): Don't wrap in "-interpreter-exec console" if
7579 gdb-control-level is positive. Increment gdb-control-level
7580 whenever the command matches gdb-control-commands-regexp, and
7581 decrement it each time the command is "end". (Bug#11279)
7582
a8e7d6d7 75832012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7584
7585 * window.el (adjust-window-trailing-edge, enlarge-window)
7586 (shrink-window, window-resize):
7587 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7588 windows (Bug#11276).
7589
b3608390
CY
75902012-04-27 Chong Yidong <cyd@gnu.org>
7591
7592 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7593 fix "missing prefix" warning. All callers changed.
b3608390 7594
797e6e88
SM
75952012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * emacs-lisp/assoc.el: Move to obsolete/.
7598
e95a67dc
SM
75992012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7600
657c21e4 7601 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7602
7603 * term/ns-win.el (ns-define-service):
7604 * progmodes/pascal.el (pascal-goto-defun):
7605 * progmodes/js.el (js--read-tab):
7606 * progmodes/etags.el (tags-lazy-completion-table):
7607 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7608 * emacs-lisp/ewoc.el (ewoc--wrap):
7609 * emacs-lisp/assoc.el (aput, adelete, amake):
7610 * doc-view.el (doc-view-convert-current-doc):
7611 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7612
cb3e7ae0
CY
76132012-04-26 Chong Yidong <cyd@gnu.org>
7614
dce04f7f
CY
7615 * image.el (image-type-from-buffer): Only return supported image
7616 type (Bug#9045).
7617
cb3e7ae0
CY
7618 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7619 value, for symmetry with diff-end-of-hunk.
7620 (diff-split-hunk, diff-find-source-location)
7621 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7622 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7623 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7624 compute the relevant hunk or file properly (Bug#6005).
7625 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7626
0d42eb3e
SM
76272012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7628
7629 * vc/vc-mtn.el:
7630 * vc/vc-hg.el:
7631 * vc/vc-git.el:
7632 * vc/vc-dir.el:
7633 * vc/vc-cvs.el:
7634 * vc/vc-bzr.el:
7635 * vc/vc-arch.el:
7636 * vc/vc.el: Replace lexical-let by lexical-binding.
7637 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7638 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7639 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7640
f08ae1c9
CY
76412012-04-26 Chong Yidong <cyd@gnu.org>
7642
8b71081d
CY
7643 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7644 (diff-mode-shared-map): Bind it to / and [remap undo].
7645
f08ae1c9
CY
7646 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7647 (ediff-window-setup-function): Use it as the default, to set up
7648 windows based on whether the current frame is graphical (Bug#2138).
7649 (ediff-choose-window-setup-function-automatically): Make obsolete.
7650
7651 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7652
ef24141c
SM
76532012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7654
cc356a5d
SM
7655 * ffap.el: Remove old code for obsolete package.
7656 (ffap-complete-as-file-p): Remove.
7657
b4ff4f1f
SM
7658 Use completion-table-with-quoting for comint and pcomplete.
7659 * comint.el (comint--unquote&requote-argument)
7660 (comint--unquote-argument, comint--requote-argument): New functions.
7661 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7662 (comint-quote-filename): Use regexp-opt-charset.
7663 (comint--common-suffix, comint--common-quoted-suffix)
7664 (comint--table-subvert): Remove.
7665 (comint-unquote-function, comint-requote-function): New vars.
7666 (comint--complete-file-name-data): Use them with
7667 completion-table-with-quoting.
7668 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7669 * pcomplete.el (pcomplete-arg-quote-list)
7670 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7671 (pcomplete-unquote-argument-function): Default to non-nil.
7672 (pcomplete-unquote-argument): Simplify.
7673 (pcomplete--common-quoted-suffix): Remove.
7674 (pcomplete-requote-argument-function): New var.
7675 (pcomplete--common-suffix): New function.
7676 (pcomplete-completions-at-point): Use completion-table-with-quoting
7677 and completion-table-subvert.
7678
79c4eeb4
SM
7679 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7680 (minibuffer--double-dollars): Preserve properties.
7681 (completion--sifn-requote): New function.
7682 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7683
ef24141c
SM
7684 * minibuffer.el: Add support for completion of quoted/escaped data.
7685 (completion-table-with-quoting, completion-table-subvert): New funs.
7686 (completion--twq-try, completion--twq-all): New functions.
7687 (completion--nth-completion): New function.
7688 (completion-try-completion, completion-all-completions): Use it.
7689
784e7d6e
LL
76902012-04-25 Leo Liu <sdl.web@gmail.com>
7691
dd2ac746
SM
7692 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7693 Use compilation-message if available to find real filename.
784e7d6e 7694
07875ee7
CY
76952012-04-25 Chong Yidong <cyd@gnu.org>
7696
7697 * vc/diff-mode.el (diff-setup-whitespace): New function.
7698 (diff-mode): Use it.
7699
7700 * vc/diff.el (diff-sentinel):
7701 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7702 Whitespace mode variables based on diff style (Bug#8612).
7703
5055880d
LL
77042012-04-25 Leo Liu <sdl.web@gmail.com>
7705
daf75653
LL
7706 * progmodes/python.el (python-send-region): Add suffix .py to the
7707 temp file.
7708
5055880d
LL
7709 * files.el (auto-mode-alist): Use javascript-mode instead.
7710
db9b177b
AH
77112012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7712
ef24141c 7713 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7714
090bd7cb 7715 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7716 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7717 references, see Bug#9.
ef24141c 7718 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7719 when receiving a fault reply.
ef24141c 7720 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7721
090bd7cb 7722 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7723 (soap-inspect-simple-type): New function.
db9b177b 7724
090bd7cb 7725 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7726 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7727 (soap-decode-basic-type, soap-encode-basic-type):
7728 support unsignedInt and double basic types.
db9b177b 7729 (soap-resolve-references-for-simple-type)
ef24141c
SM
7730 (soap-parse-simple-type, soap-encode-simple-type): New function.
7731 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7732
090bd7cb 7733 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7734 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7735 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7736 the local name of "soapenc:Array".
7737 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7738 decoding integer, byte and anyURI xsd types.
7739
1fc6097b
CY
77402012-04-25 Chong Yidong <cyd@gnu.org>
7741
7742 * cus-edit.el (custom-buffer-create-internal): Update header text.
7743
afc6df87
EZ
77442012-04-25 Eli Zaretskii <eliz@gnu.org>
7745
7746 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7747 settings on 'system-type', not on 'window-system'. On MS-Windows,
7748 set interactive-mode on in GDB.
7749
dfbd787f
SM
77502012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7751
7752 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7753 (ruby-syntax-propertize-regexp): Remove.
7754 (ruby-syntax-propertize-function): Split regexp into chunks.
7755 Match following code directly.
7756
85222d44
DG
77572012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7758
51a8ea2a
DG
7759 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7760 (ruby-syntax-propertize-regexp): New function.
7761 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7762 by a special keyword.
7763
85222d44
DG
7764 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7765 (ruby-syntax-general-delimiters-goto-beg)
7766 (ruby-syntax-propertize-general-delimiters): New functions.
7767 (ruby-syntax-propertize-function): Use them to handle GDL.
7768 (ruby-font-lock-keywords): Move old handling of GDL...
7769 (ruby-font-lock-syntactic-keywords): .. to here.
7770 (ruby-calculate-indent): Adjust indentation for GDL.
7771
b613912b
MA
77722012-04-24 Michael Albinus <michael.albinus@gmx.de>
7773
b5380639
MA
7774 * notifications.el (top): Remove unneeded declarations.
7775 (notifications-specification-version): Change to "1.2".
e43042fe 7776 (notifications-interface, notifications-notify-method)
b613912b
MA
7777 (notifications-close-notification-method): Fix docstring.
7778 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7779 (notifications-notify): Add :action-items, :resident and
7780 :transient hints. Change "image_data" to "image-data" and
7781 "image_path" to "image-path".
b613912b
MA
7782 (notifications-get-capabilities): New defun.
7783
257440aa
LL
77842012-04-24 Leo Liu <sdl.web@gmail.com>
7785
7786 * progmodes/python.el: Move hideshow setup to the end.
7787
b1bac16e
MR
77882012-04-24 Martin Rudalics <rudalics@gmx.at>
7789
7790 * window.el (handle-select-window): Clear echo area since this is
7791 no more done by read_char (Bug#11304).
7792
d81bd059
SM
77932012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7796 and `/ M' to filter-derived-mode.
7797 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7798 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7799 (ibuffer-mark-by-mode): Use default rather than initial-input.
7800 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7801
c4cf6d91
IA
78022012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7803
7804 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7805 (ibuffer-filter-by-derived-mode): New filter.
7806 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7807
7511ded8
CY
78082012-04-23 Andreas Politz <politza@fh-trier.de>
7809
7810 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7811
775c916b
CY
78122012-04-23 Chong Yidong <cyd@gnu.org>
7813
7814 * cus-edit.el (customize-apropos, customize-apropos-options):
7815 Disable matching of non-option variables (Bug#11176).
7816 (customize-option, customize-option-other-window)
7817 (customize-changed-options): Doc fix.
7818 (customize-apropos-options, customize-apropos-faces)
7819 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7820
7821 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7822 Fix word list splitting (Bug#11132).
46c71e23
CY
7823 (apropos-symbol, apropos-keybinding, apropos-label)
7824 (apropos-property, apropos-function-button)
7825 (apropos-variable-button, apropos-misc-button): New faces.
7826 (apropos-symbol-face, apropos-keybinding-face)
7827 (apropos-label-face, apropos-property-face, apropos-match-face):
7828 Variables removed (Bug#8396).
7829 (apropos-library-button, apropos-format-plist, apropos-print)
7830 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7831
2df41f9c
MA
78322012-04-23 Michael Albinus <michael.albinus@gmx.de>
7833
7834 * net/xesam.el (xesam-mode-map): Use let-bound map in
7835 initialization. (Bug#11292)
7836
da00640a
AM
78372012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7838
7839 Preserve ispell session localwords when switching back to
7840 original buffer.
7841
090bd7cb
JB
7842 * textmodes/ispell.el (ispell-buffer-session-localwords):
7843 New buffer-local variable to hold buffer session localwords.
ed9265fc 7844 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7845 localwords.
7846 (ispell-command-loop, ispell-change-dictionary)
7847 (ispell-buffer-local-words): Preserve session localwords when
7848 needed.
7849
090bd7cb
JB
7850 * textmodes/flyspell.el (flyspell-process-localwords)
7851 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7852
f621ccf5
AM
78532012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7854
090bd7cb
JB
7855 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7856 using obsolete `translation-table-for-input'.
ef24141c
SM
7857 (ispell-word, ispell-process-line, ispell-complete-word):
7858 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7859
c2d1019e
CY
78602012-04-22 Chong Yidong <cyd@gnu.org>
7861
7862 * cus-edit.el (custom-variable-menu)
7863 (custom-variable-reset-saved, custom-face-menu)
7864 (custom-face-reset-saved): If there is no saved value, make the
7865 "reset-saved" operation bring back the default (Bug#9509).
7866 (custom-face-state): Properly detect themed faces.
7867
eeddc531
CY
7868 * faces.el (face-spec-set): Stop supporting deprecated form of
7869 third arg.
7870
dcbf5805
MA
78712012-04-22 Michael Albinus <michael.albinus@gmx.de>
7872
7873 Move functions from C to Lisp. Make non-blocking method calls
7874 the default. Implement further D-Bus standard interfaces.
7875
ef24141c
SM
7876 * net/dbus.el (dbus-message-internal): Declare function.
7877 Remove unneeded function declarations.
dcbf5805
MA
7878 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7879 (dbus-message-type-method-return, dbus-message-type-error)
7880 (dbus-message-type-signal): Declare variables. Remove local
7881 definitions.
7882 (dbus-interface-dbus, dbus-interface-peer)
7883 (dbus-interface-introspectable, dbus-interface-properties)
7884 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7885 Adapt docstring.
7886 (dbus-interface-objectmanager): New defconst.
7887 (dbus-call-method, dbus-call-method-asynchronously)
7888 (dbus-send-signal, dbus-method-return-internal)
7889 (dbus-method-error-internal, dbus-register-service)
7890 (dbus-register-signal, dbus-register-method): New defuns, moved
7891 from dbusbind.c
7892 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7893 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7894 New defuns.
dcbf5805
MA
7895 (dbus-call-method-non-blocking): Make it an obsolete function.
7896 (dbus-unregister-object, dbus-unregister-service)
7897 (dbus-handle-event, dbus-register-property)
7898 (dbus-property-handler): Obey the new structure of
7899 `bus-registered-objects'.
7900 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7901 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7902 Use `dbus-call-method'.
7903
cf20dee0
CY
79042012-04-22 Chong Yidong <cyd@gnu.org>
7905
7906 * cus-edit.el (custom-commands, custom-reset-menu)
7907 (Custom-reset-standard): Tweak labels.
7908 (custom-reset-button-menu): Change default to t.
7909 (custom-buffer-create-internal): For the custom-reset-button-menu
7910 case, put the revert button first.
7911 (custom-group-subtitle): New face.
7912 (custom-group-value-create): Align docstring to a specific column.
7913
7914 * wid-edit.el (widget-documentation-link-add): Don't handle
7915 indentation in this function.
7916 (widget-documentation-string-indent-to): New function.
7917 (widget-documentation-string-value-create): Use it.
7918
7919 * autorevert.el (auto-revert):
7920 * epg-config.el (epg):
7921 * ibuffer.el (ibuffer):
7922 * mpc.el (mpc):
7923 * ses.el (ses):
7924 * eshell/eshell.el (eshell):
7925 * net/ange-ftp.el (ange-ftp):
7926 * progmodes/ebnf2ps.el (postscript):
7927 * progmodes/flymake.el (flymake):
7928 * progmodes/prolog.el (prolog):
7929 * progmodes/verilog-mode.el (verilog-mode):
7930 * progmodes/which-func.el (which-func):
7931 * term/xterm.el (xterm):
7932 * textmodes/picture.el (picture):
7933 * textmodes/tildify.el (tildify):
7934 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7935 customization buffers.
7936
583e23bd
AM
79372012-04-22 Alan Mackenzie <acm@muc.de>
7938
7939 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7940 Adding a ) can hide the resulting (..) from searches. Fix it.
7941 Bound the backward search to the position of the existing (.
7942
7dd51bf1
JB
79432012-04-21 Juanma Barranquero <lekktu@gmail.com>
7944
7945 * progmodes/verilog-mode.el (verilog-mode): Check whether
7946 which-func-modes is t before adding verilog-mode.
7947 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7948
d64a438f
LL
79492012-04-21 Leo Liu <sdl.web@gmail.com>
7950
7dd51bf1 7951 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7952
081e8d65
MV
79532012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7954
7955 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7956 filling of the last column of a table (Bug#5635).
7957 (woman-find-next-control-line): New arg, specifying an additional
7958 regexp component for the control line.
7959 (woman2-roff-buffer): Use it.
7960 (woman-break-table): New function.
7961 (woman2-TS): Use it.
7962
79632012-04-21 Chong Yidong <cyd@gnu.org>
7964
7965 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7966 (woman-horizontal-escapes, woman-negative-vertical-space)
7967 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7968 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7969
ed571ccb
SM
79702012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * minibuffer.el (completion-file-name-table): Complete user names.
7973
39773899
LL
79742012-04-20 Leo Liu <sdl.web@gmail.com>
7975
7976 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7977 and pcase-let*.
7978
de6ff46d
CY
79792012-04-20 Chong Yidong <cyd@gnu.org>
7980
7981 * server.el (server-execute): Respect initial-buffer-choice if it
7982 is a string and there are no files to open (Bug#2825).
7983 (server-create-window-system-frame, server-create-tty-frame):
7984 Don't switch buffers here.
2d0e8e61
CY
7985 (server-process-filter): Only try to open a window system frame if
7986 compiled with graphical support (Bug#8314).
de6ff46d 7987
54071013
DN
79882012-04-20 Dan Nicolaescu <dann@gnu.org>
7989
7990 * battery.el (battery-echo-area-format): Display remaining time
7991 for sysfs backend too (Bug#11269).
7992 (battery-linux-sysfs): Fix conditional for the charge.
7993
f30d612a
CY
79942012-04-20 Chong Yidong <cyd@gnu.org>
7995
c07a4c0b 7996 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7997 (gdb-inferior-io--init-proc): New function.
7998 (gdb-init-1): Use it.
7999 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8000 responsible for allocating a new pty and hooking it to gdb when
8001 the old pty gets an EIO due to process exit.
8002 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8003 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8004 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8005
2116e93c
EZ
80062012-04-20 Eli Zaretskii <eliz@gnu.org>
8007
8008 * window.el (window-min-size, window-sizable, window-min-delta)
8009 (window-max-delta, window--resizable, window-resizable)
8010 (window-total-size, window-full-height-p, window-full-width-p)
8011 (window-in-direction, window--resize-mini-window, window-resize)
8012 (window--resize-child-windows-normal)
8013 (window--resize-child-windows, window--resize-siblings)
8014 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8015 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8016
c07a4c0b 80172012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8018
ef24141c
SM
8019 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8020 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8021 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8022 pty process (Bug#11273).
8023 (gdb-update): New arg to suppress talking to the gdb process.
8024 (gdb-done-or-error): Use it.
8025 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8026 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8027 sentinel not being called.
8028
8029 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8030
d02766ab
CY
8031 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8032
c07a4c0b 80332012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8034
8035 * net/network-stream.el (open-network-stream): Doc fix.
8036
c07a4c0b 80372012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8038
8039 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8040
c07a4c0b 80412012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8042
8043 Ensure searching for keywords is case sensitive.
8044
8045 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8046 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8047 (c-defun-name, c-mark-function, c-cpp-define-name)
8048 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8049 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8050
ef24141c
SM
8051 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8052 Bind case-fold-search to nil.
f0f6bc35 8053
c07a4c0b 80542012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8055
8056 * mail/sendmail.el (mail-bury): Call return action with the right
8057 Rmail buffer (Bug#11242).
8058
9a864fa2
CY
8059 * server.el (server-process-filter): Handle corner case where both
8060 tty and nowait options are present (Bug#11102).
8061
539aa513
EZ
80622012-04-20 Eli Zaretskii <eliz@gnu.org>
8063
8064 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8065 (top level): Put into the executable the ident-style '$Id:' tag on
8066 windows-nt as well.
539aa513 8067
cfc7d5da
SM
80682012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * electric.el (electric-indent-post-self-insert-function): Check that
8071 electric-indent-mode is enabled in current buffer.
8072
5b01685c
JB
80732012-04-19 Juanma Barranquero <lekktu@gmail.com>
8074
8075 * imenu.el (imenu-progress-message): Restore; it is "used" in
8076 erc/erc-imenu.el and net/snmp-mode.el.
8077
4d6769e1
JB
80782012-04-19 Juanma Barranquero <lekktu@gmail.com>
8079
8080 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8081 (mouse-avoidance-nudge-mouse): Remove unused binding.
8082
8083 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8084
8085 * descr-text.el (describe-char):
8086 * progmodes/python.el (python-describe-symbol):
8087 Don't call `toggle-read-only', set `buffer-read-only'.
8088
8089 * imenu.el (imenu-default-goto-function): Mark unused args.
8090 (imenu-progress-message): Remove obsolete macro; all callers changed.
8091
8092 * subr.el (keymap-canonicalize): Remove unused binding.
8093 (read-passwd): Mark unused arg.
8094
8095 * tutorial.el (tutorial--display-changes): Remove unused binding.
8096 (tutorial--save-tutorial-to): Remove unused variable.
8097
8098 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8099 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8100 (package-generate-autoloads, package-menu--generate)
8101 (package-menu--find-upgrades): Remove unused bindings.
8102
8103 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8104 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8105 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8106 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8107 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8108 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8109 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8110 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8111 (cua-delete-char-rectangle): Mark unused args.
8112 (cua-align-rectangle): Remove unused binding.
8113
8114 * mail/rmail.el (compilation--message->loc)
8115 (epa--find-coding-system-for-mime-charset): Declare.
8116
8117 * net/dbus.el (dbus-register-service): Declare.
8118 (dbus-name-owner-changed-handler): Remove unused binding.
8119
8120 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8121 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8122 (nxml-scan-backward-within): Mark unused arg.
8123 (nxml-dynamic-markup-word): Remove unused binding.
8124
8125 * mouse.el (mouse-menu-major-mode-map):
8126 * emacs-lisp/authors.el (authors-scan-change-log)
8127 (authors-add-to-author-list):
8128 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8129 * emacs-lisp/smie.el (smie-auto-fill):
8130 * mail/sendmail.el (mail-bury):
8131 * mail/unrmail.el (unrmail):
8132 * net/tls.el (open-tls-stream):
8133 * textmodes/picture.el (picture-mouse-set-point):
8134 Remove unused bindings.
8135
8c8fc5df
MA
81362012-04-19 Michael Albinus <michael.albinus@gmx.de>
8137
8138 * net/tramp.el (tramp-action-password): Let-bind
8139 `enable-recursive-minibuffers' to t.
8140
a77b0ac9
SS
81412012-04-18 Sam Steingold <sds@gnu.org>
8142
8143 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8144 instead of 'string to accommodate values like [f11].
8145 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8146 * progmodes/gdb-mi.el: Likewise.
8147
12a106a9
LL
81482012-04-18 Leo Liu <sdl.web@gmail.com>
8149
8150 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8151 current buffer.
8152 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8153 LOCAL is nil.
8154
bc6494ef
CY
81552012-04-18 Chong Yidong <cyd@gnu.org>
8156
8157 * simple.el (line-move): Use forward-line if in batch mode
8158 (Bug#11053).
8159
c09c46b2
CS
81602012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8161
8162 * files.el (after-find-file): Do not try to add a final newline if
8163 the buffer is read-only (Bug#11156).
8164
5f6530ea
RS
81652012-04-17 Richard Stallman <rms@gnu.org>
8166
8167 * mail/rmail.el (rmail-start-mail):
8168 Pass (rmail-mail-return...) for the return-action.
8169 Pass (rmail-yank-current-message...) for the yank-action.
8170 (rmail-yank-current-message): New function.
8171 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8172 (rmail-reply): Likewise.
8173 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8174
8175 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8176 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8177 buffer, not newbuf.
8178
197b6f3c
JB
81792012-04-17 Juanma Barranquero <lekktu@gmail.com>
8180
8181 * server.el (server-ensure-safe-dir): Simplify.
8182
2311d8e5 81832012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8184
2311d8e5
GM
8185 * emacs-lisp/smie.el: Provide smarter auto-filling.
8186 (smie-auto-fill): New function.
8187 (smie-setup): Use it.
98fb480e 8188
2311d8e5
GM
8189 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8190
81912012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8192
8193 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8194 (comment-indent): Use it.
8195
2311d8e5 81962012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8197
8198 * ses.el: The overall change is to add cell renaming, that is
8199 setting fancy names for cell symbols other than name matching
8200 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8201 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8202 (ses-create-cell-variable): New defun.
2311d8e5 8203 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8204 (ses-relocate-formula): Relocate formulas only for cells the
8205 symbols of which are not renamed, i.e. symbols whose names do not
8206 match regexp "\\`[A-Z]+[0-9]+\\'".
8207 (ses-relocate-all): Relocate values only for cells the symbols of
8208 which are not renamed.
8209 (ses-load): Create cells variables as the (ses-cell ...) are read,
8210 in order to check row col consistency with cell symbol name only
8211 for cells that are not renamed.
8212 (ses-replace-name-in-formula): New defun.
8213 (ses-rename-cell): New defun.
4bdf2ad2 8214
fc72b15c
PO
82152012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8216
8217 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8218 New option (bug#11118).
8219 (perl-calculate-indent): Respect it.
8220
12e10e61
GM
82212012-04-17 Glenn Morris <rgm@gnu.org>
8222
8223 * dired-aux.el (dired-mark-read-string): Doc fix.
8224
30009afd
DA
82252012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8226
8227 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8228 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8229
41f03f4d
GM
82302012-04-17 Glenn Morris <rgm@gnu.org>
8231
8232 * mouse.el (mouse-drag-track):
8233 * speedbar.el (speedbar-frame-mode):
8234 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8235
f45f90f3
LL
82362012-04-16 Leo Liu <sdl.web@gmail.com>
8237
8238 * progmodes/python.el: Trivial cleanup.
8239
94ee8db5
GM
82402012-04-16 Glenn Morris <rgm@gnu.org>
8241
121b8917
GM
8242 * vc/vc.el (vc-string-prefix-p):
8243 * vc/pcvs-util.el (cvs-string-prefix-p):
8244 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8245 * mpc.el (mpc-string-prefix-p):
8246 Make all of these into obsolete aliases for string-prefix-p.
8247 Update callers.
8248 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8249
1197ecfa
GM
8250 * textmodes/two-column.el: Move custom options to the start.
8251 (frame-width): Remove compat definition.
8252 (2C-associate-buffer, 2C-dissociate):
8253 Use with-current-buffer rather than save-excursion.
8254 (2C-dissociate): Force a mode-line update.
8255 (2C-autoscroll): Use ignore-errors.
8256
099e7202
GM
8257 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8258 Autoload trivia.
8259
bf350d6a
GM
8260 * emacs-lisp/cl-extra.el (*random-state*):
8261 Remove unnecessary declaration.
8262
0e829eab
GM
8263 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8264
e3ad7552
GM
8265 * play/cookie1.el (cookie-snarf):
8266 Give an explicit error if input file cannot be read.
8267
68892d27
GM
8268 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8269
20f0c46d
GM
8270 * progmodes/perl-mode.el (c-macro-expand):
8271 Remove unnecessary autoload (it is in loaddefs.el).
8272
5a0978ce
GM
8273 * textmodes/picture.el (picture-desired-column)
8274 (picture-update-desired-column): Convert comments to doc-strings.
8275 (picture-substitute): Remove function.
8276 (picture-mode-map): Initialize in the defvar.
8277
6b955486
GM
8278 * woman.el: Remove eval-after-load for tar-mode.
8279 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8280 (woman-tar-extract-file): Autoload it.
8281
94ee8db5
GM
8282 * frame.el (automatic-hscrolling): Make this alias obsolete.
8283
177eca34
AM
82842012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8285
090bd7cb 8286 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8287 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8288 (ispell-dictionary-base-alist): Revert to original XEmacs
8289 friendly version for default. [:alpha:] will be added in
090bd7cb 8290 `ispell-set-spellchecker-params' if needed.
177eca34 8291
c505aaeb
CY
82922012-04-16 Chong Yidong <cyd@gnu.org>
8293
b19dd9d1 8294 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8295 (imagemagick-register-types): Use it.
8296 (imagemagick-types-inhibit): Add :set function. Allow new value
8297 of t to inhibit all types.
8298
8299 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8300 so we can preload it.
8301
8302 * loadup.el (fboundp): Preload regexp-opt, needed by
8303 imagemagick-register-types.
8304
60efac0f
CY
83052012-04-15 Chong Yidong <cyd@gnu.org>
8306
8307 * frame.el (scrolling): Remove nearly unused customization group.
8308
8309 * scroll-all.el (scroll-all-mode): Move to windows group.
8310
5dd1713e
CY
83112012-04-15 Chong Yidong <cyd@gnu.org>
8312
8313 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8314
e6fd457e
CY
83152012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8316
8317 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8318 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8319
e153c136
GM
83202012-04-15 Glenn Morris <rgm@gnu.org>
8321
8322 * simple.el (process-file-side-effects): Doc fix.
8323
e6fd457e 83242012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8325
8326 * international/mule-cmds.el (set-language-environment): Doc fix.
8327
3603c3b1
JB
83282012-04-14 Juanma Barranquero <lekktu@gmail.com>
8329
8330 * server.el (server-auth-key, server-generate-key): Doc fixes.
8331 (server-get-auth-key): Doc fix. Use `string-match-p'.
8332 (server-start): Reflow docstring.
8333
e6de100c
LI
83342012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8335
8336 * server.el (server-generate-key): `called-interactively-p'
8337 requires a parameter.
8338
29734c21
MN
83392012-04-14 Michal Nazarewicz <mina86@mina86.com>
8340
8341 * server.el (server-auth-key): New variable.
75f1671a 8342 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8343 (server-start): Use the new variable and functions to allow
8344 setting a permanent server key (bug#9423).
8345
d65c9521
LL
83462012-04-14 Leo Liu <sdl.web@gmail.com>
8347
8348 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8349
5ae255c7
PE
83502012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8351
8352 Spelling fixes.
8353 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8354 Emacs uses American spelling.
8355
d5e6342e
JB
83562012-04-14 Juanma Barranquero <lekktu@gmail.com>
8357
8358 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8359 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8360 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8361 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8362
ab036cd7
SM
83632012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8364
8365 * progmodes/which-func.el (which-func-modes): Change default.
8366
35dc09a1 83672012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8368
8369 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8370 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8371
35dc09a1 83722012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8373
8374 * custom.el (custom-theme-set-variables): Doc fix.
8375
35dc09a1 83762012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8377
8378 * international/mule.el (set-auto-coding-for-load): Doc fix.
8379
35dc09a1 83802012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8381
35dc09a1
GM
8382 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8383 imenu work again for Objective C Mode. Correct the *-index values,
8384 these having been disturbed by a previous change in 2011-08.
57f845ee 8385
0de3da9f
AM
8386 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8387 Correct two search limits.
8388
35dc09a1 83892012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8390
8391 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8392
35dc09a1 83932012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8394
8395 * international/characters.el: Fix sorting.
8396
35dc09a1 83972012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8398
8399 * international/characters.el: Add more missing Latin case pairs.
8400
35dc09a1 84012012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8402
8403 * files.el (dir-locals-set-class-variables): Doc fix.
8404
35dc09a1 84052012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8406
3f1b5bf8
EZ
8407 * international/characters.el: Add set-case-syntax-pair call for
8408 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8409 counterpart. (Bug#11209)
8410
9f847f41
EZ
8411 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8412
35dc09a1 84132012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8414
8415 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8416
35dc09a1 84172012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8418
35dc09a1
GM
8419 * textmodes/ispell.el (ispell-dictionary-base-alist):
8420 Add data for Hebrew.
e2627d21 8421
35dc09a1 84222012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8423
35dc09a1
GM
8424 * net/rcirc.el (rcirc-cmd-quit):
8425 Revert 2012-03-18 change (Bug#11192).
5c14e333 8426
35dc09a1 84272012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8428
8429 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8430
35dc09a1 84312012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8432
4517fe3a
SM
8433 * minibuffer.el (completion-in-region-mode-map):
8434 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8435
b472a594
VD
84362012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8437
8438 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8439
09b95ce3
MY
84402012-04-13 Masatake YAMATO <yamato@redhat.com>
8441
8442 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8443 to allow `C-M-f' and `C-M-b' to move to the nearest path
8444 separator (bug#9511).
8445
4b63a9ca
LI
84462012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8447
8448 * avoid.el: Require cl when compiling. And also move the
8449 `provide' to the end.
8450
7b55b8bf
TV
84512012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8452
8453 * avoid.el (mouse-avoidance-banish-position): New variable.
8454 (mouse-avoidance-banish-destination): Use it (bug#10165).
8455
adedaa1f
LL
84562012-04-13 Leo Liu <sdl.web@gmail.com>
8457
8458 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8459
70e74021
KB
84602012-04-13 Ken Brown <kbrown@cornell.edu>
8461
8462 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8463 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8464 (browse-url-filename-alist): For the same reason, don't modify
8465 file:// URLs on Cygwin.
8466
e75e89ba
SM
84672012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8468
8469 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8470 the region on shift if the binding is already shifted (bug#11221).
8471
82f289a4
GM
84722012-04-12 Glenn Morris <rgm@gnu.org>
8473
8474 * mail/mailpost.el: Move to obsolete/.
8475
d333dc4c
DA
84762012-04-12 Drew Adams <drew.adams@oracle.com>
8477
8478 * imenu.el (imenu--generic-function): Ignore invisible definitions
8479 (bug#10123).
8480
0d15b5ba
VD
84812012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8482
8483 * hexl.el (hexl-bits): New variable.
8484 (hexl-options): Mention the variable in the doc string.
75f1671a 8485 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8486 (hexl-mode): Mention the new variable.
75f1671a
JB
8487 (hexl-mode, hexl-current-address, hexl-current-address):
8488 Use the displen.
0d15b5ba
VD
8489 (hexl-ascii-start-column): New function.
8490 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8491 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8492
64a440db
AM
84932012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8494
8495 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8496 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8497 the encoding, as expected by hunspell.
8498
6decb6c2
SM
84992012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8500
8501 * battery.el (battery--linux-sysfs-regexp): New const.
8502 (battery-status-function): Use it. Remove yeeloong special case.
8503 (battery-yeeloong-sysfs): Remove.
8504 (battery-echo-area-format): Remove yeeloong special case.
8505
088be6fb
SM
85062012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8507
6622e416
SM
8508 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8509 Reported by Noah Friedman.
8510
088be6fb
SM
8511 * subr.el (read-passwd): Use read-string.
8512
b49f886e
LMI
85132012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8514
8515 * vcursor.el (vcursor-move): Increase the priority of the overlay
8516 (bug#9663).
8517
a63067fc
DD
85182012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8519
8520 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8521 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8522
ac3cf14a
WS
85232012-04-11 William Stevenson <yhvh2000@gmail.com>
8524
8525 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8526 define-minor-mode (bug#10760).
8527
c4fc691b 85282012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8529
4d6769e1 8530 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8531 that directories matching `grep-find-ignored-files' won't be
8532 pruned (bug#10351).
8533
af23e2e5
CY
85342012-04-11 Chong Yidong <cyd@gnu.org>
8535
8536 * startup.el (command-line): Remove support for long-obsolete
8537 variable font-lock-face-attributes.
8538
ab7ce8c1
GM
85392012-04-11 Glenn Morris <rgm@gnu.org>
8540
8541 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8542
de8c03dc
SM
85432012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8544
8545 * window.el (window--state-get-1): Obey window-point-insertion-type.
8546
050cc68b
LB
85472012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8548
8549 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8550 to previous function when point is on the first character of a
75f1671a 8551 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8552
a38c310c
GM
85532012-04-11 Glenn Morris <rgm@gnu.org>
8554
effed0c2
GM
8555 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8556 not just file-errors.
8557
a38c310c
GM
8558 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8559 (vc-bzr-sha1): Use internal sha1.
8560
0221e323
SM
85612012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8564
43956923
SG
85652012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8566
8567 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8568 that start in the middle of the line (bug#10496).
8569
6a8c9eaf
DN
85702012-04-10 Dan Nicolaescu <dann@gnu.org>
8571
8572 * battery.el (battery-linux-proc-acpi): Only one battery is
8573 discharged at a time, but that seems to confuse battery.el when
8574 computing `rate-type' for the battery not being discharged
8575 (bug#10332).
8576
1930bf5d
SM
85772012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8578
2a718f6f
SM
8579 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8580
599430d0
SM
8581 * international/quail.el: Use dolist and simplify.
8582 (quail-define-package, quail-update-keyboard-layout)
8583 (quail-define-rules): Use dolist.
8584 (quail-insert-kbd-layout, quail-get-translation): CSE.
8585
a2754b6c
SM
8586 * tmm.el: Use dolist, remove left over hook.
8587 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8588 Use dolist.
8589 (calendar-load-hook): Don't mess with it.
8590
1930bf5d
SM
8591 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8592 Use derived-mode-p. Run the diff asynchronously.
8593
9f67961c
LMI
85942012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8595
8596 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8597
2a8ce227
JB
85982012-04-10 Juanma Barranquero <lekktu@gmail.com>
8599
8600 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8601 (list-dynamic-libraries--loaded): New function.
8602 (list-dynamic-libraries--refresh): Use it.
8603
8f33b5f8
NW
86042012-04-10 Nathan Weizenbaum <nweiz@google.com>
8605
1930bf5d
SM
8606 * progmodes/python.el (python-fill-paragraph):
8607 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8608 disabled (bug#7018).
8609
b12f0439
L
86102012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8611
1930bf5d 8612 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8613 DOS/MS Windows for the Baltic languages. There are still plenty
8614 of texts written in this encoding/codepage (bug#6519).
b12f0439 8615
57c3bd01
GM
86162012-04-10 Glenn Morris <rgm@gnu.org>
8617
8618 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8619 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8620
6c3eab30
FA
86212012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8622
1930bf5d 8623 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8624 next-line "n" and previous-line "p" in order to make recentf more
8625 consistent with ibuffer, dired or org-mode (bug#9387).
8626
24d78a88
LMI
86272012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8628
bc72b5d9
LMI
8629 * image.el (put-image): Return the overlay created instead of the
8630 optional input string (bug#7834). Note that this may break code
8631 that is (for some reason or other) depending on `put-image'
8632 returning the string.
8633
bd2dba5a
LMI
8634 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8635
74beb59f
LMI
8636 * simple.el (zap-to-char): Allow zapping using input methods
8637 (bug#1580).
8638
24d78a88
LMI
8639 * textmodes/fill.el (fill-region): Leave point and mark where they
8640 were before filling (bug#5399).
8641
263f20cd
GM
86422012-04-09 Glenn Morris <rgm@gnu.org>
8643
8644 * version.el (emacs-bzr-get-version):
8645 Handle lightweight checkouts of local branches.
8646
58d1f797
AS
86472012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8648
263f20cd 8649 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8650
b4d3bc10
CY
86512012-04-09 Chong Yidong <cyd@gnu.org>
8652
8653 * custom.el (custom-variable-p): Return nil for non-symbol
8654 arguments instead of signaling an error.
8655 (user-variable-p): Obsolete alias for custom-variable-p.
8656
8657 * apropos.el (apropos-variable):
8658 * files-x.el (read-file-local-variable):
8659 * simple.el (set-variable):
8660 * woman.el (woman-mini-help):
8661 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8662
fd06db5d
GM
86632012-04-09 Glenn Morris <rgm@gnu.org>
8664
e5fcdb5e
GM
8665 * startup.el (normal-top-level): Don't look for leim-list.el
8666 in places where it will not be found. (Bug#910)
8667
fd06db5d
GM
8668 * international/mule-cmds.el (set-default-coding-systems):
8669 * files.el (normal-mode):
8670 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8671 This function was removed with ucs-tables.el in 2008.
8672
b39bb7e1
EZ
86732012-04-08 Eli Zaretskii <eliz@gnu.org>
8674
8675 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8676 ispell-encoding8-command to "-i", without a trailing space.
8677 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8678 separate command-line arguments, to specify the encoding, since
8679 that's how hunspell expects it.
8680
5c5b8e23
GM
86812012-04-08 Glenn Morris <rgm@gnu.org>
8682
8683 * loadup.el: Load bindings before cus-start.
8684 This reduces somewhat the number of "rogue" settings in emacs -Q.
8685
a1ed8b05
GM
86862012-04-07 Glenn Morris <rgm@gnu.org>
8687
8688 * version.el (emacs-bzr-get-version): New function.
dfae128a 8689 (emacs-bzr-version): New variable.
a1ed8b05
GM
8690 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8691 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8692
b142f158
EZ
86932012-04-07 Eli Zaretskii <eliz@gnu.org>
8694
dfae128a
GM
8695 * international/uni-bidi.el, international/uni-category.el:
8696 * international/uni-combining.el, international/uni-decimal.el:
8697 * international/uni-decomposition.el, international/uni-digit.el:
8698 * international/uni-lowercase.el, international/uni-mirrored.el:
8699 * international/uni-name.el, international/uni-numeric.el:
8700 * international/uni-titlecase.el, international/uni-uppercase.el:
8701 Update for Unicode 6.1.
b142f158 8702
9078ead6
EZ
87032012-04-07 Eli Zaretskii <eliz@gnu.org>
8704
8705 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8706
f23d2c7d
LMI
87072012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8708
8709 * window.el (shrink-window): Mention the `window-min-height'
8710 variable in the doc string.
8711
0a0a3573
BG
87122012-04-05 Bastien Guerry <bzg@altern.org>
8713
8714 * color.el (color-lighten-name): Fix typo.
8715
e5248ac9
SM
87162012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8717
8718 * server.el (server--on-display-p): New function.
8719 (server--on-display-p): Use it.
8720
b4243e22
GV
87212012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8722
8723 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8724 (bug#11145).
8725
305d9f44
SM
87262012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8727
8728 * comint.el (comint--common-quoted-suffix): Check string boundary
8729 before comparing (bug#11158).
8730 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8731
3d439cd1
CY
87322012-04-04 Chong Yidong <cyd@gnu.org>
8733
321cc491
CY
8734 * minibuffer.el (completion-extra-properties): Doc fix.
8735
3d439cd1
CY
8736 * subr.el (delayed-warnings-hook): Doc fix.
8737
2d562c0f
DU
87382012-04-04 Daiki Ueno <ueno@unixuser.org>
8739
8740 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8741 selection (Bug#11159).
8742 (epa-insert-keys): Inform that the default public key will be
8743 exported if no key is selected.
8744
4443f204
RS
87452012-04-04 Richard Stallman <rms@gnu.org>
8746
8747 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8748
529c06b6
CY
87492012-04-03 Chong Yidong <cyd@gnu.org>
8750
8751 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8752 mail-insert-file, not its obsolete alias mail-attach-file.
8753
66b907dc
MA
87542012-04-03 Michael Albinus <michael.albinus@gmx.de>
8755
8756 * notifications.el (notifications-notify): Fix docstring.
8757
c0ea195d
GM
87582012-04-02 Glenn Morris <rgm@gnu.org>
8759
8760 * emacs-lisp/authors.el (authors-aliases): Another addition.
8761
5ca64e00
MA
87622012-04-02 Michael Albinus <michael.albinus@gmx.de>
8763
8764 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8765 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8766 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8767
42ee526b
CY
87682012-04-01 Chong Yidong <cyd@gnu.org>
8769
8770 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8771 Handle root directory properly.
8772 (copy-directory): Caller changed.
8773
8774 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8775 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8776
0b021094
GM
87772012-03-31 Glenn Morris <rgm@gnu.org>
8778
40f86458
GM
8779 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8780
7019c177
GM
8781 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8782
a1daddd6
GM
8783 * calendar/calendar.el (calendar-window-list)
8784 (calendar-hide-window): Restore. (Bug#11140)
8785 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8786
0b021094
GM
8787 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8788
40311efc
TV
87892012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8790
8791 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8792 Check if file is a symlink (Bug#10489).
8793
8794 * files.el (copy-directory): Likewise.
8795
5319014e
CY
87962012-03-30 Chong Yidong <cyd@gnu.org>
8797
8798 * image.el (imagemagick-types-inhibit)
8799 (imagemagick-register-types): Doc fix.
8800
935d1290
AM
88012012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8802
090bd7cb 8803 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8804 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8805 and treats ~word as ordinary words in pipe mode.
935d1290 8806
61c6e8fd
GM
88072012-03-30 Glenn Morris <rgm@gnu.org>
8808
8809 * tutorial.el (help-with-tutorial): Ensure local variables don't
8810 happen to make the buffer read-only. (Bug#11127)
8811
81fdff00
SM
88122012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8813
8814 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8815 (perl-calculate-indent): Return `noindent' in strings.
8816
6e7a6ec0
SS
88172012-03-28 Sam Steingold <sds@gnu.org>
8818
8819 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8820 instead of the broken adhockery which does not prevent calendar
8821 buffers from being displayed at random after exit.
8822 (calendar-window-list, calendar-hide-window): Remove the broken
8823 adhockery.
8824
fee88ca0
GM
88252012-03-28 Glenn Morris <rgm@gnu.org>
8826
8827 * replace.el (query-replace-map): Doc fix.
8828
38de3354
AS
88292012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8830
8831 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8832 contents. (Bug#11109)
8833
b973155e
SM
88342012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8835
8836 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8837 (bug#11077).
8838 (avl-tree--check, avl-tree--check-node): New funs.
8839
dcb6e7b3
MR
88402012-03-27 Martin Rudalics <rudalics@gmx.at>
8841
8842 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8843 (switch-to-prev-buffer, switch-to-next-buffer):
8844 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8845 showing a buffer already is done on the same frame.
8846
b4fa35fa
GM
88472012-03-27 Glenn Morris <rgm@gnu.org>
8848
8849 * startup.el (mail-host-address): Doc fix.
8850
f9210e18
SM
88512012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8854 than 197 variables.
8855
c0bf7753
AF
88562012-03-26 Ami Fischman <ami@fischman.org>
8857
8858 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8859
33da7b16
GM
88602012-03-26 Glenn Morris <rgm@gnu.org>
8861
02243d9d
GM
8862 * files.el (save-buffers-kill-emacs): Doc fix.
8863
33da7b16
GM
8864 * startup.el (normal-top-level, command-line, command-line-1):
8865 Give them doc strings.
8866
e5a69fd0
EZ
88672012-03-25 Eli Zaretskii <eliz@gnu.org>
8868
8869 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8870 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8871
9a69676a
CY
88722012-03-25 Chong Yidong <cyd@gnu.org>
8873
4125cb8b
CY
8874 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8875 theme if it was previously enabled before (Bug#11031).
8876
dd470960
CY
8877 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8878 spec with custom-face-get-current-spec if its :shown-value is not
8879 determined yet (Bug#9337).
4125cb8b 8880 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8881
9a69676a
CY
8882 * button.el (button-at): Minor addition to docstring.
8883
6e7e90fa
SL
88842012-03-24 Simon Leinen <simon.leinen@gmail.com>
8885
8886 * vc/vc.el (vc-merge): Fix a prompt.
8887
f06e2758
CY
88882012-03-24 Chong Yidong <cyd@gnu.org>
8889
8890 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8891 point (Bug#9623).
8892
6e7e90fa
SL
8893 * button.el (button-at): Minor addition to docstring.
8894
b9d0879b
SM
88952012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * newcomment.el (comment-choose-indent): No space after BOL.
8898
e71cebb3
SS
88992012-03-22 Sam Steingold <sds@gnu.org>
8900
8901 * window.el (switch-to-prev-buffer): Revert last patch because the
8902 bug turned out to be an advertised feature (Elisp manual 28.14).
8903
335aff35
GM
89042012-03-22 Glenn Morris <rgm@gnu.org>
8905
8906 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8907 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8908
c676576a
LMI
89092012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8910
8911 * net/network-stream.el (network-stream-open-starttls): Make error
8912 message under Windows be less misleading.
8913
126f3d39
LW
89142012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8915
8916 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8917 understands (bug#9942).
8918
64fee311
CY
89192012-03-22 Chong Yidong <cyd@gnu.org>
8920
8921 * simple.el (end-of-visible-line): Handle return value of
8922 next-single-property-change properly (Bug#9371).
8923
a640d29a
KH
89242012-03-22 Kenichi Handa <handa@m17n.org>
8925
8926 * international/quail.el (quail-insert-kbd-layout): Fix previous
8927 change. To avoid unwanted bidi reordering, use
8928 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8929
39675016
DG
89302012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8931
8932 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8933 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8934 (ruby-beginning-of-indent): Be more careful with the difference
8935 between word-boundary and symbol boundary.
8936 (ruby-mode-syntax-table): Make : a symbol constituent.
8937
0a6934fc 89382012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8939
3d008e4f
SM
8940 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8941
0a6934fc
SM
89422012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8943
af67c9d7
SM
8944 * progmodes/etags.el (tags-completion-at-point-function):
8945 Improve last fix.
8946
1acad97c
SM
8947 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8948
e298b5da
SS
89492012-03-21 Sam Steingold <sds@gnu.org>
8950
8951 * progmodes/etags.el (tags-completion-at-point-function):
8952 Avoid the error when point is inside the pattern.
8953
91d82a70
JY
89542012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8955
8956 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8957 line (Bug#10855).
8958
69188b79
CY
89592012-03-21 Drew Adams <drew.adams@oracle.com>
8960
8961 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8962
99fc91fe
AK
89632012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8964
8965 * ido.el (ido-set-current-directory, ido-read-internal)
8966 (ido-choose-completion-string, ido-completion-help): Handle nil
8967 value of ido-completion-buffer (Bug#11008).
8968
087bbb4c
SS
89692012-03-21 Sam Steingold <sds@gnu.org>
8970
8971 * window.el (switch-to-prev-buffer): Do not switch to a visible
8972 window previous buffer, just like with the frame previous buffers.
8973
fb5b8aca
CY
89742012-03-21 Chong Yidong <cyd@gnu.org>
8975
8976 * faces.el (make-face, make-empty-face, copy-face):
8977 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8978 Doc fixes.
8979
dc9924b8
SM
89802012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8981
8982 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8983 (widget-complete): Remove broken use of it.
8984
f0bcceb9
CY
89852012-03-20 Chong Yidong <cyd@gnu.org>
8986
dc9924b8
SM
8987 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8988 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8989 characters.
8990
ee52ebf3
TH
89912012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8992
8993 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8994 to draw rectangles, not squares. (Regression introduced by revno
8995 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8996
4c5779ab
CY
89972012-03-18 Chong Yidong <cyd@gnu.org>
8998
8999 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9000 it is not yet defined (for temacs).
9001
15360934
LL
90022012-03-18 Leo Liu <sdl.web@gmail.com>
9003
735135f9
PE
9004 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9005 prefix.
15360934 9006
d9a8eb66
EZ
90072012-03-17 Eli Zaretskii <eliz@gnu.org>
9008
9009 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9010 (ispell-choices-win-default-height, ispell-silently-savep)
9011 (ispell-dictionary-alist, ispell-encoding8-command)
9012 (ispell-check-version, ispell-aspell-find-dictionary)
9013 (ispell-valid-dictionary-list, ispell-words-keyword)
9014 (ispell-get-word, ispell-internal-change-dictionary)
9015 (ispell-region, ispell-skip-region-list)
9016 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9017 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9018 (ispell-message-text-end, ispell-message)
9019 (ispell-buffer-local-parsing): Doc fix.
9020
f02ff80d
J
90212012-03-13 Jambunathan K <kjambunathan@gmail.com>
9022
9023 * htmlfontify.el: Add support for code block fontification for ODT
9024 export (Bug #9914).
9025 (hfy-optimisations): Define new option
9026 `body-text-only'
9027 (hfy-fontify-buffer): Honor above setting.
9028 (hfy-begin-span, hfy-end-span): New routines factored out form
9029 `hfy-fontify-buffer'.
9030 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9031 that permit insertion of custom tags.
9032 (hfy-fontify-buffer): Use above handlers.
9033 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9034 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9035 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9036 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9037 bind a special variable `hfy-user-sheet-assoc'.
9038 (htmlfontify-string): New defun.
9039 (hfy-compile-face-map): Make sure that the last char in the
9040 buffer is correctly fontified.
9041 (hfy-face-resolve-face): Whitespace only change.
9042
9ac7a13f
EZ
90432012-03-17 Eli Zaretskii <eliz@gnu.org>
9044
9045 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9046 message more clear.
9047
e2b5bdd7
LL
90482012-03-16 Leo Liu <sdl.web@gmail.com>
9049
9050 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9051
2e492df3
AM
90522012-03-16 Alan Mackenzie <acm@muc.de>
9053
9054 Further optimise the handling of large macros.
9055
9056 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9057 limit to a call of `c-literal-limits'.
9058 (c-determine-+ve-limit): New function.
dc9924b8
SM
9059 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9060 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9061 In CASE 5B, restrict a search limit to 500.
9062 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9063
9064 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9065 Restrict macro bounds to +-500 from after-change's BEG END.
9066
50e94f0c
LL
90672012-03-16 Leo Liu <sdl.web@gmail.com>
9068
9069 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9070
6f09f6ed
AH
90712012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9072
9073 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9074 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9075
c7e73d51
GM
90762012-03-16 Glenn Morris <rgm@gnu.org>
9077
da986230
GM
9078 * view.el (view-buffer, view-buffer-other-window)
9079 (view-buffer-other-frame): Doc fixes re special mode-class.
9080
0835f01e
GM
9081 * subr.el (eval-after-load): If named feature is provided not from
9082 a file, run after-load forms. (Bug#10946)
9083
c7e73d51
GM
9084 * calendar/calendar.el (calendar-insert-at-column):
9085 Handle non-unit-width characters a bit better. (Bug#10978)
9086
3f2eafd1
CY
90872012-03-15 Chong Yidong <cyd@gnu.org>
9088
9089 * emacs-lisp/ring.el (ring-extend): New function.
9090 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9091
9092 * comint.el (comint-read-input-ring)
9093 (comint-add-to-input-history): Grow comint-input-ring lazily.
9094
103af3fe
SM
90952012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9096
663b1677
SM
9097 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9098 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9099
103af3fe
SM
9100 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9101 (imenu-add-to-menubar): Don't add a redundant index.
9102 (imenu-update-menubar): Handle a dynamically composed keymap.
9103
899cb7cb
KY
91042012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9105
9106 * mail/sendmail.el (mail-encode-header):
9107 Bind rfc2047-encode-encoded-words to nil.
9108
3809f91d
GM
91092012-03-13 Glenn Morris <rgm@gnu.org>
9110
9111 * calendar/calendar.el (calendar-string-spread):
9112 Handle non-unit-width characters a bit better. (Bug#10978)
9113
9e345a01
LL
91142012-03-13 Leo Liu <sdl.web@gmail.com>
9115
9116 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9117 directory and file as argument (Bug#10822).
9118
4a07df36
KS
91192012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9120
9121 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9122 For dynamically generated code, follow $PC.
9123 (gdb-disassembly-handler-custom): Handle no function name case.
9124
4aaa9356
TL
91252012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9126
9127 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9128 * emulation/ws-mode.el (ws-query-replace):
9129 * sort.el (sort-regexp-fields):
9130 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9131
225979da
SM
91322012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9133
9134 * dabbrev.el: Fix cycle completion order (bug#10963).
9135 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9136 (dabbrev-completion): Don't use an obarray; provide
9137 a cycle-sort-function.
9138
e2f1fdab
LL
91392012-03-12 Leo Liu <sdl.web@gmail.com>
9140
dc9924b8 9141 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9142 (kill-do-not-save-duplicates): Doc fix.
9143
b19490ed
SM
91442012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9145
9146 * dabbrev.el: Fix cycle completion (bug#10963).
9147 Use lexical binding and wrap to 80 columns.
9148 (dabbrev-completion): Delay computing the list of completions.
9149
4b05d722
KH
91502012-03-12 Kenichi Handa <handa@m17n.org>
9151
9152 * international/quail.el (quail-insert-kbd-layout): Surround each
9153 row by LRO and PDF instead of inserting many LRMs. Pad the left
9154 and right of each non-spacing marks. Insert invisible space
9155 between lower and upper characters to prevent composition.
9156
dbbc2e69
SM
91572012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9158
9159 * minibuffer.el (minibuffer-complete): Don't get confused when the
9160 function is run twice via different commands (bug#10958).
9161 (complete-with-action): Fix docstring.
9162
292112ed
CY
91632012-03-12 Chong Yidong <cyd@gnu.org>
9164
5d1ac394
CY
9165 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9166 (nxml-completion-at-point-function): New function.
9167 (nxml-mode): Use it.
9168 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9169
292112ed
CY
9170 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9171 Load generated autoloads file before byte compiling (Bug#10970).
9172 (package--make-autoloads-and-compile): New helper fun.
9173
4098f8f7
CS
91742012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9175
9176 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9177
8f754691
MA
91782012-03-11 Michael Albinus <michael.albinus@gmx.de>
9179
9180 * autorevert.el (auto-revert-handler): Ensure, that
9181 file-readable-p is applied only for local files or in
9182 auto-revert-tail-mode.
9183
e29ab36b
AS
91842012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9185
dbbc2e69
SM
9186 * server.el (server-eval-at): Handle non-tcp connections.
9187 Decode result string.
ad0bf5b6 9188
e29ab36b
AS
9189 * server.el (server-msg-size): New constant.
9190 (server-reply-print): New function.
9191 (server-eval-and-print): Use it.
9192 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9193 Handle -print-nonl.
9194
de5939ba
CS
91952012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9196
9197 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9198 (Bug#10987).
9199
0c93eabf
CY
92002012-03-11 Chong Yidong <cyd@gnu.org>
9201
397a688f
CY
9202 * simple.el (goto-line): Doc fix (Bug#9938).
9203
2cc775f9
CY
9204 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9205
0c93eabf
CY
9206 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9207 when finished (Bug#10963).
9208
c491fa41
MR
92092012-03-11 Martin Rudalics <rudalics@gmx.at>
9210
9211 * window.el (split-window-below): Fix bug in case where
9212 split-window-keep-point is nil (Bug#10971).
9213
300e8fa5
JL
92142012-03-11 Juri Linkov <juri@jurta.org>
9215
9216 * replace.el (replace-highlight): Set isearch-word to nil
9217 unconditionally. (Bug#10887)
9218
dbf6c5a1
EZ
92192012-03-10 Eli Zaretskii <eliz@gnu.org>
9220
9221 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9222 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9223 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9224 (mairix-widget-create-query): Add usage information about mairix
9225 search forms: negating words, searching for substrings, etc.
9226
b9e501de
JP
92272012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9228
9229 * international/fontset.el (font-encoding-alist): Add an entry for
9230 ksx1001 (Bug#5667).
9231
92795c91
RS
92322012-03-10 Richard Stallman <rms@gnu.org>
9233
1694e6c1
RS
9234 * mail/sendmail.el (mail-encode-header):
9235 Set rfc2047-encode-encoded-words.
9236
607e8555
RS
9237 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9238
de3bc99a
RS
9239 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9240 view buffer means not swapped.
9241 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9242 (rmail-write-region-annotate): Error if real text has disappeared.
9243
92795c91
RS
9244 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9245
699bd04e
CY
92462012-03-10 Chong Yidong <cyd@gnu.org>
9247
9248 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9249 * emulation/cua-base.el (cua--init-keymaps):
9250 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9251
570a1714
MR
92522012-03-10 Martin Rudalics <rudalics@gmx.at>
9253
dbbc2e69
SM
9254 * speedbar.el (speedbar-unhighlight-one-tag-line):
9255 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9256
82dcf4e4
CY
92572012-03-10 Chong Yidong <cyd@gnu.org>
9258
7a2c7ca7
CY
9259 * minibuffer.el (completion-in-region, completion-help-at-point):
9260 Give the completion field overlay a high priority (Bug#6830).
9261
82dcf4e4
CY
9262 * dired.el (dired-goto-file): Recognize absolute file name
9263 listings (Bug#7126).
9264 (dired-goto-file-1): New helper function.
9265 (dired-toggle-read-only): Inhibit warnings.
9266
052e28ac
MA
92672012-03-09 Michael Albinus <michael.albinus@gmx.de>
9268
75f1671a 9269 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9270 there are no properties.
9271
95d5e396
LL
92722012-03-09 Leo Liu <sdl.web@gmail.com>
9273
9274 * savehist.el (savehist-printable): Stricter check for string
9275 value (Bug#10937).
9276
3f018d6d
EZ
92772012-03-09 Eli Zaretskii <eliz@gnu.org>
9278
dbbc2e69
SM
9279 * mail/smtpmail.el (smtpmail-send-it):
9280 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9281 valid mbox format.
9282
f7fd3d79
GM
92832012-03-09 Glenn Morris <rgm@gnu.org>
9284
9285 * files.el (dir-locals-find-file):
9286 Don't check result is regular, readable.
9287 (dir-locals-read-from-file): Demote errors.
9288
6ff6e72f
EZ
92892012-03-08 Eli Zaretskii <eliz@gnu.org>
9290
dbbc2e69
SM
9291 * international/quail.el (quail-insert-kbd-layout):
9292 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9293 layout cell, to prevent their reordering by bidi display engine.
9294 For details, see the discussion in
9295 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9296
9cec7834
AM
92972012-03-08 Alan Mackenzie <acm@muc.de>
9298
9299 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9300 the starting position; make it extend the marked region when
9301 invoked repeatedly - all under appropriate circumstances.
9302 Fixes bugs #5525, #10906.
9303
9a40b8d4
GM
93042012-03-08 Glenn Morris <rgm@gnu.org>
9305
9306 * files.el (locate-dominating-file, dir-locals-find-file):
9307 Undo 2012-03-06 change.
9308
7a08ed35
EZ
93092012-03-07 Eli Zaretskii <eliz@gnu.org>
9310
dbbc2e69
SM
9311 * international/quail.el (quail-help):
9312 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9313 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9314 for the reason.
9315
5aca4f71 93162012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9317
9318 Avoid superfluous registering of signals. (Bug#10807)
9319
9320 * notifications.el (notifications-on-action-object)
9321 (notifications-on-close-object): New defvars.
9322 (notifications-on-action-signal, notifications-on-closed-signal):
9323 Unregister the signal if not needed any longer.
9324 (notifications-notify): Register `notifications-action-signal' or
9325 `notifications-closed-signal', if :on-action or :on-close has been
9326 passed as argument.
9327
78e8b10a
CY
93282012-03-07 Chong Yidong <cyd@gnu.org>
9329
9330 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9331 non-X platforms.
9332
69481eb8
GM
93332012-03-06 Glenn Morris <rgm@gnu.org>
9334
9335 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9336 (x-disown-selection-internal, x-get-selection-internal):
9337 Doc fix (add arglist signatures). (Bug#10783)
9338
133b8e11
KS
93392012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9340
9341 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9342 Handle breakpoints with no "type".
9343
99a83064
GM
93442012-03-06 Glenn Morris <rgm@gnu.org>
9345
9346 * files.el (locate-dominating-file): Add optional predicate argument.
9347 (dir-locals-find-file): Make use of above change.
9348
17798e78
TTN
93492012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9350
9351 * info.el (Info-insert-dir): Also try "dir.gz".
9352
eb182446
GM
93532012-03-06 Glenn Morris <rgm@gnu.org>
9354
8f2114ee
GM
9355 * files.el (dir-locals-find-file):
9356 Ignore non-readable or non-regular files. (Bug#10928)
9357
eb182446
GM
9358 * files.el (locate-dominating-file): Doc fix.
9359
24679323
AS
93602012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9361
9362 * calendar/calendar.el (calendar-set-mode-line):
9363 `getenv' returns a string. (Bug#10951)
9364
01d972a9
LL
93652012-03-05 Leo Liu <sdl.web@gmail.com>
9366
109aa8a9
LL
9367 * simple.el (backward-delete-char-untabify): Constrain point to
9368 field (Bug#10939).
9369
01d972a9
LL
9370 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9371
10607bea
CY
93722012-03-05 Chong Yidong <cyd@gnu.org>
9373
9374 * simple.el (count-words): If called from Lisp, return the word
9375 count, for symmetry with `count-lines'. Arglist changed.
9376 (count-words--message): Args changed. Consolidate counting code
9377 from count-words and count-words-region.
9378 (count-words-region): Caller changed.
9379 (count-lines-region): Make it an obsolete alias.
9380
5dd11cfe
TH
93812012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9382
9383 * saveplace.el (save-place-to-alist)
9384 (save-place-ignore-files-regexp): Allow value nil to disable this
9385 feature.
9386
c349f4e6
CY
93872012-03-04 Chong Yidong <cyd@gnu.org>
9388
9389 * faces.el (face-spec-reset-face): For the default face, reset the
9390 attributes to default values (Bug#10748).
9391
e627be4c
LMI
93922012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9393
9394 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9395 previous patch: Check `message-send-mail-function', and not the
9396 default function (bug#10897).
9397
ebeabff4
MA
93982012-03-04 Michael Albinus <michael.albinus@gmx.de>
9399
a41a6cf4
MA
9400 * notifications.el (notifications-on-action-signal)
9401 (notifications-on-closed-signal): Check for unique service name of
9402 incoming event. Fix error in removing entry.
ebeabff4 9403 (top): Register for signals with wildcard service name.
a41a6cf4 9404 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9405
c1ca42b4
CY
94062012-03-04 Chong Yidong <cyd@gnu.org>
9407
dc9924b8 9408 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9409
ea16568d
GM
94102012-03-04 Glenn Morris <rgm@gnu.org>
9411
9412 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9413 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9414 (expand-abbrev, define-abbrev-table): Doc fixes.
9415
fbae4637
LMI
94162012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9417
9418 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9419 `message-default-send-mail-function' and not `send-mail-function'
9420 when doing the prompting for `sendmail-query-once' before sending
9421 in Message buffers (bug#10897).
9422
a1e7225c
LMI
9423 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9424 This is inconsistent with all the other stream functions, which leave
9425 the setting up to the higher levels (if so wanted) (bug#10931).
9426
56d093a9
AM
94272012-03-02 Alan Mackenzie <acm@muc.de>
9428
9429 Depessimize the handling of very large macros.
9430
9431 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9432 (c-macro-cache-syntactic): New variables to implement a one
9433 element macro cache.
9434 (c-invalidate-macro-cache): New function.
9435 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9436 Adapt to use the new cache.
9437 (c-state-safe-place): Use better the cache of safe positions.
9438 (c-state-semi-nonlit-pos-cache)
9439 (c-state-semi-nonlit-pos-cache-limit):
9440 New variables for...
9441 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9442 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9443 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9444 Use c-state-semi-safe-place.
56d093a9 9445
dbbc2e69
SM
9446 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9447 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9448
817e5c3d
MA
94492012-03-02 Michael Albinus <michael.albinus@gmx.de>
9450
dbbc2e69
SM
9451 * jka-compr.el (jka-compr-call-process):
9452 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9453 not remote.
9454
a032a702
MA
94552012-03-01 Michael Albinus <michael.albinus@gmx.de>
9456
9457 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9458 access of FILE2, if FILE1 does not exist.
9459
99a54f21
MA
9460 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9461 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9462
9463 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9464 Add "PAGER=" to `process-environment'.
9465
f6561e1f
MM
94662012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9467
9468 * progmodes/sql.el: Bug fix
9469 (sql-get-login-ext): Save login values in globals.
9470 (sql-get-login): Use new version of `sql-get-login-ext'.
9471 (sql-interactive-mode): Set global `sql-connection' to nil.
9472 (sql-connect): Set global values for connection.
9473 (sql-product-interactive): Save global values as buffer local.
9474
2d44d9cc
LL
94752012-02-29 Leo Liu <sdl.web@gmail.com>
9476
9477 * abbrev.el (define-abbrevs): Reset sys to nil.
9478
96b49301 94792012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9480
bf7f9bc5
JB
9481 * files.el (file-equal-p): Rename from `files-equal-p'.
9482 Return nil when one or both files don't exist.
96b49301 9483 (file-subdir-of-p): Now only top directory must exists,
9484 return nil if it doesn't.
bf7f9bc5
JB
9485 (copy-directory): No need to test with `file-subdir-of-p' after
9486 creating dir.
9487 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9488 to `file-equal-p'.
96b49301 9489
44e97401
GM
94902012-02-28 Glenn Morris <rgm@gnu.org>
9491
9492 * shell.el (shell-mode):
9493 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9494 * play/landmark.el (landmark-font-lock-face-O):
9495 * play/handwrite.el (handwrite):
9496 * play/gomoku.el (gomoku-O):
9497 * net/browse-url.el (browse-url-browser-display):
9498 * international/mule.el (define-charset):
9499 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9500 * filesets.el (filesets-find-file-delay):
9501 * eshell/em-xtra.el (eshell-xtra):
9502 * eshell/em-unix.el (eshell-grep):
9503 * emulation/viper.el (viper-mode):
9504 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9505 * emacs-lisp/easymenu.el (easy-menu-define):
9506 * calendar/timeclock.el (timeclock-use-display-time):
9507 * bs.el (bs-mode):
9508 * bookmark.el (bookmark-save-flag):
9509 Doc fix (standardize possessive apostrophe usage).
9510
c98c6276
CY
95112012-02-27 Chong Yidong <cyd@gnu.org>
9512
bf7f9bc5
JB
9513 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9514 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9515
c98c6276
CY
9516 * font-lock.el (font-lock-specified-p): Rename from
9517 font-lock-spec-present. Callers changed.
9518
9c62cd04 95192012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9520
bf7f9bc5
JB
9521 * emacs-lisp/package.el (package-compute-transaction):
9522 Handle holding a package version to t in package-load-list.
8ac9e529 9523
530739c9
MA
95242012-02-26 Michael Albinus <michael.albinus@gmx.de>
9525
9526 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9527 (tramp-get-inode, tramp-get-device): Use cached values.
9528
487915d7
AM
95292012-02-26 Alan Mackenzie <acm@muc.de>
9530
9531 Check there is a font-lock specification before doing initial
9532 fontification.
9533
9534 * font-core.el (font-lock-mode): Move the conditional from
9535 :after-hook to font-lock-initial-fontify.
9536 (font-lock-default-function): Move the check for a specification
9537 to font-lock-spec-present.
9538
dc9924b8 9539 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9540 (font-lock-spec-present): New function.
9541
4fd96557
JB
95422012-02-26 Jim Blandy <jimb@red-bean.com>
9543
9544 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9545 (gdb-send): Apply it to the operand of the '-interpreter-exec
9546 console' command, so that we can pass arguments with (say) quotes
9547 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9548
9a4888c0
CY
95492012-02-26 Chong Yidong <cyd@gnu.org>
9550
07498861
CY
9551 * help-fns.el (describe-function-1): Clarify description of
9552 remapping (Bug#10844).
9553
9a4888c0
CY
9554 * files.el (files-equal-p): Doc fix.
9555 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9556 and quit the loop once a mismatch is found.
9557
ea8fb88d
JB
95582012-02-25 Juanma Barranquero <lekktu@gmail.com>
9559
9560 * bs.el (bs--show-with-configuration): Don't throw an error
9561 if the window cannot be split; otherwise, subsequent calls to
9562 bs-show fail, restoring a stale window config. (Bug#10882)
9563
525795c1
JD
95642012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9565
9566 * term/ns-win.el (global-map): Bind ns-drag-file to
9567 ns-find-file (Bug#5855, Bug#10050).
9568
f008086f
AS
95692012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9570
9571 * calendar/parse-time.el (parse-time-string): Allow extractor to
9572 return nil.
9573
a3fcfa99
MA
95742012-02-25 Michael Albinus <michael.albinus@gmx.de>
9575
91027d08
JB
9576 * net/tramp.el (tramp-file-name-for-operation):
9577 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9578
9579 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9580 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9581 Add COPY-CONTENTS argument.
a3fcfa99 9582
67b0de11
CY
95832012-02-25 Chong Yidong <cyd@gnu.org>
9584
9585 Add custom groups for VC backends, for consistency with vc-bzr.
9586
9587 * vc/vc-arch.el (vc-arch):
9588 * vc/vc-cvs.el (vc-cvs):
9589 * vc/vc-git.el (vc-git):
9590 * vc/vc-hg.el (vc-hg):
9591 * vc/vc-mtn.el (vc-mtn):
9592 * vc/vc-rcs.el (vc-rcs):
9593 * vc/vc-sccs.el (vc-sccs):
9594 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9595 All relevant defcustoms reassigned.
9596
3c9dfce6
CY
95972012-02-25 Chong Yidong <cyd@gnu.org>
9598
1339bf43
CY
9599 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9600
3c9dfce6
CY
9601 * term/x-win.el (x-initialize-window-system): Reduce default for
9602 x-selection-timeout to 5 seconds (Bug#8869).
9603
25b2e303 96042012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9605
ec70a47d
GM
9606 * files.el (files-equal-p, file-subdir-of-p): New functions.
9607 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9608 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9609 * dired-aux.el (dired-copy-file-recursive): Same.
9610 (dired-create-files): Modify destination when source is equal to
9611 dest when copying files.
53a46cd0 9612 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9613
914260cd
MA
96142012-02-24 Michael Albinus <michael.albinus@gmx.de>
9615
9616 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9617 (Bug#10874)
9618
2cb228f7
AM
96192012-02-23 Alan Mackenzie <acm@muc.de>
9620
9621 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9622 parameter "after-hook:" to allow the expansion to run code after
9623 the execution of the mode hooks.
9624
9625 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9626 from font-lock-mode-internal.
2cb228f7 9627
91027d08 9628 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9629 :after-hook.
9630
8f0fde21
SM
96312012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9632
3e88618b
SM
9633 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9634 (completion--cache-all-sorted-completions): New function.
9635 (completion-all-sorted-completions): Use it.
9636 (completion--do-completion, minibuffer-force-complete):
9637 Use it to re-instate the flush hook.
9638
8f0fde21
SM
9639 * icomplete.el (icomplete-completions): Replace last fix with a better
9640 one (bug#10850).
9641
8e911f6f
DG
96422012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9643
9644 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9645 when it might call us back infinitely (bug#10797).
9646
49fe4321
GM
96472012-02-23 Glenn Morris <rgm@gnu.org>
9648
9649 * minibuffer.el (completion-category-overrides): Doc fix.
9650
b291b572
SM
96512012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9654 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9655
31a9ef2e
GM
96562012-02-23 Glenn Morris <rgm@gnu.org>
9657
5e6e6794 9658 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9659 (authors-obsolete-files-regexps, authors-ignored-files)
9660 (authors-ambiguous-files, authors-renamed-files-alist):
9661 Add more entries.
9662
0bd1e074
JL
96632012-02-23 Juri Linkov <juri@jurta.org>
9664
9665 * isearch.el (isearch-occur): Sync interactive spec with occur's
9666 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9667
b617673c
JL
9668 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9669
19e9789e
JL
96702012-02-22 Juri Linkov <juri@jurta.org>
9671
9672 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9673 (ucs-insert): Doc fix. Check for hex digits in the string.
9674 Don't display `nil' in the error message. (Bug#10857)
9675
f41ce09d
AM
96762012-02-22 Alan Mackenzie <acm@muc.de>
9677
7a71b18d 9678 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9679
ac2eceee
GM
96802012-02-22 Glenn Morris <rgm@gnu.org>
9681
9682 * ffap.el (ffap-c-path):
9683 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9684
abd1f678
CY
96852012-02-22 Chong Yidong <cyd@gnu.org>
9686
9687 * custom.el (load-theme): Doc fix.
9688
f25aef2e
GM
96892012-02-22 Glenn Morris <rgm@gnu.org>
9690
9691 * dired-x.el (dired-guess-shell-alist-default):
9692 Remove escape sequences from nroff output. (Bug#172)
9693
5f8dc2ca
GM
96942012-02-21 Glenn Morris <rgm@gnu.org>
9695
6ff86ec4
GM
9696 * vc/emerge.el (emerge-defvar-local):
9697 Set `permanent-local' property rather than unused `preserved'.
9698
be3223a3 9699 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9700 (picture-mode-map): Use it. (Bug#10860)
9701 (picture-mode): Doc fix.
9702
3fe58f4f
JB
97032012-02-21 Juanma Barranquero <lekktu@gmail.com>
9704
9705 * newcomment.el (uncomment-region-default): Remove unused binding.
9706
f9a998c3
GM
97072012-02-21 Glenn Morris <rgm@gnu.org>
9708
9709 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9710 (picture-self-insert, picture-tab-chars): Doc fix.
9711 (picture-mode-map): Fix C-a, C-e.
9712
c6029348
GM
97132012-02-20 Glenn Morris <rgm@gnu.org>
9714
9715 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9716
ab1ce9d7
LL
97172012-02-20 Leo Liu <sdl.web@gmail.com>
9718
9719 * icomplete.el (icomplete-completions): Check FROM arg before
9720 passing to substring (Bug#10850).
9721
0fd40f89
CY
97222012-02-19 Chong Yidong <cyd@gnu.org>
9723
9724 * comint.el: Require ansi-color.
9725 (comint-output-filter-functions): Add ansi-color-process-output.
9726
9727 * ansi-color.el: Don't set comint-output-filter-functions; it is
9728 now in the initial value defined in comint.el.
9729 (ansi-color-apply-face-function): New variable.
9730 (ansi-color-apply-on-region): Use it.
9731 (ansi-color-apply-overlay-face): New function.
9732
9733 * shell.el (shell): No need to require ansi-color.
9734 (shell-mode): Use ansi-color-apply-face-function to highlight
9735 color escapes using font-lock-face property (Bug#10835).
9736
20af2394
CY
97372012-02-19 Chong Yidong <cyd@gnu.org>
9738
9739 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9740 mode-line formats (Bug#10839).
9741
e23a3fbe
GM
97422012-02-18 Glenn Morris <rgm@gnu.org>
9743
b474519e
GM
9744 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9745
9746 * mail/undigest.el (unforward-rmail-message): Doc fix.
9747
e23a3fbe
GM
9748 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9749
57939ff4
EZ
97502012-02-18 Eli Zaretskii <eliz@gnu.org>
9751
9752 * international/characters.el (script-list): Sync with the latest
9753 Unicode Character Database.
9754
0c23686e
AS
97552012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9756
9757 * international/titdic-cnv.el: Remove duplicate coding tag.
9758 * language/cham.el: Likewise.
9759 * language/tai-viet.el: Likewise.
9760
6818b449
GM
97612012-02-18 Glenn Morris <rgm@gnu.org>
9762
9763 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9764 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9765 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9766 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9767 * calendar/holidays.el (holiday-bahai-holidays)
9768 (calendar-holidays, list-holidays):
9769 Use utf-8 Bahá'í in doc-strings, menus, etc.
9770
0311a3fc
TH
97712012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9772
9773 * saveplace.el (save-place-ignore-files-regexp): New variable
9774 allowing for excluding files from saving their location of point.
9775 The default value matches the temporary commit message editing
9776 files from Git, SVN, Bazaar, and Mercurial.
9777 (save-place-to-alist): Use it.
9778
d209e2fb 97792012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9780 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9781
9782 * newcomment.el (uncomment-region-default): Don't leave extra space
9783 when an arg is provided (bug#8150).
9784
ee0ce425
TZ
97852012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9786
eb864a71 9787 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9788
95ddf442
GM
97892012-02-17 Glenn Morris <rgm@gnu.org>
9790
9791 * net/socks.el: Require network-stream. (Bug#10599)
9792
48dd1e39 97932012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9794
9795 * international/charprop.el:
9796 * international/uni-name.el:
9797 * international/uni-old-name.el:
9798 * international/uni-comment.el: Regenerate.
9799
d68cd087
GM
98002012-02-16 Glenn Morris <rgm@gnu.org>
9801
9802 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9803 Interactively in calendar buffer, give an error if not on a date.
9804
13932042
GM
98052012-02-15 Glenn Morris <rgm@gnu.org>
9806
9807 * shell.el (shell-delimiter-argument-list):
9808 Revert 2011-02-17 change. (Bug#8027)
9809
c3a70e2b
CY
98102012-02-15 Chong Yidong <cyd@gnu.org>
9811
60236b0d
CY
9812 * minibuffer.el (completion-at-point-functions): Doc fix.
9813
c3a70e2b
CY
9814 * custom.el (defcustom): Doc fix; note use of defvar.
9815
9f26dc24
GM
98162012-02-15 Glenn Morris <rgm@gnu.org>
9817
9818 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9819 Doc fixes.
9820
6546b134
GM
98212012-02-14 Glenn Morris <rgm@gnu.org>
9822
9823 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9824
d29b2b4c
LI
98252012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9826
9827 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9828 way the ports list is computed.
835bdcba
LI
9829 (smtpmail-query-smtp-server): Prompt the user for a port number if
9830 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9831
08dcdbc9
TZ
98322012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9833
9834 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9835
2605051a
GM
98362012-02-13 Glenn Morris <rgm@gnu.org>
9837
9838 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9839
7ee99f32
TZ
98402012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9841
9842 * net/gnutls.el (gnutls-trustfiles): New variable.
9843 (gnutls-negotiate): Use it.
9844
5f0af64f
LI
98452012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9846
9847 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9848 does its stuff if Gnus is running.
9849
c14fcc95
AM
98502012-02-13 Alan Mackenzie <acm@muc.de>
9851
9852 Fix a loop in c-set-fl-decl-start.
9853
7a71b18d 9854 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9855 c-backward-syntactic-ws actually moves backwards.
9856
142b4d90
LL
98572012-02-13 Leo Liu <sdl.web@gmail.com>
9858
9859 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9860 beginning so that all \C-o chars are removed.
9861
fa9958a6
TZ
98622012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9863
dc9924b8 9864 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9865
0bc5886a
AM
98662012-02-12 Alan Mackenzie <acm@muc.de>
9867
9868 Fix infinite loop with long macros.
4d6769e1 9869 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9870
d4bd55e7
CY
98712012-02-12 Chong Yidong <cyd@gnu.org>
9872
9873 * window.el (display-buffer): Doc fix (Bug#10785).
9874
66f3fe22
GM
98752012-02-12 Glenn Morris <rgm@gnu.org>
9876
bd7da63e
GM
9877 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9878 (x-disown-selection-internal, x-get-selection-internal):
9879 Sync docs with the xselect.c versions.
9880
66f3fe22
GM
9881 * allout-widgets.el: Add missing license notice.
9882
3e0d2fa7
GM
98832012-02-11 Glenn Morris <rgm@gnu.org>
9884
cfecdf09
GM
9885 * select.el (x-get-selection-internal, x-own-selection-internal)
9886 (x-disown-selection-internal):
9887 * x-dnd.el (x-get-selection-internal): Update declarations.
9888
6d216d7f
GM
9889 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9890
2bed3f04
GM
9891 * window.el (window-sides-slots):
9892 * tool-bar.el (tool-bar-position):
9893 * term/xterm.el (xterm-extra-capabilities):
9894 * ses.el (ses-self-reference-early-detection):
9895 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9896 (verilog-auto-wire-type)
9897 (verilog-auto-delete-trailing-whitespace)
9898 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9899 (verilog-auto-tieoff-declaration):
9900 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9901 (sql-oracle-statement-starters, sql-oracle-scan-on):
9902 * progmodes/prolog.el (prolog-align-comments-flag)
9903 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9904 (prolog-left-indent-regexp, prolog-paren-indent-p)
9905 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9906 (prolog-types, prolog-mode-specificators)
9907 (prolog-determinism-specificators, prolog-directives)
9908 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9909 (prolog-electric-dot-flag)
9910 (prolog-electric-dot-full-predicate-template)
9911 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9912 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9913 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9914 (prolog-program-switches, prolog-prompt-regexp)
9915 (prolog-debug-on-string, prolog-debug-off-string)
9916 (prolog-trace-on-string, prolog-trace-off-string)
9917 (prolog-zip-on-string, prolog-zip-off-string)
9918 (prolog-use-standard-consult-compile-method-flag)
9919 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9920 (prolog-imenu-max-lines, prolog-info-predicate-index)
9921 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9922 (prolog-char-quote-workaround):
9923 * progmodes/cc-vars.el (c-defun-tactic):
9924 * net/tramp.el (tramp-encoding-command-interactive)
9925 (tramp-local-end-of-line):
9926 * net/soap-client.el (soap-client):
9927 * net/netrc.el (netrc-file):
9928 * net/gnutls.el (gnutls):
9929 * minibuffer.el (completion-category-overrides)
9930 (completion-cycle-threshold)
9931 (completion-pcm-complete-word-inserts-delimiters):
9932 * man.el (Man-name-local-regexp):
9933 * mail/feedmail.el (feedmail-display-full-frame):
9934 * international/characters.el (glyphless-char-display-control):
9935 * eshell/em-ls.el (eshell-ls-date-format):
9936 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9937 (lisp-lambda-list-keyword-parameter-indentation)
9938 (lisp-lambda-list-keyword-parameter-alignment):
9939 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9940 * dired-x.el (dired-omit-verbose):
9941 * cus-theme.el (custom-theme-allow-multiple-selections):
9942 * calc/calc.el (calc-highlight-selections-with-faces)
9943 (calc-lu-field-reference, calc-lu-power-reference)
9944 (calc-note-threshold):
9945 * battery.el (battery-mode-line-limit):
9946 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9947 (archive-7z-update):
9948 * allout.el (allout-prefixed-keybindings)
9949 (allout-unprefixed-keybindings)
9950 (allout-inhibit-auto-fill-on-headline)
9951 (allout-flattened-numbering-abbreviation):
9952 * allout-widgets.el (allout-widgets-auto-activation)
9953 (allout-widgets-icons-dark-subdir)
9954 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9955 (allout-widgets-theme-dark-background)
9956 (allout-widgets-theme-light-background)
9957 (allout-widgets-item-image-properties-emacs)
9958 (allout-widgets-item-image-properties-xemacs)
9959 (allout-widgets-run-unit-tests-on-load)
9960 (allout-widgets-time-decoration-activity)
9961 (allout-widgets-hook-error-post-time)
9962 (allout-widgets-track-decoration):
9963 Add missing :version tags to new defcustoms and defgroups.
9964
5fec1b8e
GM
9965 * progmodes/sql.el (sql-ansi-statement-starters)
9966 (sql-oracle-statement-starters): Add custom type.
9967
3e0d2fa7
GM
9968 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9969 (prolog-system-version): Give it a type.
9970
90b671e2
EZ
99712012-02-11 Eli Zaretskii <eliz@gnu.org>
9972
9973 * term/pc-win.el (x-select-text, x-selection-owner-p)
9974 (x-own-selection-internal, x-disown-selection-internal)
9975 (x-get-selection-internal): Sync doc strings and argument lists
9976 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9977
5eac0c02
LL
99782012-02-11 Leo Liu <sdl.web@gmail.com>
9979
9980 * progmodes/python.el (python-end-of-statement): Fix infinite
9981 loop. (Bug#10788)
9982
f82cb659
GM
99832012-02-10 Glenn Morris <rgm@gnu.org>
9984
9985 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9986 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9987
cc26d239
LI
99882012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9989
9990 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9991 about SMTP before checking the From header.
9992
91027d08 9993 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9994 into own function for reuse by emacsbug.el.
9995
1be3ca5a
LL
99962012-02-10 Leo Liu <sdl.web@gmail.com>
9997
9998 * subr.el (condition-case-unless-debug): Rename from
9999 condition-case-no-debug. All callers changed.
10000 (with-demoted-errors): Fix caller.
10001
10002 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10003 * nxml/rng-valid.el (rng-do-some-validation):
10004 * emacs-lisp/package.el (package-refresh-contents)
10005 (package-menu-execute):
10006 * desktop.el (desktop-create-buffer):
91027d08 10007 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10008
b011fbfe
GM
100092012-02-10 Glenn Morris <rgm@gnu.org>
10010
b2096d72
GM
10011 * textmodes/bibtex.el:
10012 Add missing :version tags for new/changed defcustoms.
10013
b011fbfe
GM
10014 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10015
4c7e65bf
LI
100162012-02-09 Lars Ingebrigtsen <larsi@rusty>
10017
10018 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10019 (smtpmail-via-smtp): Use it, or fall back on the From address.
10020 (smtpmail-send-it): Ditto.
10021
f3934f6f
SM
100222012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10023
10024 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10025 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10026 (byte-compile-tmp-var): New const.
10027 (byte-compile-defvar): Use it to minimize .elc size.
10028 Just use `defvar' rather than simulate it (bug#10761).
10029
a075a2c5
GM
100302012-02-09 Glenn Morris <rgm@gnu.org>
10031
cf3aa21b
GM
10032 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10033
354998cd
GM
10034 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10035 Add :version tags.
10036
dc9924b8
SM
10037 * progmodes/compile.el (compilation-error-screen-columns)
10038 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10039
dab3703d
GM
10040 * vc/log-view.el (log-view-toggle-entry-display):
10041 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10042
3f88cd72
GM
10043 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10044 (report-emacs-bug-can-use-xdg-email):
10045 (report-emacs-bug-insert-to-mailer): Doc fixes.
10046 (report-emacs-bug): Message fix.
10047
d95b247d
GM
10048 * net/browse-url.el (browse-url-can-use-xdg-open)
10049 (browse-url-xdg-open): Doc fixes.
10050
a075a2c5
GM
10051 * electric.el (electric-indent-mode, electric-pair-mode)
10052 (electric-layout-rules, electric-layout-mode): Doc fixes.
10053 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10054
ffb6157e
MR
100552012-02-08 Martin Rudalics <rudalics@gmx.at>
10056
10057 * server.el (server-unselect-display): Don't inadvertently kill
10058 the current buffer. (Bug#10729)
10059
e1ac4066
GM
100602012-02-08 Glenn Morris <rgm@gnu.org>
10061
34e8a2da
GM
10062 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10063 (sql-list-table): Doc fixes.
10064
b4ac6e8c
GM
10065 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10066 Comment out (does nothing).
10067
e1ac4066
GM
10068 * completion.el (dynamic-completion-mode):
10069 * dirtrack.el (dirtrack-debug-mode):
10070 * electric.el (electric-layout-mode):
10071 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10072 * face-remap.el (text-scale-mode, buffer-face-mode):
10073 * iimage.el (iimage-mode):
10074 * image-mode.el (image-transform-mode):
10075 * minibuffer.el (completion-in-region-mode):
10076 * scroll-lock.el (scroll-lock-mode):
10077 * simple.el (next-error-follow-minor-mode):
10078 * tar-mode.el (tar-subfile-mode):
10079 * tooltip.el (tooltip-mode):
10080 * vcursor.el (vcursor-use-vcursor-map):
10081 * wid-browse.el (widget-minor-mode):
10082 * emulation/tpu-edt.el (tpu-edt-mode):
10083 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10084 * international/iso-ascii.el (iso-ascii-mode):
10085 * language/thai-util.el (thai-word-mode):
10086 * mail/supercite.el (sc-minor-mode):
10087 * net/goto-addr.el (goto-address-mode):
10088 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10089 * progmodes/cwarn.el (cwarn-mode):
10090 * progmodes/flymake.el (flymake-mode):
10091 * progmodes/glasses.el (glasses-mode):
10092 * progmodes/hideshow.el (hs-minor-mode):
10093 * progmodes/pascal.el (pascal-outline-mode):
10094 * textmodes/enriched.el (enriched-mode):
10095 * vc/smerge-mode.el (smerge-mode):
10096 Doc fixes (minor mode argument).
10097
5e0d957f
EZ
100982012-02-07 Eli Zaretskii <eliz@gnu.org>
10099
10100 * ls-lisp.el (ls-lisp-sanitize): New function.
10101 (ls-lisp-insert-directory): Use it to fix or remove any elements
10102 in file-alist with missing attributes. (Bug#4673)
10103
98d7371e
AM
101042012-02-07 Alan Mackenzie <acm@muc.de>
10105
10106 Fix spurious recognition of c-in-knr-argdecl.
10107
10108 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10109 putative K&R region.
10110
667ced3a
AM
101112012-02-07 Alan Mackenzie <acm@muc.de>
10112
eb864a71
LM
10113 * progmodes/cc-engine.el (c-forward-objc-directive):
10114 Prevent looping in "#pragma mark @implementation".
667ced3a 10115
5b77774d
MA
101162012-02-07 Michael Albinus <michael.albinus@gmx.de>
10117
10118 * notifications.el (notifications-on-closed-signal): Make `reason'
10119 optional. (Bug#10744)
10120
af008560
GM
101212012-02-07 Glenn Morris <rgm@gnu.org>
10122
60d47423
GM
10123 * emacs-lisp/easy-mmode.el (define-minor-mode):
10124 Doc fixes for the macro and the mode it defines.
10125
dd605cc4
GM
10126 * image.el (imagemagick-types-inhibit): Doc fix.
10127
af008560
GM
10128 * cus-start.el (imagemagick-render-type): Add it.
10129
5cc59a37
LI
101302012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10131
4d6769e1
JB
10132 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10133 Set the default at load time, too, so that `font-lock-fontify-buffer'
10134 can be called without setting up the entire mode first. This fixes
10135 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10136
9a6dd747
CY
101372012-02-06 Chong Yidong <cyd@gnu.org>
10138
2d16b285
CY
10139 * simple.el (list-processes--refresh): Delete exited processes
10140 (Bug#8094).
10141
171e9b6e
CY
10142 * comint.el (comint-next-prompt): next-single-char-property-change
10143 and prev-single-char-property-change never return nil (Bug#8657).
10144
9a6dd747
CY
10145 * custom.el (defcustom): Doc fix (Bug#9711).
10146
aa4589a7
CY
101472012-02-05 Chong Yidong <cyd@gnu.org>
10148
5c2a252f
CY
10149 * cus-edit.el (custom-variable-reset-backup): Quote the value
10150 before storing it in the customized-value property (Bug#6712).
4aab9006 10151 (custom-display): Add a customization type tag.
983b9602 10152 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10153
aa4589a7
CY
10154 * wid-edit.el (widget-field-value-get): New optional arg to
10155 suppress trailing whitespace truncation.
10156 (character): Use it (Bug#2689).
10157
1ff980ae
AS
101582012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10159
10160 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10161 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10162
03988c98
CY
101632012-02-05 Chong Yidong <cyd@gnu.org>
10164
eeb6cc88
CY
10165 * cus-edit.el (custom-variable-value-create): For mismatched
10166 types, show the current value (Bug#7600).
10167
03988c98
CY
10168 * custom.el (defcustom): Doc fix.
10169
f8cdeef0
GM
101702012-02-05 Glenn Morris <rgm@gnu.org>
10171
10172 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10173
0696d255
JB
101742012-02-05 Juanma Barranquero <lekktu@gmail.com>
10175
10176 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10177 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10178 (pp-last-sexp): Use `looking-at-p'.
10179
34c99998
GM
101802012-02-04 Glenn Morris <rgm@gnu.org>
10181
8f05da42
GM
10182 * files.el (revert-buffer):
10183 Doc fix (mention revert-buffer-in-progress-p).
10184
f160676e
GM
10185 * emacs-lisp/ert-x.el (ert-simulate-command):
10186 Check deferred-action-list (which is obsolete) is bound.
10187
c7291ad9
GM
10188 * subr.el (with-wrapper-hook): Doc fixes.
10189
34c99998
GM
10190 * simple.el (filter-buffer-substring-functions)
10191 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10192
6283a7d3
LL
101932012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10194
10195 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10196 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10197
e96e3013
LL
101982012-02-04 Leo Liu <sdl.web@gmail.com>
10199
10200 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10201
8ded50f2
GM
102022012-02-04 Glenn Morris <rgm@gnu.org>
10203
82ff1d13
GM
10204 * image.el (image-extension-data): Add obsolete alias.
10205
987a0a16
GM
10206 * isearch.el (isearch-update): Doc fix.
10207
ea32ef46
GM
10208 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10209
8ded50f2
GM
10210 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10211
eea14f31
GM
102122012-02-03 Glenn Morris <rgm@gnu.org>
10213
10214 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10215 (image-animate-timeout): Doc fix.
10216
10217 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10218
12f381b7
GM
102192012-02-02 Glenn Morris <rgm@gnu.org>
10220
953cebf5
GM
10221 * server.el (server-auth-dir): Doc fix.
10222 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10223
12f381b7
GM
10224 * subr.el (run-mode-hooks): Doc fix.
10225
953a8c3b
JL
102262012-02-02 Juri Linkov <juri@jurta.org>
10227
10228 * image-mode.el (image-toggle-display-image): Remove tautological
10229 `major-mode' from the `derived-mode-p' test.
10230
c5d3843c
KH
102312012-02-02 Kenichi Handa <handa@m17n.org>
10232
9f6e692e 10233 * composite.el (compose-region): Cancel previous change.
c5d3843c 10234
159462d4 102352012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10236
10237 * composite.el (compose-region, compose-string): Signal error for
10238 a null string component (Bug#6988).
10239
9f562668
CY
102402012-02-01 Chong Yidong <cyd@gnu.org>
10241
e2cef717
CY
10242 * view.el (view-buffer-other-window, view-buffer-other-frame):
10243 Handle special modes like view-buffer (Bug#10650).
10244 (view-buffer): Simplify.
10245
9f562668
CY
10246 * frame.el (set-frame-font): Tweak meaning of third argument.
10247
9f6e692e
JB
10248 * dynamic-setting.el (font-setting-change-default-font):
10249 Use set-frame-font (Bug#9982).
9f562668 10250
781acb9f
GM
102512012-02-01 Glenn Morris <rgm@gnu.org>
10252
6035be52
GM
10253 * progmodes/compile.el (compilation-internal-error-properties):
10254 Respect compilation-first-column in the "*compilation*" buffer.
10255
781acb9f
GM
10256 * emacs-lisp/easy-mmode.el (define-minor-mode):
10257 Relax :variable's test for a named function.
10258
abbceb00
AM
102592012-01-31 Alan Mackenzie <acm@muc.de>
10260
10261 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10262 off by one error.
10263
fce3fdeb
CY
102642012-01-31 Chong Yidong <cyd@gnu.org>
10265
10266 * frame.el (set-frame-font): New arg ALL-FRAMES.
10267
10268 * menu-bar.el (menu-set-font): Use set-frame-font.
10269
10270 * faces.el (face-spec-reset-face): Don't apply unspecified
10271 attribute values to the default face.
10272
47893581
JB
102732012-01-31 Juanma Barranquero <lekktu@gmail.com>
10274
10275 * progmodes/cwarn.el (cwarn): Remove dead link.
10276 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10277 Remove * from defcustom docstrings.
10278 (turn-on-cwarn-mode): Make obsolete.
10279 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10280 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10281
e58e988a
GM
102822012-01-31 Glenn Morris <rgm@gnu.org>
10283
60dc2671 10284 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10285 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10286 Allow named functions to be used as the cdr of :variable.
e58e988a 10287
7a3f511d
GM
102882012-01-30 Glenn Morris <rgm@gnu.org>
10289
10290 * emacs-lisp/authors.el (authors-fixed-entries):
10291 Remove reference to deleted file rnewspost.el.
10292
cb882333
JB
102932012-01-29 Juanma Barranquero <lekktu@gmail.com>
10294
10295 * window.el (window-with-parameter): Remove unused variable `windows'.
10296 (window--side-check): Remove unused variable `code'.
10297 (window--resize-siblings): Remove unused variable `first'.
10298 (adjust-window-trailing-edge): Remove unused variable `failed'.
10299 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10300 Use `let', not `let*'.
10301 (balance-windows-2): Remove unused variable `found'.
10302 (window--state-put-2): Remove unused variable `splits'.
10303 (window-state-put): Remove unused variable `selected'.
10304 (same-window-p): Use `string-match-p'.
10305 (display-buffer-assq-regexp): Remove unused variable `value'.
10306 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10307 Mark argument ALIST as ignored.
10308 (pop-to-buffer): Remove unused variable `old-window'.
10309
907201af
EZ
103102012-01-29 Eli Zaretskii <eliz@gnu.org>
10311
10312 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10313 and .lzma compressed files.
10314
ea162670
CY
103152012-01-29 Chong Yidong <cyd@gnu.org>
10316
5b95ee8a
CY
10317 * frame.el (window-system-default-frame-alist): Doc fix.
10318
ea162670
CY
10319 * dynamic-setting.el (font-setting-change-default-font): Don't
10320 change the default face if SET-FONT argument is non-nil (Bug#9982).
10321
d6e6f4b1
SB
103222012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10323
10324 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10325
0f29fa41 103262012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10327
10328 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10329 breakpoints in files outside current directory (Bug#6098).
10330
db174434
CY
103312012-01-29 Chong Yidong <cyd@gnu.org>
10332
6b25e4e2
SE
10333 * progmodes/python.el: Require ansi-color at top-level.
10334
6df6ae42
JB
10335 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10336 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10337 (lisp-mode-abbrev-table): Add doc.
10338 (lisp-mode-variables): Don't set local-abbrev-table.
10339 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10340
e70ee681
RW
103412012-01-28 Roland Winkler <winkler@gnu.org>
10342
10343 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10344
ace88aa2
RW
103452012-01-28 Roland Winkler <winkler@gnu.org>
10346
10347 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10348 (bibtex-set-dialect): Use it. Either set global values of
10349 dialect-dependent variables or bind these variables buffer-locally
10350 (Bug#10254).
10351 (bibtex-mode): Call bibtex-set-dialect via
10352 hack-local-variables-hook.
eb864a71
LM
10353 (bibtex-dialect): Update docstring.
10354 Add safe-local-variable predicate.
ace88aa2
RW
10355 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10356 bibtex-set-dialect.
10357 (bibtex-mode-map): Define menu for each dialect.
10358 (bibtex-entry): Fix docstring.
10359
93376c5b
CY
103602012-01-28 Chong Yidong <cyd@gnu.org>
10361
10362 * eshell/esh-arg.el (eshell-quote-argument): New function.
10363
10364 * eshell/esh-ext.el (eshell-invoke-batch-file):
10365 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10366 first arg to eshell-parse-command (Bug#10523).
10367
4372494f
DA
103682012-01-28 Drew Adams <drew.adams@oracle.com>
10369
10370 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10371 `default-directory' is non-nil.
10372
4d4ec1f8
EZ
103732012-01-28 Eli Zaretskii <eliz@gnu.org>
10374
10375 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10376 line that displays system-configuration-options. (Bug#9924)
10377
7c188927
DA
103782012-01-28 Drew Adams <drew.adams@oracle.com>
10379
10380 * descr-text.el (describe-char): Show information about POS, in
10381 addition to information about the character at POS. Improve and
10382 update the doc string. Change "code point" to "code point in
10383 charset", to avoid confusion with the character's Unicode code
10384 point shown above that. (Bug#10129)
10385
e0da685a
EZ
103862012-01-28 Eli Zaretskii <eliz@gnu.org>
10387
10388 * descr-text.el (describe-char): Show the raw character, not only
10389 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10390 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10391 for the reasons.
10392
70550acf
PH
103932012-01-28 Phil Hagelberg <phil@hagelb.org>
10394
eb864a71
LM
10395 * emacs-lisp/package.el (package-install):
10396 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10397
0ce8e868
CY
103982012-01-28 Chong Yidong <cyd@gnu.org>
10399
cb882333
JB
10400 * emacs-lisp/package.el (package-maybe-load-descriptor):
10401 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10402 (package-maybe-load-descriptor): Use it.
10403 (package-download-transaction): Fully load required packages
10404 inside the loop, so that `require' calls work (Bug#10593).
10405 (package-install): No need to call package-initialize now.
10406
2e7f3bea
CY
104072012-01-28 Chong Yidong <cyd@gnu.org>
10408
6e9bad14
CY
10409 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10410
f823b8ca
CY
10411 * tooltip.el (tooltip-mode): Doc fix.
10412 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10413
2680c309
CY
10414 * frame.el (set-cursor-color): Doc fix (Bug#352).
10415
d7a9e63b
CY
10416 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10417 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10418
2e7f3bea
CY
10419 * cus-edit.el (custom-buffer-create-internal): Fix search button
10420 action (Bug#10542).
2ae01800 10421 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10422
fc4f7a23
EW
104232012-01-27 Eduard Wiebe <usenet@pusto.de>
10424
10425 * dired.el (dired-mark-files-regexp):
10426 Include any subdirectory components. (Bug#10445)
10427
7dd37071
ML
104282012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10429
10430 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10431 Handle [host]:port syntax. (Bug#10533)
10432
a268160b
AH
104332012-01-27 Alex Harsanyi <harsanyi@mac.com>
10434
10435 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10436
e43273ef
GM
104372012-01-26 Glenn Morris <rgm@gnu.org>
10438
10439 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10440 * term.el (term-raw-escape-map): Use Control-X-prefix.
10441 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10442
1edf595d
MR
104432012-01-25 Martin Rudalics <rudalics@gmx.at>
10444
10445 * window.el (window-state-get, window--state-get-1): Don't deal
10446 with fixed-sizeness of windows. Simplify code.
10447
fa8eafef
JC
104482012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10449
6df6ae42
JB
10450 * window.el (window--state-get-1, window--state-put-2):
10451 Don't save and restore the mark.
fa8eafef 10452
0b21c100
CY
104532012-01-25 Chong Yidong <cyd@gnu.org>
10454
10455 * custom.el (custom-variable-p): Doc fix.
10456
5ae1a6c8
GM
104572012-01-25 Glenn Morris <rgm@gnu.org>
10458
40047858
GM
10459 * dired.el (dired-goto-file): Handle some of the more common
10460 characters that `ls -b' escapes. (Bug#10596)
10461
5ddce96c
GM
10462 * progmodes/compile.el (compilation-next-error-function):
10463 Respect compilation-first-column in the "*compilation*" buffer.
10464 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10465
5ae1a6c8
GM
10466 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10467
b559f1a9
GM
104682012-01-24 Glenn Morris <rgm@gnu.org>
10469
10470 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10471
6725d21a
JD
104722012-01-24 Julien Danjou <julien@danjou.info>
10473
10474 * color.el (color-rgb-to-hsl): Fix value computing.
10475 (color-hue-to-rgb): New function.
10476 (color-hsl-to-rgb): New function.
10477 (color-clamp, color-saturate-hsl, color-saturate-name)
10478 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10479 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10480
70df4bbe
GM
104812012-01-24 Glenn Morris <rgm@gnu.org>
10482
10483 * vc/vc-rcs.el (vc-rcs-create-tag):
10484 * vc/vc-sccs.el (vc-sccs-create-tag):
10485 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10486
802a2ae2
ML
104872012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10488
10489 * eshell/esh-util.el (eshell-read-hosts-file):
10490 Skip comment lines. (Bug#10549)
10491
d7128bb1
ML
10492 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10493
d1a5c3b4
JB
104942012-01-23 Juanma Barranquero <lekktu@gmail.com>
10495
2724d9c7
JB
10496 * subr.el (display-delayed-warnings): Doc fix.
10497 (collapse-delayed-warnings): New function to collapse identical
10498 adjacent warnings.
10499 (delayed-warnings-hook): Add it.
d1a5c3b4 10500
a5509865
MA
105012012-01-22 Michael Albinus <michael.albinus@gmx.de>
10502
10503 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10504
a5509865
MA
10505 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10506 (tramp-default-user-alist): Don't add "pscp".
10507 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10508 property "login-as", if set. (Bug#10530)
10509
cc6d5805
MA
105102012-01-21 Michael Albinus <michael.albinus@gmx.de>
10511
10512 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10513 "plink1" and "psftp". (Bug#10530)
10514
105152012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10516
10517 * international/mule-cmds.el (prefer-coding-system): Show a
10518 warning message if the default value of file-name-coding-system
10519 was not changed.
10520
f0960428
JC
105212012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10522
cb882333
JB
10523 * windmove.el (windmove-reference-loc):
10524 Fix windmove-reference-loc miscalculation.
f0960428 10525
dd6f2a63
JB
105262012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10527
10528 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10529 default unit.
10530
7b447e9b
GM
105312012-01-21 Glenn Morris <rgm@gnu.org>
10532
117a9ea1
GM
10533 * international/mule.el (auto-coding-alist): Add .tbz.
10534
7b447e9b
GM
10535 * files.el (local-enable-local-variables): Doc fix.
10536 (inhibit-local-variables-regexps): Rename from
10537 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10538 Doc fix. Add some extensions from auto-coding-alist.
10539 (inhibit-local-variables-suffixes):
10540 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10541 (inhibit-local-variables-p):
10542 New function, extracted from set-auto-mode-1.
10543 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10544 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10545 (hack-local-variables): Doc fix. Make the mode-only case
10546 respect enable-local-variables and friends.
10547 Respect inhibit-local-variables-regexps for file-locals, but
10548 not for directory-locals.
10549 (set-visited-file-name):
10550 Take account of inhibit-local-variables-regexps.
10551 Whether it applies may change as the file name is changed.
10552 * jka-cmpr-hook.el (jka-compr-install):
10553 * jka-compr.el (jka-compr-uninstall):
10554 Update for inhibit-first-line-modes-suffixes name change.
10555
dd6e3cdd
MR
105562012-01-20 Martin Rudalics <rudalics@gmx.at>
10557
10558 * help-macro.el (make-help-screen): Temporarily restore original
10559 binding for minor-mode-map-alist (Bug#10454).
10560
0d0deb38
JD
105612012-01-19 Julien Danjou <julien@danjou.info>
10562
10563 * color.el (color-name-to-rgb): Use the white color to find the max
10564 color component value and return correctly computed values.
10565 (color-name-to-rgb): Add missing float conversion for max value.
10566
34a02f46
MR
105672012-01-19 Martin Rudalics <rudalics@gmx.at>
10568
10569 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10570 special state value for window-persistent-parameters.
10571 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10572 (window--state-put-2): Reset all window parameters to nil before
10573 assigning values of persistent parameters.
10574
606c44c4
AM
105752012-01-18 Alan Mackenzie <acm@muc.de>
10576
10577 Eliminate sluggishness and hangs in fontification of "semicolon
10578 deserts".
10579
cb882333
JB
10580 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10581 Change value 10000 -> 3000.
606c44c4
AM
10582 (c-state-safe-place): Reformulate so it doesn't stack up an
10583 infinite number of wrong entries in c-state-nonlit-pos-cache.
10584 (c-determine-limit-get-base, c-determine-limit): New functions to
10585 determine backward search limits disregarding literals.
10586 (c-find-decl-spots): Amend commenting.
10587 (c-cheap-inside-bracelist-p): New function which detects "={".
10588
10589 * progmodes/cc-fonts.el
10590 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10591 backward search.
10592 (c-font-lock-declarations): Fix an occurrence of point being
10593 undefined. Check additionally for point being in a bracelist or
10594 near a macro invocation without a semicolon so as to avoid a
10595 fruitless time consuming search for a declarator. Give a more
10596 precise search limit for declarators using the new
10597 c-determine-limit.
10598
f3860cea
GM
105992012-01-18 Glenn Morris <rgm@gnu.org>
10600
10601 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10602 (set-auto-mode): Doc fixes.
10603
1db03b16
GM
106042012-01-17 Glenn Morris <rgm@gnu.org>
10605
0e6038be
GM
10606 * isearch.el (search-nonincremental-instead): Fix doc typo.
10607
1db03b16
GM
10608 * dired.el (dired-insert-directory): Handle newlines in directory name.
10609 (dired-build-subdir-alist): Unescape newlines in directory name.
10610
4cb0aa75
MA
106112012-01-17 Michael Albinus <michael.albinus@gmx.de>
10612
10613 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10614 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10615 (tramp-action-terminal): Use it. (Bug#10530)
10616
1d00653d
SM
106172012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10620
6a6ee00d
MR
106212012-01-16 Martin Rudalics <rudalics@gmx.at>
10622
10623 * window.el (window-state-ignored-parameters): Remove variable.
10624 (window--state-get-1): Rename argument MARKERS to IGNORE.
10625 Handle persistent window parameters. Make copy of clone-of
10626 parameter only if requested. (Bug#10348)
10627 (window--state-put-2): Install a window parameter only if it has
10628 a non-nil value or an existing parameter shall be overwritten.
10629
97912def
MA
106302012-01-15 Michael Albinus <michael.albinus@gmx.de>
10631
10632 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10633
688070a5
EZ
106342012-01-14 Eli Zaretskii <eliz@gnu.org>
10635
10636 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10637 don't pass the (nil) value of `upnode' to string-match.
10638
301afadc
CY
106392012-01-14 Chong Yidong <cyd@gnu.org>
10640
10641 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10642 Fix values recognized by the cursorBlink resource.
301afadc 10643
9e5788aa
PE
106442012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10645
10646 * epg.el (epg--make-temp-file): Avoid permission race condition
10647 when running on old Emacs versions (bug#10403).
10648
3cdb7f5a
GM
106492012-01-14 Glenn Morris <rgm@gnu.org>
10650
10651 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10652
8c82b1b4
AM
106532012-01-13 Alan Mackenzie <acm@muc.de>
10654
10655 Fix filling for when filladapt mode is enabled.
10656
10657 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10658 c-mask-paragraph, pass in `fill-paragraph' rather than
10659 `fill-region-as-paragraph'. (This is a reversion of a previous
10660 change.)
eb864a71
LM
10661 * progmodes/cc-mode.el (c-basic-common-init):
10662 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10663
e517eda4
GM
106642012-01-13 Glenn Morris <rgm@gnu.org>
10665
1498536e
GM
10666 * dired.el (dired-switches-escape-p): New function.
10667 (dired-insert-directory): Use dired-switches-escape-p.
10668 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10669
e517eda4
GM
10670 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10671
328f984d
GM
106722012-01-12 Glenn Morris <rgm@gnu.org>
10673
10674 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10675 changes in adaptive-fill-regexp. (Bug#10276)
10676
2cc769a8
AM
106772012-01-11 Alan Mackenzie <acm@muc.de>
10678
10679 Fix Emacs bug #10463 - put `widen's around the critical spots.
10680
1d00653d 10681 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10682 widen around each invocation of c-state-pp-to-literal. Remove an
10683 unused let variable.
10684
e52c37fa
GM
106852012-01-11 Glenn Morris <rgm@gnu.org>
10686
10687 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10688 Doc fix.
e52c37fa 10689
96f8741e
CY
106902012-01-10 Chong Yidong <cyd@gnu.org>
10691
1d00653d
SM
10692 * net/network-stream.el (network-stream-open-starttls):
10693 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10694 response to the capability command.
10695
b09a806e
GM
106962012-01-10 Glenn Morris <rgm@gnu.org>
10697
10698 * mail/unrmail.el (unrmail): Tweak previous change.
10699
7655cb66
CY
107002012-01-09 Chong Yidong <cyd@gnu.org>
10701
10702 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10703
9d5a8f0b
AM
107042012-01-08 Alan Mackenzie <acm@muc.de>
10705
10706 Optimise font locking in long enum definitions.
10707
10708 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10709 arm to a cond form to handle enums.
10710 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10711 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10712
9a0115ab 107132012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10714
10715 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10716 (Bug#10401)
6bb72cbd 10717
f186bb95
LMI
107182012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10719
29232a68
LMI
10720 * faces.el (set-face-attribute): Clarify the meaning of the nil
10721 frame (bug#10294).
10722
4e5d086d
LMI
10723 * subr.el (with-selected-frame): Mention that the selected frame
10724 is restored (bug#9980).
10725
8e66aebe
LMI
10726 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10727 (bug#9759).
10728
cd394be1 10729 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10730 (password-read): Don't autoload unused function.
10731
adf4e762
JB
107322012-01-07 Juanma Barranquero <lekktu@gmail.com>
10733
10734 * progmodes/which-func.el (which-func-mode): Turn into a
10735 non-interactive function and mark as obsolete (bug#10428).
10736
89bd9ccd
CY
107372012-01-06 Chong Yidong <cyd@gnu.org>
10738
10739 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10740 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10741 functions, along with 1 and -1.
10742
4afee9d5
EZ
107432012-01-06 Eli Zaretskii <eliz@gnu.org>
10744
10745 * time.el (display-time-load-average)
10746 (display-time-default-load-average): Doc fixes. See the thread
10747 starting at
10748 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10749 for the details.
10750
536aea70
GM
107512012-01-06 Glenn Morris <rgm@gnu.org>
10752
665ae865
GM
10753 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10754 has no messages. (Bug#10377)
10755
c869783d
GM
10756 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10757 than Info-edit. (Bug#10385)
10758
2bb4227e
GM
10759 * time.el (display-time-load-average, display-time-next-load-average):
10760 Doc fixes.
10761
7d5944b9
GM
10762 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10763 local setting of buffer-read-only to the input buffer. (Bug#10419)
10764
536aea70
GM
10765 * calendar/calendar.el (calendar-mode):
10766 Locally set scroll-margin to 0. (Bug#10379)
10767
7dccca16
UM
107682012-01-06 Ulrich Mueller <ulm@gentoo.org>
10769
10770 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10771
afbb7930
GM
107722012-01-05 Glenn Morris <rgm@gnu.org>
10773
10774 * eshell/em-unix.el (diff-no-select): Autoload it.
10775 (eshell/diff): Use diff-no-select. (Bug#10420)
10776
04482335
CY
107772012-01-05 Chong Yidong <cyd@gnu.org>
10778
7baca3bc
CY
10779 * shell.el (shell-dynamic-complete-functions): Revert last change.
10780 (shell-command-completion-function): New function.
10781 (shell-completion-vars): Use it to implement
10782 shell-completion-execonly (Bug#10417).
10783
04482335
CY
10784 * custom.el (enable-theme): Don't set custom-safe-themes.
10785
1d00653d
SM
10786 * cus-theme.el (custom-theme-merge-theme):
10787 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10788
bb5aa5d6
MM
107892012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10790
10791 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10792 first prompt in `sql-interacive-mode'.
10793 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10794 keywords.
6df6ae42 10795 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10796 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10797 context of original buffer. Invoke `sql-login-hook'.
10798
a7183d7c
EZ
107992012-01-04 Eli Zaretskii <eliz@gnu.org>
10800
10801 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10802 letters in cite-prefix.
10803
a1eacd1e
LMI
108042012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10805
10806 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10807
787cdb34
CY
108082012-01-03 Chong Yidong <cyd@gnu.org>
10809
1d00653d
SM
10810 * shell.el (shell-dynamic-complete-functions):
10811 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10812 comint-filename-completion first (Bug#10417).
10813
30710442
RS
108142012-01-02 Richard Stallman <rms@gnu.org>
10815
10816 * battery.el (battery-status-function):
10817 Detect when to use battery-yeeloong-sysfs.
10818 (battery-echo-area-format): Add string for Yeeloong.
10819 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10820 (battery-yeeloong-sysfs): New function.
10821
f75bfc33
CY
108222012-01-02 Chong Yidong <cyd@gnu.org>
10823
10824 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10825 (dirtrack): Merge code for handling relative filenames in prompt
10826 from shell-dir-cookie-watcher.
10827 (dirtrack-debug-message): New arg to avoid excess format calls.
10828
10829 * shell.el (shell-dir-cookie-re): Variable deleted.
10830 (shell-dir-cookie-watcher): Function deleted.
10831 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10832 with dirtrack-mode.
10833
651e947e
EZ
108342012-01-01 Eli Zaretskii <eliz@gnu.org>
10835
1d00653d
SM
10836 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10837 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10838 libgnutls-26.dll.
10839
94d4c7dc
AS
108402011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10841
10842 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10843
8d43f3cd
EZ
108442011-12-31 Eli Zaretskii <eliz@gnu.org>
10845
10846 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10847 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10848
98c8795a
MA
108492011-12-29 Michael Albinus <michael.albinus@gmx.de>
10850
10851 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10852 also for alternative shells.
10853 (tramp-open-connection-setup-interactive-shell): Check, whether
10854 the shell is a busybox.
10855 (tramp-send-command): Don't suppress multiple prompts for
10856 busyboxes, it hurts.
10857
51281b32
CY
108582011-12-28 Chong Yidong <cyd@gnu.org>
10859
10860 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10861 (gdb-get-source-file): Move mode line update to
10862 gdb-get-source-file (Bug#10087).
10863
2170cb53
CY
108642011-12-25 Chong Yidong <cyd@gnu.org>
10865
10866 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10867 gud-gdb-marker-filter without taking it as an argument.
10868 (gud-gdb-run-command-fetch-lines): Caller changed.
10869 (gud-gdb-completion-function): New variable.
10870 (gud-gdb-completion-at-point): Use it.
10871 (gud-gdb-completions-1): Split from gud-gdb-completions.
10872
10873 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10874 function as separate arguments.
10875 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10876 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10877 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10878 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10879 (gdb-stopped, def-gdb-auto-update-trigger)
10880 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10881 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10882 Callers changed.
2170cb53
CY
10883 (gud-gdbmi-completions): New function.
10884 (gdb): Use it for generating the completion table.
10885
be8b11bb
AM
108862011-12-24 Alan Mackenzie <acm@muc.de>
10887
10888 Introduce a mechanism to widen the region used in context font
1d00653d 10889 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10890
1d00653d
SM
10891 * progmodes/cc-langs.el (c-before-font-lock-functions):
10892 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10893 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10894 functions to be run just before context (etc.) font locking.
10895
10896 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10897 New, functionality extracted from
be8b11bb 10898 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10899 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10900 (c-after-change): Set c-in-after-change-fontification.
10901 (c-set-fl-decl-start): Rejig its interface, so it can be called
10902 from both after-change and context fontifying.
b81d40f0
JB
10903 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10904 New functions.
10905 (c-standard-font-lock-fontify-region-function): New variable.
10906 (c-font-lock-fontify-region): New function.
be8b11bb 10907
341cf6ac
JL
109082011-12-24 Juri Linkov <juri@jurta.org>
10909
10910 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10911 (Bug#10348)
10912
bffcee0a
MA
109132011-12-23 Michael Albinus <michael.albinus@gmx.de>
10914
10915 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10916 existence of source file. (Bug#10325)
10917
cb5e207c
AM
109182011-12-23 Alan Mackenzie <acm@muc.de>
10919
10920 Fix unstable fontification inside templates.
10921
b81d40f0
JB
10922 * progmodes/cc-langs.el (c-before-font-lock-functions):
10923 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10924 additionally has c-set-fl-decl-start. The other languages (apart
10925 from AWK) have that as a single entry.
10926
b81d40f0
JB
10927 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10928 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10929 c-set-fl-decl-start.
10930
b81d40f0
JB
10931 * progmodes/cc-mode.el (c-common-init, c-after-change):
10932 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10933 (c-set-fl-decl-start): New function, extracted from
10934 c-font-lock-enclosing-decls and enhanced.
10935
60ff536c
JB
109362011-12-23 Juanma Barranquero <lekktu@gmail.com>
10937
10938 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10939
1c4757d6
JL
109402011-12-22 Juri Linkov <juri@jurta.org>
10941
10942 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10943
d031f2c7
CY
109442011-12-22 Chong Yidong <cyd@gnu.org>
10945
10946 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10947
bace743a
DA
109482011-12-21 Drew Adams <drew.adams@oracle.com>
10949
10950 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10951
728a1f2b
JC
109522011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10953
10954 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10955
0d373f73
TZ
109562011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10957
fec0aaa4
TZ
10958 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10959 highlighting and support. Fix up comments for capitalization.
10960 (cfengine-mode-debug): New var.
10961 (cfengine3-mode): Change the modeline indicator to "CFE3".
10962 (cfengine3-font-lock-keywords): Improve defun highlighting.
10963 (cfengine2-actions): Rename from `cfengine-actions'.
10964 (cfengine2-font-lock-keywords): Rename from
10965 `cfengine-font-lock-keywords'.
10966 (cfengine2-imenu-expression): Rename from
10967 `cfengine-imenu-expression'.
10968 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10969 (cfengine2-beginning-of-defun): Rename from
10970 `cfengine-beginning-of-defun'.
10971 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10972 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10973 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10974 modeline indicator to "CFE2".
10975 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10976 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10977
bc86f573
CY
109782011-12-21 Chong Yidong <cyd@gnu.org>
10979
10980 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10981 filename argument.
10982
d45ba96b
MR
109832011-12-20 Martin Rudalics <rudalics@gmx.at>
10984
10985 * window.el (window-normalize-buffer-to-display): Remove.
10986 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10987
a6198c90
CY
109882011-12-19 Chong Yidong <cyd@gnu.org>
10989
10990 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10991 Don't signal an error in a predicate function; return non-nil.
10992 (vc-dir-mark-file): Move the error here.
10993 (vc-dir-mark-unmark): If acting on the region, keep going if one
10994 of the entries cannot be marked/unmarked.
10995 (vc-dir-mark-all-files): If current entry is a directory, mark
10996 only child files, as documented.
10997
34c5fb55
VB
109982011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10999
11000 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11001 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11002 addition.
11003
c803b2b7
JD
110042011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11005
11006 * term/ns-win.el (ns-get-selection-internal)
11007 (ns-store-selection-internal): Declare.
1154d12e
JB
11008 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11009 Declare as obsolete.
11010 (ns-get-pasteboard, ns-paste-secondary):
11011 Use ns-get-selection-internal.
41e9b956 11012 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11013 Use ns-store-selection-internal.
c803b2b7 11014
9cff91f8 110152011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11016
11017 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11018 (vc-deduce-fileset): Doc fix.
99a289d9 11019
f16c898a
AS
110202011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11021
11022 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11023
763237c4
SS
110242011-12-13 Sam Steingold <sds@gnu.org>
11025
11026 * man.el (Man-getpage-in-background): When running under a
11027 window-system, ignore $MANWIDTH and $COLUMNS.
11028
5fc1c122
KH
110292011-12-15 Kenichi Handa <handa@m17n.org>
11030
11031 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11032 (setup-ethiopic-environment-internal): Comment out key-binding for
11033 ethio-toggle-punctuation.
11034
13d49cbb
AM
110352011-12-13 Alan Mackenzie <acm@muc.de>
11036
898169a2
AM
11037 Add the switch statement to AWK Mode.
11038
7a71b18d 11039 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11040 "default" to the keywords regexp.
11041
7a71b18d 11042 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11043 expression as the rest.
1d00653d
SM
11044 (c-nonlabel-token-key): Allow string literals for AWK.
11045 Refactor for the other modes.
898169a2 11046
13d49cbb 11047 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11048 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11049 routines. Limit backward searching in c-font-lock-enclosing.decl.
11050
11051 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11052 pp-state and literal type in addition to the limits.
1d00653d 11053 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11054 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11055 (c-slow-in-literal, c-fast-in-literal): Remove.
11056 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11057
11058 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11059 being in a literal. Add a limit for backward searching.
11060
11061 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11062 c-slow-in-literal.
11063
15e0efc7
SM
110642011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11065
11066 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11067
454592a6
MR
110682011-12-13 Martin Rudalics <rudalics@gmx.at>
11069
11070 * window.el (delete-other-windows): Use correct frame in call to
11071 window-with-parameter.
11072
87393f26
DP
110732011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11074
11075 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11076 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11077 (makefile-gmake-statements, makefile-makepp-statements):
11078 Use it and add new makepp keywords.
11079 (makefile-makepp-font-lock-keywords): Add new patterns.
11080 (makefile-match-function-end): Match new [...] and [[...]].
11081
11636b22
JB
110822011-12-11 Juanma Barranquero <lekktu@gmail.com>
11083
11084 * ses.el (ses-call-printer-return, ses-cell-property-get)
11085 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11086 (ses-create-cell-variable, ses-reset-header-string)
11087 (ses-cell-set-formula, ses-repair-cell-reference-all)
11088 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11089 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11090 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11091 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11092 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11093 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11094 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11095 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11096 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11097 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11098 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11099 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11100
cf018193
VB
111012011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11102
11103 * ses.el: The overall change is to add cell renaming, that is
11104 setting fancy names for cell symbols other than name matching
11105 "\\`[A-Z]+[0-9]+\\'" regexp .
11106 (ses-create-cell-variable): New defun.
11107 (ses-relocate-formula): Relocate formulas only for cells the
11108 symbols of which are not renamed, i.e. symbols whose names do not
11109 match regexp "\\`[A-Z]+[0-9]+\\'".
11110 (ses-relocate-all): Relocate values only for cells the symbols of
11111 which are not renamed.
11112 (ses-load): Create cells variables as the (ses-cell ...) are read,
11113 in order to check row col consistency with cell symbol name only
11114 for cells that are not renamed.
11115 (ses-replace-name-in-formula): New defun.
11116 (ses-rename-cell): New defun.
11117
ee957461
CY
111182011-12-11 Chong Yidong <cyd@gnu.org>
11119
11120 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11121 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11122
9a9e9ef0
MR
111232011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11124
11125 * window.el (other-window): Fix docstring.
11126
92a8eba5
EZ
111272011-12-10 Eli Zaretskii <eliz@gnu.org>
11128
11129 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11130 `from' or `to' address before taking its substring.
11131 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11132 encoded name is chopped in the middle of the encoded string, and
11133 thus displayed encoded.
11134
e152e577
JB
111352011-12-10 Juanma Barranquero <lekktu@gmail.com>
11136
11137 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11138
e5d84bfe
EZ
111392011-12-10 Eli Zaretskii <eliz@gnu.org>
11140
11141 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11142 to use texinfo-update-node and commands that call it if the
11143 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11144 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11145 (texinfo-all-menus-update, texinfo-master-menu)
11146 (texinfo-update-node, texinfo-every-node-update)
11147 (texinfo-multiple-files-update): Doc fix. Warn against updating
11148 all the @node lines.
11149 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11150 argument is numeric. Explain better in the doc string what the
11151 function really does.
11152 (texinfo-insert-master-menu-list): Improve the error message
11153 displayed if there's no menu in the Top node.
11154 (Bug#2975) See also this thread:
e5d84bfe
EZ
11155 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11156
1d84e9bb
MG
111572011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11158
11159 * speedbar.el (speedbar-supported-extension-expressions):
11160 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11161
382c953b
JB
111622011-12-09 Juanma Barranquero <lekktu@gmail.com>
11163
11164 * printing.el (pr-mode-alist):
11165 * simple.el (filter-buffer-substring-functions)
11166 (completion-list-insert-choice-function):
11167 * window.el (window-with-parameter, window-atom-root)
11168 (window-sides-slots, window-size-fixed, window-min-delta)
11169 (window-max-delta, window--resize-mini-window)
11170 (window--resize-child-windows-normal, window-tree)
11171 (delete-other-windows, quit-window, split-window)
11172 (display-buffer-record-window, special-display-buffer-names)
11173 (special-display-regexps, special-display-popup-frame)
11174 (same-window-p, split-window-sensibly)
11175 (display-buffer-overriding-action, display-buffer-alist)
11176 (display-buffer-base-action, display-buffer, switch-to-buffer)
11177 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11178 (fit-window-to-buffer, recenter-positions)
11179 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11180 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11181 and remove unneeded backslashes in docstrings.
11182
39c9faef
SM
111832011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11184
98449af8
SM
11185 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11186
39c9faef
SM
11187 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11188 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11189 end in ".mk".
11190 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11191 when reading the makefile (bug#10116).
11192
86ed9fdc
SM
111932011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11196 (bug#10116).
11197
5580f89d
GM
111982011-12-06 Glenn Morris <rgm@gnu.org>
11199
11200 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11201
28d3917c
CY
112022011-12-06 Chong Yidong <cyd@gnu.org>
11203
11204 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11205
a98edce9
JB
112062011-12-06 Juanma Barranquero <lekktu@gmail.com>
11207
11208 * textmodes/table.el (table-shorten-cell): Fix typo.
11209
e65adfac
CG
112102011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11211
11212 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11213
71cc0b74
EZ
112142011-12-05 Eli Zaretskii <eliz@gnu.org>
11215
11216 * descr-text.el (describe-char): Fix display of strong
11217 right-to-left characters and directional embeddings and overrides.
11218
11219 * simple.el (what-cursor-position): Fix display of codepoints of
11220 strong right-to-left characters.
11221
315bc30d
CY
112222011-12-05 Chong Yidong <cyd@gnu.org>
11223
11224 * faces.el (read-color): Doc fix.
11225
58a70b94
GM
112262011-12-05 Glenn Morris <rgm@gnu.org>
11227
11228 * align.el (align--set-marker): Add doc-string.
11229 Don't try to move something that is not a marker. (Bug#10216)
11230
5158face
GM
112312011-12-04 Glenn Morris <rgm@gnu.org>
11232
11233 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11234 overly zealous deletion of trailing whitespace.
11235
520fca41
JB
112362011-12-04 Juanma Barranquero <lekktu@gmail.com>
11237
11238 * server.el (server-delete-client): On Windows, do not try to delete
11239 the only terminal.
11240 (server-process-filter): On Windows, treat requests for a tty frame as
11241 if they were for a GUI frame if the running server is in GUI mode.
11242
5e605a2e
GM
112432011-12-03 Glenn Morris <rgm@gnu.org>
11244
11245 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11246
5c3fe83f
SM
112472011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11248
6f5e57e7
SM
11249 * electric.el: Streamline electric-indent's hook.
11250 (electric-indent-chars): Revert to simple list.
11251 (electric-indent-functions): New var.
11252 (electric-indent-post-self-insert-function): Use it.
11253
5c3fe83f
SM
11254 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11255 there's no inferior buffer (bug#10196).
11256 (prolog-consult-compile): Don't use toggle-read-only.
11257
6bdac736
MA
112582011-12-02 Michael Albinus <michael.albinus@gmx.de>
11259
11260 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11261 interrupt. (Bug#10187)
11262
6131ba7f
SM
112632011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11264
99c79fee
SM
11265 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11266 (bug#9160).
11267
6131ba7f
SM
11268 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11269 (bug#10191).
11270
cb0a02ea
JL
112712011-12-02 Juri Linkov <juri@jurta.org>
11272
11273 * info.el (Info-search): Display "end of manual" when Isearch
11274 reaches the end of single-file Info manual. (Bug#9918)
11275
66e0570c
EZ
112762011-12-02 Eli Zaretskii <eliz@gnu.org>
11277
11278 * isearch.el (isearch-message-prefix): Run the input method part
11279 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11280
02b16839
JL
112812011-12-02 Juri Linkov <juri@jurta.org>
11282
11283 * isearch.el (isearch-occur): Use `word-search-regexp' for
11284 `isearch-word'.
11285 (isearch-search-and-update): Add condition for `isearch-word' and
11286 call `word-search-regexp'. (Bug#10145)
11287
0b950688
GM
112882011-12-01 Glenn Morris <rgm@gnu.org>
11289
11290 * eshell/em-hist.el (eshell-hist-initialize):
11291 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11292 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11293
9505c3c7
SM
112942011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11295
11296 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11297
1bbe96b2 112982011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11299
a1beca85
SM
11300 * progmodes/verilog-mode.el (verilog-pretty-expr):
11301 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11302 verilog, such as += *= and the like.
11303 (verilog-assignment-operator-re): Regular expression to find the
11304 assigment operator in a verilog assignment.
11305 (verilog-assignment-operation-re): Regular expression to find an
11306 assignment statement for pretty-expr.
11307 (verilog-in-attribute-p): Query returns true if point is in an
11308 attribute context; used to skip these for expression line up from
11309 pretty-expr.
11310 (verilog-in-parameter-p): Query returns true if point is in an
11311 parameter definition context; used to skip these for expression
11312 line up from pretty-expr.
11313 (verilog-in-parenthesis-p): Query returns true if point is in a
11314 parenthetical expression, specifically ( ) but not [ ] or { };
11315 used by pretty-expr.
11316 (verilog-just-one-space): If there is no space, don't add one.
11317 (verilog-get-lineup-indent-2): Specifically skip just attribute
11318 contexts for expression lineup, rather than skipping all
11319 parenthetical expressions.
11320 (verilog-calculate-indent): Fix comment, and fix indent.
11321 (verilog-do-indent): Indent declarations in lists (suggested by
11322 Joachim Lechner).
11323 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11324 skeleton items.
11325 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11326 by Alain Mellan).
11327
1bbe96b2 113282011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11329
11330 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11331 parameters with embedded comments. Reported by Ray Stevens.
11332 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11333 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11334 Reported by Tim Holt.
11335 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11336 instantiated by upper module causing wrong expansion until AUTOed a
11337 second time. Reported by K C Buckenmaier.
11338 (verilog-diff-auto): Fix showing .* as a difference when
11339 `verilog-auto-star-save' off. Reported by Dan Dever.
11340 (verilog-auto-reset, verilog-read-always-signals)
11341 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11342 temporary signals in reset list if
11343 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11344 style to each signal's assignment type, bug381.
11345 Reported by Thomas Esposito.
6288f0ca
WS
11346 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11347 (verilog-uvm-statement-re): Support UVM indentation and
11348 highlighting, with old OVM keywords only.
a1beca85 11349 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11350 Support AUTOTIEOFF creating non-wire data types.
11351 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11352 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11353 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11354 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11355 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11356 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11357 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11358 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11359 non-numeric vector width. Reported by Alex Reed.
11360 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11361 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11362 (verilog-auto-delete-trailing-whitespace):
11363 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11364 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11365 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11366 Fix verilog-scan-cache corruption when running user AUTO expansion
11367 hooks that call indentation routines.
11368 (verilog-simplify-range-expression): Fix typo ignoring lower case
11369 identifiers.
11370 (verilog-delete-auto): Fix delete-autos to also remove user created
11371 automatics, as long as they start with AUTO.
11372 (verilog-batch-diff-auto, verilog-diff-auto)
11373 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11374 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11375 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11376 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11377 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11378 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11379 is disabled and its cache will get corrupt, causing AUTOS not to
11380 expand. Instead use only -quick functions.
11381 (verilog-scan-region): Fix scanning over escaped quotes.
11382 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11383 (verilog-re-search-backward-quick)
11384 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11385 related functions now ignore strings, to fix misparsing of strings
11386 with magic comments embedded in them.
a1beca85
SM
11387 (verilog-read-auto-template):
11388 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11389 Reported by Brad Dobbie.
11390 (verilog-read-auto-template):
11391 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11392 Reported by Brad Dobbie.
6288f0ca
WS
11393 (verilog-auto-inst, verilog-auto-inst-param)
11394 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11395 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11396 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11397 debugging templates without merge conflicts, bug357.
11398 Reported by Brad Dobbie.
11399 (verilog-read-auto-template):
11400 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11401 Reported by Brad Dobbie.
11402 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11403 abbrevs so user won't be asked to save.
11404 (verilog-read-auto-lisp-present): Fix to start at beginning of
11405 buffer in case called outside of verilog-auto.
11406 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11407 to "X-2". Reported by Matthew Myers.
11408 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11409 all inputs from module templates. Reported by Leith Johnson.
11410 (verilog-module-inside-filename-p): Fix locating programs as with
11411 modules.
11412 (verilog-auto-inst-port): Fix vl-width expressions when using
11413 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11414 (verilog-decls-get-regs, verilog-decls-get-signals,
11415 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11416 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11417 verilog-read-decls): Combine reg and wire structures into one var
11418 structure to represent SystemVerilog concepts.
11419 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11420 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11421 (verilog-auto-wire-type, verilog-insert-definition):
11422 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11423 SystemVerilog "logic" keyword instead of "wire"/"reg".
11424 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11425 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11426 ifdef or generate if so there's not a driver conflict).
11427 Reported by Matthew Myers.
11428 (verilog-auto-declare-nettype, verilog-insert-definition):
11429 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11430 `default_nettype none. Reported by Julian Gorfajn.
11431 (verilog-read-always-signals-recurse, verilog-read-decls)
11432 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11433 malformed end statement, bug325. Reported by Joshua Wise and
11434 Andrew Drake.
11435 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11436 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11437 when expanding .* in interfaces, bug320.
11438 Reported by Pierre-David Pfister.
6288f0ca 11439 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11440 name and open parenthesis, bug317.
11441 Reported by Pierre-David Pfister.
6288f0ca
WS
11442 (verilog-simplify-range-expression): Fix simplification of
11443 multiplications inside AUTOWIRE connections, bug303.
11444 (verilog-auto-inst-port): Support parameter expansion in
11445 multidimensional arrays.
11446 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11447 after "assert property". Reported by Julian Gorfajn.
11448 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11449 with multiplication, bug303.
11450 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11451 Reported by Jan Frode Lonnum.
11452
1bbe96b2
GM
114532011-11-30 Juanma Barranquero <lekktu@gmail.com>
11454
11455 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11456 (hfy-shell-file-name, hfy-shell):
11457 * international/fontset.el (x-decompose-font-name): Fix typos.
11458
114592011-11-29 Ken Brown <kbrown@cornell.edu>
11460
11461 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11462 (gdb-version): Remove defvar.
11463 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11464 (gdb-gud-context-command, gdb-non-stop-handler)
11465 (gdb-current-context-command, gdb-stopped): Use it.
11466 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11467 (gdb-non-stop-handler): Don't enable pretty-printing here.
11468 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11469 non-stop mode. Use the following.
11470 (gdb-check-target-async): New defun.
11471 (gud-watch, gdb-stopped): Fix whitespace.
11472 (gdb-get-source-file): Don't try to display the source file if
11473 `gdb-main-file' is nil.
11474
114752011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11476
11477 * align.el: Try to generate fewer markers (bug#10047).
11478 (align--set-marker): New macro.
11479 (align-region): Use it.
11480
c935221f
SM
114812011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11482
11483 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11484
e70b5064
CY
114852011-11-29 Chong Yidong <cyd@gnu.org>
11486
11487 * indent.el (indent-for-tab-command, indent-according-to-mode):
11488 Doc fix.
11489 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11490
f3af92b7
MA
114912011-11-29 Michael Albinus <michael.albinus@gmx.de>
11492
11493 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11494 aware of remote file names. (Bug#10124)
11495
ed472be9
CY
114962011-11-29 Chong Yidong <cyd@gnu.org>
11497
11498 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11499
24510c22
SM
115002011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 * files.el (find-file): Don't use force-same-window (bug#10144).
11503 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11504 use pop-to-buffer if the selected window can't be used.
11505 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11506
c60c3703
EZ
115072011-11-28 Eli Zaretskii <eliz@gnu.org>
11508
11509 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11510 special-mode-map.
11511
e95def75
CY
115122011-11-28 Chong Yidong <cyd@gnu.org>
11513
11514 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11515
c3f1c606
NR
115162011-11-27 Nick Roberts <nickrob@snap.net.nz>
11517
11518 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11519 gdb-get-source-file-list on gdb-create-source-file-list.
11520
00db469c
EZ
115212011-11-26 Eli Zaretskii <eliz@gnu.org>
11522
11523 * whitespace.el (whitespace-newline): Use a different foreground
11524 color for 16-color light-background displays.
11525
4ad3bc2a
CY
115262011-11-24 Chong Yidong <cyd@gnu.org>
11527
11528 * window.el (display-buffer--special-action): Doc fix.
11529
e9fce1ac
JB
115302011-11-25 Juanma Barranquero <lekktu@gmail.com>
11531
11532 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11533 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11534 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11535 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11536 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11537 (avl-tree-stack-first):
11538 * emacs-lisp/cconv.el (cconv--analyse-use):
11539 * net/gnutls.el (gnutls-negotiate): Fix typos.
11540
cb825e5d
GM
115412011-11-24 Glenn Morris <rgm@gnu.org>
11542
3adbe224
GM
11543 * lpr.el (lpr-windows-system, lpr-lp-system):
11544 * mail/binhex.el (binhex-begin-line):
11545 * progmodes/grep.el (grep-history, grep-find-history):
11546 * textmodes/flyspell.el:
11547 * vc/pcvs-defs.el (cvs-global-menu):
11548 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11549 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11550 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11551
321decc8
GM
11552 * net/tls.el: Fix case of "GnuTLS".
11553
420b63ad
GM
11554 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11555
cb825e5d
GM
11556 * version.el (emacs-build-system): Give it a doc-string.
11557
a0649f08
JL
115582011-11-24 Juri Linkov <juri@jurta.org>
11559
11560 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11561
c0bc0fd4
GM
115622011-11-24 Glenn Morris <rgm@gnu.org>
11563
11564 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11565 if called on a non-mime message just toggle the headers. (Bug#8006)
11566
20db1522
JB
115672011-11-24 Juanma Barranquero <lekktu@gmail.com>
11568
11569 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11570 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11571 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11572 (allout-rebullet-heading, allout-open-sibtopic)
11573 (allout-toggle-current-subtree-encryption)
11574 (allout-toggle-subtree-encryption, allout-encrypt-string)
11575 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11576 (allout-distinctive-bullets-string, allout-auto-activation):
11577 * window.el (window-normalize-buffer-to-display):
11578 * progmodes/verilog-mode.el (verilog-batch-indent):
11579 * textmodes/bibtex.el (bibtex-field-braces-opt)
11580 (bibtex-field-strings-opt):
11581 * vc/cvs-status.el (cvs-tree-merge):
11582 Fix typos.
11583
7262a87c
MA
115842011-11-23 Michael Albinus <michael.albinus@gmx.de>
11585
11586 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11587 `non-essential' to t, in order to avoid remote connections.
11588
283430a1
EZ
115892011-11-23 Eli Zaretskii <eliz@gnu.org>
11590
a1beca85
SM
11591 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11592 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11593 case-insensitively.
11594
d2992a38
ML
115952011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11596
11597 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11598
50419064
GM
115992011-11-23 Glenn Morris <rgm@gnu.org>
11600
da94eca1
GM
11601 * paths.el (rmail-file-name): Reformat the doc-string so that it
11602 is picked up.
11603
9aac4de2
GM
11604 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11605 (rmail-auto-file): Ignore case in the "special" field names,
11606 as mail-fetch-field does for all others.
11607
8038d2d2
GM
11608 * mail/rmail.el (rmail-forward):
11609 * mail/rmailkwd.el (rmail-set-label):
11610 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11611 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11612
f3fe222a
GM
11613 * mail/rmail.el (rmail-current-message): Doc fix.
11614
50419064
GM
11615 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11616
28109f49
SM
116172011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11618
11619 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11620
394c65f1
GM
116212011-11-22 Glenn Morris <rgm@gnu.org>
11622
11623 * mail/rmailmm.el (test-rmail-mime-handler)
11624 (test-rmail-mime-bulk-handler)
11625 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11626
f2a0aa3a
JL
116272011-11-21 Juri Linkov <juri@jurta.org>
11628
1154d12e
JB
11629 * calc/calc.el (calc-read-key-sequence):
11630 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11631
9c34a344
LMI
116322011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11633
11634 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11635 Tell the caller that the next line needs recomputation, even
11636 though it doesn't start a sexp (bug#10094).
11637
f04a3be9
SM
116382011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11639
11640 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11641
7978747f
SM
116422011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11643
f04a3be9
SM
11644 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11645 Use force-same-window.
7978747f 11646
fe7a3057
JB
116472011-11-20 Juanma Barranquero <lekktu@gmail.com>
11648
11649 * descr-text.el (describe-char-unicode-data):
11650 * json.el (json-string-escape):
11651 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11652 (Footnote-unicode, Footnote-style-p):
11653 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11654
24901d61
CY
116552011-11-20 Chong Yidong <cyd@gnu.org>
11656
11657 * window.el (replace-buffer-in-windows): Restore interactive spec.
11658
bac7ff22
SM
116592011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11660
24f3d7b9
SM
11661 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11662
bac7ff22
SM
11663 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11664 (byte-compile-global-not-obsolete-vars): New var.
11665 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11666 Use it.
11667 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11668
cd1181db
JB
116692011-11-20 Juanma Barranquero <lekktu@gmail.com>
11670
11671 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11672 * progmodes/pascal.el (electric-pascal-equal):
11673 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11674 * xml.el (xml-substitute-special): Fix typos.
11675
7fb18e9e
GM
116762011-11-20 Glenn Morris <rgm@gnu.org>
11677
11678 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11679 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11680 Doc fixes.
11681 (rmail-decode-mime-charset): Mark as obsolete.
11682
11683 * mail/rmailsum.el (rmail-message-regexp-p-1):
11684 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11685 Before using mime functions, check they are set. (Bug#10077)
11686
d5a6b3ba
JL
116872011-11-19 Juri Linkov <juri@jurta.org>
11688
11689 * info.el (Info-finder-find-node): Use `package--builtins' instead
11690 of `package-alist'. Use node names formed by the pattern "Keyword "
11691 and the keyword name.
11692
e981b61f
AS
116932011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11694
1d00653d 11695 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11696
3ffbc301
JL
116972011-11-19 Juri Linkov <juri@jurta.org>
11698
11699 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11700 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11701 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11702 `old-history', `old-history-forward'. Add let-binding
11703 `window-selected'. Remove calls to `kill-buffer',
11704 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11705 before calling `Info-find-node', so `Info-find-node-2' will reread
11706 the Info file. Restore window positions only when `window-selected'
11707 is non-nil.
11708
30c62133
JL
117092011-11-19 Juri Linkov <juri@jurta.org>
11710
11711 * isearch.el (isearch-lazy-highlight-new-loop):
11712 Remove condition `(not isearch-error)'. (Bug#9918)
11713
11714 * misearch.el (multi-isearch-search-fun): Add condition
11715 `(not bound)' to ignore lazy-highlighting search.
11716 Add the search-failed message "end of multi" when the end of
11717 multi-sequence is reached. Uncapitalize the search-failed
11718 message "Repeat for next buffer".
11719
11720 * info.el (Info-search): Add the search-failed message
11721 "end of the manual" when the end of the manual is reached
11722 in Isearch mode.
11723
645ca9cf
JL
117242011-11-19 Juri Linkov <juri@jurta.org>
11725
11726 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11727 Use non-destructive `remove' instead of `delete' because
11728 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11729 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11730
df754f66
JL
117312011-11-19 Juri Linkov <juri@jurta.org>
11732
11733 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11734 to nil instead of binding `search-ring' and `regexp-search-ring'.
11735 (Bug#9185)
11736
0e23d96a
EZ
117372011-11-19 Eli Zaretskii <eliz@gnu.org>
11738
11739 * simple.el (line-move): Force movement by logical lines for any
11740 hscrolled window, not only when auto-hscroll-mode is on.
11741 (line-move-visual): Update doc string to that effect. (Bug#10076)
11742
8a6ccb66
AS
117432011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11744
11745 * language/european.el (macintosh): Define as alias for mac-roman.
11746
49ae5b39
EZ
117472011-11-19 Eli Zaretskii <eliz@gnu.org>
11748
11749 * mail/rmailmm.el (rmail-mime-display-header)
11750 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11751 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11752 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11753 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11754 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11755 of a raw aref.
11756 (rmail-mime-entity-segment): To get past the tagline, move forward
11757 2 more lines, to account for the 2 empty lines that precede and
11758 follow the line with the buttons.
11759 (rmail-mime-update-tagline): Move one more line, to get past the
11760 empty line that follows the buttons in the tagline. (Bug#9520)
11761
c56cad4a
MR
117622011-11-19 Martin Rudalics <rudalics@gmx.at>
11763
11764 * window.el (window-max-delta-1, window-min-delta-1)
11765 (window-min-size-1, window-state-get-1, window-state-put-1)
11766 (window-state-put-2): Use "window--" prefix.
11767
cbe71af3
SM
117682011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11769
2ad52c60
SM
11770 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11771 (smie-warning-count): New var.
11772 (smie-set-prec2tab): Use it.
11773 (smie-bnf->prec2): Improve warnings. Add docstring.
11774 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11775 (smie-bnf--set-class): New function.
11776 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11777 corner case.
11778
6944dbc1
SM
11779 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11780 (compilation-error-properties, compilation-move-to-column):
11781 Handle compilation-first-column while in the target buffer.
11782
c400c4d7
SM
11783 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11784 Don't hardcode point-min==1.
11785
6dbe3e96
SM
11786 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11787 (eshell-rewrite-for-command): Remove workaround.
11788 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11789 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11790 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11791
cbe71af3
SM
11792 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11793
a8e1496d
GM
117942011-11-17 Glenn Morris <rgm@gnu.org>
11795
11796 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11797 Ignore buffer-local generated-autoload-file if it is the same
11798 as the global value. (Bug#10049)
11799
df85d315
JB
118002011-11-17 Juanma Barranquero <lekktu@gmail.com>
11801
11802 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11803 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11804 (reftex-toc-previous-heading, reftex-toc-max-level)
11805 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11806 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11807 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11808 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11809 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11810 (reftex-toc-rename-label, reftex-toc-visit-location)
11811 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11812 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11813 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11814 leaving "*toc*" only for references to the buffer.
11815
a0c2d0ae
MR
118162011-11-17 Martin Rudalics <rudalics@gmx.at>
11817
11818 * window.el (window-resize, delete-window, split-window):
11819 Replace window-splits by window-combination-resize.
1d00653d 11820 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11821
35c0bac8
GM
118222011-11-17 Glenn Morris <rgm@gnu.org>
11823
11824 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11825 Make bash entry derive from sh entry, not shell entry.
11826
d0c8fc8a
MA
118272011-11-16 Michael Albinus <michael.albinus@gmx.de>
11828
7262a87c
MA
11829 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11830 local file name.
11831
7877f373
JB
118322011-11-16 Juanma Barranquero <lekktu@gmail.com>
11833
11834 * menu-bar.el (menu-bar-file-menu):
11835 * printing.el (pr-ps-utility):
11836 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11837 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11838 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11839 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11840 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11841 (icalendar--convert-cyclic-to-ical)
11842 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11843 (icalendar--convert-ical-to-diary)
11844 (icalendar--convert-recurring-to-diary)
11845 (icalendar--convert-non-recurring-all-day-to-diary)
11846 (icalendar-import-format-sample):
11847 * progmodes/idlw-shell.el (idlwave-shell-mode):
11848 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11849 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11850 (vhdl-ps-print-init): Fix typos.
11851
10649b82
KM
118522011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11853
9d0cfcd6
GM
11854 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11855 FSF and collapse date sequence, obscure author/maintainer email address
11856 better, remove extra version line, track relocation of author's webpage.
10649b82 11857
9d0cfcd6
GM
11858 * progmodes/python.el (python-pdbtrack-input-prompt)
11859 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11860 regular python pdb prompts. Adjustments shamelessly taken exactly as
11861 suggested in EmacsWiki page (tiny change):
11862 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11863
58179cce
JB
118642011-11-16 Juanma Barranquero <lekktu@gmail.com>
11865
11866 * expand.el (expand-pos, expand-index, expand-point):
11867 Remove redundant info from docstring.
11868 (expand-add-abbrevs): Doc fix.
11869 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11870 (expand-sample-perl-mode-expand-list): Fix typos.
11871
11872 * net/dbus.el (dbus-event-member-name):
11873 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11874 * term/pc-win.el (msdos-create-frame-with-faces):
11875 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11876
b6f67890
MR
118772011-11-16 Martin Rudalics <rudalics@gmx.at>
11878
11879 * window.el (split-window, window-state-get-1)
11880 (window-state-put-1, window-state-put-2): Rename occurrences of
11881 window-nest to window-combination-limit.
1d00653d 11882 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11883
ce7ddba0
CY
118842011-11-16 Chong Yidong <cyd@gnu.org>
11885
11886 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11887 regexp (Bug#10033).
11888
3ae704f4
SM
118892011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11890
11891 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11892 `completing-read' will remove *Completions* and will preserve
11893 current-buffer for us.
11894 (tmm-add-prompt): Users of *Completions* will always (re)set its
11895 major mode.
11896 (tmm-old-comp-map): Remove.
11897
6ad1cdde
GM
118982011-11-16 Glenn Morris <rgm@gnu.org>
11899
11900 * mail/rmailedit.el: Require rmailmm when compiling.
11901 (rmail-old-mime-state): New declaration.
11902 (rmail-edit-current-message): If editing a mime message,
11903 edit the "raw" message from the mbox buffer.
11904 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11905
d20faa20
GM
119062011-11-15 Glenn Morris <rgm@gnu.org>
11907
11908 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11909 which wasn't being used. Add optional arg to force given state.
11910 (rmail-mime): Add optional arg to force given state.
11911
c7015153
JB
119122011-11-15 Juanma Barranquero <lekktu@gmail.com>
11913
11914 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11915 * frame.el (display-mm-dimensions-alist):
11916 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11917 (outline-move-subtree-down):
11918 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11919 (newsticker--treeview-do-get-node):
11920 * net/quickurl.el (quickurl-list-buffer-name):
11921 * progmodes/dcl-mode.el (dcl-mode):
11922 * progmodes/gdb-mi.el (gdb-mapcar*):
11923 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11924
45261b50
GM
119252011-11-15 Glenn Morris <rgm@gnu.org>
11926
11927 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11928 in a boolean sense, so just make it a boolean, and fix the doc.
11929 (rmail-show-mime-function, rmail-mime-feature)
11930 (rmail-require-mime-maybe): Doc fixes.
11931 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11932
11933 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11934
0d26e0b6
JB
119352011-11-15 Juanma Barranquero <lekktu@gmail.com>
11936
11937 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11938 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11939 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11940 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11941
447f30f6
GM
119422011-11-15 Glenn Morris <rgm@gnu.org>
11943
672b871d
GM
11944 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11945 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11946 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11947 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11948 (rmail-mime, rmail-show-mime): Doc fixes.
11949
f6aa5bb1
GM
11950 * term/ns-win.el (mode-line-frame-identification):
11951 Leave it alone. (Bug#10051)
11952
947cd66b
GM
11953 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11954
447f30f6
GM
11955 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11956 Handle empty buffers. (Bug#9978)
11957
0b381c7e
JB
119582011-11-14 Juanma Barranquero <lekktu@gmail.com>
11959
11960 * international/mule.el (define-charset):
11961 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11962 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11963 * progmodes/verilog-mode.el (verilog-backward-token):
11964 * textmodes/ispell.el (lookup-words):
11965 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11966
71e027ac
GM
119672011-11-14 Glenn Morris <rgm@gnu.org>
11968
56632ce4
GM
11969 * progmodes/executable.el
11970 (executable-make-buffer-file-executable-if-script-p):
11971 Handle file-modes returning nil.
11972
40500957
GM
11973 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11974 message - not necessary, and causes problems. (Bug#9831)
11975
071c2340
GM
11976 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11977
d3cfca60
GM
11978 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11979
71e027ac
GM
11980 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11981 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11982 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11983
89d61221
MR
119842011-11-12 Martin Rudalics <rudalics@gmx.at>
11985
11986 * window.el (window-resize, delete-window): Use window-splits
11987 variable instead of function.
11988 (window-state-get-1, window-state-put-2, window-state-put):
11989 Don't deal with windows' splits status.
11990
98282f6f
GM
119912011-11-12 Glenn Morris <rgm@gnu.org>
11992
11993 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11994 (apropos-documentation): Doc fixes.
11995
40a8bdf6
JB
119962011-11-11 Juanma Barranquero <lekktu@gmail.com>
11997
11998 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11999 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12000
65bd19ff
SM
120012011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12002
12003 * electric.el (electric-indent-post-self-insert-function): Make it
12004 possible for a char to only indent in some circumstances.
12005 (electric-indent-mode): Simplify.
12006
54f9154c
MR
120072011-11-11 Martin Rudalics <rudalics@gmx.at>
12008
12009 * window.el (windows-with-parameter): Remove unused function.
12010 (windows-at-side): Rename to window-at-side-list.
12011 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12012 (window-side-check, window-size-ignore, window-size-fixed-1)
12013 (window-in-direction-2): Prefix with "window--".
12014 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12015
68cbc58b
GM
120162011-11-11 Glenn Morris <rgm@gnu.org>
12017
12018 * subr.el (eval-after-load): If FILE is already loaded,
12019 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12020
b2621720
GM
120212011-11-10 Glenn Morris <rgm@gnu.org>
12022
9a4de110
GM
12023 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12024 Call svn via vc-svn-command rather than vc-do-command.
12025 (vc-svn-command): Add --non-interactive. (Bug#9993)
12026 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12027
b2621720
GM
12028 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12029 Add toggle-read-only. (Bug#7292)
12030 * files.el (toggle-read-only): Mention that it should only
12031 be used interactively. (Bug#10006)
12032
1dce7193
SM
120332011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12034
d9ac1a1e
SM
12035 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12036 Adjust regexp for OCaml warnings.
12037
0c325082
SM
12038 * electric.el (electric-pair-post-self-insert-function): Let user
12039 turn it off buffer-locally (bug#9932).
12040
90132c14
SM
12041 * progmodes/python.el (python-beginning-of-statement):
12042 Rewrite (bug#2703).
12043
1dce7193
SM
12044 * progmodes/compile.el: Better handle TABs (bug#9749).
12045 (compilation-internal-error-properties)
12046 (compilation-next-error-function): Obey the target buffer's
12047 compilation-error-screen-columns.
12048
c4e7c63a
JB
120492011-11-09 Juanma Barranquero <lekktu@gmail.com>
12050
12051 * progmodes/meta-mode.el: Remove obsolete comments.
12052 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12053 Fix typos in docstrings.
12054
2cffd681
MR
120552011-11-09 Martin Rudalics <rudalics@gmx.at>
12056
12057 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12058 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12059 (window--resizable): New function. Make all callers of
12060 window-resizable call window--resizable instead.
12061 (window-resizable): Rewrite in terms of window--resizable.
12062
0edcba87
GM
120632011-11-08 Glenn Morris <rgm@gnu.org>
12064
12065 * progmodes/delphi.el (delphi-mode-syntax-table):
12066 Let define-derived-mode define a proper syntax table. (Bug#9994)
12067
4b0d61e3
SM
120682011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12069
12070 * window.el: Stay away from defsubst.
12071 (window-list-no-nils): Remove.
12072 (window-state-get-1, window-state-get): Use backquote instead.
12073
cd394be1 120742011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12075
4b0d61e3 12076 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12077 Fix incorrect use of default argument in `completing-read'.
12078
e1c2c6f2
MR
120792011-11-08 Martin Rudalics <rudalics@gmx.at>
12080
12081 * window.el (display-buffer-function, special-display-function):
12082 Mention display-buffer-record-window but do not mention
12083 help-setup parameter in doc-strings.
b3f4a882 12084 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12085
105216ed
CY
120862011-11-08 Chong Yidong <cyd@gnu.org>
12087
12088 * window.el (window-total-height, window-total-width): Doc fix.
12089 (window-body-size): Move from C.
12090 (window-body-height, window-body-width): Move to C.
12091
0a9f9ab5
SM
120922011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12093
12094 * window.el: Make special-display like display-buffer-alist (bug#9532).
12095 (display-buffer--special-action): New function, morphed
12096 from display-buffer--special.
12097 (display-buffer): Use it to handle special-display-buffers at higher
12098 priority (just after display-buffer-alist).
12099 (display-buffer-fallback-action, display-buffer--other-frame-action)
12100 (pop-to-buffer-same-window): Remove display-buffer--special.
12101
a769dd15
GM
121022011-11-07 Glenn Morris <rgm@gnu.org>
12103
12104 * calendar/cal-menu.el (cal-menu-set-date-title):
12105 Do nothing if not in a calendar. (Bug#9976)
12106
05a61ee3
SM
121072011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12108
12109 * files.el (find-file): Always use selected-window.
12110
be7f5545
MR
121112011-11-07 Martin Rudalics <rudalics@gmx.at>
12112
12113 * window.el (window-combinations): Make WINDOW argument
12114 mandatory. Rewrite doc-string.
12115 (walk-window-subtree, window-atom-check, window-min-delta)
12116 (window-max-delta, window--resize-this-window)
12117 (window--resize-root-window-vertically, window-tree)
12118 (balance-windows, window-state-put): Rewrite doc-strings as to
12119 not mention the term "subwindow".
12120 (window--resize-subwindows-skip-p): Rename to
12121 window--resize-child-windows-skip-p.
12122 (window--resize-subwindows-normal): Rename to
12123 window--resize-child-windows-normal.
12124 (window--resize-subwindows): Rename to
12125 window--resize-child-windows.
12126 (window-or-subwindow-p): Rename to window--in-subtree-p.
12127
3c6702ef
ML
121282011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12129
12130 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12131 Ensure that mbox format messages end in two newlines (Bug#9974).
12132
49745b39
CY
121332011-11-06 Chong Yidong <cyd@gnu.org>
12134
12135 * window.el (window-combination-p): Function deleted; its
12136 side-effect is not used in any existing code.
12137 (window-combinations, window-combined-p): Call window-*-child
12138 directly.
12139
24300f5f
CY
121402011-11-05 Chong Yidong <cyd@gnu.org>
12141
12142 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12143 (window-size-ignore, window-state-get): Callers changed.
12144 (window-normalize-window): Rename from window-normalize-any-window.
12145 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12146 (window-normalize-live-window): Delete.
447f16b8
CY
12147 (window-combination-p, window-combined-p, window-combinations)
12148 (walk-window-subtree, window-atom-root, window-min-size)
12149 (window-sizable, window-sizable-p, window-size-fixed-p)
12150 (window-min-delta, window-max-delta, window-resizable)
12151 (window-resizable-p, window-full-height-p, window-full-width-p)
12152 (window-current-scroll-bars, window-point-1, set-window-point-1)
12153 (window-at-side-p, window-in-direction, window-resize)
12154 (adjust-window-trailing-edge, maximize-window, minimize-window)
12155 (window-deletable-p, delete-window, delete-other-windows)
12156 (record-window-buffer, unrecord-window-buffer)
12157 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12158 (quit-window, split-window, window-state-put)
12159 (set-window-text-height, fit-window-to-buffer)
12160 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12161
89bd5ee1
EZ
121622011-11-04 Eli Zaretskii <eliz@gnu.org>
12163
53479029
EZ
12164 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12165 rfc2047-decode-string.
12166 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12167 warnings.
12168
89bd5ee1
EZ
12169 * window.el (window-body-height, window-body-width): Mention in
12170 the doc string that the return values are in frame's canonical
12171 units. (Bug#9949)
12172
bd17fdee
AM
121732011-11-03 Alan Mackenzie <acm@muc.de>
12174
12175 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12176 change in cc-engine.el.
12177
acc825c5
SM
121782011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12179
12180 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12181
1885e5b8
MR
121822011-11-02 Martin Rudalics <rudalics@gmx.at>
12183
12184 * window.el (quit-window): Call unrecord-window-buffer after
12185 showing another buffer in the window. (Bug#9937)
acc825c5 12186 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12187
ebe06da9
JB
121882011-11-02 Juanma Barranquero <lekktu@gmail.com>
12189
12190 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12191 Accept status with more than 9 shelves. (Bug#9935)
12192 Reported by Colin D Bennett <colin@gibibit.com>.
12193
4ee88440
MR
121942011-11-01 Martin Rudalics <rudalics@gmx.at>
12195
12196 * help.el (with-help-window): Don't reference
12197 temp-buffer-show-specifiers in doc-string.
12198
08e1d82c
AS
121992011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12200
12201 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12202 menu-item.
12203
84bd6e9e
VJL
122042011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12205
12206 * whitespace.el: New version 13.2.2.
12207 (whitespace-newline-mode): Disable properly. Reported by Sarah
12208 <EmacsWiki>.
12209
dba0634a
UJ
122102011-10-30 Ulf Jasper <ulf.jasper@web.de>
12211
12212 * net/newst-treeview.el: Remove "Time-stamp".
12213 (newsticker--group-manage-orphan-feeds): Do not call
12214 newsticker--treeview-tree-update.
db22a3c2
JB
12215 (newsticker-treeview-update, newsticker-treeview):
12216 Call newsticker--treeview-tree-update if necessary.
dba0634a 12217
3d8daefe
MR
122182011-10-30 Martin Rudalics <rudalics@gmx.at>
12219
12220 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12221 (window-iso-combinations): Remove "iso-" infix.
12222 Suggested by Chong Yidong.
3d8daefe
MR
12223 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12224 (window-max-delta-1, window-resize, window--resize-siblings)
12225 (window--resize-this-window, adjust-window-trailing-edge)
12226 (split-window, balance-windows-1)
12227 (shrink-window-if-larger-than-buffer):
12228 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12229 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12230
1bc4c3ae
SM
122312011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12232
12233 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12234 in place (bug#9907).
12235 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12236 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12237 (eshell-structure-basic-command, eshell-rewrite-while-command)
12238 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12239 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12240 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12241 (eshell-do-pipelines-synchronously, eshell-eval-command):
12242 Use backquotes and prefer setq to set.
12243 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12244 (eshell-macrop): Use functionp.
c1e2f5fa 12245 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12246
30b65d9c
CY
122472011-10-30 Chong Yidong <cyd@gnu.org>
12248
12249 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12250 instead of set-mark (Bug#9810).
12251
2d197ffb
CY
122522011-10-30 Chong Yidong <cyd@gnu.org>
12253
12254 * window.el (split-window-below, split-window-right): Rename from
12255 split-window-above-each-other and split-window-side-by-side
12256 respectively. All callers changed.
12257 (split-window-sensibly, split-window-sensibly): Use them.
12258 (split-window-keep-point): Doc fix.
12259
12260 * isearch.el: Add isearch-scroll property to split-window-below
12261 and split-window-right.
12262
12263 * follow.el (follow-mode):
12264 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12265 * progmodes/ada-xref.el (ada-gdb-application):
12266 * emulation/vip.el (vip-buffer-in-two-windows):
12267 * image-dired.el (image-dired-dired-with-window-configuration):
12268 * dired-x.el (dired-do-find-marked-files):
12269 * dired.el (dired-pop-to-buffer):
12270 * bs.el (bs--show-with-configuration):
12271 * vc/emerge.el (emerge-setup-windows):
12272 * textmodes/two-column.el (2C-two-columns):
12273 * textmodes/reftex-toc.el (reftex-toc):
12274 * progmodes/gdb-mi.el (gdb-setup-windows):
12275 * progmodes/fortran.el (fortran-window-create):
12276 * net/newst-treeview.el (newsticker--treeview-window-init):
12277 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12278 * emulation/tpu-edt.el (tpu-gold-map):
12279 * emulation/crisp.el (crisp-mode-map):
12280 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12281
38bb2ca8
CY
122822011-10-29 Chong Yidong <cyd@gnu.org>
12283
aa4de341
CY
12284 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12285
e1eb5385
CY
12286 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12287
5d2ece3c
CY
12288 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12289 forged Ispell output (Bug#7904).
12290
38bb2ca8
CY
12291 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12292
d0af9f77
SM
122932011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12294
12295 * doc-view.el: Avoid ugly errors about not finding nil.
12296 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12297 (doc-view-dvipdf-program, doc-view-unoconv-program)
12298 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12299 Avoid nil or absolute file name as default value.
12300 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12301
52bedd34
AM
123022011-10-28 Alan Mackenzie <acm@muc.de>
12303
db22a3c2 12304 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12305
7e43cfa5
AM
123062011-10-28 Alan Mackenzie <acm@muc.de>
12307
12308 Amend the handling of c-beginning/end-of-defun in nested declaration
12309 scopes.
12310
52bedd34
AM
12311 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12312 cc-langs.el. Change it to a defcustom.
7e43cfa5 12313
52bedd34
AM
12314 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12315 cc-vars.el.
7e43cfa5 12316
d0af9f77
SM
12317 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12318 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12319
52bedd34 12320 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12321 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12322 (c-widen-to-enclosing-decl-scope): New function.
12323 (c-while-widening-to-decl-block): New macro.
12324 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12325 outward for defun boundaries, and correspondingly change symbol
12326 `respect-enclosure' to `go-outward'.
12327 (c-declaration-limits): Change algorithm to report only the "innermost"
12328 defun's boundaries.
12329
1a2ce9ee
DD
123302011-10-28 Deniz Dogan <deniz@dogan.se>
12331
12332 * net/rcirc.el (rcirc-mode): Use hard newlines.
12333
bc97a826
AM
123342011-10-28 Alan Mackenzie <acm@muc.de>
12335
12336 Amend to indent and fontify macros "which include their own semicolon"
12337 correctly, using the "virtual semicolon" mechanism.
12338
52bedd34 12339 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12340
d0af9f77 12341 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12342 Recode to scan one line at a time rather than having \n and \r
58179cce 12343 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12344 (c-forward-label): Amend for virtual semicolons.
58179cce 12345 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12346
52bedd34
AM
12347 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12348 of the new C macros.
bc97a826 12349
52bedd34 12350 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12351 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12352 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12353 (c-opt-cpp-macro-define): Make into a full language variable.
12354 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12355 AWK Mode (including \n, \r) removed, no longer needed.
12356
d0af9f77
SM
12357 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12358 Invoke c-make-macro-with-semi-re.
bc97a826 12359
52bedd34
AM
12360 * progmodes/cc-vars.el (c-macro-with-semi-re):
12361 (c-macro-names-with-semicolon): New variables.
58179cce 12362 (c-make-macro-with-semi-re): New function.
bc97a826 12363
7a6c0941
SM
123642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12365
12366 * vc/log-edit.el: Fill empty field rather than adding new one.
12367 (log-edit-add-field): New function.
12368 (log-edit-insert-changelog): Use it.
12369
b0c4cdcf
ML
123702011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12371
12372 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12373
ee1f1da9
SM
123742011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12375
12376 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12377 (gdb--check-interpreter): New function.
12378 (gdb): Use it.
12379
51bc5f8b
GM
123802011-10-27 Glenn Morris <rgm@gnu.org>
12381
416a2c45
GM
12382 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12383 (least-positive-float, least-negative-float)
12384 (least-positive-normalized-float, least-negative-normalized-float)
12385 (float-epsilon, float-negative-epsilon):
12386 Remove unnecessary declarations.
12387
12388 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12389 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12390 (least-positive-float, least-negative-float)
12391 (least-positive-normalized-float, least-negative-normalized-float)
12392 (float-epsilon, float-negative-epsilon): Add doc-strings,
12393 based on those in cl.texi.
12394
51bc5f8b
GM
12395 * files.el (set-visited-file-name): If the major-mode changed,
12396 reload the local variables. (Bug#9796)
12397
15de15c6
CY
123982011-10-27 Chong Yidong <cyd@gnu.org>
12399
12400 * subr.el (change-major-mode-after-body-hook): New hook.
12401 (run-mode-hooks): Run it.
12402
ee1f1da9
SM
12403 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12404 Use change-major-mode-before-body-hook.
15de15c6
CY
12405
12406 * simple.el (fundamental-mode):
12407 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12408 change introducing fundamental-mode-hook.
12409
5430d399
JB
124102011-10-26 Juanma Barranquero <lekktu@gmail.com>
12411
acc825c5 12412 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12413
ad74a69e
MA
124142011-10-26 Michael Albinus <michael.albinus@gmx.de>
12415
12416 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12417 tramp.el explicitly. (Bug#7583)
ad74a69e 12418
71d4c2a5
SM
124192011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12420
12421 * progmodes/octave-mod.el:
12422 * progmodes/octave-inf.el: Update maintainer.
12423
b1f6fa26
CY
124242011-10-26 Chong Yidong <cyd@gnu.org>
12425
12426 * subr.el (with-wrapper-hook): Rewrite doc.
12427
3f04efd6
MA
124282011-10-25 Michael Albinus <michael.albinus@gmx.de>
12429
12430 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12431 filenames "/method:foo:". (Bug#9793)
3f04efd6 12432
410488d3
SM
124332011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12436 (bug#9865).
12437
c1ebb47e
GM
124382011-10-24 Glenn Morris <rgm@gnu.org>
12439
12440 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12441
7f5c46c7
MA
124422011-10-24 Michael Albinus <michael.albinus@gmx.de>
12443
12444 * notifications.el: Add the requirement of a running D-Bus session
12445 bus to the Commentary.
12446
db2440b6
JL
124472011-10-24 Juri Linkov <juri@jurta.org>
12448
12449 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12450 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12451 (Bug#9364)
12452
feecf435
JL
124532011-10-24 Juri Linkov <juri@jurta.org>
12454
12455 * info.el (Info-following-node-name-re): Add newline to the list
12456 of allowed characters for leading space. (Bug#9824)
12457
a3839de2
SM
124582011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12459
acc825c5
SM
12460 * progmodes/octave-inf.el (inferior-octave-mode-map):
12461 Fix C-c C-h binding.
a3839de2
SM
12462 * progmodes/octave-mod.el (octave-help): Remove.
12463
09388e76
MA
124642011-10-23 Michael Albinus <michael.albinus@gmx.de>
12465
12466 Sync with Tramp 2.2.3.
12467
12468 * net/tramp-cache.el (top): Pacify byte-compiler using
12469 `init-file-user' and `site-run-file'.
12470
12471 * net/trampver.el: Update release number.
12472
86c60681
CY
124732011-10-23 Chong Yidong <cyd@gnu.org>
12474
12475 * files.el (toggle-read-only): Remove obsolete comment about
12476 version control.
12477
12478 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12479 for toggle-read-only. Note that this hasn't called vc-next-action
12480 since 2008-05-02, though it wasn't documented at the time.
12481
a3839de2
SM
12482 * vc/ediff-init.el (ediff-toggle-read-only-function):
12483 Use toggle-read-only.
86c60681 12484
cd5495ff
AM
124852011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12486
12487 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12488 of c-parse-state.
12489
00b77525 12490 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12491 correct faulty logical expression.
cd5495ff
AM
12492 (c-parse-state-state, c-record-parse-state-state):
12493 (c-replay-parse-state-state): New defvar/defuns.
12494 (c-debug-parse-state): Use new functions.
12495
42ee24ed
MR
124962011-10-22 Martin Rudalics <rudalics@gmx.at>
12497
12498 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12499 last fix. Use window-in-direction correctly.
42ee24ed 12500
a7dee7e7
CY
125012011-10-21 Chong Yidong <cyd@gnu.org>
12502
12503 * progmodes/idlwave.el (idlwave-mode):
12504 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12505 require-final-newline; that's done in prog-mode.
12506 Suggested by Stefan Monnier.
a7dee7e7 12507
e07b9a6d
MR
125082011-10-21 Martin Rudalics <rudalics@gmx.at>
12509
12510 * mouse.el (mouse-drag-window-above)
12511 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12512 (mouse-drag-mode-line-1, mouse-drag-header-line)
12513 (mouse-drag-vertical-line-rightward-window): Remove.
12514 (mouse-drag-line): New function.
12515 (mouse-drag-mode-line, mouse-drag-header-line)
12516 (mouse-drag-vertical-line): Call mouse-drag-line.
12517 * window.el (window-at-side-p, windows-at-side): New functions.
12518
7e1361d9
UM
125192011-10-21 Ulrich Mueller <ulm@gentoo.org>
12520
12521 * tar-mode.el (tar-grind-file-mode):
12522 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12523
30fcaf3a
CY
125242011-10-21 Chong Yidong <cyd@gnu.org>
12525
12526 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12527 * progmodes/vera-mode.el (vera-mode):
12528 Use mode-require-final-newline.
30fcaf3a 12529
516eddb0
GM
125302011-10-20 Glenn Morris <rgm@gnu.org>
12531
db22a3c2 12532 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12533
10d5f513
CS
125342011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12535
12536 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12537
ac6c8639
CY
125382011-10-20 Chong Yidong <cyd@gnu.org>
12539
12540 * emulation/cua-base.el (cua-mode):
12541 * mail/footnote.el (footnote-mode):
12542 * mail/mailabbrev.el (mail-abbrevs-mode):
12543 * net/xesam.el (xesam-minor-mode):
12544 * progmodes/bug-reference.el (bug-reference-mode):
12545 * progmodes/cap-words.el (capitalized-words-mode):
12546 * progmodes/compile.el (compilation-minor-mode)
12547 (compilation-shell-minor-mode):
12548 * progmodes/gud.el (gud-tooltip-mode):
12549 * progmodes/hideif.el (hide-ifdef-mode):
12550 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12551 * progmodes/subword.el (subword-mode):
12552 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12553 * progmodes/which-func.el (which-function-mode):
12554 * term/tvi970.el (tvi970-set-keypad-mode):
12555 * term/vt100.el (vt100-wide-mode):
12556 * textmodes/flyspell.el (flyspell-mode):
12557 * textmodes/ispell.el (ispell-minor-mode):
12558 * textmodes/nroff-mode.el (nroff-electric-mode):
12559 * textmodes/paragraphs.el (use-hard-newlines):
12560 * textmodes/refill.el (refill-mode):
12561 * textmodes/reftex.el (reftex-mode):
12562 * textmodes/rst.el (rst-minor-mode):
12563 * textmodes/sgml-mode.el (html-autoview-mode)
12564 (sgml-electric-tag-pair-mode):
12565 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12566 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12567 * emulation/crisp.el (crisp-mode):
12568 * emacs-lisp/eldoc.el (eldoc-mode):
12569 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12570 minor mode behavior.
12571
aa42ab43
JL
125722011-10-19 Juri Linkov <juri@jurta.org>
12573
12574 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12575 the list of hard-coded chars with escape-glyph face.
12576
89400f1d
SM
125772011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12578
12579 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12580
305c07f6
MA
125812011-10-19 Michael Albinus <michael.albinus@gmx.de>
12582
12583 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12584 running process.
12585
13754b54
GM
125862011-10-19 Glenn Morris <rgm@gnu.org>
12587
12588 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12589 Ignore ignored files. (Bug#9726)
12590
06e21633
CY
125912011-10-19 Chong Yidong <cyd@gnu.org>
12592
12593 Doc fix for minor modes, stating that an omitted argument enables
12594 the mode unconditionally when called from Lisp.
12595
12596 * abbrev.el (abbrev-mode):
12597 * allout.el (allout-mode):
12598 * autoinsert.el (auto-insert-mode):
12599 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12600 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12601 (global-auto-revert-mode):
12602 * battery.el (display-battery-mode):
12603 * composite.el (global-auto-composition-mode)
12604 (auto-composition-mode):
12605 * delsel.el (delete-selection-mode):
12606 * desktop.el (desktop-save-mode):
12607 * dired-x.el (dired-omit-mode):
12608 * dirtrack.el (dirtrack-mode):
12609 * doc-view.el (doc-view-minor-mode):
12610 * double.el (double-mode):
12611 * electric.el (electric-indent-mode, electric-pair-mode):
12612 * emacs-lock.el (emacs-lock-mode):
12613 * epa-hook.el (auto-encryption-mode):
12614 * follow.el (follow-mode):
12615 * font-core.el (font-lock-mode):
12616 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12617 * help.el (temp-buffer-resize-mode):
12618 * hilit-chg.el (highlight-changes-mode)
12619 (highlight-changes-visible-mode):
12620 * hi-lock.el (hi-lock-mode):
12621 * hl-line.el (hl-line-mode, global-hl-line-mode):
12622 * icomplete.el (icomplete-mode):
12623 * ido.el (ido-everywhere):
12624 * image-file.el (auto-image-file-mode):
12625 * image-mode.el (image-minor-mode):
12626 * iswitchb.el (iswitchb-mode):
12627 * jka-cmpr-hook.el (auto-compression-mode):
12628 * linum.el (linum-mode):
12629 * longlines.el (longlines-mode):
12630 * master.el (master-mode):
12631 * mb-depth.el (minibuffer-depth-indicate-mode):
12632 * menu-bar.el (menu-bar-mode):
12633 * minibuf-eldef.el (minibuffer-electric-default-mode):
12634 * mouse-sel.el (mouse-sel-mode):
12635 * msb.el (msb-mode):
12636 * mwheel.el (mouse-wheel-mode):
12637 * outline.el (outline-minor-mode):
12638 * paren.el (show-paren-mode):
12639 * recentf.el (recentf-mode):
12640 * reveal.el (reveal-mode, global-reveal-mode):
12641 * rfn-eshadow.el (file-name-shadow-mode):
12642 * ruler-mode.el (ruler-mode):
12643 * savehist.el (savehist-mode):
12644 * scroll-all.el (scroll-all-mode):
12645 * scroll-bar.el (scroll-bar-mode):
12646 * server.el (server-mode):
12647 * shell.el (shell-dirtrack-mode):
12648 * simple.el (auto-fill-mode, transient-mark-mode)
12649 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12650 (line-number-mode, column-number-mode, size-indication-mode)
12651 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12652 * strokes.el (strokes-mode):
12653 * time.el (display-time-mode):
12654 * t-mouse.el (gpm-mouse-mode):
12655 * tool-bar.el (tool-bar-mode):
12656 * tooltip.el (tooltip-mode):
12657 * type-break.el (type-break-mode-line-message-mode)
12658 (type-break-query-mode):
12659 * view.el (view-mode):
12660 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12661 (global-whitespace-mode, global-whitespace-newline-mode):
12662 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12663
a3839de2
SM
12664 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12665 Fix autogenerated docstring.
06e21633 12666
5214e501
JL
126672011-10-19 Juri Linkov <juri@jurta.org>
12668
12669 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12670 by checking environment variables "DESKTOP_SESSION" and
12671 "XDG_CURRENT_DESKTOP". (Bug#9779)
12672
195f8db9
JL
126732011-10-19 Juri Linkov <juri@jurta.org>
12674
12675 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12676 (browse-url-chromium-program, browse-url-chromium-arguments):
12677 New defcustoms.
12678 (browse-url-default-browser): Check for `browse-url-chromium' and
12679 call `browse-url-chromium-program'.
12680 (browse-url-chromium): New command. (Bug#9779)
12681
343a34ff
JB
126822011-10-18 Juanma Barranquero <lekktu@gmail.com>
12683
12684 * facemenu.el (list-colors-duplicates): On Windows, detect more
12685 duplicates by assuming that only colors matching "^System" are
12686 special "system colors". (Bug#9722)
12687
6978a151
SM
126882011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12689
12690 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12691 to distinguish the author from the committer.
12692
6a80b297
MA
126932011-10-18 Michael Albinus <michael.albinus@gmx.de>
12694
12695 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12696
b31a5677
JK
126972011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12698
12699 * international/mule.el (sgml-html-meta-auto-coding-function):
12700 Add support for detecting encoding in HTML5 specified only as
12701 <meta charset="UTF-8">. Implementation just makes http-equiv and
12702 content-type parts from HTML4 encoding string optional. (Bug#9716)
12703
80c6d77f
GM
127042011-10-18 Glenn Morris <rgm@gnu.org>
12705
12706 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12707
08b0fee8
CY
127082011-10-18 Chong Yidong <cyd@gnu.org>
12709
12710 * faces.el (cursor): Doc fix.
12711
67e729a5
CY
127122011-10-17 Chong Yidong <cyd@gnu.org>
12713
12714 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12715
343a34ff 127162011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12717
12718 * dirtrack.el (dirtrack): Support shell buffers with path
12719 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12720
0bc06380
TZ
127212011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12722
12723 * json.el: Bump version to 1.3 and note change in History.
12724 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12725
8b79f3e0
SM
127262011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12727
5a7c536b
SM
12728 * comint.el (comint-insert-input, comint-send-input)
12729 (comint-get-old-input-default, comint-backward-matching-input)
12730 (comint-next-prompt): Use nil instead of `input' for field property of
12731 past user input (bug#114).
12732
96a8a0df
SM
12733 * minibuffer.el (completion--replace): Inherit surrounding properties
12734 (bug#114).
12735 (minibuffer-complete-and-exit): Use it.
12736
8b79f3e0
SM
12737 * comint.el (comint--table-subvert): Quote the all-completions output
12738 (bug#9160).
12739
b8f7ff0d
MR
127402011-10-17 Martin Rudalics <rudalics@gmx.at>
12741
8b79f3e0 12742 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12743
b8f7ff0d 12744 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12745 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12746 entries and separate them from frame entries.
12747
c235b555
GM
127482011-10-15 Glenn Morris <rgm@gnu.org>
12749
12750 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12751 Doc fixes.
12752
6bbfa6e1
CY
127532011-10-15 Chong Yidong <cyd@stupidchicken.com>
12754
8b79f3e0
SM
12755 * net/network-stream.el (network-stream-open-starttls):
12756 Improve detection of failure due to lack of TLS support.
ec5c990d 12757
6bbfa6e1
CY
12758 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12759 putting the input text in front and in bold.
12760
98488977
SM
127612011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12762
3d1337be
SM
12763 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12764
ee0b45e4
SM
12765 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12766 empty buffer.
12767
98488977
SM
12768 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12769 unread-command-events rather than pushing yet-another event.
12770
186f4720
EZ
127712011-10-14 Eli Zaretskii <eliz@gnu.org>
12772
12773 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12774 the explanation of the possible choices. Make the options passed
12775 to completing-read shorter.
12776
8b7a997c
AM
127772011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12778
12779 * textmodes/flyspell.el (flyspell-large-region): Make sure
12780 extended character mode is used if defined (Bug#1339).
12781
12587bbb
EZ
127822011-10-13 Eli Zaretskii <eliz@gnu.org>
12783
12784 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12785 character info for LRE, LRO, RLE, and RLO characters by appending
12786 an invisible PDF.
12587bbb 12787
bad41229
SM
127882011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12789
12790 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12791 even in case of error; add debug spec; simplify data flow.
12792 (with-timeout-handler): Remove.
12793
28dbc92f
MA
127942011-10-12 Michael Albinus <michael.albinus@gmx.de>
12795
12796 Fix Bug#6019, Bug#9315.
12797
12798 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12799 complete `buffer-file-name', the local file name part could look
12800 remotely (for example on VMS).
12801
12802 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12803 `tramp-run-real-handler'.
12804 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12805 already quoted by '"'.
12806
12807 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12808 Let `file-name-handler-alist' be nil, the local file name part
12809 could look remotely (for example on VMS).
12810
e1b0b23a
SM
128112011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12812
12813 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12814 from here...
12815 (flyspell-post-command-hook): ...to here.
12816
a120bde9
SM
128172011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12818
12819 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12820 if not needed.
12821 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12822 using completion. Protect against "slow" callers.
12823 Remove the "message hack".
12824
7ce7717b
JL
128252011-10-11 Juri Linkov <juri@jurta.org>
12826
12827 * isearch.el (isearch-lazy-highlight-word): New variable.
12828 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12829 Use it. (Bug#9727)
12830
c02ee9d6
GM
128312011-10-11 Glenn Morris <rgm@gnu.org>
12832
12833 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12834 like f90-previous-statement does.
12835
93e616fd 128362011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12837
1f190e73 12838 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12839 only in interactive use, to avoid error.
12840
af7b6078
SM
128412011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * minibuffer.el (completion-file-name-table): Fix last change,
12844 i.e. ignore normal errors but not the other ones.
12845
0563dae9
MR
128462011-10-10 Martin Rudalics <rudalics@gmx.at>
12847
12848 * window.el (special-display-buffer-names)
12849 (special-display-regexps): Remove some remnants of earlier
12850 changes from doc-strings.
366ca7f3
MR
12851 (quit-windows-on): New function.
12852
12853 * vc/vc.el (vc-revert, vc-rollback):
12854 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12855 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12856 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12857
49677495
MR
128582011-10-09 Martin Rudalics <rudalics@gmx.at>
12859
12860 * window.el (frame-auto-hide-function): Add version tag.
12861 (Bug#9699)
12862
56f2d1e1
MA
128632011-10-09 Michael Albinus <michael.albinus@gmx.de>
12864
12865 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12866 condition.
12867
112a6592
LL
128682011-10-09 Leo Liu <sdl.web@gmail.com>
12869
12870 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12871 (Bug#9701)
12872
0812589b
GM
128732011-10-08 Glenn Morris <rgm@gnu.org>
12874
12875 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12876 before the first code statement zero indent. (Bug#9690)
12877
b2b0776e
CY
128782011-10-08 Chong Yidong <cyd@stupidchicken.com>
12879
12880 * simple.el (count-words-region): Always count in the region.
12881 Report the number of lines and characters too.
12882 (count-words): New command, which counts in the buffer if the
12883 region is inactive, as count-words-region used to.
12884 (count-words--message): New function. Handle plurals.
12885 (count-lines-region): Make it an alias for count-words-region.
12886
12887 * bindings.el (esc-map): Replace count-lines-region with
12888 count-words-region.
12889
c557cd6b
MR
128902011-10-08 Martin Rudalics <rudalics@gmx.at>
12891
12892 * window.el (window--delete): Delete dedicated frame
12893 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12894 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12895
61a57ef4 128962011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12897
3a7d293b 12898 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12899
c3833279
CY
129002011-10-07 Chong Yidong <cyd@stupidchicken.com>
12901
12902 * bindings.el ([M-left],[M-right]): Bind to left-word and
12903 right-word respectively.
12904
21ce8245
GM
129052011-10-07 Glenn Morris <rgm@gnu.org>
12906
12907 * cus-start.el (debug-on-quit): Fix custom type.
12908
6d823bb2
LMI
129092011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12910
0181e193
LMI
12911 * subr.el (define-key-after): Clarify that the function is not
12912 useful for non-menu keymaps.
12913
6d823bb2
LMI
12914 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12915
8e3459ce 129162011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12917
21ce8245 12918 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12919 in current minibuffer (Fix bug with recursive minibuffers).
12920
a1c2d21e
CY
129212011-10-06 Chong Yidong <cyd@stupidchicken.com>
12922
12923 * progmodes/gdb-mi.el (gdb): Doc fix.
12924
5a4cf282
MR
129252011-10-05 Martin Rudalics <rudalics@gmx.at>
12926
12927 * window.el (frame-auto-hide-function): New option replacing
12928 frame-auto-delete. Suggested by Stefan Monnier.
12929 (window--delete): Call frame-auto-hide-function instead of
12930 investigating frame-auto-delete.
c96111ea
MR
12931 (window-point-1, set-window-point-1): New functions.
12932 (window-in-direction, record-window-buffer, window-state-get-1)
12933 (display-buffer-record-window): Use window-point-1 instead of
12934 window-point.
12935 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12936
9854542e
SM
129372011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12938
12939 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12940
8943cfb0
GM
129412011-10-05 Glenn Morris <rgm@gnu.org>
12942
12943 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12944 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12945
647ab967
LL
129462011-10-05 Leo Liu <sdl.web@gmail.com>
12947
12948 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12949 works with buffer object.
12950
3ddfbced
SM
129512011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * mpc.el (mpc-tool-bar-map): Add labels.
12954
bdfa5dd2
GM
129552011-10-04 Glenn Morris <rgm@gnu.org>
12956
12957 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12958
0e2070b5
MR
129592011-10-04 Martin Rudalics <rudalics@gmx.at>
12960
12961 * window.el (window--delete): New function.
12962 (frame-auto-delete): Resuscitate option.
12963 (bury-buffer, replace-buffer-in-windows)
12964 (quit-window): Rewrite using window--delete.
12965 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12966 Pass display-buffer-mark-dedicated to window--display-buffer-2
12967 (Bug#9639).
12968
3dc61a09
SM
129692011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12970
915a9b64
SM
12971 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12972 returns a list (bug#9554). Add remote file name completion.
12973 * comint.el (comint--table-subvert): Curry and get quote&unquote
12974 functions as arguments.
12975 (comint--complete-file-name-data): Adjust call accordingly.
12976 * pcomplete.el (pcomplete--table-subvert): Remove.
12977 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12978
3dc61a09
SM
12979 * minibuffer.el (completion-table-case-fold): Use currying.
12980 (completion--styles-type, completion--cycling-threshold-type):
12981 New constants.
12982 (completion-styles, completion-category-overrides)
12983 (completion-cycle-threshold): Use them.
12984 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12985 completion-table-case-fold.
12986
8ea0a993
SB
129872011-10-03 Stephen Berman <stephen.berman@gmx.net>
12988
12989 * minibuffer.el (completion-category-overrides): Fix type of styles
12990 and add more user friendly tags (bug#9660).
12991
8c24b7f6
SM
129922011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12993
12994 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12995 (mule-input-method-string): New widget.
12996 (default-input-method, language-info-custom-alist): Use it.
12997
428fe61a
SM
129982011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12999
32c1fffd
SM
13000 * pcomplete.el: Require comint.
13001 (pcomplete--common-suffix): Remove.
13002 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13003 (pcomplete--table-subvert): Sync with comint--table-subvert.
13004 (pcomplete--entries): Use comint-completion-file-name-table.
13005 * comint.el (comint-unquote-filename): Simplify.
13006 (comint-completion-file-name-table): New function (bug#9616).
13007 (comint--complete-file-name-data): Use it.
13008
428fe61a
SM
13009 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13010 (pcmpl-gnu-tar-buffer): Remove.
13011 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13012 around. Make sure pcomplete-suffix-list is only changed temporarily.
13013 Don't look inside the tar's file if it's too large.
428fe61a 13014
04c52e2f
CY
130152011-10-01 Chong Yidong <cyd@stupidchicken.com>
13016
ce3cefcc
CY
13017 * cus-edit.el (custom-mode-map):
13018 * epa.el (epa-key-list-mode-map):
13019 * man.el (Man-mode-map):
13020 * startup.el (splash-screen-keymap):
13021 * simple.el (special-mode-map): Use scroll-up-command and
13022 scroll-down-command.
13023
13024 * progmodes/idlw-help.el (idlwave-help-mode-map):
13025 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13026 * net/newst-plainview.el (newsticker-mode-map):
13027 * emulation/ws-mode.el (wordstar-mode-map):
13028 * emulation/vi.el (vi-com-map):
13029 * calc/calc-graph.el (calc-graph-show-dumb):
13030 * term/sun.el (terminal-init-sun):
13031 * term/ns-win.el (global-map):
13032 * progmodes/grep.el (grep-mode-map):
13033 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13034 * mail/rmail.el (rmail-mode-map):
13035 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13036
04c52e2f
CY
13037 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13038 custom-safe-themes as special.
13039
79adf8c8
JD
130402011-10-01 Julien Danjou <julien@danjou.info>
13041
13042 * notifications.el (notifications-notify): Fix docstring.
13043
63bd50d3
PS
130442011-10-01 Per Starbäck <per@starback.se>
13045
13046 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13047
199e4c7e
MR
130482011-09-30 Martin Rudalics <rudalics@gmx.at>
13049
13050 * startup.el (command-line-1): Fix last fix by inserting
13051 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13052 (Bug#9605) and (Bug#9636)
199e4c7e 13053
fe5f08dd
EZ
130542011-09-29 Eli Zaretskii <eliz@gnu.org>
13055
13056 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13057 window is hscrolled, move by logical lines. (Bug#9607)
13058 (line-move-visual): Update the doc string to the above effect.
13059
b5516bbd
MR
130602011-09-29 Martin Rudalics <rudalics@gmx.at>
13061
ccee00c0
MR
13062 * window.el (display-buffer-record-window): When WINDOW is the
13063 selected window use `point' instead of `window-point'. (Bug#9626)
13064
b5516bbd
MR
13065 * startup.el (command-line-1): Use insert-before-markers when
13066 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13067
b5516bbd
MR
13068 * help.el (help-window): Remove variable.
13069
52aa0014
GM
130702011-09-29 Glenn Morris <rgm@gnu.org>
13071
13072 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13073
df9a7357
JB
130742011-09-29 Juanma Barranquero <lekktu@gmail.com>
13075
13076 * descr-text.el (describe-char-categories): Accept category
13077 descriptions more than one line long.
13078
a8406c20
SM
130792011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13080
88d9610c
SM
13081 * simple.el (delete-trailing-whitespace): Fix last change.
13082
a5daf810
SM
13083 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13084 Don't confuse "y => 3" as the beginning of a `y' operation.
13085
a8406c20
SM
13086 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13087 object has more than 4 slots (bug#9613).
13088
a239d4e9
JB
130892011-09-28 Juanma Barranquero <lekktu@gmail.com>
13090
13091 * subr.el (with-output-to-temp-buffer):
13092 * net/quickurl.el (quickurl, quickurl-browse-url):
13093 Fix typos in docstrings.
13094
693fbdb6
EZ
130952011-09-27 Eli Zaretskii <eliz@gnu.org>
13096
13097 * minibuffer.el (completion-styles)
13098 (completion-category-overrides): Cross reference each other in doc
13099 strings.
13100
8b457e28
GM
131012011-09-27 Glenn Morris <rgm@gnu.org>
13102
13103 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13104 to split-string. (Bug#9606)
13105
85a16208
LMI
131062011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13107
13108 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13109 (bug#9615).
13110
502f9ebd
CY
131112011-09-27 Chong Yidong <cyd@stupidchicken.com>
13112
13113 * emacs-lisp/package.el (list-packages): Fix echo area message.
13114
7690bdea
LL
131152011-09-27 Leo Liu <sdl.web@gmail.com>
13116
13117 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13118
e2ee6f30
MA
131192011-09-25 Michael Albinus <michael.albinus@gmx.de>
13120
13121 * net/dbus.el (dbus-unregister-object): Don't release services for
13122 registered signals. (Bug#9581)
13123
f3f98342
TZ
131242011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13125
13126 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13127 function that picks between cfengine 2 and 3 support
13128 automatically. Update docs accordingly.
13129
dd7aa8dd
KH
131302011-09-22 Kenichi Handa <handa@m17n.org>
13131
13132 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13133 ZERO.
13134 (indian-itrans-v5-table-for-tamil): New variable.
13135 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13136
3f2b07f8
KM
131372011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13138
13139 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13140 that's true if the current command involved collapsing of text.
13141 It's reset to false at the beginning of the next command.
13142 (allout-post-command-business): Move the cursor to the beginning
13143 of entry if the cursor is hidden and collapsing activity just
13144 happened.
13145
371d6a61
CY
131462011-09-24 Chong Yidong <cyd@stupidchicken.com>
13147
13148 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13149 tracking (Bug#9541).
13150
2ac2721a
UJ
131512011-09-24 Ulf Jasper <ulf.jasper@web.de>
13152
13153 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13154 (newsticker-show-news): Automatically load html rendering package
13155 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13156 because w3m-fill-column is let-bound" and the error "Symbol's value
13157 as variable is void: w3m-fill-column".
2ac2721a 13158
fac7ae53
MA
131592011-09-24 Michael Albinus <michael.albinus@gmx.de>
13160
13161 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13162 Release services only if they are defined. (Bug#9581)
13163
e08b633b
RS
131642011-09-23 Richard Stallman <rms@gnu.org>
13165
e488d29c
RS
13166 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13167 distinguish start of paragraph from start of its text.
13168
19c38752
RS
13169 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13170
e08b633b
RS
13171 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13172 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13173 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13174
0a39f27e
AS
131752011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13176
13177 * international/mule-diag.el (mule-diag): Insert a newline after
13178 each fontset description.
13179
db4e950d
SM
131802011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13181
13182 * simple.el (delete-trailing-whitespace):
13183 Document last change; simplify.
13184
eca3f3ea
PW
131852011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13186
d68e189a
PW
13187 * simple.el (delete-trailing-whitespace): Also delete
13188 extra newlines at the end of the buffer.
13189
eca3f3ea
PW
13190 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13191 (picture-newline): Use forward-line so as to ignore fields.
13192
01c157cc
SM
131932011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13194
13195 * subr.el (with-wrapper-hook): Fix edebug spec.
13196
022de23e
LMI
131972011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13198
13199 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13200 (bug#4538).
13201
91683089
MA
132022011-09-23 Michael Albinus <michael.albinus@gmx.de>
13203
eca3f3ea
PW
13204 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13205 Fix nasty bug using wrong cached values.
91683089 13206
5bdd6fa4
AM
132072011-09-23 Alan Mackenzie <acm@muc.de>
13208
13209 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13210
97adfb97
CY
132112011-09-23 Chong Yidong <cyd@stupidchicken.com>
13212
13213 * window.el (pop-to-buffer): Ensure right window is selected if we
13214 chose another frame.
13215
d4ef2b50
EZ
132162011-09-22 Eli Zaretskii <eliz@gnu.org>
13217
13218 * simple.el (what-cursor-position): Use get-char-property-change
13219 and next-single-char-property-change, to be able to show display
13220 properties that come from overlays as well as text properties.
13221
72258fe5
CY
132222011-09-22 Chong Yidong <cyd@stupidchicken.com>
13223
13224 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13225
13226 * cmuscheme.el (run-scheme, switch-to-scheme):
13227 * cus-edit.el (customize-group, custom-buffer-create)
13228 (customize-browse):
13229 * info.el (info):
13230 * shell.el (shell):
13231 * mail/sendmail.el (mail):
13232 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13233
8f098516
RS
132342011-09-22 Richard Stallman <rms@gnu.org>
13235
13236 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13237 move back only to line beg, don't move back over blank lines.
13238
e74f1bb6
MA
132392011-09-22 Michael Albinus <michael.albinus@gmx.de>
13240
13241 * files.el (copy-directory): Set directory attributes only in case
13242 they could be retrieved from the source directory. (Bug#9565)
13243
bfeef8b6
DK
132442011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13245
13246 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13247 (hs-find-block-beginning, hs-hide-level-recursive):
13248 Ignore strings as well as comments. (Bug#9502)
13249
7e423bb8
AS
132502011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13251
13252 * progmodes/sql.el (sql-comint-postgres):
13253 Convert port number to a string. (Bug#9566)
13254
b4d72fcf
MR
132552011-09-22 Martin Rudalics <rudalics@gmx.at>
13256
13257 * window.el (quit-window): Undedicate window when switching to
13258 previous buffer. Reported by Thierry Volpiatto
13259 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13260 (special-display-popup-frame): When popping up a new frame reset
13261 its previous buffers to nil. Simplify code.
b4d72fcf 13262
a7b88dc6
MA
132632011-09-21 Michael Albinus <michael.albinus@gmx.de>
13264
13265 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13266 and process filter, as done also in `shell-command'.
13267
cf4eacfd
MR
132682011-09-21 Martin Rudalics <rudalics@gmx.at>
13269
eca3f3ea 13270 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13271 Call set-window-start with NOFORCE argument t.
13272 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13273 (quit-window): Reword doc-string. Handle new format of
13274 quit-restore parameter. Don't delete window if it has a
13275 previous buffer we can show instead of the present one.
13276 (display-buffer-record-window): Rewrite using a new format for
13277 the quit-restore window parameter
13278 (special-display-popup-frame, display-buffer-same-window)
13279 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13280 (display-buffer-pop-up-window, display-buffer-use-some-window):
13281 Adapt symbol passed to display-buffer-record-window.
13282 * help.el (help-window-setup): Handle new format of quit-restore
13283 parameter.
13284
8d28cb95
SM
132852011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13286
94ab793f
SM
13287 * faces.el (face-list): Fix docstring (bug#9564).
13288
8d28cb95
SM
13289 * window.el (display-buffer--action-function-custom-type):
13290 Don't include internal functions in the Custom interface.
13291
3820edeb
JL
132922011-09-20 Juri Linkov <juri@jurta.org>
13293
13294 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13295 (Info-forward-node, Info-backward-node, Info-next-preorder)
13296 (Info-last-preorder): Use it. (Bug#9528)
13297
5147931d
JL
132982011-09-20 Juri Linkov <juri@jurta.org>
13299
13300 * info.el (Info-last-preorder): Visit last menu item only when
13301 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13302
cf499a1a
JD
133032011-09-20 Julien Danjou <julien@danjou.info>
13304
13305 * password-cache.el (password-cache-remove): Remove entries even if the
13306 value is nil, so that password with a nil value (negative caching) is
13307 possible to invalidate.
13308
f84e2fe2
LM
133092011-09-20 Lawrence Mitchell <wence@gmx.li>
13310
13311 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13312 all whitespace around breakpoint. (Bug#9553)
13313 (f90-find-breakpoint): Only break at whitespace inside a comment.
13314
78054a46
SM
133152011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13316
13317 * minibuffer.el (completion-file-name-table): Keep track of errors.
13318 (completion-table-with-predicate): Handle the case where pred1 is nil.
13319 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13320
345083b2
SM
133212011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13322
e24e27be
SM
13323 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13324 (debugger-return-value): Signal an error if the debugging context does
13325 not await any return value.
13326
345083b2
SM
13327 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13328 * image-mode.el (image-toggle-display-text)
13329 (image-toggle-display-image): Stay away from evil `intangible'.
13330
08d355e3
LL
133312011-09-19 Leo Liu <sdl.web@gmail.com>
13332
13333 * replace.el (occur-revert-arguments): Make it permanent-local.
13334 (occur-mode): Don't call font-lock-defontify.
13335
f01da43f
CY
133362011-09-19 Chong Yidong <cyd@stupidchicken.com>
13337
13338 * net/ldap.el (ldap-search-internal): Don't push empty search
13339 result (Bug#9508).
13340
b6072fa6
SM
133412011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13344
443d6696
MA
133452011-09-19 Michael Albinus <michael.albinus@gmx.de>
13346
13347 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13348 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13349
7cc6e154
JL
133502011-09-18 Juri Linkov <juri@jurta.org>
13351
13352 * buff-menu.el (Buffer-menu-mode-map):
13353 * dired.el (dired-mode-map):
13354 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13355 (lisp-interaction-mode-map):
13356 * emacs-lisp/package.el (package-menu-mode-map):
13357 * epa.el (epa-key-list-mode-map):
13358 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13359 (menu-bar-options-menu):
13360 * outline.el (outline-mode-menu-bar-map):
13361 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13362 * vc/vc-dir.el (vc-dir-menu-map):
13363 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13364 Capitalize non-function content words in menu item strings.
13365
13366 * dired.el (dired-mode-map): Add menu item for
13367 `image-dired-dired-toggle-marked-thumbs'.
13368
80302a81
JL
133692011-09-18 Juri Linkov <juri@jurta.org>
13370
13371 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13372 to `isearch-case-fold-search' and restore its original value
13373 after the `isearch-mode' call.
13374
46c5cf66
JL
133752011-09-18 Juri Linkov <juri@jurta.org>
13376
13377 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13378 because `zgrep' returns 1 for successful matches (bug#9226).
13379
d18b513b
JL
133802011-09-18 Juri Linkov <juri@jurta.org>
13381
13382 * info.el (Info-extract-menu-node-name): Check the second match
13383 for empty string (second test-case of bug#9528).
13384 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13385 intermediate nodes to the history (first test-case of bug#9528).
13386
72753f87
JL
133872011-09-18 Juri Linkov <juri@jurta.org>
13388
13389 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13390 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13391
c9384295
JL
133922011-09-18 Juri Linkov <juri@jurta.org>
13393
1154d12e
JB
13394 * info.el (Info-file-supports-index-cookies):
13395 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13396 outputs one more line for long file names (bug#4142).
c9384295 13397
d473dce8
CY
133982011-09-18 Chong Yidong <cyd@stupidchicken.com>
13399
13400 * newcomment.el (comment-normalize-vars): If prompting for
13401 comment-start, set comment-start-skip too (Bug#8424).
13402
2176854d
JB
134032011-09-18 Johan Bockgård <bojohan@gnu.org>
13404
13405 * icomplete.el: Fix previous fix of Bug#5849.
13406 (icomplete-mode): Don't set completion-show-inline-help.
13407 (icomplete-minibuffer-setup): Set completion-show-inline-help
13408 locally during icompletion.
13409
3aace4e4
CY
134102011-09-18 Chong Yidong <cyd@stupidchicken.com>
13411
c940224f
CY
13412 * woman.el (woman2-process-escapes): Don't delete unrecognized
13413 escapes (Bug#7843).
13414
3aace4e4
CY
13415 * files.el (inhibit-first-line-modes-regexps): Add image files.
13416 (hack-local-variables-prop-line): Return nil for malformed
13417 prop-lines (Bug#9044).
13418
710dec63
MA
134192011-09-18 Michael Albinus <michael.albinus@gmx.de>
13420
13421 * net/tramp.el (top): Don't require 'shell.
13422 (tramp-methods): Fix docstring.
13423 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13424 Return complete remote file name. Handle "smb" case.
13425 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13426 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13427
13428 * net/tramp-compat.el (top): Require 'shell.
13429
13430 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13431 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13432 `tramp-current-host'.
13433 (tramp-get-remote-tmpdir): Remove.
13434
13435 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13436 `tramp-tmpdir' entries.
13437 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13438 (tramp-smb-handle-file-attributes): Ignore errors.
13439 (tramp-smb-wait-for-output): Check also for process end.
13440
5d5ac8ec
LMI
134412011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13442
13443 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13444 when sending QUIT (bug#9312).
13445
8c0f49f0
CY
134462011-09-17 Chong Yidong <cyd@stupidchicken.com>
13447
13448 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13449 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13450 occur-mode-display-occurrence.
13451 (occur-edit-mode): Add usage message.
13452 (occur-cease-edit): New command.
13453 (occur-after-change-function): Use text properties to find the
13454 position of the prefix text.
13455 (occur-engine): Set stickiness of prefix text properties.
13456
8f1383f7
GM
134572011-09-17 Glenn Morris <rgm@gnu.org>
13458
13459 * progmodes/etags.el (complete-tag):
13460 Fix call to completion-in-region. (Bug#9526)
13461
744ba0e3
JL
134622011-09-17 Juri Linkov <juri@jurta.org>
13463
13464 * textmodes/ispell.el (ispell-word): Add to the error message
13465 the word, ispell program name and current dictionary (bug#9121).
13466 (ispell-tex-arg-end): Capitalize "error" in the error message.
13467
d9bbf400
AS
134682011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13469
13470 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13471 check. (Bug#4251)
13472
8da11505
JL
134732011-09-17 Juri Linkov <juri@jurta.org>
13474
13475 * window.el (window-safe-min-height, window-safe-min-width):
13476 Fix typos (followup to bug#9522).
13477
a91adc7e
SJ
134782011-09-17 Sven Joachim <svenjoac@gmx.de>
13479
13480 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13481
064f328a
EZ
134822011-09-16 Eli Zaretskii <eliz@gnu.org>
13483
13484 * simple.el (line-move): If goal-column is set, move by logical
13485 lines, not by display lines. (Bug#971)
13486 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13487 to reflect the above change.
13488
e69df516
SM
134892011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13490
13491 * image.el (imagemagick-register-types): Use regexp-opt.
13492
cbb0f9ab
CY
134932011-09-15 Chong Yidong <cyd@stupidchicken.com>
13494
13495 * window.el (display-buffer-base-action): Rename from
13496 display-buffer-default-action. Make default value empty.
13497 (display-buffer-overriding-action): Convert to defvar.
13498 (display-buffer-fallback-action): New var.
13499
25322144
CY
135002011-09-15 Chong Yidong <cyd@stupidchicken.com>
13501
13502 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13503 declaration.
13504 (package--add-to-archive-contents): If there is a duplicate entry
13505 with an older version, remove it.
13506 (package-menu-mark-delete, package-menu-mark-install)
13507 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13508 (package-menu-mark-obsolete-for-deletion):
13509 Use package-menu-get-status instead of a regexp search.
25322144
CY
13510 (package-menu-get-status): Use tabulated-list-entry.
13511 (package-menu-mark-upgrades): New command.
d770725a 13512 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13513 (package-menu-execute): Do installation before deletion.
13514 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13515 instead of checking major-mode.
13516 (package-menu--find-upgrades): New function.
13517
7520339c
LMI
135182011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13519
13520 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13521 passwords in the log buffer.
65a046c4
LMI
13522 (smtpmail-process-filter): Update the process marker so that the
13523 "broken by peer" status message is inserted in the right place.
7520339c 13524
d3c30954
SM
135252011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13526
3fe48822
SM
13527 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13528 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13529 bibtex-completion-at-point-function.
13530 (bibtex-completion-at-point-function): Use them.
13531
1b8b3954
SM
13532 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13533
d3c30954
SM
13534 * mpc.el (mpc-constraints-tag-lookup): New function.
13535 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13536 also to browser "album|playlist".
13537
72779976
JL
135382011-09-14 Juri Linkov <juri@jurta.org>
13539
13540 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13541 (isearch-edit-string): Use length of `isearch-string' when
13542 `isearch-fail-pos' returns nil.
13543 (isearch-message): Remove duplicate code and call
13544 `isearch-fail-pos' with arg `t'.
13545
a0bf2bcd
CY
135462011-09-14 Chong Yidong <cyd@stupidchicken.com>
13547
17bb0a2d
CY
13548 * replace.el (occur-mode-goto-occurrence): Don't force using other
13549 window (Bug#9499).
13550
a0bf2bcd
CY
13551 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13552
f678e0b6
MR
135532011-09-14 Martin Rudalics <rudalics@gmx.at>
13554
13555 * window.el (display-buffer-window): Remove.
13556 (display-buffer-record-window): Use help-setup window parameter
13557 instead of variable display-buffer-window.
13558 (display-buffer-function, special-display-buffer-names)
13559 (special-display-function): Mention help-setup parameter instead
13560 of display-buffer-window in doc-string.
d3c30954
SM
13561 * help.el (help-window-setup): New argument help-window.
13562 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13563 Reword some messages.
13564 (with-help-window): Pass window used for displaying the buffer
13565 to help-window-setup. Don't set display-buffer-window.
13566
8e39b2e8
GM
135672011-09-13 Glenn Morris <rgm@gnu.org>
13568
13569 * emacs-lisp/debug.el (debugger-make-xrefs):
13570 Preserve point. (Bug#9462)
13571
85e9c04b
CY
135722011-09-13 Chong Yidong <cyd@stupidchicken.com>
13573
13574 * window.el (window-deletable-p): Use next-frame.
13575
1b36ed6a
MR
135762011-09-13 Martin Rudalics <rudalics@gmx.at>
13577
13578 * window.el (window-auto-delete): Remove.
13579 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13580 dedication and previous buffers.
1b36ed6a
MR
13581 (switch-to-prev-buffer): Don't delete window.
13582 (delete-windows-on): Delete a window's frame if and only if the
13583 window is dedicated.
13584 (replace-buffer-in-windows): Delete buffer's window or frame if
13585 and only if window is dedicated.
13586 (quit-window): Handle quit-restore as before last change.
4d61f28d 13587 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13588
ef8ef9fb
CY
135892011-09-13 Chong Yidong <cyd@stupidchicken.com>
13590
13591 * window.el (window-deletable-p): Never delete the last frame on a
13592 given terminal.
13593
b2cba41e
GM
135942011-09-13 Glenn Morris <rgm@gnu.org>
13595
13596 * help.el (describe-key-briefly): Copy previous standard-output change.
13597
51553db6 135982011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13599
13600 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13601
b7556719
GM
136022011-09-13 Glenn Morris <rgm@gnu.org>
13603
13604 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13605 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13606
64b51947
CY
136072011-09-12 Chong Yidong <cyd@stupidchicken.com>
13608
13609 * dired-aux.el (dired-mark-read-string): Don't return default
13610 value on empty input (Bug#9361).
13611 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13612 Omit initial minibuffer contents.
13613 (dired-do-chmod): Signal an error on empty input.
13614 (dired-mark-read-string): Don't return default on empty input.
13615
13616 * files.el (file-modes-symbolic-to-number): Doc fix.
13617
393a301e
SM
136182011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13619
13620 * international/mule-cmds.el (ucs-completions): Remove.
13621 (read-char-by-name): Use complete-with-action instead; add metadata.
13622
fa5660f9
CY
136232011-09-11 Chong Yidong <cyd@stupidchicken.com>
13624
13625 * window.el (display-buffer--action-function-custom-type)
13626 (display-buffer--action-custom-type): New vars.
13627 (display-buffer-alist, display-buffer-default-action)
13628 (display-buffer-overriding-action): Add defcustom types.
13629
4a592f66
CY
13630 * frame.el (delete-other-frames): Doc fix (Bug#276).
13631
73d56dbd
LMI
136322011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13633
13634 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13635
37ac18a3
CY
136362011-09-11 Chong Yidong <cyd@stupidchicken.com>
13637
13638 Change modes that used same-window-* vars to use switch-to-buffer.
13639
13640 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13641 Use switch-to-buffer.
13642
13643 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13644 (customize-browse, custom-buffer-create-other-window):
13645 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13646
13647 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13648 (Info-prev, Info-up, Info-speedbar-goto-node)
13649 (info-display-manual): Use switch-to-buffer.
13650 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13651
13652 * mail/sendmail.el (mail): Use switch-to-buffer.
13653 (mail-recover): Use switch-to-buffer-other-window.
13654
13655 * cmuscheme.el (run-scheme, switch-to-scheme):
13656 * ielm.el (ielm):
13657 * shell.el (shell):
13658 * net/rlogin.el (rlogin):
13659 * net/telnet.el (telnet, rsh):
13660 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13661
10195bd6
AS
136622011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13663
13664 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13665
b322f63a
LMI
136662011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13667
39d7fed6
LMI
13668 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13669 so don't mention it (bug#9301).
ba5a81f1 13670 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13671
ee0e9f11
LMI
13672 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13673 match `x', `w32' and `ns', like the manual says (bug#9029).
13674
0b1c89c1 13675 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13676 (process-kill-buffer-query-function): Mention the buffer name in
13677 the query.
0b1c89c1 13678
77549ea8
LMI
13679 * image-mode.el (image-next-line): The line parameter is mandatory
13680 (bug#9258).
13681
803ef892
LMI
13682 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13683 which can be useful (bug#9301).
13684
12980837
LMI
13685 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13686
91054f8f
LMI
13687 * subr.el (match-string): Mention that the current buffer should
13688 be the same as the search was done in (bug#9282).
13689
b322f63a
LMI
13690 * facemenu.el: Disable the remove-* commands if the mark isn't
13691 active (bug#9162).
13692
3199b96f
CY
136932011-09-10 Chong Yidong <cyd@stupidchicken.com>
13694
13695 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13696 of display-buffer.
13697 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13698
13699 * replace.el (occur-mode-goto-occurrence)
13700 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13701 and display-buffer.
13702
13703 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13704 display-buffer.
13705
13706 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13707 special-display and same-window variables.
13708 (mail-other-window): Use switch-to-buffer-other-window.
13709 (mail-other-frame): USe switch-to-buffer-other-frame.
13710
393a301e
SM
13711 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13712 Use display-buffer-other-frame.
3199b96f
CY
13713 (gdb-display-gdb-buffer): Use pop-to-buffer.
13714
13715 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13716
13717 * progmodes/python.el: Don't set same-window-buffer-names.
13718
13719 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13720
13721 * window.el (display-buffer-alist): Add *Python*.
13722
8319e0bf
CY
137232011-09-10 Chong Yidong <cyd@stupidchicken.com>
13724
13725 * window.el (display-buffer-alist): Add entry for buffers
13726 previously handled same-window-*.
13727 (display-buffer-alist, display-buffer-default-action)
13728 (display-buffer-overriding-action): Mark as risky.
13729 (display-buffer-alist): Document action function changes.
13730 (display-buffer--same-window-action)
13731 (display-buffer--other-frame-action): New variables.
13732 (switch-to-buffer, display-buffer-other-frame): Use them.
13733 (display-buffer): Rename reuse-frame entry to reusable-frames.
13734 (display-buffer-reuse-selected-window): Function deleted.
13735 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13736 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13737 (display-buffer-special): New function.
13738 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13739 display-buffer-reuse-or-pop-window. Split off special-display
13740 part into display-buffer-special.
13741 (display-buffer-use-some-window): Don't perform any special
13742 pop-up-frames handling.
13743 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13744 (display-buffer--maybe-same-window): Rename from
0d3ff375 13745 display-buffer-maybe-same-window.
8319e0bf 13746
919a69aa
CY
13747 * info.el: Don't set same-window-regexps.
13748 (info-setup): New function.
13749 (info-other-window, info): Call it.
13750
13751 * cus-edit.el: Don't set same-window-regexps.
13752 (customize-group): New argument.
13753 (customize-group-other-window): Use it.
13754 (customize-face, customize-face-other-window): Likewise.
13755 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13756
8319e0bf
CY
13757 * net/rlogin.el:
13758 * net/telnet.el:
13759 * progmodes/gud.el: Don't set same-window-regexps.
13760
13761 * cmuscheme.el:
13762 * ielm.el:
13763 * shell.el:
13764 * mail/sendmail.el:
13765 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13766
25173000
JL
137672011-09-10 Juri Linkov <juri@jurta.org>
13768
13769 * isearch.el (isearch-edit-string): Remove obsolete mention of
13770 `C-w' (`isearch-yank-word-or-char') from docstring.
13771 (isearch-query-replace): Fix typo in docstring (bug#9466).
13772
056e44ef
JL
137732011-09-10 Juri Linkov <juri@jurta.org>
13774
13775 * paren.el (show-paren-function): Don't show escaped parens.
13776 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13777
c3760c17
EZ
137782011-09-10 Eli Zaretskii <eliz@gnu.org>
13779
13780 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13781 (mm-default-file-encoding): Remove autoload forms, they are
13782 replaced with autoload cookies in mml.el and mm-encode.el.
13783 (mail-add-attachment): New command.
13784 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13785 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13786 the doc string.
13787 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13788
fece895e
RT
137892011-09-10 Reuben Thomas <rrt@sc3d.org>
13790
e69df516
SM
13791 * simple.el (count-words-region): Use buffer if there's no region
13792 (bug#9429).
fece895e 13793
5e68ce4a
JL
137942011-09-09 Juri Linkov <juri@jurta.org>
13795
13796 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13797 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13798 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13799
0a6b9622
AM
138002011-09-09 Alan Mackenzie <acm@muc.de>
13801
13802 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13803 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13804
14a29deb
EZ
138052011-09-09 Eli Zaretskii <eliz@gnu.org>
13806
13807 Fix for Savannah bug#9392.
13808 * simple.el (mail-encode-mml): New defvar.
13809
13810 * mail/rmail.el (mail-encode-mml): Add a defvar.
13811 (rmail-enable-mime-composing): Default to t.
13812 (rmail-forward): Use MIME method of forwarding only if both
13813 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13814 Set mail-encode-mml non-nil if the MIME method was used.
13815
13816 * mail/sendmail.el (mml-to-mime): Add autoload form.
13817 (mail-encode-mml): Add a defvar.
13818 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13819 to nil.
13820 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13821 message through mml-to-mime, and reset mail-encode-mml to nil.
13822
28c45130
GM
138232011-09-09 Glenn Morris <rgm@gnu.org>
13824
13825 * woman.el (woman-if-body): When processing an .el block,
13826 do not delete the next .el block as well. (Bug#9447)
69f4b618 13827 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13828
9b1c252e
MR
138292011-09-08 Martin Rudalics <rudalics@gmx.at>
13830
13831 * window.el (window-deletable-p): Make sure window is live before
13832 invoking window-prev-buffers.
13833
567457e3
LL
138342011-09-08 Leo Liu <sdl.web@gmail.com>
13835
13836 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13837
97f05794
JL
138382011-09-08 Juri Linkov <juri@jurta.org>
13839
13840 * progmodes/compile.el (compilation-environment): Make it
13841 a defcustom (bug#8340).
13842
8b0874b5
MR
138432011-09-08 Martin Rudalics <rudalics@gmx.at>
13844
13845 * window.el (frame-auto-delete): Rename to window-auto-delete.
13846 Make it control auto-deletion of windows and/or frames.
13847 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13848 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13849 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13850 Rewrite handling of case when window/frame can be deleted.
13851 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13852 argument t. (Bug#9456)
8b0874b5 13853
4feb6e73
CY
138542011-09-07 Chong Yidong <cyd@stupidchicken.com>
13855
13856 * help-mode.el (help-mode): Restore autoload.
13857
91ab9c13
JL
138582011-09-07 Juri Linkov <juri@jurta.org>
13859
13860 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13861 `compilation-environment'. Set buffer-local
13862 `compilation-environment' to `thisenv' later after (funcall mode).
13863 (Bug#8340)
13864
13865 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13866 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13867 instead of replacing its value. (Bug#8340)
13868
0527e251
JL
138692011-09-07 Juri Linkov <juri@jurta.org>
13870
13871 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13872 based on text properties put by `grep-filter' instead of matching
13873 escape sequences.
13874 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13875 to the value of `grep-error-screen-columns' (bug#9438).
13876
249f792c
JL
138772011-09-07 Juri Linkov <juri@jurta.org>
13878
13879 * simple.el (next-error-highlight, next-error-highlight-no-select):
13880 Doc fix (bug#9432).
13881
ff7271b9
OT
138822011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13883
13884 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13885 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13886
183fc730
LL
138872011-09-07 Leo Liu <sdl.web@gmail.com>
13888
13889 * net/rcirc.el (rcirc-mode): Conditionally initialize
13890 rcirc-input-ring.
13891
77694924
SM
138922011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13893
13894 * emacs-lisp/find-func.el (find-function-C-source): Only set
13895 find-function-C-source-directory after checking that we found a source
13896 file there (bug#9440).
13897
d809b8eb
AM
138982011-09-06 Alan Mackenzie <acm@muc.de>
13899
13900 * isearch.el (isearch-other-meta-char): Wherever a key list is
13901 unread, "unread" the prefix arg, too. This fixes bug #8901.
13902
453de99f
OG
139032011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13904
13905 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13906
90439906
JL
139072011-09-05 Juri Linkov <juri@jurta.org>
13908
13909 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13910
f62bd846
JL
139112011-09-05 Juri Linkov <juri@jurta.org>
13912
13913 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13914 keeping point where processing of grep matches begins, and
13915 continue to delete remaining escape sequences from the same point.
13916 (grep-filter): Make leading zero optional in "0?1;31m" because
13917 git-grep emits "\033[1;31m" escape sequences unlike expected
13918 "\033[01;31m" as GNU Grep does (bug#9408).
13919 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13920
045820ec
JL
139212011-09-05 Juri Linkov <juri@jurta.org>
13922
13923 * subr.el (y-or-n-p): Capitalize "yes".
13924
f5e29b9b
MA
139252011-09-04 Michael Albinus <michael.albinus@gmx.de>
13926
13927 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13928 `tramp-cache-unload-hook' where appropriate.
13929 (tramp-methods): Rename `tramp-remote-sh' to
13930 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13931 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13932
13933 * net/tramp-sh.el (top): Don't require 'shell.
13934 (tramp-methods): Add `tramp-remote-shell' and
13935 `tramp-remote-shell-args' entries.
13936 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13937 (tramp-sh-handle-shell-command): Remove.
13938 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13939 Use `tramp-remote-shell'.
13940
2784c434
CY
139412011-09-03 Chong Yidong <cyd@stupidchicken.com>
13942
393a301e 13943 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13944 (sendmail-query-once): Save directly to send-mail-function.
13945 Update message-send-mail-function too.
13946
13947 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13948
464cdf56
CS
139492011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13950
13951 * progmodes/python.el (python-mode-map): Use correct function to
13952 start python interpreter from menu-bar (as reported by Geert
13953 Kloosterman).
13954 (inferior-python-mode-map): Fix typo.
393a301e 13955 (python-shell-map): Remove.
464cdf56 13956
d37e5c87
DD
139572011-09-03 Deniz Dogan <deniz@dogan.se>
13958
13959 * net/rcirc.el (rcirc-print): Simplify code for
13960 rcirc-scroll-show-maximum-output. There is no need to walk
13961 through all windows to find the right one.
13962
f3ada0ee
CS
139632011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13964
13965 * help.el (help-return-method): Doc fix.
13966
1f3c99ca
MR
139672011-09-03 Martin Rudalics <rudalics@gmx.at>
13968
13969 * window.el (window-deletable-p): Don't return a non-nil value
13970 when there's a buffer that was shown in the window before.
13971 (Bug#9419)
393a301e
SM
13972 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13973 Set window's previous buffers to nil.
1f3c99ca 13974
a3cf097f
EZ
139752011-09-03 Eli Zaretskii <eliz@gnu.org>
13976
13977 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13978 newline before and after the tag line, so it doesn't interfere
13979 with determining the paragraph direction of bidirectional text.
13980
3d03de90
LL
139812011-09-03 Leo Liu <sdl.web@gmail.com>
13982
13983 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13984
c3313451
CY
139852011-09-02 Chong Yidong <cyd@stupidchicken.com>
13986
393a301e 13987 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13988 (pop-to-buffer): Change interactive spec. Pass second argument
13989 directly to display-buffer.
13990 (display-buffer): Fix interactive spec. Use functionp to
13991 distinguish between a function and a list of functions.
13992
13993 * abbrev.el (edit-abbrevs):
13994 * arc-mode.el (archive-extract):
13995 * autoinsert.el (auto-insert):
13996 * bookmark.el (bookmark-bmenu-list):
13997 * files.el (find-file):
13998 * view.el (view-buffer):
13999 * progmodes/compile.el (compilation-goto-locus):
14000 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14001
89894cd8
CY
140022011-09-02 Chong Yidong <cyd@stupidchicken.com>
14003
14004 * window.el (display-buffer-alist): Doc fix.
14005 (display-buffer): Add docstring. Don't treat
14006 display-buffer-default specially.
14007 (display-buffer-reuse-selected-window)
14008 (display-buffer-same-window, display-buffer-maybe-same-window)
14009 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14010 (display-buffer-pop-up-window)
14011 (display-buffer-reuse-or-pop-window)
14012 (display-buffer-use-some-window): New functions.
14013 (display-buffer-default-action): Use them.
393a301e 14014 (display-buffer-default): Delete.
89894cd8
CY
14015 (pop-to-buffer-1): Fix choice of actions.
14016
ae0bc9fb
SM
140172011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14018
14019 * minibuffer.el (completion--insert-strings): Don't get confused by
14020 completion entries that end with an LF char.
14021
e9d90883
EZ
140222011-09-01 Eli Zaretskii <eliz@gnu.org>
14023
14024 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14025
437014c8
CY
140262011-09-01 Chong Yidong <cyd@stupidchicken.com>
14027
14028 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14029 (display-buffer-same-window, display-buffer-other-window):
14030 New functions.
437014c8
CY
14031 (pop-to-buffer-1): New function. Use the above.
14032 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14033 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14034
14035 * view.el (view-buffer-other-window, view-buffer-other-frame):
14036 Just use pop-to-buffer.
14037
a5e063d5
TV
140382011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14039
14040 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14041
793d32bb
WH
140422011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14043
14044 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14045
d65e4c15
RS
140462011-08-31 Richard Stallman <rms@gnu.org>
14047
14048 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14049 of the separation of rmail-view-buffer from rmail-buffer.
14050 If you say no to "replace original", the decrypt is in the
14051 view buffer. If you say yes, the decrypt goes into the
14052 rmail buffer also.
14053
f818cd2a
MR
140542011-08-31 Martin Rudalics <rudalics@gmx.at>
14055
14056 * window.el (display-buffer-window): Rewrite doc-string.
14057 (display-buffer-record-window): New function.
14058 (display-buffer-macro-specifiers)
14059 (display-buffer-even-window-sizes, display-buffer-set-height)
14060 (display-buffer-set-width, display-buffer-in-window)
14061 (display-buffer-reuse-window, display-buffer-split-specifiers)
14062 (display-buffer-side-specifiers, display-buffer-split-window-1)
14063 (display-buffer-split-window, display-buffer-split-atom-window)
14064 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14065 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14066 (display-buffer-other-window-means-other-frame)
14067 (display-buffer-normalize-special)
14068 (display-buffer-normalize-default)
14069 (display-buffer-normalize-argument)
14070 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14071 (display-buffer-normalize-specifiers, display-buffer-frame)
14072 (display-buffer-same-window, display-buffer-same-frame)
14073 (display-buffer-other-window)
14074 (display-buffer-same-frame-other-window)
14075 (display-buffer-other-frame, pop-to-buffer-same-window)
14076 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14077 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14078 (switch-to-buffer-same-frame)
14079 (switch-to-buffer-other-window-same-frame)
14080 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14081 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14082 (display-buffer-alist-set): Remove.
14083 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14084 (special-display-regexps, special-display-function):
14085 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14086 parameter.
14087 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14088 (special-display-frame-alist, special-display-popup-frame)
14089 (same-window-buffer-names, same-window-regexps, same-window-p)
14090 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14091 (split-window-preferred-function, split-height-threshold)
14092 (split-width-threshold, window-splittable-p)
14093 (split-window-sensibly, window--try-to-split-window)
14094 (window--frame-usable-p, even-window-heights)
14095 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14096 (window--display-buffer-2, display-buffer-other-frame):
14097 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14098 (display-buffer-default, display-buffer-assq-regexp): New functions.
14099 (display-buffer-alist): Rewrite doc-string.
14100 (display-buffer-default-action)
14101 (display-buffer-overriding-action): New variables.
14102 (display-buffer, switch-to-buffer): Rewrite.
14103 (pop-to-buffer): Restore Emacs 23 behavior but use
14104 window-normalize-buffer-to-display.
14105 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14106 Restore Emacs 23 behavior but use
14107 window-normalize-buffer-to-switch-to.
14108 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14109 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14110 Rewrite using Emacs 23 options.
f818cd2a 14111
5bc3b51d
MA
141122011-08-31 Michael Albinus <michael.albinus@gmx.de>
14113
14114 * net/tramp.el (tramp-root-regexp): Remove.
14115 (tramp-completion-file-name-regexp-unified)
14116 (tramp-completion-file-name-regexp-separate)
14117 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14118 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14119 (tramp-drop-volume-letter): Simplify definition.
14120 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14121
b1a4f8e1
SM
141222011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14123
14124 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14125 (bug#9356).
14126
5664fa7b
RT
141272011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14128
b1a4f8e1 14129 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14130
9a45d6c3
JL
141312011-08-29 Juri Linkov <juri@jurta.org>
14132
14133 * isearch.el (isearch-done): Don't display message "Mark saved"
14134 when arg `edit' is non-nil to prevent its flicker in the echo area.
14135
fb87e0fb
CY
141362011-08-28 Chong Yidong <cyd@stupidchicken.com>
14137
14138 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14139 obsolete packages for deletion.
14140
09ac1c2a
CS
141412011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14142
14143 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14144 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14145 view-mode from help-mode.
14146 (help-xref-override-view-map): Remove.
14147 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14148 view-mode is not used anymore.
14149
7a1ff57f
CY
141502011-08-28 Chong Yidong <cyd@stupidchicken.com>
14151
14152 * server.el (server-port): Doc fix.
14153
b9696605
CY
14154 * cus-theme.el (custom-theme-choose-mode): Inherit from
14155 special-mode (Bug#9124).
14156 (custom-theme-choose-mode-map): Add special-mode to parent.
14157
ef8cdf8c
AM
141582011-08-28 Alan Mackenzie <acm@muc.de>
14159
14160 * progmodes/cc-fonts.el
14161 (c-make-font-lock-BO-decl-search-function): New function.
14162 (c-basic-matchers-after - "Fontify the clauses after various
14163 keywords"): Extract the three keyword lists for the 3 erroneous
14164 constructs from the list of four, and use the new function above
14165 in place of an old one.
14166
27de4e20
DD
141672011-08-28 Deniz Dogan <deniz@dogan.se>
14168
14169 * net/rcirc.el (rcirc-insert-prev-input)
14170 (rcirc-insert-next-input): Remove unused argument.
14171
356a3681
SM
141722011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14173
14174 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14175
3fc9b218
AM
141762011-08-27 Alan Mackenzie <acm@muc.de>
14177
14178 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14179 handle function pointer parameters properly.
14180
538a061c
MR
141812011-08-27 Martin Rudalics <rudalics@gmx.at>
14182
14183 * window.el (display-buffer-reuse-window): Fix case where
14184 selected window was reused with non-nil OTHER-WINDOW argument.
14185 (Bug#9381)
14186
35b1c40c
DD
141872011-08-27 Deniz Dogan <deniz@dogan.se>
14188
14189 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14190 oftc's NickServ messages.
14191
2f6a3e79
GM
141922011-08-27 Glenn Morris <rgm@gnu.org>
14193
14194 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14195
7254299e
CY
141962011-08-26 Chong Yidong <cyd@stupidchicken.com>
14197
14198 * emacs-lisp/package.el (package-install): Call package-initialize
14199 if called interactively.
14200
f8ccf167
LL
142012011-08-26 Leo Liu <sdl.web@gmail.com>
14202
14203 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14204
3e8cd5ce
JL
142052011-08-25 Juri Linkov <juri@jurta.org>
14206
14207 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14208 `search-whitespace-regexp' (bug#9364).
14209
93eb7113
JL
142102011-08-25 Juri Linkov <juri@jurta.org>
14211
14212 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14213 `regexp-search-ring' to their global values to protect from
14214 updating by `read-from-minibuffer' (bug#9185).
14215
f65d1611
JL
142162011-08-25 Juri Linkov <juri@jurta.org>
14217
14218 * textmodes/ispell.el (ispell-command-loop): Add newline
14219 at the end of the "Use option `i'..." line.
14220
f1cf7a31
JL
142212011-08-25 Juri Linkov <juri@jurta.org>
14222
14223 * battery.el (display-battery-mode): If `battery-status-function'
14224 or `battery-mode-line-format' is nil, display the message and set
14225 `display-battery-mode' to nil (bug#9363).
14226
0c95fcf7
EZ
142272011-08-25 Eli Zaretskii <eliz@gnu.org>
14228
14229 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14230 bidi-string-mark-left-to-right; they are unnecessary now.
14231
a2ebe600
DD
142322011-08-25 Deniz Dogan <deniz@dogan.se>
14233
14234 * net/quickurl.el: Documentation typo fixes.
14235
e4ed06f1
CY
142362011-08-25 Chong Yidong <cyd@stupidchicken.com>
14237
14238 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14239
e5f1c99e
GM
142402011-08-25 Glenn Morris <rgm@gnu.org>
14241
b2948976
GM
14242 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14243
e5f1c99e
GM
14244 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14245 (smtpmail-via-smtp): Handle nil response from smtp.
14246
f22f4808
JL
142472011-08-24 Juri Linkov <juri@jurta.org>
14248
14249 * proced.el (proced-marked): Inherit from `error' instead of
14250 `font-lock-warning-face'.
14251
14252 * ibuffer.el (ibuffer-marked-face): Change default face from
14253 `font-lock-warning-face' to `warning'.
14254 (ibuffer-deletion-face): Change default face from
14255 `font-lock-type-face' to `error'.
14256
14257 * battery.el (battery-update): Use the face `error' instead of
14258 `font-lock-warning-face' (bug#6117).
14259
6a93965e
JL
142602011-08-24 Juri Linkov <juri@jurta.org>
14261
14262 * faces.el (success): Change face color from "Green3" to
14263 "ForestGreen" on light background (bug#9353).
14264
1ed43b09
CY
142652011-08-24 Chong Yidong <cyd@stupidchicken.com>
14266
5664fa7b
RT
14267 * window.el (quit-window): Rename from quit-restore-window.
14268 Use same arglist as old quit-window.
1ed43b09
CY
14269 (frame-auto-delete): Doc fix.
14270
14271 * view.el (view-mode-exit): Use quit-window.
14272
11dcdbb2
JL
142732011-08-24 Juri Linkov <juri@jurta.org>
14274
14275 * isearch.el (isearch-ring-adjust1): Start visiting previous
14276 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14277 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14278 for empty search string (when the last search string is reused
14279 automatically) to adjust the isearch ring to the last element and
14280 prepare the correct index for further M-p commands (bug#9185).
14281
de62b4df
KH
142822011-08-24 Kenichi Handa <handa@m17n.org>
14283
14284 * international/ucs-normalize.el: If decomposition property of
14285 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14286 nil.
14287 (nfd, nfkd): Likewise.
14288
963b492b
SM
142892011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14290
14291 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14292 from process filters aren't reliably transmitted to the surrounding
14293 accept-process-output.
14294 (mpc-proc-check): New function.
14295 (mpc-proc-sync): Use it (bug#8293)
14296
93b6b5e1
SM
142972011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14298
14299 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14300 Add compatibility functions (bug#9313).
14301
bca633fb
EZ
143022011-08-23 Eli Zaretskii <eliz@gnu.org>
14303
b177498a
EZ
14304 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14305
6df6ae42 14306 * international/uni-bidi.el: Regenerate.
bca633fb 14307
0902a04e
KH
143082011-08-23 Kenichi Handa <handa@m17n.org>
14309
14310 * international/charprop.el:
14311 * international/uni-bidi.el:
14312 * international/uni-category.el:
14313 * international/uni-combining.el:
14314 * international/uni-comment.el:
14315 * international/uni-decimal.el:
14316 * international/uni-decomposition.el:
14317 * international/uni-digit.el:
14318 * international/uni-lowercase.el:
14319 * international/uni-mirrored.el:
14320 * international/uni-name.el:
14321 * international/uni-numeric.el:
14322 * international/uni-old-name.el:
14323 * international/uni-titlecase.el:
14324 * international/uni-uppercase.el: Regenerate.
14325
3bbf23bc
MR
143262011-08-23 Martin Rudalics <rudalics@gmx.at>
14327
14328 * help.el (help-window-setup): Fix message displayed when other
14329 window is reused. (Bug#9341)
14330
b3fd59bd
SM
143312011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14332
1802e444
SM
14333 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14334 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14335
b3fd59bd
SM
14336 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14337 Mark obsolete.
14338 * shell.el (shell-parse-pcomplete-arguments): New function.
14339 (shell-completion-vars): Use it instead (bug#9160).
14340
4eb61348
SM
143412011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14342
867cab74
SM
14343 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14344 strings and comments (bug#9333).
14345
4eb61348
SM
14346 * emacs-lisp/debug.el (debug-arglist): New function.
14347 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14348 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14349
262a1439
JL
143502011-08-22 Juri Linkov <juri@jurta.org>
14351
56ee679c
JL
14352 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14353 Revert regexp that highlights output switches to its old
14354 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14355
262a1439
JL
14356 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14357 to check for empty output (bug#9226).
14358
f13f86fb
CY
143592011-08-22 Chong Yidong <cyd@stupidchicken.com>
14360
14361 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14362 symbol-constituent as the default, as that stops font-lock from
14363 working properly (Bug#8843).
14364
c65c9622
LMI
143652011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14366
14367 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14368 `coding-system-for-*' around the process open call to avoid
14369 auth-source side effects.
e7f2c178 14370 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14371 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14372 probe hangs.
c65c9622 14373
23a8a5ab
CY
143742011-08-21 Chong Yidong <cyd@stupidchicken.com>
14375
ff98b2dd
CY
14376 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14377
23a8a5ab
CY
14378 * emacs-lisp/find-func.el (find-function-noselect): New arg
14379 lisp-only.
14380
14381 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14382 signal an error for built-in functions (Bug#6664).
14383
f5e3c598
LMI
143842011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14385
14386 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14387 (smtpmail-try-auth-methods): Use it.
14388
a3f2468a
CY
143892011-08-21 Chong Yidong <cyd@stupidchicken.com>
14390
2c34e8da
CY
14391 * font-lock.el (font-lock-fontify-region)
14392 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14393 (font-lock-default-unfontify-buffer)
14394 (font-lock-default-fontify-region)
14395 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14396
b3fd59bd
SM
14397 * progmodes/compile.el (compilation-error-properties):
14398 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14399 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14400 `ant' regexp.
ee31aabc 14401
a3f2468a
CY
14402 * net/browse-url.el (browse-url-firefox): Don't call
14403 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14404
8e999f70
GM
144052011-08-20 Glenn Morris <rgm@gnu.org>
14406
c21a496a
GM
14407 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14408
59ee0542
GM
14409 * tutorial.el (tutorial--default-keys): Update some default bindings.
14410
8e999f70
GM
14411 * files.el (hack-local-variables): Fully ignore case for "mode:".
14412
e3715033
AM
144132011-08-20 Alan Mackenzie <acm@muc.de>
14414
14415 Resolve invalid use of a regexp in regexp-opt.
14416
4d61f28d
JB
14417 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14418 detection for a java annotation.
e3715033 14419
4d61f28d 14420 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14421 detection for a java annotation.
14422
4d61f28d
JB
14423 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14424 handling for java.
e3715033
AM
14425 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14426
04ed2e9c
CY
144272011-08-20 Chong Yidong <cyd@stupidchicken.com>
14428
14429 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14430 (Bug#9274).
14431
826cee64
AM
144322011-08-20 Alan Mackenzie <acm@muc.de>
14433
58179cce 14434 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14435 such a construct. Mainly for when jit-lock etc. starts a chunk
14436 here.
14437
58179cce 14438 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14439 variable.
58179cce 14440 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14441 c-make-font-lock-search-function.
14442 (c-make-font-lock-search-function): Use the above function.
14443 (c-make-font-lock-context-search-function): New function.
14444 (c-cpp-matchers): Enhance the preprocessor expression case with
14445 the above function
14446 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14447 which takes an expression.
14448
14449 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14450
13009bd8
MR
144512011-08-20 Martin Rudalics <rudalics@gmx.at>
14452
14453 * window.el (display-buffer-reuse-window)
14454 (display-buffer-pop-up-window): Don't reuse or split a side
14455 window.
14456
9234ff7f
GM
144572011-08-19 Glenn Morris <rgm@gnu.org>
14458
14459 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14460 Downcase "Mode:". (Bug#9331)
9234ff7f 14461
f635daa1
CY
144622011-08-18 Chong Yidong <cyd@stupidchicken.com>
14463
14464 * international/characters.el: Add L and R categories.
14465
14466 * subr.el (bidi-string-mark-left-to-right): Rename from
14467 string-mark-left-to-right. Use category search.
14468
14469 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14470
bc987f8b
JL
144712011-08-18 Juri Linkov <juri@jurta.org>
14472
14473 * faces.el (error, warning, success): New faces with definitions
14474 copied from old default values of `font-lock-warning-face',
14475 `compilation-warning', `compilation-info' (bug#6117).
14476
14477 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14478
14479 * progmodes/compile.el (compilation-error): Inherit from `error'.
14480 (compilation-warning): Inherit from `warning'.
14481 (compilation-info): Inherit from `success'.
14482
14483 * dired.el (dired-marked): Inherit from `warning'.
14484 (dired-flagged): Inherit from `error'.
14485
57173b96
LMI
144862011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14487
3e79eb87
LMI
14488 * mail/smtpmail.el (auth-source): Require to avoid problems with
14489 binding variables (bug#9298). Also clean up some unused
14490 autoloads.
14491
b3fd59bd
SM
14492 * net/network-stream.el (network-stream-open-starttls):
14493 Support using starttls.el without using gnutls-cli.
57173b96 14494
02b404de
JL
144952011-08-17 Juri Linkov <juri@jurta.org>
14496
14497 * progmodes/grep.el (rgrep): Handle the case when
14498 `grep-find-command' is a cons cell (bug#9278).
14499
8c9177f2
MR
145002011-08-17 Martin Rudalics <rudalics@gmx.at>
14501
14502 * window.el (display-buffer-pop-up-frame): Run frame creation
14503 function with BUFFER current (as special-display-popup-frame
14504 does). Reported by Drew Adams.
14505
3644a0ab
DU
145062011-08-17 Daiki Ueno <ueno@unixuser.org>
14507
14508 * epa-mail.el: Simplify GnuPG group expansion using
14509 epg-expand-group.
14510 (epa-mail-group-alist, epa-mail-group-modtime)
14511 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14512 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14513 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14514 Remove.
14515
5e617bc2 145162011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14517
14518 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14519
9c4aeabf
AM
145202011-08-16 Alan Mackenzie <acm@muc.de>
14521
14522 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14523 Correct, to avoid the inside of macros.
14524
3a99bf64
RS
145252011-08-16 Richard Stallman <rms@gnu.org>
14526
04963aa8
RS
14527 * epa-mail.el: Handle GnuPG group definitions.
14528 (epa-mail-group-alist, epa-mail-group-modtime)
14529 (epa-mail-gnupg-conf-file): New variables.
14530 (epa-mail-parse-groups, epa-mail-sync-groups)
14531 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14532 (epa-mail-expand-recipients): New functions.
14533 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14534
177549d0
RS
14535 * mail/rmail.el (rmail-epa-decrypt): New command.
14536
fe38beef
RS
14537 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14538 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14539 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14540 (epa-decrypt-armor-in-region): Make error message clearer.
14541
934eacb9
SM
145422011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14543
14544 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14545 and "a2b" to "ab" for `prefix'.
14546
d024fb4e
CY
145472011-08-14 Chong Yidong <cyd@stupidchicken.com>
14548
14549 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14550 filter groups.
de148fee
CY
14551 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14552 Fourquet (Bug#8804).
d024fb4e 14553
62f1ca49
JB
145542011-08-12 Juanma Barranquero <lekktu@gmail.com>
14555
14556 * startup.el (argi): Declare as global variable (bug#9275).
14557
9ccaaa4b
CY
145582011-08-12 Chong Yidong <cyd@stupidchicken.com>
14559
14560 * subr.el (string-mark-left-to-right): Search the entire string
14561 for RTL script, not just the terminating character. Doc fix.
14562
a3dae87a
SM
145632011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14564
6cd18349
SM
14565 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14566 New function.
14567 (js--regexp-literal, js-syntax-propertize-function): Remove.
14568 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14569 (js-mode-map): Don't rebind electric keys.
14570 (js-insert-and-indent): Remove.
14571 (js-mode): Setup electric-layout and electric-indent instead.
14572
a3dae87a
SM
14573 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14574
9d5cb631
DU
145752011-08-12 Daiki Ueno <ueno@unixuser.org>
14576
14577 * epa.el (epa-progress-callback-function): Fix the logic of
14578 displaying progress.
14579 * epa-file.el (epa-file-insert-file-contents): Make progress
14580 display more user-friendly.
14581 (epa-file-write-region): Ditto.
14582
3e26a4a2
CY
145832011-08-10 Chong Yidong <cyd@stupidchicken.com>
14584
14585 * subr.el (string-mark-left-to-right): New function.
14586
14587 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14588 Use string-mark-left-to-right.
14589 (list-buffers-noselect): Caller changed.
14590
a3dae87a
SM
14591 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14592 Use string-mark-left-to-right.
3e26a4a2
CY
14593 (tabulated-list-print): Recenter after moving point.
14594
ac8cf6e6
JL
145952011-08-10 Juri Linkov <juri@jurta.org>
14596
14597 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14598 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14599 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14600
8d96c9a4
CY
146012011-08-09 Chong Yidong <cyd@stupidchicken.com>
14602
14603 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14604 (Bug#7554).
14605
7be1c708 146062011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14607
14608 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14609 character. (Bug#6594)
14610
37e11a63
CY
146112011-08-08 Chong Yidong <cyd@stupidchicken.com>
14612
839dde57
CY
14613 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14614 (image-dired--with-db-file): New macro.
14615 (image-dired-write-tags, image-dired-remove-tag)
14616 (image-dired-create-gallery-lists, image-dired-write-comments)
14617 (image-dired-get-comment, image-dired-mark-tagged-files)
14618 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14619 (image-dired-gallery-generate): Use insert-file-contents.
14620
37e11a63
CY
14621 * time.el (display-time-world-list, display-time-world-display):
14622 * time-stamp.el (time-stamp-string):
14623 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14624 set-time-zone-rule (Bug#7337).
14625
0b4946c4
DU
146262011-08-08 Daiki Ueno <ueno@unixuser.org>
14627
14628 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14629 (epg-error-to-string, epg-errors-to-string): New function.
14630 (epg-wait-for-completion): Reverse errors list.
14631 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14632 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14633 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14634 (epg-sign-keys, epg-generate-key-from-file)
14635 (epg-generate-key-from-string): Format errors by using
14636 epg-errors-to-string (bug#9255).
14637 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14638
75bfc667
JL
146392011-08-07 Juri Linkov <juri@jurta.org>
14640
14641 * faces.el (list-faces-display): Remove extra angle bracket
14642 from `help-mode-map'.
14643
14644 * info.el (Info-history-toc-nodes): Doc fix.
14645
14646 * longlines.el (longlines-mode): Doc fix.
14647
673e08bb
SM
146482011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14649
4640dd88
SM
14650 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14651 of statements and in a few more cases (bug#9183).
14652
673e08bb
SM
14653 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14654 New functions.
14655 (cl-transform-lambda): Use them (bug#9239).
14656
89b3f019
MR
146572011-08-05 Martin Rudalics <rudalics@gmx.at>
14658
14659 * window.el (display-buffer-same-window)
14660 (display-buffer-same-frame, display-buffer-other-window)
14661 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14662 (pop-to-buffer-other-window)
14663 (pop-to-buffer-same-frame-other-window)
14664 (pop-to-buffer-other-frame): Make them defuns.
14665 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14666
640c8776
SM
146672011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14668
14669 * subr.el (make-composed-keymap): Move from C. Change calling
14670 convention, and improve docstring to bring attention to a subtle point.
14671 * minibuffer.el (completing-read-default): Adjust accordingly.
14672
63648a95
MA
146732011-08-03 Michael Albinus <michael.albinus@gmx.de>
14674
14675 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14676 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14677
14678 * net/trampver.el: Update release number.
14679
b796c9b7
SM
146802011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14681
14682 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14683 "in" (bug#9190).
14684
2239d7d5
LMI
146852011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14686
e07dd7c3
LMI
14687 * mail/sendmail.el (sendmail-query-once): Restore the current
14688 buffer after querying (bug#9074).
14689
0e6a2bd7
LMI
14690 * dired.el (dired-flagged): Use different faces for marked and
14691 flagged files (bug#6117).
14692
ce887515
LMI
14693 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14694 (bug#4433).
14695
92f2affc
LMI
14696 * ido.el (ido-mode): Switch off the message if called
14697 non-interactively.
14698
57d5aff0
LMI
14699 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14700 before 587, since it appears that that's more likely to work for
14701 more people.
14702
98cd6c18 14703 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14704 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14705 exist.
14706
b96dec83
LMI
14707 * info.el: Remove the `Info-beginning-of-buffer' function
14708 (bug#8325).
14709
b796c9b7
SM
14710 * net/network-stream.el (network-stream-open-starttls):
14711 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14712
d90e2ea0
MR
147132011-08-01 Martin Rudalics <rudalics@gmx.at>
14714
14715 * window.el (display-buffer-in-window): Don't set dedicated status
14716 of window here (Bug#9215).
14717 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14718 (display-buffer-pop-up-side-window)
b796c9b7 14719 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14720
cca09170
SM
147212011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14722
14723 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14724 before binding generated-autoload-file.
14725
027b979c
DD
147262011-08-01 Deniz Dogan <deniz@dogan.se>
14727
14728 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14729
3c7ee4f3
MA
147302011-07-30 Michael Albinus <michael.albinus@gmx.de>
14731
14732 Sync with Tramp 2.2.2.
14733
14734 * net/trampver.el: Update release number.
14735
2cc8e51a
JL
147362011-07-30 Juri Linkov <juri@jurta.org>
14737
14738 * dired-aux.el (dired-touch-initial): Remove function.
14739 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14740 current time, and `default' to the last modification time of the
14741 current marked file (bug#6887).
14742
a514d856
JM
147432011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14744
14745 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14746 numeric argument to read-number (bug#9163).
a514d856 14747
8a7eddd7
MA
147482011-07-27 Michael Albinus <michael.albinus@gmx.de>
14749
14750 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14751 connection process, it could be nil.
14752
1ddd96f5
LL
147532011-07-27 Leo Liu <sdl.web@gmail.com>
14754
14755 Simplify url handling in rcirc-mode.
14756
14757 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14758 (rcirc-browse-url-at-mouse): Remove.
14759 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14760
b248a85d
AM
147612011-07-26 Alan Mackenzie <acm@muc.de>
14762
14763 Fontify bitfield declarations properly.
14764
14765 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14766 (c-symbol-chars): Now exported as a lang variable.
14767 (c-not-primitive-type-keywords): New lang variable.
14768
14769 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14770 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14771 parsed as a bitfield declaration.
b248a85d 14772
b796c9b7
SM
14773 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14774 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14775 (c-punctuation-in): New function.
14776 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14777 declarations properly.
14778
68575ab0
UJ
147792011-07-26 Ulf Jasper <ulf.jasper@web.de>
14780
14781 * calendar/icalendar.el (icalendar--all-events): Take care of
14782 multiple vcalendars in a single file.
b796c9b7 14783 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14784
0f0a88b9
DD
147852011-07-25 Deniz Dogan <deniz@dogan.se>
14786
14787 * image.el (insert-image): Clarifying docstring.
14788
0b3f36df
MA
147892011-07-24 Michael Albinus <michael.albinus@gmx.de>
14790
14791 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14792 `tramp-send-command-and-check' if there is no error.
14793 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14794
a9901f61
AM
147952011-07-22 Alan Mackenzie <acm@muc.de>
14796
14797 Prevent cc-langs.elc being loaded at run time.
14798
14799 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14800 cc-langs.
14801
4d61f28d 14802 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14803 "(require 'cc-langs)". Quote a form so it will evaluate at
14804 (cc-mode's) compilation time.
14805
11d074b2
MA
148062011-07-22 Michael Albinus <michael.albinus@gmx.de>
14807
14808 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14809 loading. (Bug#9114)
14810
938b94c8
MR
148112011-07-21 Martin Rudalics <rudalics@gmx.at>
14812
14813 * window.el (display-buffer-pop-up-window)
14814 (display-buffer-pop-up-side-window)
14815 (display-buffer-in-side-window): Call display-buffer-set-height
14816 and display-buffer-set-width after setting the new window's
b796c9b7 14817 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14818
bfa4f190
SS
148192011-07-20 Sam Steingold <sds@gnu.org>
14820
14821 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14822 (etags-tags-included-tables): Call `convert-standard-filename' on
14823 the file names contained in TAGS so that windows Emacs can handle
14824 TAGS files created by cygwin ctags.
14825
8ca42262
LMI
148262011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14827
14828 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14829 which apparently didn't work.
14830
5db2afd2 148312011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14832
5db2afd2
RW
14833 * proced.el (proced-send-signal): For *Marked Processes* buffer
14834 put point at beginning of buffer.
14835
92e15d10
SB
148362011-07-19 Stephen Berman <stephen.berman@gmx.net>
14837
14838 * proced.el (proced-format): Make header lines align with the text
14839 (bug#1779).
14840
1bfd59e5
LMI
148412011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14842
14843 * view.el (view-buffer): Allow running in `special' modes if we're
14844 visiting a file (bug#8615).
14845
f5aae37c
MR
148462011-07-19 Martin Rudalics <rudalics@gmx.at>
14847
14848 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14849 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14850 New functions.
f5aae37c
MR
14851 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14852 more accurately.
14853
bf2c1571
AM
148542011-07-18 Alan Mackenzie <acm@muc.de>
14855
14856 Fontify declarators properly when, e.g., a jit-lock chunk begins
14857 inside a declaration.
14858
14859 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14860
b796c9b7
SM
14861 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14862 New function.
bf2c1571
AM
14863 (c-complex-decl-matchers): Insert reference to
14864 c-font-lock-enclosing-decls.
14865
14866 * progmodes/cc-engine.el (c-backward-single-comment):
14867 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14868 to nil around calls to (forward-comment -1).
14869
4e190b80
LMI
148702011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14871
12dc863d
LMI
14872 * image.el (put-image): Doc typo fix.
14873
a762e966
LMI
14874 * progmodes/etags.el (tags-search): Doc typo fix.
14875
4e190b80
LMI
14876 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14877 password if we get errors 550 to 554.
14878
f019fb21
LMI
148792011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14880
b796c9b7 14881 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14882
81746738
LMI
14883 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14884 indentation character (bug#6380).
14885
3ee3a1b5
LMI
14886 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14887
c82f64de
LMI
14888 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14889 to clarify what the problem is (bug#4291).
14890
f019fb21
LMI
14891 * simple.el (current-kill): Clarify what
14892 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14893 (auto-fill-mode): Document `auto-fill-function' in relation to
14894 `auto-fill-mode' (bug#2470).
f019fb21 14895
0794775d
LM
148962011-07-16 Lawrence Mitchell <wence@gmx.li>
14897
14898 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14899 method if slot is read-only (bug#9035).
14900
be39b8cc
MR
149012011-07-16 Martin Rudalics <rudalics@gmx.at>
14902
b796c9b7 14903 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14904 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14905 selected before, see discussion of (Bug#8615), (Bug#6954).
14906 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14907
6ccf7859
GM
149082011-07-15 Glenn Morris <rgm@gnu.org>
14909
14910 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14911 Respect help-form.
6ccf7859 14912
87e86684
LM
149132011-07-09 Lawrence Mitchell <wence@gmx.li>
14914
14915 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14916 (gnutls-negotiate): Use it.
14917
d6066239
LMI
149182011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14919
b796c9b7
SM
14920 * net/gnutls.el (gnutls-negotiate):
14921 Upcase `gnutls-algorithm-priority'.
d6066239 14922
bd23ebc0
GM
149232011-07-15 Glenn Morris <rgm@gnu.org>
14924
c65bca65
GM
14925 * jka-compr.el (jka-compr-verbose): Move from here...
14926 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14927 Add missing :version tag.
14928 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14929
478615cc
LMI
149302011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14931
7b41decb
LMI
14932 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14933 (gnutls-negotiate): Use it.
14934
dbc44fcd
LMI
14935 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14936
06789f97
LMI
14937 * info.el (Info-beginning-of-buffer): New command.
14938 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14939 announcing `b' as the key (bug#8325).
ab896c37 14940 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14941
c39da690
LMI
14942 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14943
3aa5f34b
LMI
14944 * international/mule-cmds.el
14945 (describe-specified-language-support): Make the error message
14946 clearer (bug#8905).
14947
4bf0979f
LMI
14948 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14949
478615cc
LMI
14950 * isearch.el (isearch-barrier): Add a doc string, since it's
14951 mentioned in a function doc string (bug#8678).
14952
75c68aa1
MR
149532011-07-15 Martin Rudalics <rudalics@gmx.at>
14954
14955 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14956 buffer argument (Bug#9083) and self-identifying label argument.
14957
a7c33da2
GM
149582011-07-15 Glenn Morris <rgm@gnu.org>
14959
14960 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14961
2f5c6024
LMI
149622011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14963
14964 * man.el (Man-fontify-manpage): Fix message when formatting the
14965 man page (bug#7929).
14966
0bb23927 149672011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14968
14969 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14970 argument LRM; if non-nil, append an invisible LRM character to the
14971 buffer name.
14972 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14973 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14974 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14975 paragraph direction.
cce4b0a7 14976
621ef9ab
LMI
149772011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14978
d1583c48
LMI
14979 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14980 the man page name (bug#7929).
14981
6a57fb5f
LMI
14982 * image.el (put-image): Mention the `put-image' overlay property
14983 (bug#7834).
14984
d7956b14
LMI
14985 * scroll-bar.el (set-scroll-bar-mode): Mention that
14986 `scroll-bar-mode' lists the values (bug#7772).
14987
5b2d4a66
LMI
14988 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14989 command (bug#7729).
14990
7509a874
LMI
14991 * rect.el (apply-on-rectangle): Return the point after the last
14992 operation.
14993 (string-rectangle): Go to the point after the last operation
14994 (bug#7522).
14995
4fe74b19
LMI
14996 * printing.el (pr-toggle-region): Clarify the documentation
14997 slightly (bug#7493).
14998
b796c9b7
SM
14999 * time.el (display-time-update):
15000 Allow `display-time-mail-function' to return nil (bug#7158).
15001 Fix suggested by Detlev Zundel.
ab283561 15002
fc233c9d
LMI
15003 * vc/diff.el (diff): Clarify the order the file names are read
15004 (bug#7111).
15005
43f5740b
LMI
15006 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15007 the doc string (bug#7015).
15008
f2182a76
LMI
15009 * font-lock.el (font-lock-maximum-decoration): Mention what
15010 numeric levels mean (bug#6935).
15011
621ef9ab
LMI
15012 * startup.el (initial-buffer-choice): Don't mention the `none'
15013 selection, which is against policy.
15014
adc47434
MR
150152011-07-14 Martin Rudalics <rudalics@gmx.at>
15016
b796c9b7
SM
15017 * window.el (display-buffer-normalize-special):
15018 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15019
7e5bfb8f
EZ
150202011-07-14 Eli Zaretskii <eliz@gnu.org>
15021
15022 * subr.el (version<, version<=, version=): Mention "-CVS" and
15023 "-12345" alpha version numbers.
15024
27fa387a
CY
150252011-07-14 Chong Yidong <cyd@stupidchicken.com>
15026
15027 * bindings.el: Add advertised binding for set-mark-command
15028 (Bug#5772).
15029
8bdfa064
CY
150302011-07-14 Chong Yidong <cyd@stupidchicken.com>
15031
15032 * bindings.el (mode-line-other-buffer):
15033 * bookmark.el (bookmark-bmenu-2-window):
15034 * bs.el (bs-cycle-next, bs-cycle-previous):
15035 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15036 switch-to-buffer.
15037
15038 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15039 Delete.
8bdfa064 15040
5eba16a3
JB
150412011-07-14 Juanma Barranquero <lekktu@gmail.com>
15042
15043 * follow.el (follow-debug-message, follow-redisplay):
15044 * jka-cmpr-hook.el (with-auto-compression-mode):
15045 Fix typos in docstrings.
15046
15853710
LMI
150472011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15048
a28e4607
LMI
15049 * subr.el (with-silent-modifications): Clarify somewhat what the
15050 macro inhibits (bug#6525).
15051
15853710
LMI
15052 * simple.el (eval-expression): Note what it does if called
15053 interactively (bug#6495).
15054
bee0fcef
CY
150552011-07-13 Chong Yidong <cyd@stupidchicken.com>
15056
b796c9b7
SM
15057 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15058 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15059
15060 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15061 Remove switch-to-buffer.
15062
58274504
LMI
150632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15064
bd2fcc8d
LMI
15065 * files.el (make-directory): Clarify that an error will be raised
15066 if there's an error (bug#6397).
15067
0f04b32c
LMI
15068 * startup.el (initial-buffer-choice): Add `none' as a choice
15069 (bug#6234).
15070
465c5fc8
LMI
15071 * subr.el (add-hook): Clarify section about buffer-local hooks
15072 (bug#6218).
15073
58274504
LMI
15074 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15075
bead9a43
JB
150762011-07-13 Juanma Barranquero <lekktu@gmail.com>
15077
15078 * tabify.el (untabify): Preserve the current column so that point
15079 doesn't move (bug#6032).
15080
3af98a7b
LMI
150812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15082
b796c9b7
SM
15083 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15084 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15085
6240145a
GM
150862011-07-13 Glenn Morris <rgm@gnu.org>
15087
15088 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15089 (dired-insert-directory): Give a message the first time
15090 if ls is found not to support --dired.
15091
1d8c2ccc
LMI
150922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15093
15094 * simple.el (toggle-truncate-lines): Clarify what is toggled
15095 (bug#5580). Text by Drew Adams.
15096
5fc4038e
CY
150972011-07-13 Chong Yidong <cyd@stupidchicken.com>
15098
15099 * simple.el (blink-matching-open): Make the error message from the
15100 last change less verbose.
15101
bf6012e5
DN
151022011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15103
15104 * font-lock.el (font-lock-comment-face): Use the high contrast
15105 "yellow" color for font-lock-comment-face on low color terminals
15106 using a dark background color (bug#4221).
15107
343c3b5a
LMI
151082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15109
7e9505c5
LMI
15110 * dired.el (dired-insert-set-properties): Make the doc string
15111 reflect what it does now (bug#5325).
15112
c26fdcf5
LMI
15113 * simple.el (blink-matching-open): Say that we were unable to find
15114 the match within the limit, if we're limited (bug#5122).
15115
bb388cc5
LMI
15116 * international/mule-cmds.el (prefer-coding-system): Add an
15117 example (bug#4869).
15118
343c3b5a
LMI
15119 * progmodes/etags.el (tags-search): Document `file-list-form'
15120 (bug#4731).
15121
2a517d45
LM
151222011-07-13 Lawrence Mitchell <wence@gmx.li>
15123
15124 * net/browse-url.el (browse-url-default-browser)
15125 (browse-url-browser-function): Make the default browser choice a
15126 bit more logical (bug#4300). Also clean up the doc string.
15127
b6c78ef2
JB
151282011-07-13 Juanma Barranquero <lekktu@gmail.com>
15129
15130 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15131 binary endings (bug#4440).
15132
1c4dd947
LMI
151332011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15134
a2014063
LMI
15135 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15136 which can be pretty annoying (bug#8971).
15137
9c9c2d88
LMI
15138 * jka-compr.el (jka-compr-verbose): New variable, and use
15139 throughout (bug#8971).
15140
1c4dd947
LMI
15141 * info.el (Info-find-file): Fall back on the installation
15142 directory if we can't find the info node anywhere else.
15143
a1c9f41b
SO
151442011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15145
15146 * vc/vc.el (vc-revert-file):
15147 Don't set file time-stamp in the past. (Bug#5181)
15148
536f3d36
LMI
151492011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15150
7152b011
LMI
15151 * files.el (after-find-file): Give a better error message when
15152 trying to find a symlink that points to a file that doesn't exist
15153 (bug#4398).
15154
536f3d36
LMI
15155 * progmodes/cc-vars.el: Remove (probably) misleading comment
15156 (bug#4396).
15157
460c0fba
JB
151582011-07-12 Johan Bockgård <bojohan@gnu.org>
15159
15160 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15161
7a6bda45
CY
151622011-07-12 Chong Yidong <cyd@stupidchicken.com>
15163
15164 * mouse-sel.el: Hack restoring functionality, while keeping
15165 compatibility with 2010-07-03 changes to mouse selection.
15166 (mouse-sel-primary-overlay): New var.
15167 (mouse-sel-selection-alist): Use it.
15168 (mouse-sel-mode): Doc fix; remove points that are default features
15169 of mouse.el.
15170
c79598ef
JB
151712011-07-12 Johan Bockgård <bojohan@gnu.org>
15172
15173 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15174 Fix previous fix (bug#2490).
15175
ff8be6ef
RW
151762011-07-12 Roland Winkler <winkler@gnu.org>
15177
b796c9b7
SM
15178 * textmodes/bibtex.el (bibtex-initialize):
15179 Use pop-to-buffer-same-window.
ff8be6ef
RW
15180 (bibtex-search-entries): Fix interactive call.
15181
296ba3ee
LMI
151822011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15183
f5242a02 15184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15185 Fontise bytecomp Error lines more correctly (bug#2490).
15186 Fix suggested by Johan Bockgård.
f5242a02 15187
296ba3ee
LMI
15188 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15189
15190 * dired-x.el (dired-guess-default): Use `delete-dups'.
15191
f69fd0d2
CY
151922011-07-12 Chong Yidong <cyd@stupidchicken.com>
15193
15194 * dired.el (dired-mark-prompt):
15195 * dired-aux.el (dired-read-shell-command): Doc fix.
15196
eab5dc07
LMI
151972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15198
b796c9b7
SM
15199 * mail/sendmail.el (sendmail-query-once):
15200 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15201 emacs -Q.
15202
15203 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15204
eab5dc07
LMI
15205 * cus-edit.el (custom-file): Take an optional no-error variable.
15206 (customize-save-variable): Set the variable, and give a warning if
15207 running under "emacs -q".
15208
a1e65d42
JB
152092011-07-11 Juanma Barranquero <lekktu@gmail.com>
15210
15211 * loadhist.el (unload-feature-special-hooks):
15212 Add `auto-coding-functions', `fill-nobreak-predicate' and
15213 `find-directory-functions' (bug#5327).
15214
1d52da10
LMI
152152011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15216
be958f1d
LMI
15217 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15218
5bedb26c
LMI
15219 * cus-edit.el (custom-guess-name-alist): -alist variables should
15220 use the `alist' type (bug#3120). Suggested by Drew Adams.
15221
1d52da10
LMI
15222 * printing.el: Add documentation to all the `pr-toggle-' commands.
15223
cd394be1 152242011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15225
15226 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15227 backends where it makes sense (bug#2623).
15228
dcc88d8a
LMI
152292011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15230
c3de9feb
LMI
15231 * dired-x.el (dired-guess-default): Remove duplicate shell command
15232 entries (bug#2028).
8a93078b 15233 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15234 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15235
dcc88d8a
LMI
15236 * subr.el (remove-duplicates): New conveniency function.
15237
505e3645
LMI
152382011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15239
15240 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15241 (bug#1526).
15242
152432011-07-10 Martin Rudalics <rudalics@gmx.at>
15244
15245 * window.el (display-buffer-normalize-default): Don't invert
15246 meaning of even-window-heights. Reported by Eli Zaretskii
15247 <eliz@gnu.org>.
15248
455e4fa1
BR
152492011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15250
15251 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15252
8e0bc3e9
CY
152532011-07-10 Chong Yidong <cyd@stupidchicken.com>
15254
15255 * window.el (display-buffer): Fix arguments to
15256 display-buffer-reuse-window in last change.
15257
fa7c3228
CY
15258 * faces.el (link): Use a less saturated blue on light backgrounds.
15259
15260 * startup.el (fancy-startup-text, fancy-about-text)
15261 (fancy-startup-tail): Use font-lock faces, for background safety.
15262
c0a7f300
BN
152632011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15264
b796c9b7
SM
15265 * emulation/viper-cmd.el (viper-change-state-to-vi):
15266 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15267
4dc2a129
MR
152682011-07-09 Martin Rudalics <rudalics@gmx.at>
15269
15270 * window.el (display-buffer-default-specifiers): Remove.
15271 (display-buffer-macro-specifiers): Remove default specifiers.
15272 (display-buffer-alist): Default to nil.
b796c9b7 15273 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15274 (display-buffer-pop-up-window): Allow splitting internal
15275 windows. Check whether a live window was created.
15276 (display-buffer-other-window-means-other-frame)
15277 (display-buffer-normalize-arguments): Rename to
15278 display-buffer-normalize-argument and rewrite. Set the
15279 other-window specifier.
15280 (display-buffer-normalize-special): New function.
15281 (display-buffer-normalize-options): Rename to
15282 display-buffer-normalize-default and rewrite.
15283 (display-buffer-normalize-options-inhibit): Remove.
15284 (display-buffer-normalize-specifiers): Rewrite.
15285 (display-buffer): Process other-window specifier and call
15286 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15287 more faithfully.
b796c9b7 15288 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15289 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15290 (display-buffer-in-window, display-buffer-alist-set):
15291 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15292 <tassilo@member.fsf.org>.
15293
2d43b8c9
LL
152942011-07-09 Leo Liu <sdl.web@gmail.com>
15295
15296 * register.el (insert-register): Restore accidental change on
15297 2011-06-26. (Bug#9028)
15298
7f9b7c53
GM
152992011-07-09 Glenn Morris <rgm@gnu.org>
15300
15301 * subr.el (remq): Handle the empty list. (Bug#9024)
15302
f042cfd8
AS
153032011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15304
15305 * mail/sendmail.el (send-mail-function): No longer delay custom
15306 initialization.
15307 * custom.el (custom-initialize-delay): Doc fix.
15308
856b2f11
SM
153092011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15310
15311 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15312
afae1d68
MA
153132011-07-08 Michael Albinus <michael.albinus@gmx.de>
15314
15315 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15316 human-friendly prompt.
15317
0757af94
SM
153182011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15319
15320 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15321 provided by a particular plugin.
15322
d760b731
LMI
153232011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15324
15325 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15326 save customizations (with "emacs -Q"), just set the variable
15327 instead of erroring out.
15328
15329 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15330
cd79ce90
JL
153312011-07-08 Juri Linkov <juri@jurta.org>
15332
15333 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15334 (archive-zip-update-case): Use 7z if found by `executable-find'.
15335 The order of searching the available programs is the same as in
15336 `archive-zip-extract' (bug#8968).
15337
14cc04aa
CY
153382011-07-07 Chong Yidong <cyd@stupidchicken.com>
15339
15340 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15341 (menu-bar-options-menu): Tweak descriptions.
15342
0a1848ec
LMI
153432011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15344
15345 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15346 menu items into verb phrases (bug#1421). Also refill to fit under
15347 80 columns.
15348
f5bd0689
CY
153492011-07-07 Chong Yidong <cyd@stupidchicken.com>
15350
538e85c6
CY
15351 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15352 (Info-read-node-name): Doc fix (Bug#1084).
15353
f5bd0689
CY
15354 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15355 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15356 (end-of-sexp, beginning-of-sexp)
15357 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15358 (forward-symbol, forward-same-syntax, word-at-point)
15359 (sentence-at-point): Doc fix (Bug#1144).
15360
56ec5115
LMI
153612011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15362
f3f8e37f
LMI
15363 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15364 should cover it (bug#1281).
15365
0757af94 15366 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15367
e9fce1ac 15368 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15369 negotiation fails, then possibly try again with a non-encrypted
15370 connection (bug#9017).
15371
56ec5115
LMI
15372 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15373 be used.
15374
c2f9aec8
RS
153752011-07-07 Richard Stallman <rms@gnu.org>
15376
15377 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15378 property, and handle its changed format.
15379 Look for the correct line number.
15380 Use file's line contents (but not past first =) to find
15381 correct line in message.
15382
ef7b981d 153832011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15384
15385 * international/characters.el (build-unicode-category-table):
15386 Delete it.
0757af94 15387 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15388
0757af94 15389 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15390 to src/chartab.c.
15391 (get-char-code-property): Call unicode-property-table-internal to
15392 load a file. Call get-unicode-property-internal where necessary.
15393 (put-char-code-property): Call unicode-property-table-internal to
15394 load a file. Call put-unicode-property-internal where necessary.
15395 put-unicode-property-internal where necessary.
0757af94
SM
15396 (char-code-property-description):
15397 Call unicode-property-table-internal to load a file.
c805dec0
KH
15398
15399 * international/charprop.el:
15400 * international/uni-bidi.el:
15401 * international/uni-category.el:
15402 * international/uni-combining.el:
15403 * international/uni-comment.el:
15404 * international/uni-decimal.el:
15405 * international/uni-decomposition.el:
15406 * international/uni-digit.el:
15407 * international/uni-lowercase.el:
15408 * international/uni-mirrored.el:
15409 * international/uni-name.el:
15410 * international/uni-numeric.el:
15411 * international/uni-old-name.el:
15412 * international/uni-titlecase.el:
15413 * international/uni-uppercase.el: Regenerate.
15414
15415 * loadup.el: Load international/charprop.el before
15416 international/characters.
15417
e14b388a
CY
154182011-07-07 Chong Yidong <cyd@stupidchicken.com>
15419
15420 * window.el (next-buffer, previous-buffer): Signal an error if
15421 called from a minibuffer window.
15422
15423 * bindings.el: Revert 2011-07-04 change.
15424
354cf0ba
RS
154252011-07-06 Richard Stallman <rms@gnu.org>
15426
15427 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15428 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15429 Treat markers like ints.
15430 (rmail-mime-entity): Doc fix.
15431
a48868a7
LMI
154322011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15433
4906cd3d
LMI
15434 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15435 defcustom again for backwards compatibility.
15436
e0457abe
LMI
15437 * simple.el (shell-command-on-region): Fill.
15438
d67f7e1f
LMI
15439 * dired-aux.el (dired-kill-line): Add a doc string.
15440
fe204702
LMI
15441 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15442 to "\\sw\\|\\s_" (bug#358).
15443
a48868a7
LMI
15444 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15445 (dired-unmark-backward): Ditto.
15446 (dired-flag-backup-files): Ditto.
15447
15448 * dired-x.el (dired-mark-sexp): Ditto.
15449
aa8a705c
RS
154502011-07-06 Richard Stallman <rms@gnu.org>
15451
15452 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15453 (rmail-mime-entity): New arg TRUNCATED.
15454 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15455 New functions.
15456 (rmail-mime-save): Warn if entity is truncated.
15457 (rmail-mime-toggle-hidden): Likewise, for showing.
15458 (rmail-mime-process-multipart): Record when an entity is truncated.
15459
a9a936b9
RS
15460 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15461 if ENTITY is a string.
15462
1f2b92cb
LMI
154632011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15464
f4f73198 15465 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15466 of faces when `M-C-x'-ing their definitions (bug#8378).
15467 Also clean up the code slightly.
f4f73198 15468
12b16734 15469 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15470 because that makes the colors go away.
12b16734 15471
f0691d22
LMI
15472 * mail/sendmail.el (send-mail-function): Change the default to
15473 `sendmail-query-once'.
9e87df06 15474 (sendmail-query-once): Add an autoload cookie.
f0691d22 15475
1f2b92cb
LMI
15476 * net/network-stream.el (network-stream-open-starttls): Try using
15477 a plain connection even if the server offered STARTTLS, and we
15478 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15479 capability. This should make smtpmail.el work in slightly more
15480 configurations.
15481
1cdd2a1b
MA
154822011-07-06 Michael Albinus <michael.albinus@gmx.de>
15483
15484 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15485 New defun.
15486 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15487
fbcc67e2
MM
154882011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15489
15490 * progmodes/sql.el: Version 3.0
0757af94 15491 (sql-product-alist): Add product :completion-object,
fbcc67e2 15492 :completion-column, and :statement attributes.
0757af94 15493 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15494 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15495 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15496 ansi keywords.
15497 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15498 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15499 (sql-oracle-show-reserved-words): New function for development.
15500 (sql-product-font-lock): Simplify for source code buffers.
15501 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15502 New functions.
15503 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15504 (sql-mode-map): Add statement movement functions.
15505 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15506 New variable.
fbcc67e2
MM
15507 (sql-statement-regexp, sql-beginning-of-statement)
15508 (sql-end-of-statement, sql-signum): New functions.
0757af94 15509 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15510 (sql-show-sqli-buffer): Bug fix.
15511 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15512 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15513 with sql-interactive-mode.
15514 (sql-save-connection): Save buffer local settings.
0757af94 15515 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15516 (sql-product-interactive): Bug fix.
15517 (sql-preoutput-hold): New variable.
15518 (sql-interactive-remove-continuation-prompt): Bug fixes.
15519 (sql-debug-redirect): New variable.
15520 (sql-str-literal): New function.
15521 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15522 Redesign.
fbcc67e2
MM
15523 (sql-oracle-save-settings, sql-oracle-restore-settings)
15524 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15525 (sql-completion-object, sql-completion-column)
15526 (sql-completion-sqlbuf): New variables.
15527 (sql-build-completions-1, sql-build-completions)
15528 (sql-try-completion): New functions.
15529 (sql-read-table-name): Use them.
15530 (sql-contains-names): New buffer local variable.
15531 (sql-list-all, sql-list-table): Use it.
15532 (sql-oracle-completion-types): New variable.
15533 (sql-oracle-completion-object, sql-sqlite-completion-object)
15534 (sql-postgres-completion-object): New functions.
15535
d4eaeab1
GM
155362011-07-06 Glenn Morris <rgm@gnu.org>
15537
15538 * window.el (pop-to-buffer): Doc fix.
15539
322b7dab 155402011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15541
15542 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15543
322b7dab 155442011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15545
322b7dab 15546 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15547
322b7dab 15548 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15549
605dd5bf
CY
155502011-07-05 Chong Yidong <cyd@stupidchicken.com>
15551
15552 * button.el (button): Inherit from link face. Suggested by Dan
15553 Nicolaescu.
15554
7dbfa719
SM
155552011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15556
3db614b0
SM
15557 * progmodes/gdb-mi.el: Fit in 80 columns.
15558 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15559 switch-to-buffer.
15560
7dbfa719
SM
15561 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15562 if imenu is simply not configured (bug#8941).
15563
919d884a
KM
155642011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15565
15566 * allout.el (allout-post-undo-hook): New allout outline-change
15567 event hook to signal undo activity.
15568 (allout-post-command-business): Run allout-post-undo-hook if an
15569 undo just occurred.
7dbfa719
SM
15570 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15571 * allout-widgets.el (allout-widgets-after-undo-function):
15572 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15573 in the vicinity of an undo.
15574 (allout-widgets-mode): Include allout-widgets-after-undo-function
15575 on the new allout-post-undo-hook.
15576
450a0f09
SM
155772011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15578
15579 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15580 Let define-derived-mode define it.
15581 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15582 cycles of abbrev-table inheritance (bug#8998).
15583
2de69e00
RW
155842011-07-05 Roland Winkler <winkler@gnu.org>
15585
15586 * textmodes/bibtex.el: Add support for biblatex.
15587 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15588 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15589 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15590 (bibtex-entry-alist, bibtex-field-alist): New variables.
15591 (bibtex-entry-field-alist): Obsolete alias for
15592 bibtex-BibTeX-entry-alist.
15593 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15594 (bibtex-set-dialect): New command.
15595 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15596 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15597 Bind via bibtex-set-dialect.
2de69e00
RW
15598 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15599 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15600 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15601 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15602 Define via bibtex-set-dialect.
450a0f09
SM
15603 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15604 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15605 (bibtex-vec-push, bibtex-vec-incr): New functions.
15606 (bibtex-format-entry, bibtex-field-list)
15607 (bibtex-print-help-message, bibtex-validate)
15608 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15609
2dcdbdd9
SM
156102011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15611
15612 * progmodes/compile.el (compilation-goto-locus):
15613 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15614 * bs.el (bs-cycle-next, bs-cycle-previous):
15615 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15616 * bindings.el (mode-line-other-buffer):
15617 * autoinsert.el (auto-insert):
15618 * arc-mode.el (archive-extract):
15619 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15620
b27640fe
JB
156212011-07-05 Juanma Barranquero <lekktu@gmail.com>
15622
15623 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15624 Fix check of `emacs-lock-unlockable-modes'.
15625 Coerce true values of `emacs-lock--try-unlocking' to t.
15626
53bbe3ad
JB
156272011-07-05 Juanma Barranquero <lekktu@gmail.com>
15628
15629 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15630 * emacs-lock.el: New file.
15631
1d3cdbc7
JD
156322011-07-05 Julien Danjou <julien@danjou.info>
15633
15634 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15635 than `boundp' to check if face is set.
15636
9173deec
JB
156372011-07-05 Juanma Barranquero <lekktu@gmail.com>
15638
15639 * register.el (registerv-make):
15640 * window.el (window-min-height): Fix typos in docstrings.
15641
869795d6
JD
156422011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15643
9173deec 15644 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15645 Update doc string.
15646
b768cdcd
JB
156472011-07-04 Juanma Barranquero <lekktu@gmail.com>
15648
15649 * server.el (server-execute): Catch quit and call
15650 `server-return-error' to pass the error back to emacsclient and
15651 close the connection (bug#8942).
15652
13aa217b
KM
156532011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15654
15655 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15656 insecure exception for current topic. Also note that auto-saves
15657 are handled differently.
15658
5d3385a0 15659 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15660 State variables for tracking auto-save inhibition situation.
15661
15662 (allout-write-contents-hook-handler): Rename from
15663 'allout-write-file-hook-handler', and describe how it depends on
15664 write-contents-functions sensitivity to non-nil value to prevent
15665 file write.
15666
15667 (allout-auto-save-hook-handler): Remove. auto-save does not check
15668 this in individual buffers, only in the starting buffer, so this
15669 is not the right way for us to inhibit auto-save in a buffer
15670 according to its condition.
15671
15672 (allout-mode): Use new allout-write-contents-hook-handler, and
15673 only with write-contents-functions. Remove auto-save provisions -
15674 they're implemented elsewhere.
15675
15676 (allout-before-change-handler): If undo is in progress, note that
15677 for attention of allout-post-command-business.
15678
15679 (allout-post-command-business): If the command we're following was
15680 an undo, check for change in the status of encrypted items and
15681 adjust auto-save inhibitions accordingly.
15682
15683 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15684 according to whether there are or aren't any plain-text topics
15685 pending encryption.
15686
2dcdbdd9 15687 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15688 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15689 if there are plain-text topics pending encryption.
13aa217b
KM
15690
15691 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15692 buffer-saved-size and some allout state to not inhibit auto-saves
15693 if there are no longer any plain-text topics pending encryption.
15694
0757af94
SM
15695 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15696 No longer provide for exemption of the current topic.
13aa217b 15697
ac89b32c
JL
156982011-07-04 Juri Linkov <juri@jurta.org>
15699
15700 Add 7z operations to delete and save changed members (bug#8968).
15701 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15702 New defcustoms.
15703 (archive-7z-write-file-member): New function.
15704 (archive-7z-summarize): Fix the number of dashes in the
15705 listing output.
15706
8fa39615
SM
157072011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15708
15709 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15710 (bug#8958).
15711
2f11b3f1
CY
157122011-07-04 Chong Yidong <cyd@stupidchicken.com>
15713
d66fef2b
CY
15714 * bindings.el: Ignore next-buffer and previous-buffer in
15715 minibuffer-local-map.
15716
2f11b3f1
CY
15717 * font-lock.el (font-lock-builtin-face): Change light background
15718 color to dark slate blue (Bug#6693).
15719
f932a347
WD
157202011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15721
15722 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15723
c8af70e1
SM
157242011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15727 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15728 Add switch-to-buffer.
15729
f158badc
LMI
157302011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15731
15732 * isearch.el (isearch-search-fun-function): Clarify further the
15733 meaning of the function returned.
15734
6d95bd46
MA
157352011-07-04 Michael Albinus <michael.albinus@gmx.de>
15736
15737 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15738
15739 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15740 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15741 Use it.
15742 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15743 `tramp-default-remote-path' does not exist.
15744 (tramp-send-command-and-read): New optional argument NOERROR.
15745 (tramp-open-connection-setup-interactive-shell)
15746 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15747 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15748 (tramp-process-sentinel): Flush also process' connection property.
15749 (tramp-sh-handle-start-file-process): Do not set process
15750 sentinel. It is done now ...
15751 (tramp-maybe-open-connection): ... here. (Bug#8929)
15752
909e6b67
MK
157532011-07-04 MON KEY <monkey@sandpframing.com>
15754
15755 * play/animate.el (animate-string): Doc fixes and allow changing
15756 the buffer name (bug#5417).
15757
157582011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15759
c8af70e1 15760 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15761
f34755dc
PE
157622011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15763
396cec72
PE
15764 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15765 This is simpler and helps future-proof the code.
15766 (timer-until): Use time-subtract and float-time.
08235028 15767 (timer--time-less-p): Use time-less-p.
f34755dc 15768
56e6cc31
JB
157692011-07-04 Juanma Barranquero <lekktu@gmail.com>
15770
3abb79e5
JB
15771 * type-break.el (timep): Use the value of `float-time' to avoid a
15772 byte-compiler warning.
15773
56e6cc31
JB
15774 * server.el (server-eval-and-print): Return any result, even nil.
15775
7b9430b4
PE
157762011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15777
15778 * type-break.el: Accept time formats that the builtins accept.
15779 (timep, type-break-time-difference): Accept any format that
15780 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15781 This is simpler and helps future-proof the code.
15782 (type-break-time-difference): Round rather than ignoring
15783 subseconds components.
15784
3034e9e7
LMI
157852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15786
15787 * info.el (Info-apropos-matches): Make non-interactive, since it
15788 doesn't seem to do anything useful as a command (bug#8829).
15789
1485f4c0
CY
157902011-07-03 Chong Yidong <cyd@stupidchicken.com>
15791
15792 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15793 Move from faces.el.
1485f4c0
CY
15794 (frame-default-terminal-background): New function.
15795
15796 * custom.el (custom-push-theme): Don't record faces in `changed'
15797 theme; this doesn't work correctly for per-frame face settings.
15798 (disable-theme): Use face-set-after-frame-default to reset faces.
15799 (custom--frame-color-default): New function.
15800
9fa3dd45
LMI
158012011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15802
c8af70e1 15803 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15804 (bug#8769).
15805
6cbbc20c
KR
158062011-03-29 Kevin Ryde <user42@zip.com.au>
15807
15808 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15809 `perl-Test2' extend to match possible "fail #N" rep count
15810 (bug#8377).
15811
c7f98048
LMI
158122011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15813
65676592
LMI
15814 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15815 `smtpmail-via-smtp' now returns the error instead of nil.
15816
c7f98048
LMI
15817 * isearch.el (isearch-search-fun-function): Clarify the doc string
15818 (bug#8101).
15819
56e6cc31 158202011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15821
15822 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15823 unnecessary spaces (bug#8987).
15824
2b216704
LMI
158252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15826
15827 * net/network-stream.el (open-network-stream): Use the
15828 :end-of-capability command thoughout.
15829
158302011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15831
15832 * net/network-stream.el (open-network-stream): Add the
15833 :end-of-capability command parameter, used by pop3.el.
15834
36adf6ce
LMI
158352011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15836
1ca0da0e
LMI
15837 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15838
fc00f69c
LMI
15839 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15840 for list)" (bug#6475).
15841
28fd8759 15842 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15843 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15844 an error (bug#6297).
15845
0dd8b6da
LMI
15846 * man.el (Man-reference-regexp): Allow matching possible
15847 word-wrapped references (bug#6289).
15848
ce1438d6
LMI
15849 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15850 for consistency with the other vc buffers (bug#6197).
15851 (vc-checkin): Ditto.
15852
15853 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15854
36adf6ce
LMI
15855 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15856
e83cc1f7
LMI
158572011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15858
8a20ca4c
LMI
15859 * custom.el (defcustom): Clarify that :set is only used in the
15860 Customize user interface (bug#6089).
15861
83319045
LMI
15862 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15863 associated with a file, refuse to run instead of erroring out
15864 (bug#6084).
15865
a8392169
LMI
15866 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15867 the doc string, since it appears that using `fill-column' always
15868 controls the width (bug#7845).
15869
e83cc1f7
LMI
15870 * simple.el (shell-command-on-region): Say where the error output
15871 went if `shell-command-default-error-buffer' is set (bug#6857).
15872
e47ca23b
KM
158732011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15874
15875 * allout.el (allout-yank-processing): Adjust cursor position for
15876 backwards-deleted space.
15877
15878 (allout-rebullet-heading): Register changes with
15879 allout-exposure-changed-hook, so the modified topic is properly
15880 decorated.
15881
5cf56143
LMI
158822011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15883
08549772
LMI
15884 * minibuffer.el (completion-in-region): Document PREDICATE
15885 (bug#7136).
15886
48e96771
LMI
15887 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15888 of keyword/argument pairs (bug#6904).
15889
c8af70e1
SM
15890 * replace.el (multi-occur):
15891 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15892
e17d05e2
LMI
158932011-07-02 Drew Adams <drew.adams@oracle.com>
15894
15895 * dired.el (dired-mark-if): Make the message about whether it's
15896 marking or unmarking clearer (bug#8523).
15897
063b0e45
LMI
158982011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15899
15900 * disp-table.el (display-table-print-array): New function.
15901 (describe-display-table): Use it to print the vectors more pretty
15902 (Bug#8859).
15903
28545e04
MR
159042011-07-02 Martin Rudalics <rudalics@gmx.at>
15905
15906 * window.el (window-state-get-1): Don't assign clone numbers.
15907 Add clone-of item to list of window parameters.
15908 (window-state-put-2): Don't process clone numbers.
15909 (display-buffer-alist): Fix doc-string.
15910
3349e122
SM
159112011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15912
15913 * subr.el (remq): Don't allocate if it's not needed.
15914 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15915 (keymap--merge-bindings): New functions.
15916 (keymap-canonicalize): Use them to refine the canonicalization.
15917 * minibuffer.el (minibuffer-local-completion-map)
15918 (minibuffer-local-must-match-map): Move initialization from C.
15919 (minibuffer-local-filename-completion-map): Move initialization from C;
15920 don't inherit from anything here.
15921 (minibuffer-local-filename-must-match-map): Make obsolete.
15922 (completing-read-default): Use make-composed-keymap to combine
15923 minibuffer-local-filename-completion-map with either
15924 minibuffer-local-must-match-map or
15925 minibuffer-local-filename-completion-map.
15926
d224ac83
GM
159272011-07-01 Glenn Morris <rgm@gnu.org>
15928
3de63bf8
GM
15929 * type-break.el (type-break-time-sum): Use dolist.
15930
d224ac83
GM
15931 * textmodes/flyspell.el (flyspell-word-search-backward):
15932 Replace CL function.
15933
1a1e3f32
SM
159342011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15935
fe3f64d5
SM
15936 * mouse.el (mouse--strip-first-event): New function.
15937 (function-key-map): Use it to map fringe clicks to normal clicks
15938 by default.
15939
eb604e34
SM
15940 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15941 (vc-bzr-revision-completion-table): Add support for annotate and date.
15942
1a1e3f32
SM
15943 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15944 inherit from parent.
15945
5bd35902
LMI
159462011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15947
ace6c69c 15948 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15949 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15950
191e2bed
LMI
15951 * dired.el (dired-mode): Fix up the doc string as suggested by
15952 Drew Adams (bug#8817).
15953
5bd35902
LMI
15954 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15955 cookie, since the manual says that it should be possible to add
15956 this function to `find-file-hook' (bug#8709).
15957
eee8207a
TZ
159582011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15959
15960 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15961 here. Noted Ted Zlatanov as the maintainer.
15962 (cfengine-common-settings, cfengine-common-syntax): New functions
15963 to set up common things between `cfengine-mode' and
15964 `cfengine3-mode'.
15965 (cfengine3-mode): New mode.
15966 (cfengine3-defuns cfengine3-defuns-regex
15967 (cfengine3-class-selector-regex cfengine3-category-regex)
15968 (cfengine3-vartypes cfengine3-font-lock-keywords)
15969 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15970 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15971
36b148cf
MA
159722011-07-01 Michael Albinus <michael.albinus@gmx.de>
15973
15974 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15975
15976 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15977
0bf4ba9a
MR
159782011-07-01 Martin Rudalics <rudalics@gmx.at>
15979
15980 * window.el (same-window-buffer-names, same-window-regexps)
15981 (same-window-p, special-display-frame-alist)
15982 (special-display-popup-frame, special-display-function)
15983 (special-display-buffer-names, special-display-regexps)
15984 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15985 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15986 (split-window-preferred-function, split-height-threshold)
15987 (split-width-threshold, even-window-heights)
15988 (display-buffer-mark-dedicated, window-splittable-p)
15989 (split-window-sensibly, window-safely-shrinkable-p):
15990 Un-obsolete.
15991 (display-buffer): Don't spread args with function specifier
15992 because special-display-popup-frame won't like it.
15993
35837f51
PE
159942011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15995
d0672f86
PE
15996 Time-stamp simplifications and fixes.
15997 These improve accuracy slightly, and future-proof the code
15998 against some potential changes to current-time format.
15999
b9444d97
PE
16000 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16001 by using time-since and float-time.
16002
0ef923dc
PE
16003 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16004 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16005 + NNN microseconds".
16006
2f81380d
PE
16007 * type-break.el (type-break-time-sum): Rewrite using time-add.
16008
845b5c3e
PE
16009 * play/hanoi.el (hanoi-current-time-float): Remove.
16010 All uses replaced by float-time.
16011
ee6f1be0
PE
16012 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16013 This yields a more-accurate answer.
16014 (rng-time-to-float): Remove; no longer needed.
16015
fe955043
PE
16016 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16017
5777162a
PE
16018 * calendar/timeclock.el (timeclock-seconds-to-time):
16019 Defalias to seconds-to-time, since they're the same thing.
16020
3103f8b6 16021 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16022 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16023 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16024
0e61a35f
SM
160252011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16026
16027 * window.el (bury-buffer): Don't iconify the only frame.
16028 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16029 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16030
ddd63a1e
CY
160312011-07-01 Chong Yidong <cyd@stupidchicken.com>
16032
0e61a35f
SM
16033 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16034 Add mouse-yank-primary.
ddd63a1e 16035
055f4923
TZ
160362011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16037
16038 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16039
6a2fb145
SM
160402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16041
16042 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16043 (find-library-name): Use it to find relative load names when provided
16044 absolute file name (bug#8803).
16045
fd4983f2
LMI
160462011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16047
887d14ad
LMI
16048 * textmodes/flyspell.el (flyspell-word): Consider words that
16049 differ only in case as potential doublons (bug#5687).
16050
c53dc7fc
LMI
16051 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16052 Remove two rather uninteresting debugging-like messages to make
16053 debbugs.el more silent.
16054
fd4983f2
LMI
16055 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16056 a password-like phrase.
16057
7a71b18d 160582011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16059
16060 * progmodes/cc-guess.el: New file.
16061
6a2fb145 16062 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16063
16064 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16065 derived from `c-basic-common-init'.
16066
16067 * progmodes/cc-mode.el (top-level): Require cc-guess.
16068 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16069
1fa280a3
LM
160702011-06-30 Lawrence Mitchell <wence@gmx.li>
16071
16072 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16073
e6597158
AM
160742011-06-30 Alan Mackenzie <acm@muc.de>
16075
1fa280a3
LM
16076 * progmodes/cc-engine.el (c-guess-continued-construct):
16077 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16078 lock is disabled. Name this case as "CASE G".
16079
68ba37fb
KM
160802011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16081
16082 * allout.el (allout-yank-processing): Fix injection of extra space
16083 between bullet and non-whitespace character in first topic when
16084 pasting, ensuring that the actual spacing in the pasted topic
16085 following the bullet char is preserved. This extra space was
16086 causing pasted encrypted topics to get a decrypted status even
16087 when the content was actually still encrypted. Now the decryption
16088 status from before the paste is preserved.
16089
16090 (allout-flag-region): Set all allout overlays so they evaporate
16091 when reduced to zero length (evanescent), to prevent overlay
16092 leakage.
16093
887a0b34
GM
160942011-06-30 Glenn Morris <rgm@gnu.org>
16095
94b9acce
GM
16096 * w32-fns.el (w32-charset-info-alist): Declare.
16097
1d9b46d4
GM
16098 * find-dired.el (find-grep-options): Simplify.
16099
cc232200
GM
16100 * term/ns-win.el (ns-set-resource): Declare.
16101
28e77c46
GM
16102 * ses.el (row, col): Declare dynamic variables honestly.
16103
887a0b34
GM
16104 * textmodes/reftex-parse.el (index-tags): Declare.
16105
658d8eb8
CY
161062011-06-30 Chong Yidong <cyd@stupidchicken.com>
16107
16108 * cus-edit.el (customize-push-and-save): New function.
16109
16110 * files.el (hack-local-variables-confirm): Use it.
16111
1fa280a3
LM
16112 * custom.el (load-theme): New arg NO-CONFIRM.
16113 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16114 (custom-enabled-themes): Doc fix.
16115
16116 * cus-theme.el (customize-create-theme)
16117 (custom-theme-merge-theme): Callers to load-theme changed.
16118
bb617717
LMI
161192011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16120
d61bdd5d
LMI
16121 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16122 short URLs have at least one dot in them (bug #7614).
16123
bb617717
LMI
16124 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16125 nil, because using a pty is apparently too slow (bug #895).
16126
2f31f37a
LMI
161272011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16128
16129 * mail/sendmail.el (sendmail-query-once): New function.
16130 (sendmail-query-once-function): New variable.
16131
3076b24e
GM
161322011-06-29 Glenn Morris <rgm@gnu.org>
16133
faf2a174
GM
16134 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16135
3076b24e
GM
16136 * ses.el (top-level): Require cl when compiling.
16137 (ses-set-localvars): Fix error statement.
16138 Call it at compile time to silence a storm of warnings.
16139
5386012d
MR
161402011-06-29 Martin Rudalics <rudalics@gmx.at>
16141
16142 * window.el (normalize-live-buffer): Rename to
16143 window-normalize-buffer.
16144 (normalize-live-frame): Rename to window-normalize-frame.
16145 (normalize-any-window): Rename to window-normalize-any-window.
16146 (normalize-live-window): Rename to window-normalize-live-window.
16147 (make-window-atom): Rename to window-make-atom.
16148 (window-resize-reset): Rename to window--resize-reset.
16149 (window-resize-reset-1): Rename to window--resize-reset-1.
16150 (resize-mini-window): Rename to window--resize-mini-window.
16151 (resize-subwindows-skip-p): Rename to
16152 window--resize-subwindows-skip-p.
16153 (resize-subwindows-normal): Rename to
16154 window--resize-subwindows-normal.
16155 (resize-subwindows): Rename to window--resize-subwindows.
16156 (resize-other-windows): Rename to window--resize-siblings.
16157 (resize-this-window): Rename to window--resize-this-window.
16158 (resize-root-window): Rename to window--resize-root-window.
16159 (resize-root-window-vertically): Rename to
16160 window--resize-root-window-vertically.
16161 (normalize-buffer-to-display): Rename to
16162 window-normalize-buffer-to-display.
16163 (normalize-buffer-to-switch-to): Rename to
16164 window-normalize-buffer-to-switch-to.
16165 Correspondingly update all callers of the functions listed
16166 above.
16167 (display-buffer-alist, display-buffer-normalize-arguments)
16168 (display-buffer-normalize-options, display-buffer)
16169 (display-buffer-alist-set): Use "function" instead of
16170 "fun-with-args".
16171
1176868d
CY
161722011-06-28 Chong Yidong <cyd@stupidchicken.com>
16173
16174 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16175 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16176 debbugs.gnu.org. Mention acknowledgment email.
16177
20a7a65f
LMI
161782011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16179
16180 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16181 buffer multibyteness, since it shouldn't matter.
16182
5f45cca5
MR
161832011-06-28 Martin Rudalics <rudalics@gmx.at>
16184
16185 * window.el (display-buffer-in-side-window): Handle dedicated
16186 windows as in display-buffer-reuse-window.
16187 (display-buffer-normalize-alist): Use value of override
16188 specifier.
16189 (display-buffer-normalize-specifiers): Use value of
16190 other-window-means-other-frame specifier.
16191 (display-buffer-alist): Rewrite some texts in widgets.
16192 (display-buffer): Spread arguments when calling function
16193 specified by fun-with-args.
16194
ad85fe1f
DD
161952011-06-28 Deniz Dogan <deniz@dogan.se>
16196
1fa280a3
LM
16197 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16198 Unnest `let'.
da68c4c8 16199
ad85fe1f
DD
16200 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16201 selectors (Bug#5732).
ec49bd31 16202 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16203
a08cc025
JA
162042011-06-27 Jari Aalto <jari.aalto@cante.net>
16205
16206 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16207 (eshell-ls-date-format): New defcustom.
16208 (eshell-ls-file): Use it.
16209
e2b551c5
SM
162102011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16211
16212 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16213
8982b231
KY
162142011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16215
16216 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16217 (ange-ftp-make-tmp-name): New arg.
16218 (ange-ftp-file-local-copy): Use it.
16219
36c9fa27
J
162202011-06-27 Jambunathan K <kjambunathan@gmail.com>
16221
16222 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16223 no-conversion (Bug#8870).
16224
d68443dc
MR
162252011-06-27 Martin Rudalics <rudalics@gmx.at>
16226
16227 * window.el (window-right, window-left, window-child)
16228 (window-child-count, window-last-child)
16229 (window-iso-combination-p, walk-window-tree-1)
16230 (window-atom-check-1, window-tree-1, delete-window)
16231 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16232 new naming conventions - window-vchild, window-hchild,
16233 window-next and window-prev are now called window-top-child,
16234 window-left-child, window-next-sibling and window-prev-sibling
16235 respectively.
d615d6d2
MR
16236 (resize-window-reset): Rename to window-resize-reset.
16237 (resize-window-reset-1): Rename to window-resize-reset-1.
16238 (resize-window): Rename to window-resize.
16239 (window-min-height, window-min-width)
16240 (resize-mini-window, resize-this-window, resize-root-window)
16241 (resize-root-window-vertically, adjust-window-trailing-edge)
16242 (enlarge-window, shrink-window, maximize-window)
16243 (minimize-window, delete-window, quit-restore-window)
16244 (split-window, balance-windows, balance-windows-area-adjust)
16245 (balance-windows-area, window-state-put-2)
16246 (display-buffer-even-window-sizes, display-buffer-set-height)
16247 (display-buffer-set-width, set-window-text-height)
16248 (fit-window-to-buffer): Rename all "resize-window" prefixed
16249 calls to use the "window-resize" prefix convention.
16250 (display-buffer-alist): Fix symbol for label specifier.
16251 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16252 corresponding specifier.
16253 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16254
b6458526
VB
162552011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16256
16257 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16258 convention.
16259 (ses-call-printer): Does not pass an empty string to formatter when the
16260 cell is empty to keep from barking printer Calc math-format-value.
16261
d31fd9ac
RS
162622011-06-27 Richard Stallman <rms@gnu.org>
16263
43d5bf84
RS
16264 * battery.el (battery-mode-line-limit): New variable.
16265 (battery-update): Handle it.
16266
d31fd9ac
RS
16267 * mail/rmailmm.el (rmail-mime-process-multipart):
16268 Handle truncated messages.
16269
819a6054
GM
162702011-06-27 Glenn Morris <rgm@gnu.org>
16271
16272 * progmodes/flymake.el (flymake-err-line-patterns):
16273 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16274
cedc73f2
VB
162752011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16276
819a6054 16277 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16278 (ses--clean-!, ses--clean-_): New functions.
16279 (ses-range): Add configurability of readout order, and conversion
16280 to Calc vector.
16281
5e5d49b6
VB
16282 * ses.el (ses-repair-cell-reference-all): New function.
16283 (ses-cell-symbol): Set macro as safe, so that it can be used in
16284 formulas.
16285
56e6cc31 16286 * ses.el: Update cycle detection algorithm.
90ca8b49 16287 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16288 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16289 (ses-set-localvars): New function.
16290 (ses-make-cell): Add property-list as a cell element.
16291 (ses-cell-property-get-fun, ses-cell-property-get)
16292 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16293 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16294 New functions.
90ca8b49
VB
16295 (ses-cell-property-set, ses-cell-property-pop)
16296 (ses-cell-property-get-handle): New macro.
16297 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16298 New aliases, used for code readability.
16299 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16300 cycle detection.
16301 (ses-self-reference-early-detection): New defcustom.
fac916bf 16302 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16303 (ses-mode): Use ses-set-localvars.
16304 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16305 before lauching the update processing.
16306 (ses-initialize-Dijkstra-attempt): New function.
16307 (ses-recalculate-cell): Update for cycle detection based on
16308 Dijkstra algorithm.
16309
2bb63e81
VB
16310 * ses.el: Fix commenting and indenting convention.
16311
c9d29fb8
SM
163122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16313
16314 * bs.el (bs-cycle-next): Complete last change.
16315
d8e4b68b
JB
163162011-06-27 Drew Adams <drew.adams@oracle.com>
16317
16318 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16319
40098786
LMI
163202011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16321
c9d29fb8
SM
16322 * net/network-stream.el (network-stream-open-starttls):
16323 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16324 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16325
40098786
LMI
16326 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16327 to binary to possibly avoid line encoding issues on Windows (among
16328 other things).
16329
468d09d4
LMI
163302011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16331
16332 * net/network-stream.el (open-network-stream): Return an :error
16333 saying what the problem was, if possible.
16334
16335 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16336 server.
16337
16338 * net/network-stream.el (network-stream-open-starttls): If we
16339 wanted to use STARTTLS, and the server offered it, but we weren't
16340 able to because we had no STARTTLS support, then close the connection.
16341 (open-network-stream): Return an :error element, if present.
16342
16f07dd7
CY
163432011-06-26 Chong Yidong <cyd@stupidchicken.com>
16344
88821ca0
CY
16345 * hl-line.el (hl-line-sticky-flag): Doc fix.
16346 (global-hl-line-sticky-flag): New option (Bug#8323).
16347 (global-hl-line-highlight): Obey it.
16348
16f07dd7
CY
16349 * vc/vc.el (vc-revert-show-diff): Default to t.
16350
6b5ccddf
KM
163512011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16352
c9d29fb8
SM
16353 * allout-widgets.el (allout-widgets-post-command-business):
16354 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16355 undecorated when an isearch is continued past, and isearch
16356 automatically collapses them. This leads to "widget leaks", where
16357 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16358 hidden widgets can slow down cursor travel, substantially.
16359 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16360 so we're doing without this nicety.
16361
16362 (allout-widgets-tally-string): Don't try to do a hash-table-count
16363 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16364 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16365 *Messages* when allout-widgets-maintain-tally is t.
16366
355f2e07
MR
163672011-06-26 Martin Rudalics <rudalics@gmx.at>
16368
16369 * window.el (display-buffer-normalize-argument): Rename to
16370 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16371 LABEL argument. Respect special-display-function when popping up
16372 a new frame. Fix code searching for a window showing the buffer
16373 on another frame.
c9d29fb8
SM
16374 (display-buffer-normalize-specifiers):
16375 Call display-buffer-normalize-arguments.
355f2e07
MR
16376 (display-buffer-in-window): Don't undedicate the window if its
16377 buffer remains the same.
16378 Reported by Drew Adams <drew.adams@oracle.com>.
16379 (display-buffer-alist): Add choice for same-window macro
16380 specfier.
16381 (display-buffer): Mention special meaning of LABEL argument in
16382 doc-string. Fix quoting. Don't pop up a new frame even as
16383 fallback.
16384
7ca8fc42
JB
163852011-06-26 Juanma Barranquero <lekktu@gmail.com>
16386
16387 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16388 avoid deleting the current window in some cases (bug#8911).
16389
bc312254
AS
163902011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16391
16392 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16393 (Bug#8934)
16394
2db18f3f
LMI
163952011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16396
c9d29fb8
SM
16397 * net/network-stream.el (network-stream-open-starttls):
16398 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16399 (network-stream-open-tls): Ditto.
16400
6302e0d3
LL
164012011-06-26 Leo Liu <sdl.web@gmail.com>
16402
16403 * register.el (registerv): New struct.
16404 (registerv-make): New function.
c9d29fb8
SM
16405 (jump-to-register, describe-register-1, insert-register):
16406 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16407 struct. (Bug#8415)
16408
5fdd4046
CY
164092011-06-26 Chong Yidong <cyd@stupidchicken.com>
16410
2afef60a
CY
16411 * vc/vc.el (vc-revert-show-diff): New defcustom.
16412 (vc-diff-internal): New arg specifying diff buffer.
16413 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16414 reuse an existing *vc-diff* buffer (Bug#8927).
16415
5fdd4046
CY
16416 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16417
e93db24a
GM
164182011-06-26 Glenn Morris <rgm@gnu.org>
16419
16420 * progmodes/f90.el (f90-critical-indent): New option.
16421 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16422 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16423 (f90-mode): Doc fix.
16424 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16425 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16426 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16427 (f90-match-end): Handle block, critical.
16428
eefff499
GM
164292011-06-25 Glenn Morris <rgm@gnu.org>
16430
f6ba4cc9
GM
16431 * calendar/diary-lib.el (diary-included-files): Doc fix.
16432 (diary-include-files): New function, extracted from
16433 diary-include-other-diary-files and diary-mark-included-diary-files.
16434 (diary-include-other-diary-files, diary-mark-included-diary-files):
16435 Just call diary-include-files.
16436 (diary-mark-entries): Reset diary-included-files on first call.
16437
16712304
GM
16438 * calendar/diary-lib.el (diary-mark-entries)
16439 (diary-mark-included-diary-files):
16440 Visit included diary-files in temp buffers.
16441
5d8e0d43
GM
16442 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16443 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16444 (f90-start-block-re, f90-imenu-generic-expression)
16445 (f90-looking-at-program-block-start, f90-no-block-limit):
16446 Add support for submodules.
16447
ccf7a5d5
GM
16448 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16449 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16450
11fdef7d 164512011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16452
16453 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16454 buffer-file-type before setting its value, to avoid disastrous
eefff499 16455 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16456
74f53697
JB
164572011-06-25 Juanma Barranquero <lekktu@gmail.com>
16458
16459 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16460
16461 * ses.el (ses-unload-function):
16462 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16463
16464 * proced.el (proced-unload-function):
16465 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16466
18a4ce5e
AR
164672011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16468
16469 * server.el (server-create-window-system-frame): Add parameters arg.
16470 (server-process-filter): Doc fix. Handle frame-parameters.
16471
519d22cc
JB
164722011-06-25 Juanma Barranquero <lekktu@gmail.com>
16473
16474 Fix bug#8730, bug#8781.
16475
16476 * loadhist.el (unload--set-major-mode): New function.
16477 (unload-feature): Use it.
16478
16479 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16480 (python-unload-function): New function.
16481
c206f5b0
SM
164822011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16483
16484 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16485
f9ad64f3
GS
164862011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16487
16488 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16489 the candidates list.
16490
7d0da90e
JB
164912011-06-24 Juanma Barranquero <lekktu@gmail.com>
16492
16493 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16494
14b4e83d
RS
164952011-06-23 Richard Stallman <rms@gnu.org>
16496
16497 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16498 (rmail-variables): Set next-error-move-function.
16499 (rmail-what-message): Take argument POS.
16500 (rmail-next-error-move): New function.
16501
273d2baf
SM
165022011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16505 messages for adjacent non-terminals.
16506
56c2cc9a
RS
165072011-06-23 Richard Stallman <rms@gnu.org>
16508
16509 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16510 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16511 (rmail-start-mail): Don't specify use of rmail-mail-return;
16512 that's done by mail-bury now.
16513 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16514
d59eb518
MA
165152011-06-23 Michael Albinus <michael.albinus@gmx.de>
16516
16517 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16518 SIZE is a number.
16519
02cfc6d6
MR
165202011-06-23 Martin Rudalics <rudalics@gmx.at>
16521
16522 * window.el (get-lru-window, get-mru-window)
16523 (get-largest-window): Never return a minibuffer window.
16524 (display-buffer-pop-up-window): Fix a bug that could lead to
16525 reusing the minibuffer window.
16526 (display-buffer): Pass original specifier argument to
16527 display-buffer-function instead of the normalized one.
16528 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16529
4e323265
LL
165302011-06-22 Leo Liu <sdl.web@gmail.com>
16531
16532 * minibuffer.el (completing-read-function)
1f9f395d 16533 (completing-read-default): Move from minibuf.c.
4e323265 16534
7a70468f
RS
165352011-06-22 Richard Stallman <rms@gnu.org>
16536
50718fc2
RS
16537 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16538 to Rmail even if not started by a special Rmail command.
16539
7a70468f
RS
16540 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16541 Copy the buffer currently showing just one message.
16542
297dde5a
RW
165432011-06-22 Roland Winkler <winkler@gnu.org>
16544
16545 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16546 (bibtex-clean-entry): First delete the old key so that a
16547 customized algorithm for generating the new key does not get
16548 confused by the old key.
16549 (bibtex-url): Obey regexp of first step.
16550 (bibtex-search-entries): Do not use add-to-list with local
16551 list-var.
16552
97bb1093
LMI
165532011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16554
16555 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16556 stored a user name, then query for the password first, instead of
16557 waiting for SMTP to give an error message and the trying again.
16558
1c0f1a19
JD
165592011-06-22 Lawrence Mitchell <wence@gmx.li>
16560
16561 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16562 BUFFER in call-process.
16563
396f7c9d
LMI
165642011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16565
16566 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16567 QUIT twice.
ddb7ffee
LMI
16568 (smtpmail-try-auth-methods): Require user name and password from
16569 auth-source.
396f7c9d 16570
8998d1b3
MR
165712011-06-22 Martin Rudalics <rudalics@gmx.at>
16572
16573 * window.el (display-buffer-default-specifiers)
16574 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16575 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16576 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16577
16578 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16579 (special-display-frame-alist, special-display-popup-frame):
16580 Remove duplicate declarations. These are now in window.el.
16581
4ea31e07
LMI
165822011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16583
c9d29fb8
SM
16584 * mail/smtpmail.el (smtpmail-via-smtp):
16585 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16586 server supports it. SMTP servers that support STARTTLS commonly
16587 require it.
16588
16589 * net/network-stream.el (network-stream-open-starttls): Support
16590 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16591 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16592
95f41d9a
LMI
16593 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16594 upgrades with `open-network-stream', and rely solely on
16595 auth-source for all credentials. Big changes throughout the file,
16596 but in particular:
c9d29fb8
SM
16597 (smtpmail-auth-credentials): Remove.
16598 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16599 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16600 MAIL FROM, too.
95f41d9a 16601
c9d29fb8
SM
16602 * net/network-stream.el (network-stream-open-starttls):
16603 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16604 STARTTLS.
16605 (auth-source): Require.
16606 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16607 (network-stream-certificate): Change cert-cert to cert and
16608 cert-key to key.
4ea31e07 16609
065ec2c7
MA
166102011-06-21 Michael Albinus <michael.albinus@gmx.de>
16611
16612 * net/tramp-cache.el (top): Don't load the persistency file when
16613 "emacs -Q" has been called.
16614
cd93b359
DR
166152011-06-21 Tim Harper <timcharper@gmail.com>
16616
d8e4b68b
JB
16617 * term/ns-win.el (ns-initialize-window-system):
16618 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16619 resource to NO as it is not yet supported by the NS port.
16620
ae9c0411
JB
166212011-06-21 Juanma Barranquero <lekktu@gmail.com>
16622
16623 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16624 (list-dynamic-libraries): ...not here.
16625
7f3f739f
LL
166262011-06-21 Leo Liu <sdl.web@gmail.com>
16627
16628 * subr.el (sha1): Implement sha1 using secure-hash.
16629
327c8fb1
MR
166302011-06-21 Martin Rudalics <rudalics@gmx.at>
16631
16632 * window.el (display-buffer-alist): In default value do not
16633 enforce searching a window on any but the selected frame.
16634 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16635 (display-buffer-select-window): Remove function.
16636 (display-buffer-in-window): When a window on another frame gets
16637 reused, do not select it any more but just raise its frame if
16638 necessary (Bug#8851) and (Bug#8856).
16639 (display-buffer-normalize-options): Handle pop-up-frames related
16640 options more faithfully.
16641 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16642 window if it is on another frame.
c9d29fb8
SM
16643 (display-buffer-alist, display-buffer-default-specifiers):
16644 Don't make new frame unsplittable by default.
9e9de014
MR
16645 (display-buffer-normalize-argument): Fix doc-string typo and use
16646 'same-frame-other-window instead of 'other-window when associating
16647 with display-buffer-macro-specifiers.
327c8fb1 16648
7cf3f556
VB
166492011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16650
16651 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16652 New functions.
16653 (5x5-mode-map, 5x5-mode-menu): Bind them.
16654 (5x5-draw-grid): Tweak the solver's rendering.
16655
60a406cf
SM
166562011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16657
16658 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16659 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16660
d8e4b68b 166612011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16662
16663 * menu-bar.el: Use function variable instead of switch-to-buffer.
16664 (menu-bar-select-buffer-function): New variable.
60a406cf 16665 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16666
478d6f95
SM
166672011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16668
16669 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16670 variable's status.
16671
ca530739
JD
166722011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16673
16674 * x-dnd.el (x-dnd-version-from-flags)
16675 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16676 and long as number (Bug#8899).
16677 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16678
bcd70d97
SM
166792011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16680
60a406cf 16681 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16682 (completion-try-completion, completion-all-completions): Compute the
16683 metadata argument if it's missing; make it optional (bug#8795).
16684
60a406cf 16685 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16686 (widget-complete): Use new :completion-function property.
16687 (widget-completions-at-point): New function.
16688 (default): Use :completion-function instead of :complete.
60a406cf
SM
16689 (widget-default-completions): Rename from widget-default-complete;
16690 Rewrite.
bcd70d97
SM
16691 (widget-string-complete, widget-file-complete, widget-color-complete):
16692 Remove functions.
16693 (file, symbol, function, variable, coding-system, color):
16694 * international/mule-cmds.el (default-input-method, charset)
16695 (language-info-custom-alist):
16696 * cus-edit.el (face): Use new property :completions.
16697
16698 * progmodes/pascal.el (pascal-completions-at-point): New function.
16699 (pascal-mode): Use it.
16700 (pascal-mode-map): Use completion-at-point.
16701 (pascal-toggle-completions): Make obsolete.
16702 (pascal-complete-word, pascal-show-completions):
16703 * progmodes/octave-mod.el (octave-complete-symbol):
16704 Redefine as obsolete alias.
16705 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16706 Signal absence of completion info for old Octave,
16707 (inferior-octave-complete): Redefine as obsolete alias.
16708 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16709 (meta-completions-at-point): Rename from meta-complete-symbol and
16710 adapt it for use on completion-at-point-functions.
16711 (meta-common-mode): Use it.
16712 (meta-looking-at-backward, meta-match-buffer): Remove.
16713 (meta-complete-symbol): Redefine as obsolete alias.
16714 (meta-common-mode-map): Use completion-at-point.
16715 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16716 (makefile-mode-map): Use completion-at-point.
16717 (makefile-completions-at-point): Rename from makefile-complete and
16718 adapt it for use on completion-at-point-functions.
16719 (makefile-mode): Use it.
16720 (makefile-complete): Redefine as obsolete alias.
16721
aebf69c8
DD
167222011-06-20 Deniz Dogan <deniz@dogan.se>
16723
16724 * net/rcirc.el: Delete trailing whitespaces once and for all.
16725
bfbbb27d
DC
167262011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16727
16728 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16729
d264a46b
CY
167302011-06-19 Chong Yidong <cyd@stupidchicken.com>
16731
4ca009e5
CY
16732 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16733
d264a46b
CY
16734 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16735
fbf5b3ce
MR
167362011-06-19 Martin Rudalics <rudalics@gmx.at>
16737
16738 * window.el (display-buffer-other-window-means-other-frame):
16739 Call display-buffer-normalize-alist.
16740 (display-buffer-normalize-specifiers-1): Rename to
16741 display-buffer-normalize-argument. New argument other-frame.
16742 Rewrite.
16743 (display-buffer-normalize-specifiers-2): Rename to
16744 display-buffer-normalize-options.
16745 (display-buffer-normalize-alist-1): New function.
16746 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16747 display-buffer-normalize-alist.
16748 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16749 (display-buffer-normalize-options-inhibit): New variable.
16750 (display-buffer-normalize-specifiers): Rewrite calling
16751 display-buffer-normalize-alist,
16752 display-buffer-normalize-argument, and
16753 display-buffer-normalize-options. Don't call the latter if
16754 display-buffer-normalize-options-inhibit is non-nil.
16755 (frame-auto-delete): New option.
16756 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16757 (window-list-no-nils, window-state-ignored-parameters)
16758 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16759 (window-state-put-1, window-state-put-2, window-state-put):
16760 New functions.
9a028c23
MR
16761 (display-buffer-normalize-options): Move special-display-p group
16762 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16763
6d10d800
CY
167642011-06-18 Chong Yidong <cyd@stupidchicken.com>
16765
6420d28b
CY
16766 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16767 groups (Bug#8776).
16768 (rx-submatch-n): New function.
16769 (rx): Document it.
16770
ddb8b596
CY
16771 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16772 (Bug#8768).
16773
16774 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16775
77080289
CY
16776 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16777
61dfb316
CY
16778 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16779 anytime existing face settings are present (Bug#8889).
16780
6d10d800
CY
16781 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16782 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16783 Remove unused argument.
16784
be3fb2b8
MR
167852011-06-18 Martin Rudalics <rudalics@gmx.at>
16786
bcd70d97
SM
16787 * window.el (display-buffer-default-specifiers):
16788 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16789 pop-up-window-min-width, and another reuse-window specifier
16790 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16791 (display-buffer-normalize-specifiers-2):
16792 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16793 pop-up-windows is unset. Add a reuse-window specifier for the
16794 case popping up a new window fails.
16795 (special-display-popup-frame): Remove double quoting.
28dec25a 16796 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16797
1c6d8c76
SM
167982011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16799
16800 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16801 according to comint-completion-addsuffix.
16802
16803 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16804 (pcomplete-suffix-list): Mark as obsolete.
16805 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16806 pcomplete-seen in the closure.
16807 (pcomplete-comint-setup): Setup completion-at-point as well.
16808 (pcomplete--entries): New function.
16809 (pcomplete--env-regexp): New var.
16810 (pcomplete-entries): Rewrite to work with partial-completion and
16811 without relying on pcomplete-suffix-list.
16812 (pcomplete-pare-list): Remove, unused.
16813
25aef8b8
MR
168142011-06-17 Martin Rudalics <rudalics@gmx.at>
16815
16816 * window.el (display-buffer-alist): Set pop-up-window-min-height
16817 and pop-up-window-min-width in default value. Reported by
16818 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16819 other-window-means-other-frame.
16820 (display-buffer-macro-specifiers): Comment out entry for
16821 other-window specifier.
16822 (display-buffer-other-window-means-other-frame): New function.
16823 (display-buffer-normalize-specifiers-1): New arguments
16824 buffer-name and label. Treat other-window case specially.
16825 (display-buffer-normalize-specifiers-2): Treat other-window case
16826 specially.
16827 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16828 (display-buffer-normalize-specifiers):
16829 Call display-buffer-normalize-specifiers-3.
25aef8b8 16830
dbad4f69
MR
168312011-06-17 Martin Rudalics <rudalics@gmx.at>
16832
16833 * window.el (same-window-p): Fix two typos introduced when
16834 adding with-no-warnings.
d1067961
MR
16835 (display-buffer-normalize-specifiers-1): Don't check
16836 pop-up-frames for 'unset initialization.
16837 (display-buffer-normalize-specifiers-2): Major rewrite using
16838 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16839 (pop-up-frames, display-buffer-reuse-frames)
16840 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16841 Suggested by David Engster <deng@randomsample.de>.
16842 (even-window-heights): Initialize to 'unset.
16843 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16844 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16845 other window case.
dbad4f69 16846
9b9c9e3a
MR
168472011-06-16 Martin Rudalics <rudalics@gmx.at>
16848
bcd70d97
SM
16849 * window.el (display-buffer-normalize-specifiers-1):
16850 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16851 second argument of display-buffer (Bug#8865).
981d5c09
MR
16852 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16853 (switch-to-buffer-other-window-same-frame)
16854 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16855 Adams (Bug#8875).
9c2755e9
MR
16856 (display-buffer): Don't check noninteractive when calling
16857 display-buffer-pop-up-frame.
16858 (display-buffer-pop-up-frame): Never pop up a frame in
16859 noninteractive mode (Bug#8857).
67222e1d
MR
16860 (enlarge-window, shrink-window): Don't report an error when the
16861 window can't be resized as requested (Bug#8862).
9b9c9e3a 16862
2b75be67
SM
168632011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16864
9ffdd3ba
SM
16865 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16866
cb581a67
SM
16867 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16868
2b75be67
SM
16869 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16870
8c0e3589
AM
168712011-06-15 Alan Mackenzie <acm@muc.de>
16872
cb581a67
SM
16873 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16874 for declarators, disable knr checking to speed up for normal files.
16875 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16876
b96e6cde
LMI
168772011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16878
4bba86e6
LMI
16879 * net/network-stream.el (open-network-stream): Add the keyword
16880 :always-query-capabilities for the case where you want to force a
16881 `plain' network connection, but the protocol still requires the
16882 capabilitiy command (i.e., SMTP and EHLO).
16883
2b75be67 16884 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16885 consistency with other `-live-p' functions.
16886
efdcdbf8
SM
168872011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16888
16889 * window.el (same-window-buffer-names, same-window-regexps)
16890 (special-display-frame-alist, special-display-popup-frame)
16891 (special-display-function, special-display-buffer-names)
16892 (special-display-regexps, pop-up-frame-alist)
16893 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16894 (pop-up-windows, split-window-preferred-function)
16895 (split-height-threshold, split-width-threshold, even-window-heights)
16896 (display-buffer-mark-dedicated): Don't encourage the use of
16897 display-buffer-alist from Elisp code.
16898
c5cde042
DN
168992011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16900
16901 * progmodes/python.el (python-mode): Derive from prog-mode.
16902 * progmodes/ps-mode.el (ps-mode):
16903 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16904 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16905 * progmodes/ld-script.el (ld-script-mode): Likewise.
16906
baa1c9ab
MR
169072011-06-15 Martin Rudalics <rudalics@gmx.at>
16908
16909 * window.el (display-buffer-alist): Trim default value to avoid
16910 popping up a new frame (Bug#8857) or reusing an arbitrary window
16911 on another frame.
16912 (display-buffer): Do not fall back on popping up a new frame in
16913 batch mode (Bug#8857).
16914
c5dd5a51
CY
169152011-06-14 Chong Yidong <cyd@stupidchicken.com>
16916
16917 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16918 (custom-theme-summary): New function.
16919 (customize-themes): Use it.
16920
d647b7c4
GM
169212011-06-13 Glenn Morris <rgm@gnu.org>
16922
16923 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16924
9481c002
MR
169252011-06-13 Martin Rudalics <rudalics@gmx.at>
16926
357f93d2
MR
16927 * help.el (help-window): Remove variable.
16928 (help-window-point-marker, temp-buffer-max-height)
16929 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16930 (help-print-return-message): Don't set help-window.
16931 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16932 (help-window-setup-finish): Remove.
16933 (help-window-display-message, help-window-setup)
16934 (with-help-window): Major rewrite based on new
16935 display-buffer-window variable.
16936
16937 * help-mode.el (help-mode-finish): Remove help-window related
16938 code.
16939
16940 * view.el (view-exits-all-viewing-windows): Remove reference to
16941 view-return-to-alist in doc-string.
16942 (view-return-to-alist): Make obsolete.
16943 (view-buffer): Call pop-to-buffer-same-window and remove
16944 undo-window code.
16945 (view-buffer-other-window): Call pop-to-buffer-other-window and
16946 simplify code. Ignore second argument.
16947 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16948 simplify code. Ignore second argument.
16949 (view-return-to-alist-update): Make obsolete.
16950 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16951 Rewrite using quit-restore window parameters.
2b75be67
SM
16952 (view-mode-exit): Rename second argument to EXIT-ONLY.
16953 Rewrite using quit-restore-window.
357f93d2
MR
16954 (View-exit, View-exit-and-edit, View-leave, View-quit)
16955 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16956 appropriate arguments.
16957 (view-end-message): Use quit-restore window parameter.
16958
9481c002
MR
16959 * window.el (display-buffer-function): Rewrite doc-string.
16960 (display-buffer-window, display-buffer-alist): New variables.
16961 (display-buffer-split-specifiers)
16962 (display-buffer-side-specifiers)
16963 (display-buffer-macro-specifiers): New constants.
16964 (display-buffer-even-window-sizes, display-buffer-set-height)
16965 (display-buffer-set-width, display-buffer-select-window)
16966 (display-buffer-in-window, display-buffer-reuse-window)
16967 (display-buffer-split-window-1, display-buffer-split-window)
16968 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16969 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16970 (display-buffer-in-side-window, normalize-buffer-to-display)
16971 (display-buffer-normalize-specifiers-1)
16972 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16973 (display-buffer-normalize-specifiers, display-buffer-frame):
16974 New functions.
9481c002
MR
16975 (display-buffer): Major rewrite.
16976 (display-buffer-other-window, display-buffer-other-frame)
16977 (pop-to-buffer, switch-to-buffer-other-window)
16978 (switch-to-buffer-other-frame): Rewrite.
16979 (display-buffer-same-window, display-buffer-same-frame)
16980 (display-buffer-same-frame-other-window)
16981 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16982 (pop-to-buffer-other-window)
16983 (pop-to-buffer-same-frame-other-window)
16984 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16985 (switch-to-buffer-other-window-same-frame): New functions.
16986 (same-window-p, special-display-p): Rewrite disabling warnings.
16987 Make obsolete.
16988 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16989 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16990 Make obsolete
16991 (same-window-buffer-names, same-window-regexps)
16992 (special-display-frame-alist, special-display-popup-frame)
16993 (special-display-function, special-display-buffer-names)
16994 (special-display-regexps, pop-up-frame-alist)
16995 (pop-up-frame-function, split-window-preferred-function)
16996 (split-height-threshold, split-width-threshold)
16997 (even-window-heights): Make obsolete.
16998
9db51aca
GM
169992011-06-12 Glenn Morris <rgm@gnu.org>
17000
17001 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17002 Misc simplifications.
9db51aca 17003
39cffb44
MR
170042011-06-12 Martin Rudalics <rudalics@gmx.at>
17005
17006 * window.el (window-safely-shrinkable-p): Restore function which
17007 was inadvertently removed in change from 2011-06-11. Declare as
17008 obsolete.
17009
2b75be67
SM
17010 * calendar/calendar.el (calendar-generate-window):
17011 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17012 window-safely-shrinkable-p.
17013
a8955be7
GM
170142011-06-12 Glenn Morris <rgm@gnu.org>
17015
17016 * progmodes/fortran.el (fortran-mode-syntax-table):
17017 * progmodes/f90.el (f90-mode-syntax-table):
17018 Set % to punctuation. (Bug#8820)
17019 (f90-find-tag-default): Remove, no longer needed.
17020
f0d4059d
DC
170212011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17022
17023 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17024
1100a63c
CY
170252011-06-11 Chong Yidong <cyd@stupidchicken.com>
17026
17027 * image.el (image-animated-p): Return animation delay in seconds.
17028 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17029 (image-animate-timeout): Remove DELAY argument. Don't assume
17030 every subimage has the same delay; get it from image-animated-p.
17031 (image-animate): Caller changed.
17032
def722bf
MA
170332011-06-11 Michael Albinus <michael.albinus@gmx.de>
17034
17035 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17036 to ignored backtrace functions.
17037
0a2bb1a9
GM
170382011-06-11 Glenn Morris <rgm@gnu.org>
17039
17040 * calendar/appt.el (appt-disp-window-function): Doc fix.
17041 (appt-check): Handle overlapping appointments. (Bug#8337)
17042
6198ccd0
MR
170432011-06-11 Martin Rudalics <rudalics@gmx.at>
17044
17045 * window.el (window-tree-1, window-tree): New functions, moving
17046 the latter to window.el.
17047 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17048 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17049 (bw-refresh-edges): Remove.
17050 (balance-windows-1, balance-windows-2): New functions.
17051 (balance-windows): Rewrite in terms of window tree functions,
17052 balance-windows-1 and balance-windows-2.
17053 (bw-adjust-window): Remove.
17054 (balance-windows-area-adjust): New function with functionality of
17055 bw-adjust-window but using resize-window.
2b75be67
SM
17056 (set-window-text-height): Rewrite doc-string.
17057 Use normalize-live-window and resize-window.
17058 (enlarge-window-horizontally, shrink-window-horizontally):
17059 Rename argument to DELTA.
6198ccd0
MR
17060 (window-buffer-height): New function.
17061 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17062 Rewrite using new window resize routines.
2b75be67
SM
17063 (kill-buffer-and-window, mouse-autoselect-window-select):
17064 Use ignore-errors instead of condition-case.
6198ccd0
MR
17065 (quit-window): Call delete-frame instead of delete-windows-on
17066 for the only buffer on frame.
17067
9397e56f
MR
170682011-06-10 Martin Rudalics <rudalics@gmx.at>
17069
17070 * loadup.el (top-level): Load window before files for the sake
17071 of replace-buffer-in-windows.
17072
17073 * files.el (read-buffer-to-switch)
17074 (switch-to-buffer-other-window)
2b75be67
SM
17075 (switch-to-buffer-other-frame, display-buffer-other-frame):
17076 Move to window.el.
9397e56f
MR
17077
17078 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17079 (previous-buffer): Move to window.el.
17080
17081 * bindings.el (unbury-buffer): Move to window.el.
17082
17083 * window.el (delete-other-windows-vertically): Move after
17084 definition of delete-other-windows.
17085 (other-window, delete-windows-on, replace-buffer-in-windows):
17086 Move here from window.c.
17087 (record-window-buffer, unrecord-window-buffer)
17088 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17089 (switch-to-next-buffer): New functions.
17090 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17091 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17092 (previous-buffer): Move here from simple.el.
17093 Call switch-to-prev-buffer.
9397e56f
MR
17094 (bury-buffer): Move here from buffer.c. Switch to previous
17095 buffer when window cannot be deleted.
17096 (unbury-buffer): Move here from bindings.el.
17097 (ctl-x-map): Move binding for other-window from window.c to
17098 here.
17099 (read-buffer-to-switch, switch-to-buffer-other-window)
17100 (switch-to-buffer-other-frame): Move here from files.el.
17101 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17102 (switch-to-buffer): Move here from buffer.c.
17103 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17104
562dd5e9
MR
171052011-06-10 Martin Rudalics <rudalics@gmx.at>
17106
17107 * window.el (window-min-height, window-min-width): Move here
17108 from window.c. Add defcustoms and rewrite doc-strings.
17109 (resize-mini-window, resize-window): New functions.
17110 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17111 Move here from window.c.
17112 (maximize-window, minimize-window): New functions.
17113 (delete-window, delete-other-windows, split-window): Move here
17114 from window.c.
17115 (window-split-min-size): New function.
17116 (split-window-keep-point): Mention split-window-above-each-other
17117 instead of split-window-vertically.
2b75be67 17118 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17119 Rename split-window-vertically to split-window-above-each-other
17120 and provide defalias for old definition.
17121 (split-window-side-by-side, split-window-horizontally):
17122 Rename split-window-horizontally to split-window-side-by-side
17123 and provide defalias for the old definition.
562dd5e9
MR
17124 (ctl-x-map): Move bindings for delete-window,
17125 delete-other-windows and enlarge-window here from window.c.
17126 Replace bindings for split-window-vertically and
17127 split-window-horizontally by bindings for
17128 split-window-above-each-other and split-window-side-by-side.
17129
17130 * cus-start.el (all): Remove entries for window-min-height and
17131 window-min-width. Add entries for window-splits and
17132 window-nest.
17133
f0da764a
GM
171342011-06-09 Glenn Morris <rgm@gnu.org>
17135
80675c21
GM
17136 * calendar/appt.el (appt-mode-line): New function.
17137 (appt-check, appt-disp-window): Use it.
17138
f0da764a
GM
17139 * files.el (hack-one-local-variable-eval-safep):
17140 Allow minor-modes with explicit +/-1 arguments.
17141
59f623b7
TZ
171422011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17143
17144 * term/xterm.el (xterm): Add defgroup.
17145 (xterm-extra-capabilities): Add defcustom to supply known xterm
17146 capabilities, skip querying them, or query them (default).
17147 (terminal-init-xterm): Use it.
17148 (terminal-init-xterm-modify-other-keys): New function to set up
17149 modifyOtherKeys support to simplify `terminal-init-xterm'.
17150
9aab8e0d
MR
171512011-06-09 Martin Rudalics <rudalics@gmx.at>
17152
17153 * window.el (resize-window-reset, resize-window-reset-1)
17154 (resize-subwindows-skip-p, resize-subwindows-normal)
17155 (resize-subwindows, resize-other-windows, resize-this-window)
17156 (resize-root-window, resize-root-window-vertically)
17157 (window-deletable-p, window-or-subwindow-p)
17158 (frame-root-window-p): New functions.
17159
e8b08aee
GM
171602011-06-09 Glenn Morris <rgm@gnu.org>
17161
17162 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17163 (ange-ftp-get-files): Use it.
17164
254c37a5
AK
171652011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17166
17167 * mail/sendmail.el (mail-recover-1, mail-recover):
17168 * files.el (recover-file, recover-session):
17169 Handle dired-listing-switches not being just a single short option.
17170
35d7dbd3
GM
171712011-06-09 Glenn Morris <rgm@gnu.org>
17172
17173 * calendar/appt.el (appt-display-message, appt-disp-window):
17174 Handle lists of appointments.
17175
387522b2
MR
171762011-06-08 Martin Rudalics <rudalics@gmx.at>
17177
2b75be67
SM
17178 * window.el (one-window-p): Move down in code.
17179 Rewrite doc-string.
17180 (window-current-scroll-bars): Rewrite doc-string.
17181 Normalize live window argument.
387522b2
MR
17182 (walk-windows, get-window-with-predicate, count-windows):
17183 Rewrite doc-string. Use window-list-1.
17184 (window-in-direction-2, window-in-direction, get-mru-window):
17185 New functions.
17186
d8e4b68b 171872011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17188
17189 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17190 Doc fix (Bug#8713).
17191
171922011-06-08 Chong Yidong <cyd@stupidchicken.com>
17193
17194 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17195
171962011-06-08 Juanma Barranquero <lekktu@gmail.com>
17197
17198 * loadhist.el (unload-feature-special-hooks):
17199 Add `comint-output-filter-functions'.
17200
0de12c52
IK
172012011-06-08 Ivan Kanis <gnu@kanis.fr>
17202
17203 * calendar/appt.el (appt-check): Move some initializations into the let.
17204
f3d1777e
MR
172052011-06-08 Martin Rudalics <rudalics@gmx.at>
17206
17207 * window.el (window-height): Defalias to window-total-height.
17208 (window-width): Defalias to window-body-width.
17209
18af70d0
CY
172102011-06-07 Chong Yidong <cyd@stupidchicken.com>
17211
17212 * image-mode.el (image-toggle-animation): New command.
17213 (image-mode-map): Bind it to RET.
17214 (image-mode): Update message.
17215 (image-toggle-display-image): Avoid a spurious cache flush.
17216 (image-transform-rotation): Doc fix.
17217 (image-transform-properties): Return quickly in the normal case.
17218 (image-animate-loop): Rename from image-animate-max-time.
17219
2b75be67 17220 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17221 (create-animated-image): Remove unnecessary function.
17222 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17223 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17224 (image-animate-timer): Use car-safe.
17225 (image-animate-timeout): Rename argument.
17226
190b47e6
MR
172272011-06-07 Martin Rudalics <rudalics@gmx.at>
17228
17229 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17230 window.c. Rename first argument to ALL-FRAMES.
17231 Rephrase doc-strings.
17232 (get-buffer-window-list): Rewrite using window-list-1.
17233 Rephrase doc-string.
a1511caf
MR
17234 (window-safe-min-height, window-safe-min-width): New constants.
17235 (window-size-ignore, window-min-size, window-min-size-1)
17236 (window-sizable, window-sizable-p, window-size-fixed-1)
17237 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17238 (window-max-delta-1, window-max-delta, window-resizable)
17239 (window-resizable-p, window-total-height, window-total-width)
17240 (window-body-width): New functions.
17241 (window-full-height-p, window-full-width-p): Rewrite using
17242 window-total-size.
17243 (window-body-height): Rewrite using window-body-size.
190b47e6 17244
85cc1f11
MR
172452011-06-06 Martin Rudalics <rudalics@gmx.at>
17246
17247 * window.el (window-right, window-left, window-child)
17248 (window-child-count, window-last-child, window-any-p)
17249 (normalize-live-buffer, normalize-live-frame)
17250 (normalize-any-window, normalize-live-window)
17251 (window-iso-combination-p, window-iso-combined-p)
17252 (window-iso-combinations)
17253 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17254 (windows-with-parameter, window-with-parameter)
17255 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17256 (window-atom-check, window-side-check, window-check):
17257 New functions.
85cc1f11
MR
17258 (ignore-window-parameters, window-sides, window-sides-vertical)
17259 (window-sides-slots): New variables.
17260 (window-size-fixed): Move down in code. Minor doc-string fix.
17261
e7156492
AS
172622011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17263
17264 * comint.el (comint-dynamic-complete-as-filename)
17265 (comint-dynamic-complete-filename): Correctly call
17266 completion-in-region.
17267
7e821d0d
DD
172682011-06-05 Deniz Dogan <deniz@dogan.se>
17269
17270 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17271 in last change.
17272
ac09b8a1
DD
172732011-06-05 Deniz Dogan <deniz@dogan.se>
17274
17275 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17276 (rcirc): Use it to prompt for encryption.
17277
34699b85
RW
172782011-06-05 Roland Winkler <winkler@gnu.org>
17279
17280 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17281 (bibtex-search-entries): New command bound to C-c C-a.
17282 (bibtex-display-entries): New function.
17283
004dedd3
RW
172842011-06-05 Roland Winkler <winkler@gnu.org>
17285
17286 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17287 (bibtex-insert-kill): After yanking insert newline if necessary.
17288 (bibtex-initialize): Call bibtex-string-files-init only once.
17289 (bibtex-mode): Do not call easy-menu-add.
17290 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17291 (bibtex-yank): Set arg properly if nil.
17292
022fe7ce
RW
172932011-06-05 Roland Winkler <winkler@gnu.org>
17294
2b75be67
SM
17295 * textmodes/bibtex.el (bibtex-search-entry-globally):
17296 New variable.
022fe7ce
RW
17297 (bibtex-search-entry): Use it.
17298
b7c3692a
RW
172992011-06-05 Roland Winkler <winkler@gnu.org>
17300
17301 * textmodes/bibtex.el (bibtex-entry-format): New option
17302 sort-fields.
17303 (bibtex-format-entry, bibtex-reformat): Honor this option.
17304 (bibtex-parse-entry): Return fields in proper order.
17305
8eda563d
JB
173062011-06-05 Juanma Barranquero <lekktu@gmail.com>
17307
17308 * doc-view.el (doc-view-remove-if): Move computation of result out
17309 of `dolist' to silence misleading lexical-binding warning.
17310
7dbe3dbc
CY
173112011-06-04 Chong Yidong <cyd@stupidchicken.com>
17312
17313 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17314 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17315
0c33dd17
MA
173162011-06-04 Michael Albinus <michael.albinus@gmx.de>
17317
17318 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17319 "SunOS 5.10".
17320
f8f91c2b
MA
173212011-06-04 Michael Albinus <michael.albinus@gmx.de>
17322
17323 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17324 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17325 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17326 (tramp-parse-putty):
17327 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17328 (tramp-completion-function-alist-ssh)
17329 (tramp-completion-function-alist-telnet)
17330 (tramp-completion-function-alist-su)
17331 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17332 cookie.
17333
17334 * net/tramp-ftp.el:
17335 * net/tramp-sh.el:
17336 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17337 load "tramp.el" `tramp-set-completion-function'.
17338
e17d9003
SM
173392011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17340
17341 * shell.el: Require and use pcomplete.
17342 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17343 (shell-completion-vars): Set pcomplete-default-completion-function.
17344
6c4cab03
DD
173452011-06-04 Deniz Dogan <deniz@dogan.se>
17346
17347 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17348 `memq' (Bug#8799).
17349
ea9fafe0
SM
173502011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17351
17352 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17353
b3e945d3
JB
173542011-06-02 Juanma Barranquero <lekktu@gmail.com>
17355
17356 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17357 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17358 * vc/log-view.el (log-view-beginning-of-defun):
17359 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17360 (smerge-refine-forward, smerge-refine-chopup-region):
17361 Silence warning for unused `dotimes' counter variables.
17362
7d520089
SM
173632011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17364
17365 * net/tramp.el (tramp-with-progress-reporter): Rename from
17366 with-progress-reporter. Use `declare'.
17367 * net/tramp-smb.el:
17368 * net/tramp-sh.el:
17369 * net/tramp-gvfs.el: Update all uses.
17370
a1c2400f
JB
173712011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17372
17373 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17374 buffer isn't killed before making it current.
17375
2403c841
SM
173762011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17377
17378 Silence various byte-compiler warnings.
17379 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17380 `access-type' and new obsolescence format.
17381 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17382 new format.
17383 (byte-compile-check-variable): New `access-type' argument.
17384 Only warn if the access-type is obsolete.
17385 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17386 (byte-compile-variable-set): Adjust callers.
17387 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17388 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17389 setting it as obsolete.
17390 * simple.el (minibuffer-completing-symbol):
17391 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17392 access as obsolete.
17393 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17394 obsolete yet.
17395 * international/quail.el (quail-mouse-choose-completion): Remove unused
17396 code referring to obsolete var.
17397 (quail-choose-completion-string): Remove.
17398 * server.el (server-clients-with, server-kill-buffer-query-function)
17399 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17400 * proced.el (proced-send-signal):
17401 * emacs-lisp/lisp.el (lisp-complete-symbol):
17402 Replace completion-annotate-function with completion-extra-properties.
17403
2462470b
SM
174042011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17405
fb5b2591
SM
17406 * simple.el (goto-line): Use read-number.
17407 (overriding-map-is-bound): Remove.
17408 (saved-overriding-map): Change default.
17409 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17410 Take the map as argument.
17411 (universal-argument, negative-argument, digit-argument): Use it.
17412 (restore-overriding-map): Adjust.
17413 (do-auto-fill): Use fill-forward-paragraph.
17414 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17415
fd6fa53f
SM
17416 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17417 (minibuffer-inactive-mode): New major mode.
17418 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17419 the *Messages* buffer" hack.
17420 (mouse-popup-menubar): Don't burp if the event is a normal key.
17421
2462470b
SM
17422 Miscellaneous tweaks.
17423 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17424 lexical scoping as in subr.el's dolist and dotimes.
17425 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17426 Silence compiler warning.
17427 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17428 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17429 * international/ccl.el (ccl-compile): Trivial simplification.
17430 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17431 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17432 `printflag' argument.
17433 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17434 Purecopy the whole obsolescence data.
17435
108bf785
LL
174362011-06-01 Leo Liu <sdl.web@gmail.com>
17437
17438 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17439 improve doc-string as suggested by Marco Pessotto
17440 <melmothx@gmail.com>.
17441 (rcirc-print): Fix last change.
17442
30a23501
SM
174432011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17444
17445 * minibuffer.el (complete-with-action): Return nil for the metadata and
17446 boundaries of non-functional tables.
17447 (completion-table-dynamic): Return nil for the metadata.
17448 (completion-table-with-terminator): Add default case, using
17449 complete-with-action.
17450 (completion--metadata): New function.
17451 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17452 to try and avoid pathological performance problems.
17453 (completion--embedded-envvar-table): Return `category' metadata.
17454
bcd54f83
LMI
174552011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17456
17457 * subr.el (process-alive-p): New tiny convenience function.
17458
e227544d
SM
174592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17460
17461 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17462 content but also its previous major mode.
17463
e8296fdc
HE
174642011-05-31 Helmut Eller <eller.helmut@gmail.com>
17465
4d61f28d 17466 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17467 *Backtrace* buffer when we exit with C-M-c.
17468
620c53a6
SM
174692011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17470
17471 * minibuffer.el: Add metadata method to completion tables.
17472 (completion-category-overrides): New defcustom.
17473 (completion-metadata, completion--field-metadata)
17474 (completion-metadata-get, completion--styles)
17475 (completion--cycle-threshold): New functions.
17476 (completion-try-completion, completion-all-completions):
17477 Add `metadata' argument to choose completion-styles.
17478 (completion--do-completion): Use metadata to choose cycling.
17479 (completion-all-sorted-completions): Use metadata for sorting.
17480 Remove :completion-cycle-penalty which is not needed any more.
17481 (completion--try-word-completion): Add `metadata' argument.
17482 (minibuffer-completion-help): Check metadata for annotation function
17483 and sorting.
17484 (completion-file-name-table): Return `category' metadata.
17485 (minibuffer-completing-file-name): Make obsolete.
17486 * simple.el (minibuffer-completing-symbol): Make obsolete.
17487 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17488 completion-try-completion.
17489
1257e755
SM
174902011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17491
17492 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17493
3767e706
LL
174942011-05-30 Leo Liu <sdl.web@gmail.com>
17495
17496 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17497 (rcirc-print): Decode all incoming messages (bug#8744).
17498 (rcirc-decode-coding-system): Allow value nil for automatic coding
17499 system detection.
3767e706 17500
d1a5d56a
GM
175012011-06-01 Glenn Morris <rgm@gnu.org>
17502
17503 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17504
e8cbec34
CY
175052011-05-29 Chong Yidong <cyd@stupidchicken.com>
17506
17507 * image.el (image-animate-max-time): Allow nil and t values.
17508 Default to nil.
17509 (create-animated-image): Doc fix.
17510 (image-animate-start): Remove second arg; just use
17511 image-animate-max-time.
17512 (image-animate-timeout): Doc fix. Args changed.
17513
17514 * image-mode.el (image-toggle-display-image): Ensure that the
17515 image spec passed to the animate timer is the same object as in
58179cce 17516 the buffer's display property (Bug#6981).
e8cbec34
CY
17517 (image-transform-properties): Doc fix.
17518
17519 * image.el (image-animate-max-time): Default to nil.
17520
159daf87
MR
175212011-05-29 Martin Rudalics <rudalics@gmx.at>
17522
17523 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17524 entire buffer list (Bug#8184).
17525
d66c4c7c
CY
175262011-05-29 Chong Yidong <cyd@stupidchicken.com>
17527
17528 * image.el (imagemagick-types-inhibit)
17529 (imagemagick-register-types): Doc fix.
17530
80aec780
DD
175312011-05-29 Deniz Dogan <deniz@dogan.se>
17532
17533 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17534 default.
17535
1dd3c2d9
CY
175362011-05-29 Chong Yidong <cyd@stupidchicken.com>
17537
17538 * select.el: Don't perform clipboard-manager saving in hooks;
17539 leave the hooks empty.
17540
60e56523
LL
175412011-05-28 Leo Liu <sdl.web@gmail.com>
17542
17543 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17544 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17545 (occur-edit-mode): New major mode (Bug#8463).
17546 (occur-after-change-function): New function.
17547 (occur-engine): Give Occur tags a read-only property.
17548
2b1e1a22
KR
175492011-05-28 Kevin Ryde <user42@zip.com.au>
17550
17551 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17552
5d344e88
CY
175532011-05-28 Chong Yidong <cyd@stupidchicken.com>
17554
8e6ca83d
CY
17555 * bindings.el (help-echo): Make the initial non-indicator dash
17556 empty on graphical terminals (Bug#7295).
17557
5d344e88
CY
17558 * files.el (auto-mode-alist): Move config rule after the
17559 in-stripping one (Bug#8547).
17560
bfbbace7
CY
17561 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17562
fbeba6e2
CY
17563 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17564 setting (Bug#8740).
17565
60ed8c72
AA
175662011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17567
4ac619f0
AA
17568 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17569 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17570 (Bug#8539).
60ed8c72 17571
23db196e
CY
175722011-05-28 Chong Yidong <cyd@stupidchicken.com>
17573
17574 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17575
5012f24c
DK
175762011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17577
17578 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17579 (hs-hide-block-at-point, hs-find-block-beginning)
17580 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17581 (Bug#8279).
17582
6a639b16
GM
175832011-05-28 Glenn Morris <rgm@gnu.org>
17584
17585 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17586
d43eaf2c
CY
175872011-05-28 Chong Yidong <cyd@stupidchicken.com>
17588
5199bde1
CY
17589 * help-fns.el (describe-function-1): If the function is a derived
17590 major mode, print the parent mode.
17591
d43eaf2c
CY
17592 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17593 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17594
423428a8
SM
175952011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17596
0ff8e1ba 17597 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17598 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17599 * progmodes/etags.el (tags-completion-at-point-function):
17600 * info-look.el (info-lookup-completions-at-point): Mark as
17601 non-exclusive.
17602 (info-complete): Adjust accordingly.
17603
423428a8
SM
17604 * info-look.el: Convert to lexical-binding and completion-at-point.
17605 (info-lookup-completions-at-point): New function.
17606 (info-complete): Use it and completion-in-region.
17607
b74aa22b
DA
176082011-05-28 Drew Adams <drew.adams@oracle.com>
17609
17610 * isearch.el: Let M-e start with point at the first mismatched char.
17611 (isearch-fail-pos): New function.
17612 (isearch-edit-string): Use it.
17613
66e2e71d
DK
176142011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17615
17616 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17617
b1890b0f 176182011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17619
17620 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17621 traversal functions for avl-trees.
17622 (avl-tree--stack): New struct.
17623 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17624 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17625 (avl-tree--do-enter): Add optional `updatefun' arg.
17626 Change return value.
eb95d01d 17627 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17628 (avl-tree--do-delete): Add `test' and `nilflag' args.
17629 Change return value.
eb95d01d
TC
17630 (avl-tree-member): Add optional `nilflag'
17631 (avl-tree-member-p): New function.
17632 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17633 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17634 (avl-tree-stack-empty-p): New functions.
17635
3769ddcf
TC
17636 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17637 avl-tree--del-balance1 and make it work both ways.
17638 (avl-tree--del-balance2): Remove.
17639 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17640 make it work both ways.
17641 (avl-tree--enter-balance2): Remove.
17642 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17643 New macros.
17644 (avl-tree--mapc, avl-tree-map): Add direction argument.
17645
eb95d01d 176462011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17647
17648 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17649
a9f737ee
CY
176502011-05-27 Chong Yidong <cyd@stupidchicken.com>
17651
17652 * select.el: Support clipboard managers with built-in function
17653 x-clipboard-manager-save, via delete-frame-functions and
17654 kill-emacs-hook.
17655 (xselect-convert-to-targets): Add MULTIPLE target to list.
17656 (xselect-convert-to-save-targets): New function.
17657
c92a1e54
KH
176582011-05-27 Kenichi Handa <handa@m17n.org>
17659
17660 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17661 let-binding rfc2047-encode-encoded-words to nil.
17662
e145f188
GM
176632011-05-27 Glenn Morris <rgm@gnu.org>
17664
5ec8a862
GM
17665 * mail/emacsbug.el: Don't require url-util.
17666
4b29d9fb
GM
17667 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17668
e145f188
GM
17669 * files.el (set-auto-mode):
17670 Also respect mode: entries at the end of the file. (Bug#8586)
17671
7d15102b
GM
176722011-05-26 Glenn Morris <rgm@gnu.org>
17673
98f593b8
GM
17674 * files.el (hack-local-variables-prop-line, hack-local-variables):
17675 Downcase mode names, as seems to be traditional.
27b48e63 17676 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17677
7d15102b
GM
17678 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17679 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17680
51d5b4ec
JD
176812011-05-25 Julien Danjou <julien@danjou.info>
17682
17683 * textmodes/rst.el (rst-define-level-faces): Do not define face
17684 symbol if it is already defined.
17685
91513f63
VB
176862011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17687
17688 * play/5x5.el (5x5-new-game, 5x5-randomize):
17689 Reset 5x5-solver-output to nil when a new grid is cast.
17690 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17691 these debugging traces, as defmacro breaks the compiled code.
17692
4d90d6d0
DK
176932011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17694
17695 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17696
e1b90ef6
LL
176972011-05-24 Leo Liu <sdl.web@gmail.com>
17698
17699 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17700 (vc-bzr-sha1): Adapt.
17701
d8e4b68b 17702 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17703
17704 * bindings.el: Provide sha1 feature.
17705
db0406bb 177062011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17707
17708 * mail/sendmail.el: Require `rfc2047'.
17709 (mail-insert-from-field): Do not perform RFC2047 encoding.
17710 (mail-encode-header): New function.
17711 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17712 buffer to the return value of select-message-coding-system.
17713 Call mail-encode-header.
b8d747b9
KH
17714
17715 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17716
db0406bb 177172011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17718
4d90d6d0
DK
17719 * mail/supercite.el (sc-default-cite-frame):
17720 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17721
eb8a5e9b
GM
177222011-05-24 Glenn Morris <rgm@gnu.org>
17723
f8630703
GM
17724 * progmodes/python.el (brm-menu): Declare.
17725
8831bbed
GM
17726 * emulation/viper.el (viper-set-hooks): Declare.
17727
eb8a5e9b
GM
17728 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17729 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17730 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17731 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17732 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17733 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17734
a2a25d24
SM
177352011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17736
17737 Add an :exit-function for completion-at-point.
17738
17739 * minibuffer.el (completion--done): New fun.
17740 (completion--do-completion): Use it. New arg `expect-exact'.
17741 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17742 since completion--do-completion does it for us now.
17743 (minibuffer-force-complete): Use completion--done and
17744 completion--replace. Handle sole-completion case with more care.
17745 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17746 (completion-extra-properties): New var.
17747 (completion-annotate-function): Make obsolete.
17748 (minibuffer-completion-help): Adjust accordingly.
17749 Use completion-list-insert-choice-function.
17750 (completion-at-point, completion-help-at-point):
17751 Bind completion-extra-properties.
17752 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17753 * simple.el (completion-list-insert-choice-function): New var.
17754 (completion-setup-function): Preserve it.
17755 (choose-completion): Pay attention to it, shuffle the code a bit.
17756 (choose-completion-string): New arg `insert-function'.
17757
17758 * textmodes/bibtex.el: Convert to lexical binding.
17759 (bibtex-mode-map): Use completion-at-point.
17760 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17761 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17762 (bibtex-complete): Define as obsolete alias.
17763 (bibtex-complete-internal): Remove.
17764 (bibtex-format-entry): Remove unused sub-group in regexp.
17765 * shell.el (shell--command-completion-data)
17766 (shell-environment-variable-completion):
17767 * pcomplete.el (pcomplete-completions-at-point):
17768 * comint.el (comint--complete-file-name-data): Use :exit-function
17769 instead of completion-table-with-terminator so it also works for
17770 choose-completion.
17771
e44e373d
SM
177722011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17773
4f91a816
SM
17774 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17775
782fc819
SM
17776 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17777 (bug#8710).
17778
e44e373d
SM
17779 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17780
381987c3
KM
177812011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17782
17783 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17784 customization variable and implement: If non-nil, auto-fill will
17785 be inhibited while on topic's header line.
17786
b776bc70
VB
177872011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17788
17789 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17790 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17791 always have a solution in grid size = 5 cases.
17792 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17793 (5x5-solver-output, 5x5-log-buffer): New vars.
17794 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17795 Make these variables buffer local to achieve 5x5 multi-session-ness.
17796 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17797 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17798 (5x5-solve-suggest): New funs.
17799 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17800 randomize a grid so that we ensure that there is always a solution.
17801 (5x5-make-random-grid): Allow other movement than flipping.
17802
7de88b6e
KR
178032011-05-23 Kevin Ryde <user42@zip.com.au>
17804
17805 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17806 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17807 advice and passes PREDICATE.
17808
b1ef1257
SM
178092011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17810
bbca48fe
SM
17811 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17812 byte-compile-lambda if it's actually a lambda.
17813
b1ef1257
SM
17814 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17815 Fix function quoting. Use backquote better.
17816
92a9cc65
YS
178172011-05-22 Yuanle Song <sylecn@gmail.com>
17818
17819 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17820 matching (Bug#8516).
17821
f0fb8059
JA
178222011-01-22 Jari Aalto <jari.aalto@cante.net>
17823
17824 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17825 different face (Bug#8178).
17826
d5b44c93
CY
178272011-05-22 Chong Yidong <cyd@stupidchicken.com>
17828
17829 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17830 defface (Bug#8144).
17831
79106a44
SM
178322011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17833
9c848d8a
SM
17834 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17835 funcall as well (bug#8712). Warn when performing those conversions.
17836 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17837
79106a44
SM
17838 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17839
88dfa756
GM
178402011-05-22 Glenn Morris <rgm@gnu.org>
17841
17842 * files.el (hack-local-variables-prop-line): Small simplifications.
17843 (hack-local-variables, hack-local-variables-prop-line):
17844 If MODE-ONLY, return the mode, rather than just `t'.
17845
b7cf2c79
SM
178462011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17847
17848 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17849
3f1a8558
GM
178502011-05-21 Glenn Morris <rgm@gnu.org>
17851
7e4ccca3
GM
17852 * files.el (hack-local-variables-prop-line, hack-local-variables):
17853 If only interested in the mode, don't bother doing the other stuff.
17854
637d46ca
GM
17855 * image-mode.el (image-after-revert-hook):
17856 Redraw all frames on which the image is visible. (Bug#8567)
17857
973d955b
GM
17858 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17859
3f1a8558
GM
17860 * wid-edit.el (widget-checklist-match-inline):
17861 Fix 2011-04-19 change. (Bug#8649)
17862
96479927
SM
178632011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17864
1dcf791f
SM
17865 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17866 Also allow singlespace after single-letter capitals followed by a dot.
17867
96479927
SM
17868 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17869 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17870
35fd0881
N
178712011-05-20 Nix <nix@esperi.org.uk>
17872
17873 * files.el (basic-save-buffer-2):
17874 Fix handling of break-hardlink-on-save with non-existent files.
17875
82745640
DD
178762011-05-19 Deniz Dogan <deniz@dogan.se>
17877
17878 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17879 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17880
4a720484
GM
178812011-05-19 Glenn Morris <rgm@gnu.org>
17882
d1f21341
GM
17883 * progmodes/f90.el (f90-type-def-re):
17884 Handle "type, bind(c)". (Bug#8691)
17885
4a720484
GM
17886 * emacs-lisp/autoload.el (batch-update-autoloads):
17887 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17888
2fb0a219
MA
178892011-05-18 Michael Albinus <michael.albinus@gmx.de>
17890
17891 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17892 property for the correct connection in case of multihops.
17893
e565dd37
GM
178942011-05-18 Glenn Morris <rgm@gnu.org>
17895
c2571358 17896 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17897 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17898
e565dd37
GM
17899 Rationalize calendar handling of day and month abbrev-arrays.
17900 * calendar/calendar.el (calendar-customized-p): New function.
17901 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17902 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17903 Add :set function.
17904 (calendar-abbrev-length, calendar-day-abbrev-array)
17905 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17906 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17907 Elements may no longer be nil.
17908 (calendar-day-name, calendar-month-name):
17909 Update for changed nature of abbrev arrays.
17910 * calendar/diary-lib.el (diary-name-pattern):
17911 Update for changed nature of abbrev arrays.
17912 (diary-mark-entries-1): Update calendar-make-alist calls.
17913 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17914 * calendar/cal-html.el (cal-html-day-abbrev-array):
17915 Simply inherit from calendar-day-abbrev-array.
17916
1d99a745
SM
179172011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17918
17919 * progmodes/grep.el (grep-mode): Disable default
17920 compilation-directory-matcher setting (bug#8684).
17921
7c1d9aa0
MA
179222011-05-17 Michael Albinus <michael.albinus@gmx.de>
17923
17924 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17925 instead of "head" and "tail". There were problems with SunOS 5.9,
17926 and it performs better.
17927
3952e9d8
GM
179282011-05-17 Glenn Morris <rgm@gnu.org>
17929
2dd12e7f
GM
17930 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17931
e4157b9c
GM
17932 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17933 Replace obsolete function.
17934
8e249bbd
GM
17935 * shell.el (pcomplete-parse-arguments-function): Declare.
17936
3952e9d8
GM
17937 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17938 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17939 (appt-check): Doc fixes.
17940 (appt-disp-window-function, appt-delete-window-function):
17941 Remove needless special case in custom :type.
17942 (appt-display-count): Default to 0, not nil.
17943 (appt-check): Reset appt-display-count to 0, not nil.
17944
c71a0d48 179452011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17946
c71a0d48
GM
17947 * progmodes/python.el (python-font-lock-keywords):
17948 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17949
31d55be9
SM
179502011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17951
17952 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17953
3bfacb2f
KR
179542011-05-16 Kevin Ryde <user42@zip.com.au>
17955
17956 * info-look.el (makefile-automake-mode): New setups, looking in
17957 automake manual, then makefile-mode.
17958 (makefile-mode): Remove automake manual, have it just in
17959 makefile-automake-mode since there's various things different or
17960 not relevant to plain make.
17961 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17962 believe a hypothetical automake-mode would go to makefile-mode,
17963 not the other way around.
17964
c8e83751
CY
179652011-05-15 Chong Yidong <cyd@stupidchicken.com>
17966
5e9e35cd
CY
17967 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17968 hunk-end tags (Bug#8672).
17969
c8e83751
CY
17970 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17971 vc-annotate-show-diff-revision-at-line (Bug#8671).
17972
50b23e5a
GM
179732011-05-14 Glenn Morris <rgm@gnu.org>
17974
7210a739
GM
17975 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17976 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17977 (change-log-font-lock-keywords): Also handle multiple author lines
17978 with leading tabs. (Bug#8644)
7210a739 17979
4691905a
GM
17980 * calendar/appt.el (appt-check): Rename some local variables.
17981 Some simplification/reordering.
17982
50b23e5a
GM
17983 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17984 (feedmail-sendmail-f-doesnt-sell-me-out)
17985 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17986 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17987 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17988 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17989 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17990 (feedmail-binmail-gnulinuxish-template):
17991 Rename from feedmail-binmail-linuxish-template.
17992 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17993 Use insert-buffer-substring.
17994
215cda7c
BC
179952011-05-14 Bill Carpenter <bill@carpenter.org>
17996
17997 * mail/feedmail.el (feedmail-patch-level): Increase.
17998 (feedmail-debug): New custom group.
17999 (feedmail-confirm-outgoing-timeout)
18000 (feedmail-sendmail-f-doesnt-sell-me-out)
18001 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18002 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18003 (feedmail-sender-line, feedmail-from-line)
18004 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18005 (feedmail-spray-this-address)
215cda7c
BC
18006 (feedmail-spray-address-fiddle-plex-list)
18007 (feedmail-queue-use-send-time-for-date)
18008 (feedmail-queue-use-send-time-for-message-id)
18009 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18010 (feedmail-buffer-eating-function):
18011 Doc fixes.
18012 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18013 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18014 (feedmail-message-action-scroll-down): New functions.
18015 (feedmail-queue-directory, feedmail-queue-draft-directory):
18016 Use expand-file-name.
18017 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18018 Remove C-v help entry.
18019 (feedmail-queue-buffer-file-name): New variable.
18020 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18021 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18022 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18023 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18024 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18025 (feedmail-message-action-toggle-spray)
18026 (feedmail-run-the-queue-no-prompts)
18027 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18028 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18029 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18030 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18031 (feedmail-envelope-deducer, feedmail-fiddle-from)
18032 (feedmail-fiddle-sender, feedmail-default-date-generator)
18033 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18034 (feedmail-fiddle-spray-address)
18035 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18036 (feedmail-fiddle-list-of-fiddle-plexes)
18037 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18038 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18039 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18040 Change default. Doc fix.
18041 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18042 (feedmail-binmail-linuxish-template): New constant.
18043 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18044 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18045 (feedmail-send-it): Add debug call.
18046 Use feedmail-queue-buffer-file-name, and
18047 feedmail-send-it-immediately-wrapper.
18048 (feedmail-message-action-send): Add debug call.
18049 Use feedmail-send-it-immediately-wrapper.
18050 (feedmail-queue-express-to-queue): Add debug call.
18051 Run feedmail-queue-express-hook.
18052 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18053 (feedmail-message-action-help-blat):
18054 Rename from feedmail-queue-send-edit-prompt-help-first.
18055 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18056 Check line-endings. Handle errors better.
18057 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18058 Doc fix. Add debug call.
18059 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18060 Use feedmail-queue-send-edit-prompt-inner.
18061 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18062 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18063 from feedmail-queue-send-edit-prompt.
18064 (feedmail-queue-send-edit-prompt-help)
18065 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18066 (feedmail-tidy-up-slug): Add debug call.
18067 Respect feedmail-queue-slug-suspect-regexp.
18068 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18069 (feedmail-dump-message-to-queue): Add debug call.
18070 Expand queue-directory.
18071 (feedmail-dump-message-to-queue): Change message slightly.
18072 Use feedmail-say-chatter.
18073 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18074 (feedmail-send-it-immediately-wrapper): New function.
18075 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18076 Insert empty string rather than newline. Handle full-frame case.
18077 Use catch/throw. Use feedmail-say-chatter.
18078 (feedmail-fiddle-from): Try mail-host-address.
18079 (feedmail-default-message-id-generator): Doc fix.
18080 Bind system-time-locale. Handle missing end.
18081 (feedmail-fiddle-x-mailer): Add debug call.
18082 Handle feedmail-x-mailer-line being nil.
18083 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18084 Add debug call. Use buffer-substring-no-properties.
18085 (feedmail-say-debug, feedmail-say-chatter): New functions.
18086 (feedmail-find-eoh): Give an explicit error.
18087
42c7e61e
UJ
180882011-05-13 Ulf Jasper <ulf.jasper@web.de>
18089
c2571358 18090 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18091 family from helvetica to sans.
c2571358 18092 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18093 etc/images/newsticker.
18094
c2571358 18095 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18096 family from helvetica to sans.
18097
18098 * net/newst-plainview.el (newsticker-new-item-face)
18099 (newsticker-old-item-face, newsticker-immortal-item-face)
18100 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18101 (newsticker-statistics-face): Change default family from
42c7e61e 18102 helvetica to sans.
c2571358 18103 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18104 etc/images/newsticker.
18105
5d3385a0
JB
18106 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18107 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18108 auto-marking.
18109
8497a297
DV
181102011-05-13 Didier Verna <didier@xemacs.org>
18111
18112 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18113 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18114 TODO entries.
8497a297
DV
18115 (lisp-lambda-list-keyword-parameter-indentation)
18116 (lisp-lambda-list-keyword-parameter-alignment)
18117 (lisp-lambda-list-keyword-alignment): New customizable user options.
18118 (lisp-indent-defun-method): Improve docstring.
18119 (extended-loop-p): Fix comment.
18120 (lisp-indent-lambda-list-keywords-regexp): New variable.
18121 (lisp-indent-lambda-list): New function.
18122 (lisp-indent-259): Use it.
18123 (lisp-indent-defmethod): Support for more than one
18124 method qualifier and properly indent methods lambda-lists.
18125 (defgeneric): Provide a missing common-lisp-indent-function property.
18126
f278f87f
SM
181272011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18128
18129 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18130 bounds for the empty string (bug#8667).
18131
5233edd7
GM
181322011-05-13 Glenn Morris <rgm@gnu.org>
18133
5237a44f
GM
18134 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18135
8340026c 18136 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18137 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18138
5233edd7 18139 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18140 (appt-time-msg-list): Doc fix.
a5464014 18141 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18142
92d10796
AS
181432011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18144
18145 * progmodes/ld-script.el (ld-script-keywords)
18146 (ld-script-builtins): Update keywords list.
18147
914a0ae1
SM
181482011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18149
c89be45f
SM
18150 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18151
914a0ae1
SM
18152 * shell.el (shell-completion-vars): New function.
18153 (shell-mode):
18154 * simple.el (read-shell-command): Use it.
18155 (blink-matching-open): No need for " [...]" in minibuffer-message.
18156
98dc3df3
GM
181572011-05-12 Glenn Morris <rgm@gnu.org>
18158
18159 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18160 (appt-check): Simplify.
18161
d2fc7e3d 181622011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18163
4d61f28d 18164 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18165 literal "/dev/null".
18166
d2fc7e3d 181672011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18168
18169 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18170 Fix typo.
18171
d2fc7e3d 181722011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18173
3f254caa
SM
18174 * progmodes/which-func.el (which-function):
18175 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18176 which might not be defined (Bug#8260).
18177
d45885f7
GM
181782011-05-12 Glenn Morris <rgm@gnu.org>
18179
18180 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18181 Let byte-compile-initial-macro-environment always take precedence.
18182
488086f4
SM
181832011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18184
18185 * net/rcirc.el: Add support for SSL/TLS connections.
18186 (rcirc-server-alist): New field `encryption'.
18187 (rcirc): Check `encryption' settings.
18188 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18189 Merge make-local-variable into `set'.
18190 (rcirc--connection-open-p): New function.
18191 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18192 the process is not a network process (e.g. running gnutls-cli).
18193 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18194 Make rcirc-(en|de)code-coding-system local here.
18195 (rcirc-mode): Merge make-local-variable into `set'.
18196 (rcirc-parent-buffer): Make permanent buffer-local.
18197 (rcirc-multiline-minor-mode): Don't do it here.
18198 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18199 there's no server buffer.
18200
7d3b9d44
GM
182012011-05-11 Glenn Morris <rgm@gnu.org>
18202
f64049c6
GM
18203 * newcomment.el (comment-kill): Prefix "unused" local.
18204
93c9df73
GM
18205 * term/w32console.el (get-screen-color): Declare.
18206
7d3b9d44
GM
18207 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18208 Handle symbol elements of byte-compile-initial-macro-environment.
18209
9e2dd53f
LL
182102011-05-10 Leo Liu <sdl.web@gmail.com>
18211
488086f4
SM
18212 * bookmark.el (bookmark-bmenu-mode-map):
18213 Bind bookmark-bmenu-search to `/'.
8b340240 18214
9e2dd53f 18215 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18216 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18217 (Footnote-unicode): New function.
18218 (footnote-style-alist): Add unicode style to the list.
18219 (footnote-style): Doc fix.
9e2dd53f 18220
79b70037
GM
182212011-05-10 Jim Meyering <meyering@redhat.com>
18222
18223 Fix doubled-word typos.
18224 * international/quail.el (quail-insert-kbd-layout): and and -> and
18225 * kermit.el: and and -> and
18226 * net/ldap.el (ldap-search-internal): to to -> to
18227 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18228 * progmodes/js.el (js-mode): and and -> and
18229 * textmodes/artist.el (artist-move-to-xy): at at -> at
18230 (artist-draw-region-trim-line-endings): if if -> if
18231 And Safetyc -> Safety.
18232 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18233
b8f82dc1 182342011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18235 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18236
18237 * files.el (hack-one-local-variable-eval-safep):
18238 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18239
4f99f44b
GM
182402011-05-10 Glenn Morris <rgm@gnu.org>
18241
18242 * calendar/diary-lib.el (diary-list-entries-hook)
18243 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18244 (diary-nongregorian-marking-hook, diary-list-entries)
18245 (diary-include-other-diary-files, diary-mark-entries)
18246 (diary-mark-included-diary-files): Doc fixes.
18247
84f29e6b
JB
182482011-05-09 Juanma Barranquero <lekktu@gmail.com>
18249
18250 * misc.el: Require tabulated-list.el during compilation.
18251
9bedd73a
CY
182522011-05-09 Chong Yidong <cyd@stupidchicken.com>
18253
488086f4
SM
18254 * progmodes/compile.el (compilation-start):
18255 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18256 (compilation-filter-hook): Doc fix.
18257
797c735c
DD
182582011-05-09 Deniz Dogan <deniz@dogan.se>
18259
18260 * wdired.el: Remove outdated installation comment. Fix usage
18261 comment.
18262
5f4b1dfe
JB
182632011-05-09 Juanma Barranquero <lekktu@gmail.com>
18264
18265 * misc.el: Implement new command `list-dynamic-libraries'.
18266 (list-dynamic-libraries--loaded-only-p): New variable.
18267 (list-dynamic-libraries--refresh): New function.
18268 (list-dynamic-libraries): New command.
18269
4c44026c
CY
182702011-05-09 Chong Yidong <cyd@stupidchicken.com>
18271
488086f4
SM
18272 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18273 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18274 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18275 higher priority to avoid clobbering by gnu.
18276
027f966d
CY
182772011-05-08 Chong Yidong <cyd@stupidchicken.com>
18278
18279 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18280 if the face has existing theme settings (Bug#8454).
18281
085f5d7d
CY
182822011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18283
488086f4
SM
18284 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18285 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18286
2a86a00c
RS
18287 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18288 special file names `.' and `..' (Bug#8259).
18289
d9c54a06
CY
182902011-05-08 Chong Yidong <cyd@stupidchicken.com>
18291
488086f4
SM
18292 * progmodes/grep.el (grep-mode-font-lock-keywords):
18293 Remove buffer-changing entries.
d9c54a06
CY
18294 (grep-filter): New function.
18295 (grep-mode): Add it to compilation-filter-hook.
18296
18297 * progmodes/compile.el (compilation-filter-hook)
18298 (compilation-filter-start): New defvars.
18299 (compilation-filter): Call compilation-filter-hook prior to
18300 updating the process mark.
18301
c4662635
SM
183022011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18303
18304 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18305
b0512a1d
EZ
183062011-05-07 Eli Zaretskii <eliz@gnu.org>
18307
605c9376
EZ
18308 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18309 mailclient-send-it even if window-system is nil. (Bug#8595)
18310
c4662635
SM
18311 * term/w32console.el (terminal-init-w32console):
18312 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18313 background-mode. (Bug#8597)
18314
d1dc2cc2
SM
183152011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18316
18317 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18318 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18319 New functions.
18320 (defgeneric, eieio--defmethod): Use them.
18321 (eieio-defgeneric): Remove.
18322 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18323
915d1300
GM
183242011-05-07 Glenn Morris <rgm@gnu.org>
18325
a3961c3e
GM
18326 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18327 Use let rather than let*.
18328 (timeclock-find-discrep): Remove unused local.
18329
314347b9
GM
18330 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18331
915d1300
GM
18332 * calendar/appt.el (appt-time-msg-list): Doc fix.
18333
275b59b0
NF
183342011-05-06 Noah Friedman <friedman@splode.com>
18335
18336 * apropos.el (apropos-print-doc): Only use
18337 emacs-lisp-docstring-fill-column when it is bound to an integer,
18338 per that variable's documentation.
18339
6c19f744
SM
183402011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18341
18342 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18343 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18344
60f884b2
GM
183452011-05-06 Glenn Morris <rgm@gnu.org>
18346
5006e634
GM
18347 * calendar/appt.el (appt-message-warning-time): Doc fix.
18348 (appt-warning-time-regexp): New option.
18349 (appt-make-list): Respect appt-message-warning-time.
18350
548d0a63
GM
18351 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18352 New options.
18353 (diary-add-to-list): Strip comments from the displayed string.
18354 (diary-mode): Set comment-start and comment-end.
18355
60f884b2
GM
18356 * vc/diff-mode.el (smerge-refine-subst): Declare.
18357 (diff-refine-hunk): Don't require smerge-mode when compiling.
18358
989681bb
JB
183592011-05-06 Juanma Barranquero <lekktu@gmail.com>
18360
18361 * simple.el (list-processes): Return nil as the docstring says.
18362
a6bc05e1
MA
183632011-05-05 Michael Albinus <michael.albinus@gmx.de>
18364
18365 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18366 to "".
18367 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18368 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18369 determining of binary transfer. (Bug#7383)
18370
23c22e9a
MA
183712011-05-05 Michael Albinus <michael.albinus@gmx.de>
18372
c4662635
SM
18373 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18374 Fix port computation bug. (Bug#8618)
23c22e9a 18375
0bff894f
GM
183762011-05-05 Glenn Morris <rgm@gnu.org>
18377
b8296902
GM
18378 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18379
1f522ce8
GM
18380 * simple.el (shell-dynamic-complete-functions)
18381 (comint-dynamic-complete-functions): Declare.
18382
cf5bee67
GM
18383 * net/network-stream.el (gnutls-negotiate):
18384 * simple.el (tabulated-list-print): Fix declarations.
18385
18386 * progmodes/gud.el (syntax-symbol, syntax-point):
18387 Remove unnecessary and incorrect declarations.
18388
0bff894f 18389 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18390 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18391
9869b3ae
SM
183922011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18393
18394 Fix earlier half-done eieio-defmethod change (bug#8338).
18395 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18396 Streamline and change calling convention.
18397 (defmethod): Adjust accordingly and simplify.
18398 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18399 new eieio--defmethod.
18400 (slot-boundp): Minor CSE simplification.
18401
9c1d5ac5
MZ
184022011-05-05 Milan Zamazal <pdm@zamazal.org>
18403
18404 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18405 (glasses-make-readable): Use glasses-separate-capital-groups.
18406
455c834e
JB
184072011-05-05 Juanma Barranquero <lekktu@gmail.com>
18408
18409 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18410 (warning-series): Doc fix.
18411 (display-warning): Don't try to create the buffer if we just found it.
18412
9ed7c8cb
CY
184132011-05-04 Chong Yidong <cyd@stupidchicken.com>
18414
18415 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18416 (autoload-find-generated-file): New function.
18417 (generate-file-autoloads): Bind generated-autoload-file to
18418 buffer-file-name.
9869b3ae
SM
18419 (update-file-autoloads, update-directory-autoloads):
18420 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18421 output file (Bug#7989).
18422 (batch-update-autoloads): Doc fix.
18423
0898ca10
JB
184242011-05-04 Juanma Barranquero <lekktu@gmail.com>
18425
18426 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18427
31dfb76c
GM
184282011-05-04 Glenn Morris <rgm@gnu.org>
18429
f330b642
GM
18430 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18431 function, so it follows changes in calendar-date-style.
18432 (diary-fancy-date-matcher): New function.
18433 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18434 (diary-fancy-font-lock-fontify-region-function):
18435 Use diary-fancy-date-pattern as a function.
18436
31dfb76c
GM
18437 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18438 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18439
48e79d6a
TZ
184402011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18441
18442 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18443 instead of positional arguments. Allow :keylist and :crlfiles
18444 arguments.
18445 (open-gnutls-stream): Call it.
18446
18447 * net/network-stream.el (network-stream-open-starttls): Adjust to
18448 call `gnutls-negotiate' with :process and :hostname arguments.
18449
dd5a5ee0
SM
184502011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18451
ef80fc09
SM
18452 * minibuffer.el (completion--message): New function.
18453 (completion--do-completion, minibuffer-complete)
18454 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18455 (completion--do-completion): Don't ignore completion-auto-help when in
18456 icomplete-mode.
18457
dd5a5ee0
SM
18458 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18459 internal encoding (e.g. tibetan zero is not whitespace).
18460 (global-whitespace-mode): Prefer save-current-buffer.
18461 (whitespace-trailing-regexp): Remove useless save-match-data.
18462 (whitespace-empty-at-bob-regexp): Minor simplification.
18463
b7d22a83
CY
184642011-05-03 Chong Yidong <cyd@stupidchicken.com>
18465
18466 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18467
5192af46
AM
184682011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18469
18470 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18471 Use `concat' to create string for insertion.
5192af46 18472
5767d190
SM
184732011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18474
18475 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18476 Avoid open-line which runs post-self-insert-hook.
18477 (bibtex-fill-entry): Remove unused `end' var.
18478
bf242939
AM
184792011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18480
5767d190
SM
18481 * textmodes/ispell.el (ispell-add-per-file-word-list):
18482 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18483
25666126
LL
184842011-05-03 Leo Liu <sdl.web@gmail.com>
18485
18486 * isearch.el (isearch-yank-pop): New command.
5767d190 18487 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18488 (isearch-forward): Mention it.
18489
52d3c2d0
SM
184902011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18491
1bcace58
SM
18492 * simple.el (minibuffer-complete-shell-command): Remove.
18493 (minibuffer-local-shell-command-map): Use completion-at-point.
18494 (read-shell-command): Setup completion vars here instead.
18495 (read-expression-map): Bind TAB to symbol completion.
18496
52d3c2d0
SM
18497 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18498 error directly rather via storing it into `results'.
18499
35813471
LL
185002011-05-02 Leo Liu <sdl.web@gmail.com>
18501
18502 * vc/diff.el: Fix description.
18503
e793a940
LMI
185042011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18505
18506 * server.el (server-eval-at): New function.
18507
8de66e05
LMI
185082011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18509
18510 * net/network-stream.el (open-network-stream): Take a :nowait
18511 parameter and pass it on to `make-network-process'.
18512 (network-stream-open-plain): Ditto.
18513
dcb79f20
AS
185142011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18515
18516 * faces.el (face-spec-set-match-display): Don't match toolkit
18517 options on terminal frames.
18518
14a7fbd8
SM
185192011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18520
7eabc1be
SM
18521 * progmodes/pascal.el: Use lexical binding.
18522 (pascal-mode-map): Remove author preferences.
18523
14a7fbd8
SM
18524 * pcomplete.el (pcomplete-std-complete): Don't abuse
18525 completion-at-point.
18526
50f84510
JB
185272011-04-28 Juanma Barranquero <lekktu@gmail.com>
18528
6e087a44
JB
18529 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18530 removing code that has been dead since 1991 or so.
18531
50f84510
JB
18532 * startup.el (command-line): When warning about "_emacs", use a
18533 delayed warning to allow the user to filter it out.
18534
0ba690bd
DD
185352011-04-28 Deniz Dogan <deniz@dogan.se>
18536
18537 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18538 user has not joined.
18539
08abfaad
SM
185402011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18541
18542 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18543 aren't any completions at point.
18544
638f053a
JB
185452011-04-28 Juanma Barranquero <lekktu@gmail.com>
18546
18547 * subr.el (display-delayed-warnings): New function.
18548 (delayed-warnings-hook): New variable.
18549
8fff8daa
SM
185502011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18551
08abfaad
SM
18552 * minibuffer.el (completion-at-point, completion-help-at-point):
18553 Don't presume that a given completion-at-point-function will always
18554 use the same calling convention.
18555
8fff8daa
SM
18556 * pcomplete.el (pcomplete-completions-at-point):
18557 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18558 pcomplete-seen is non-nil.
18559 (pcomplete-comint-setup): Also recognize the new comint/shell
18560 completion functions.
18561 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18562 pcomplete-seen is non-nil.
18563
841a1577 185642011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18565
841a1577 18566 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18567 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18568 the first character in the entry. This allows for code to add its
211ec907
UJ
18569 own uid to the entry.
18570 (icalendar--convert-float-to-ical): Add export of
18571 `diary-float'-entries save for those with the optional DAY
18572 argument.
18573
2a782793
DC
185742011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18575
18576 * subr.el (shell-quote-argument): Use alternate escaping strategy
18577 when we spot a variable reference in a string.
18578
0438ce91
DC
185792011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18580
18581 * cus-start.el (all): Define customization for debug-on-event.
18582
841a1577 185832011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18584
18585 * subr.el (shell-quote-argument): Escape correctly under Windows.
18586
d090ed6c
SM
185872011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18588
18589 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18590
bfd31217
MA
185912011-04-25 Michael Albinus <michael.albinus@gmx.de>
18592
d090ed6c
SM
18593 * net/tramp.el (tramp-process-actions): Add POS argument.
18594 Delete region between POS and (pos).
bfd31217 18595
d090ed6c
SM
18596 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18597 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18598 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18599
18600 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18601 position in `tramp-process-actions' call.
18602
18603 * net/trampver.el: Update release number.
18604
e92f3bd3
SM
186052011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18606
850256b5
SM
18607 * custom.el (defcustom): Obey lexical-binding.
18608
e92f3bd3
SM
18609 Fix octave-inf completion problems reported by Alexander Klimov.
18610 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18611 Inherit from octave-mode-syntax-table.
18612 (inferior-octave-mode): Set info-lookup-mode.
18613 (inferior-octave-completion-at-point): New function.
18614 (inferior-octave-complete): Use it and completion-in-region.
18615 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18616 comint-filename-completion.
18617 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18618 symbol elements which shouldn't be word elements.
18619 (octave-font-lock-keywords, octave-beginning-of-defun)
18620 (octave-function-header-regexp): Adjust regexps accordingly.
18621 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18622
cd22b309
JB
186232011-04-25 Juanma Barranquero <lekktu@gmail.com>
18624
18625 * net/gnutls.el (gnutls-errorp): Declare before first use.
18626
8b492194
TZ
186272011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18628
18629 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18630 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18631 default trustfile exists before going to use it. Add missing
5a5fa834 18632 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18633 Reported by Claudio Bley <claudio.bley@gmail.com>.
18634 (open-gnutls-stream): Add usage example.
18635
18636 * net/network-stream.el (network-stream-open-starttls): Give host
18637 parameter to `gnutls-negotiate'.
18638 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18639 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18640
841a1577 186412011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18642
cd22b309
JB
18643 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18644 Use correct match group (bug#8438).
05842630 18645
3ba7869c
CY
186462011-04-24 Chong Yidong <cyd@stupidchicken.com>
18647
512e3ae1
CY
18648 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18649 (package-menu--generate): New arg specifying packages to show.
18650 (package-menu-refresh, package-menu-execute, list-packages):
18651 Callers changed.
18652 (package-show-package-list): New function, replacing deleted
18653 package--list-packages (renamed because it is non-internal).
18654
18655 * finder.el (finder-list-matches): Use package-show-package-list
18656 instead of deleted package--list-packages.
18657
e92f3bd3
SM
18658 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18659 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18660 (vc-annotate-mode-map): Bind it to RET.
18661
7031be6d
UR
186622011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18663
18664 * progmodes/etags.el (next-file): Don't use set-buffer to change
18665 buffers (Bug#8478).
18666
4ef177aa
CY
186672011-04-24 Chong Yidong <cyd@stupidchicken.com>
18668
c8d173eb
CY
18669 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18670
4ef177aa
CY
18671 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18672 (apropos-accumulator): Doc fix.
18673 (apropos-function, apropos-macro, apropos-command)
18674 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18675 (apropos-plist): Add face property.
18676 (apropos-symbols-internal): Fix indentation.
18677 (apropos-print): Simplify help, and recognize apropos-multi-type.
18678 (apropos-print-doc): Use button-type-get to extract the button's
18679 face property. Fill docstring (Bug#8352).
18680
4ffd0d6b 186812011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18682
18683 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18684
c6c32125 18685 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18686 (mpuz-mode-map): Use mapc.
c6c32125
JB
18687 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18688 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18689 Fix typos in docstrings.
18690
58d468b4
JB
18691 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18692 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18693
6470c3c6
JB
18694 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18695
4ffd0d6b 186962011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18697
18698 * minibuffer.el (completion--do-completion): Avoid the "Next char
18699 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18700
3ad8bad0
CY
18701 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18702 mouse-2 into unread-command-events, it is interpreted correctly.
18703
71d73c9c 18704 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18705 (image-toggle-display): Doc fix.
71d73c9c 18706
841a1577 187072011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18708
4ffd0d6b
GM
18709 * textmodes/page.el (what-page): Use line-number-at-pos to
18710 calculate line number (Bug#6825).
6e1dbaa9 18711
c2fb1b60
JB
187122011-04-22 Juanma Barranquero <lekktu@gmail.com>
18713
18714 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18715 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18716 Pass argument NO-DEFAULT to `find-tag-interactive'.
18717
e02f48d7
JB
187182011-04-22 Juanma Barranquero <lekktu@gmail.com>
18719
18720 Lexical-binding cleanup.
18721
18722 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18723 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18724 * progmodes/ada-prj.el (ada-prj-initialize-values)
18725 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18726 (ada-prj-show-value):
18727 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18728 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18729 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18730 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18731 * progmodes/bug-reference.el (bug-reference-push-button):
18732 * progmodes/fortran.el (fortran-line-length):
18733 * progmodes/glasses.el (glasses-change):
18734 * progmodes/octave-mod.el (octave-fill-paragraph):
18735 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18736 (python-pdbtrack-grub-for-buffer, python-sentinel):
18737 * progmodes/sql.el (sql-save-connection):
18738 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18739 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18740 Mark unused parameters.
18741
18742 * progmodes/compile.el (compilation--flush-directory-cache)
18743 (compilation--flush-parse, compile-internal): Mark unused parameters.
18744 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18745 (compilation-next-error-function): Remove unused variable `timestamp'.
18746
18747 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18748 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18749
18750 * progmodes/dcl-mode.el (dcl-end-of-command):
18751 Remove unused variable `start'.
18752 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18753 (dcl-option-value-basic, dcl-option-value-offset)
18754 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18755 Mark unused parameters.
18756 (dcl-save-local-variable): Remove unused variable `val'.
18757 (mode): Declare.
18758
18759 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18760 Mark unused parameters.
18761 (delphi-ignore-changes): Move before first use.
18762 (delphi-charset-token-at): Remove unused variable `start'.
18763 (delphi-else-start): Remove unused variable `if-count'.
18764 (delphi-comment-block-start, delphi-comment-block-end):
18765 Remove unused variable `kind'.
18766 (delphi-indent-line): Remove unused variable `new-point'.
18767
18768 * progmodes/ebrowse.el (ebrowse-files-list)
18769 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18770 Mark unused parameters. Don't quote `lambda'.
18771 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18772 Don't quote `lambda'.
18773 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18774 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18775 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18776 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18777 Use `ignore-errors'.
18778 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18779 (ebrowse-view/find-file-and-search-pattern)
18780 (ebrowse-view/find-member-declaration/definition):
18781 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18782 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18783 Rename parameter PREFIX-ARG to PREFIX.
18784 (ebrowse-tags-read-name): Remove unused variables `start' and
18785 `member-info'.
18786 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18787 to `tags-file'.
18788
18789 * progmodes/etags.el (local-find-tag-hook): Declare.
18790 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18791 Mark unused parameters.
18792
18793 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18794 (executable-interpret): Mark unused parameter.
18795
18796 * progmodes/flymake.el (flymake-process-sentinel)
18797 (flymake-after-change-function)
18798 (flymake-create-temp-with-folder-structure)
18799 (flymake-get-include-dirs-dot): Mark unused parameters.
18800 (flymake-safe-delete-directory): Remove unused variable `err'.
18801
18802 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18803 (speedbar-timer-fn, speedbar-line-text)
18804 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18805 (speedbar-center-buffer-smartly): Declare functions.
18806 (gdb-find-watch-expression): Remove unused variable `array'.
18807 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18808 (gdb-starting): Mark unused parameters.
18809 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18810 (gdb-table-string): Remove unused variable `res'.
18811 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18812 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18813 (gdb-display-buffer): Remove unused variable `cur-size'.
18814
18815 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18816 allow lexical-binding compilation.
18817 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18818 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18819 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18820 Mark unused parameters.
18821 (gud-gdb-marker-filter): Remove unused variable `match'.
18822 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18823 lambda expressions and funcall them, instead of using `fset'.
18824
18825 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18826 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18827
18828 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18829 variable `header-beg'; use `let'.
18830
18831 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18832 `restart', `last-sexp' and `at-do'.
18833
18834 * progmodes/js.el (js--debug): Mark unused parameter.
18835 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18836 (js--splice-into-items): Remove unused variable `item'.
18837 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18838
18839 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18840 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18841 (makefile-complete): Remove unused variable `try'.
18842 (makefile-fill-paragraph, makefile-match-function-end):
18843 Mark unused parameters.
18844
18845 * progmodes/octave-inf.el (inferior-octave-complete):
18846 Remove unused variable `proc'.
18847 (inferior-octave-output-digest): Mark unused parameter.
18848
18849 * progmodes/perl-mode.el (perl-calculate-indent):
18850 Remove unused variable `err'.
18851
18852 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18853 (prolog-indent-line): Mark unused parameters.
18854 (prolog-indent-line): Remove unused variable `beg'.
18855
18856 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18857 (reporter-dont-compact-list): Declare.
18858
18859 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18860 Remove unused variable `char'.
18861 (sh-debug): Mark unused parameter.
18862 (sh-get-indent-info): Remove unused variable `start'.
18863 (sh-calculate-indent): Remove unused variable `var'.
18864
18865 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18866 (simula-electric-keyword): Remove unused variable `null'.
18867 (simula-search-backward, simula-search-forward): Remove unused
18868 variables `begin' and `end'.
18869
18870 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18871 Remove unused variable `pos'.
18872 (vera-electric-tab, vera-comment-uncomment-region):
18873 Mark unused parameters.
18874 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18875
7ede3b65
CY
188762011-04-22 Chong Yidong <cyd@stupidchicken.com>
18877
18878 * emacs-lisp/package.el (package--builtins, package-alist)
18879 (package-load-descriptor, package-built-in-p, package-activate)
18880 (define-package, package-installed-p)
18881 (package-compute-transaction, package-buffer-info)
18882 (package--push): Doc fix. Distinguish more clearly between
18883 version strings and version lists.
18884
121656e9
JB
188852011-04-21 Juanma Barranquero <lekktu@gmail.com>
18886
18887 Lexical-binding cleanup.
18888
18889 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18890 (5x5-make-mutate-best):
18891 * play/fortune.el (fortune-in-buffer):
18892 * play/gomoku.el (gomoku-init-display):
18893 * play/solitaire.el (solitaire, solitaire-do-check):
18894 * play/tetris.el (tetris-default-update-speed-function):
18895 Mark unused parameters.
18896
18897 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18898 (bubbles--shift): Remove unused variable `char-org'.
18899 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18900 (bubbles--show-images): Remove unused variable `char'.
18901
18902 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18903 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18904 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18905 (decipher-analyze-buffer): Use ?\s.
18906 (decipher-make-checkpoint): Remove unused variable `mapping'.
18907
18908 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18909
18910 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18911 Remove unused variable `result'; use `let'.
18912
18913 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18914 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18915 (gametree-children-shown-p, gametree-compute-reduced-score):
18916 Use `ignore-errors'.
18917
18918 * play/handwrite.el (ps-lpr-switches): Declare.
18919 (handwrite): Remove unused variables `pmin' and `lastp'.
18920
18921 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18922
18923 * play/landmark.el (landmark-init-display)
18924 (landmark-update-naught-weights): Mark unused parameters.
18925 (landmark-y): Remove unused variable `noise'. Simplify.
18926 (landmark-human-plays): Remove unused variable `score'.
18927
18928 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18929 (mpuz-try-proposal): Remove unused variable `game'.
18930
18931 * play/zone.el (life-patterns): Declare.
18932
80f499c7
JB
189332011-04-20 Juanma Barranquero <lekktu@gmail.com>
18934
18935 * vc/vc.el (ediff-vc-internal): Declare function.
18936
024ff170
SM
189372011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18938
c0a193ea
SM
18939 * shell.el: Use lexical-binding and std completion UI.
18940 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18941 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18942 comint-preoutput-filter-functions rather than on
18943 comint-output-filter-functions.
18944 (shell-command-completion, shell--command-completion-data)
18945 (shell-filename-completion, shell-environment-variable-completion)
18946 (shell-c-a-p-replace-by-expanded-directory): New functions.
18947 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18948 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18949 (shell-dynamic-complete-environment-variable): Use them.
18950 (shell-dynamic-complete-as-environment-variable)
18951 (shell-dynamic-complete-as-command): Remove.
18952 (shell-match-partial-variable): Match past point.
18953 * comint.el: Clean up use of completion-at-point-functions.
18954 (comint-completion-at-point): New function.
18955 (comint-mode): Use it completion-at-point-functions.
18956 (comint-dynamic-complete): Make it obsolete.
18957 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18958 (comint-c-a-p-replace-by-expanded-history): New function.
18959 (comint-dynamic-complete-functions)
18960 (comint-replace-by-expanded-history): Use it.
18961 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18962 termination strings. Try harder to avoid second try-completion.
18963 (completion-in-region-mode-map): Disable bindings that don't work yet.
18964
2dbaa080
SM
18965 * comint.el: Use lexical-binding. Require CL.
18966 (comint-dynamic-complete-functions): Use comint-filename-completion.
18967 (comint-completion-addsuffix): Tweak custom type.
18968 (comint-filename-completion, comint--common-suffix)
18969 (comint--common-quoted-suffix, comint--table-subvert)
18970 (comint--complete-file-name-data): New functions.
18971 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18972 (comint-dynamic-list-filename-completions): Use them.
18973 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18974
2dbaa080
SM
18975 * minibuffer.el (completion-in-region-mode):
18976 Keep completion-in-region-mode--predicate global.
18977 (completion-in-region--postch):
18978 Assume completion-in-region-mode--predicate is not null.
18979
c79a6f38
SM
18980 * progmodes/flymake.el (flymake-start-syntax-check-process):
18981 Obey `dir'. Simplify.
18982
024ff170
SM
18983 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18984 we're in VC after all.
18985
1c6c854e
CS
189862011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18987
18988 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18989 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18990 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18991
bed7f140
SM
189922011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18993
332e62ab
SM
18994 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18995 add sanity check.
18996
bed7f140
SM
18997 * obsolete/erc-hecomplete.el: Make obsolete.
18998 * obsolete/: Standardize obsolescence info in the header.
18999
f195c582
GM
190002011-04-20 Glenn Morris <rgm@gnu.org>
19001
19002 * calendar/solar.el (solar-horizontal-coordinates):
19003 Use the longitude argument rather than `calendar-longitude'.
19004 (solar-date-next-longitude): Remove unused locals.
19005
cb79b8c0
VJL
190062011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19007
19008 * whitespace.el: New version 13.2.1.
19009
190102011-04-20 felix <EmacsWiki> (tiny change)
19011
d8e4b68b 19012 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19013 switching between major modes on a file.
19014
602ea69d
SM
190152011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19016
19017 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19018 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19019 multi-line comments as well.
19020
06b60517
JB
190212011-04-19 Juanma Barranquero <lekktu@gmail.com>
19022
19023 Lexical-binding cleanup.
19024
19025 * arc-mode.el (archive-mode-revert):
19026 * cmuscheme.el (scheme-interactively-start-process):
19027 * custom.el (custom-initialize-delay):
19028 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19029 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19030 * emacs-lock.el (emacs-lock-clear-sentinel):
19031 * ezimage.el (defezimage):
19032 * follow.el (follow-avoid-tail-recenter):
19033 * fringe.el (set-fringe-mode-1):
19034 * generic-x.el (bat-generic-mode-compile):
19035 * help-mode.el (help-info-variable, help-do-xref)
19036 (help-mode-revert-buffer):
19037 * help.el (view-emacs-todo):
19038 * iswitchb.el (iswitchb-completion-help):
19039 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19040 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19041 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19042 * locate.el (locate-update):
19043 * longlines.el (longlines-encode-region)
19044 (longlines-after-change-function):
19045 * outline.el (outline-isearch-open-invisible):
19046 * ps-def.el (declare-function, charset-dimension, char-width)
19047 (encode-char):
19048 * ps-mule.el (ps-mule-plot-string):
19049 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19050 (recentf-edit-list-select, recentf-edit-list-validate)
19051 (recentf-open-files-action):
19052 * rect.el (delete-whitespace-rectangle-line)
19053 (rectangle-number-line-callback):
19054 * register.el (window-configuration-to-register)
19055 (frame-configuration-to-register):
19056 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19057 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19058 (xselect-convert-to-targets, xselect-convert-to-delete)
19059 (xselect-convert-to-filename, xselect-convert-to-charpos)
19060 (xselect-convert-to-lineno, xselect-convert-to-colno)
19061 (xselect-convert-to-os, xselect-convert-to-host)
19062 (xselect-convert-to-user, xselect-convert-to-class)
19063 (xselect-convert-to-name, xselect-convert-to-integer)
19064 (xselect-convert-to-atom, xselect-convert-to-identity):
19065 * subr.el (declare, ignore, process-kill-without-query)
19066 (text-clone-maintain):
19067 * terminal.el (te-get-char, te-tic-sentinel):
19068 * tool-bar.el (tool-bar-make-keymap):
19069 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19070 * type-break.el (type-break-mode, type-break-noninteractive-query):
19071 * view.el (View-back-to-mark):
19072 * wid-browse.el (widget-browse-action, widget-browse-widget)
19073 (widget-browse-widgets, widget-browse-sexp):
19074 * widget.el (define-widget-keywords):
19075 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19076 Mark unused parameters.
19077
19078 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19079 (align-areas): Remove unused variable `look'.
19080 (align-region): Remove unused variables `real-end' and `pos-list'.
19081
19082 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19083
19084 * bindings.el (mode-line-modified, mode-line-remote):
19085 Mark unused parameters.
19086 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19087
19088 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19089 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19090
19091 * comint.el (comint-history-isearch-pop-state)
19092 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19093 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19094 (comint-substitute-in-file-name): Doc fix.
19095
19096 * completion.el (cmpl-statistics-block): Mark unused parameter.
19097 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19098 (save-completions-to-file, load-completions-from-file):
19099 Remove unused local variable `e'.
19100
19101 * composite.el (compose-chars): Remove unused variable `len'.
19102 (lgstring-insert-glyph): Remove unused variable `g'.
19103 (compose-glyph-string): Remove unused variables `ascent',
19104 `descent', `lbearing' and `rbearing'.
19105 (compose-glyph-string-relative): Remove unused variables
19106 `lbearing', `rbearing' and `wadjust'.
19107 (compose-gstring-for-graphic): Remove unused variables `header',
19108 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19109 (compose-gstring-for-terminal): Remove unused variables `header'
19110 and `nchars'. Use `let', not `let*'.
19111
19112 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19113 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19114 (Custom-buffer-done, custom-buffer-create-internal)
19115 (custom-browse-visibility-action, custom-browse-group-tag-action)
19116 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19117 (widget-magic-mouse-down-action, custom-toggle-parent)
19118 (custom-add-parent-links, custom-toggle-hide-variable)
19119 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19120 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19121 (custom-face-menu-create, custom-variable-menu-create, get)
19122 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19123 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19124 (customize-apropos): Remove unused variable `tests'.
19125 (custom-group-value-create): Remove unused variable `hidden-p'.
19126 (sort-fold-case): Declare.
19127
19128 * cus-theme.el (custom-reset-standard-faces-list)
19129 (custom-reset-standard-variables-list): Declare.
19130 (customize-create-theme, custom-theme-revert, custom-theme-write)
19131 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19132 Mark unused parameters.
19133
19134 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19135
19136 * delim-col.el (delimit-columns-max): Move defvar before first use.
19137
19138 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19139 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19140
19141 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19142 (auto-insert): Declare.
19143 (desktop-restore-file-buffer): Rename desktop-* parameters;
19144 mark unused ones.
19145 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19146 (desktop-buffer): Rename desktop-* parameters.
19147
19148 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19149 (dframe-reposition-frame-xemacs, dframe-help-echo)
19150 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19151 Mark unused parameters.
19152
19153 * dired-aux.el (backup-extract-version-start, overwrite-query)
19154 (overwrite-backup-query, rename-regexp-query)
19155 (rename-non-directory-query): Declare.
19156 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19157 (dired-add-entry): Remove unused variable `orig-file-name'.
19158 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19159 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19160 `dired-copy-preserve-time' directly.
19161 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19162 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19163
19164 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19165 (dired-virtual-revert, dired-make-relative-symlink):
19166 Mark unused parameters.
19167 (manual-program): Declare.
19168 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19169 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19170 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19171
19172 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19173
19174 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19175
19176 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19177 Declare.
19178
19179 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19180
19181 * electric.el (Electric-command-loop): Rename parameter
19182 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19183
19184 * expand.el (expand-in-literal): Remove unused variable `here'.
19185
19186 * facemenu.el (facemenu-add-new-color):
19187 Remove unused variable `docstring'.
19188
19189 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19190 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19191 (face-attr-construct): Mark unused parameter. Doc fix.
19192 (read-color): Remove unused variable `hex-string'.
19193
19194 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19195 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19196 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19197 (display-buffer-other-frame): Remove unused variable `old-window'.
19198 (kill-buffer-hook): Declare.
19199 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19200 Mark unused parameters.
19201 (after-find-file): Pass 1 to `auto-save-mode', not t.
19202
19203 * files-x.el (auto-insert): Declare.
19204 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19205
19206 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19207 variable `buf'. Mark unused parameter.
06b60517
JB
19208 (find-lisp-insert-directory): Mark unused parameter.
19209
19210 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19211 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19212 (format-common-tail): Remove, unused.
19213 (format-deannotate-region): Remove unused variable `loc'.
19214 (format-annotate-region): Remove unused variable `p'.
19215 (format-annotate-single-property-change): Remove unused variables
19216 `default' and `tail'.
19217
19218 * forms.el (read-file-filter): Declare.
19219 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19220
19221 * frame.el (frame-creation-function-alist): Mark unused parameter.
19222 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19223
19224 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19225 Remove unused parameters.
19226 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19227 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19228
19229 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19230 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19231 (hfy-prepare-tag-map): Mark unused parameters.
19232 (htmlfontify-buffer): Use `called-interactively-p'.
19233
19234 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19235 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19236 (ibuffer-do-occur): Mark unused parameters.
19237 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19238 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19239
19240 * ibuffer.el: Don't quote `lambda'.
19241 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19242 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19243 Mark unused parameters.
19244
19245 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19246 (ido-completing-read): Mark unused parameters.
19247 (ido-copy-current-word): Mark unused parameters;
19248 remove unused variable `name'.
19249 (ido-sort-merged-list): Remove unused parameter `dirs'.
19250
19251 * ielm.el (ielm-input-sender): Mark unused parameter.
19252 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19253 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19254 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19255 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19256 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19257
19258 * image-dired.el (image-dired-display-thumbs): Remove unused
19259 variables `curr-file' and `count'.
19260 (image-dired-remove-tag): Remove unused variable `start'.
19261 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19262 variable `curr-file'
19263 (image-dired-rotate-original): Remove unused variable `temp-file'.
19264 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19265 Remove unused variable `file'.
19266 (image-dired-gallery-generate): Remove unused variable `curr'.
19267 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19268
19269 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19270
19271 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19272
19273 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19274
19275 * isearch.el (minibuffer-history-symbol): Declare.
19276 (isearch-edit-string): Remove unused variable `err'.
19277 (isearch-message-prefix, isearch-message-suffix):
19278 Mark unused parameters.
19279
19280 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19281
19282 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19283
19284 * makesum.el (double-column): Remove unused variable `cnt'.
19285
19286 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19287 (ido-ignore-item-temp-list): Declare.
19288
19289 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19290 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19291 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19292 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19293 `mouse-col-delta'.
19294
19295 * mouse-sel.el (mouse-extend-internal):
19296 Remove unused variable `orig-window-frame'.
19297
19298 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19299 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19300 Move declarations before first use.
19301 (pcomplete-opt): Mark unused parameters; doc fix.
19302
19303 * proced.el (proced-revert): Mark unused parameter.
19304 (proced-send-signal): Remove unused variable `err'.
19305
19306 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19307 Rename parameter PREFIX-ARG to ARG.
19308 (ps-basic-plot-string, ps-basic-plot-whitespace):
19309 Mark unused parameters.
19310
19311 * replace.el (replace-count): Define.
19312 (occur-revert-function): Mark unused parameters.
19313 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19314 (isearch-case-fold-search, isearch-string): Declare.
19315 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19316 bind `case-fold-search'. Remove unused variables `beg' and `end',
19317 and simplify.
19318 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19319 COUNT and bind `replace-count'.
19320 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19321 to COUNT.
19322
19323 * savehist.el (print-readably, print-string-length): Declare.
19324
19325 * shadowfile.el (shadow-expand-cluster-in-file-name):
19326 Remove unused variable `cluster'.
19327 (shadow-copy-file): Remove unused variable `i'.
19328 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19329 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19330 (shadow-define-literal-group, shadow-define-regexp-group)
19331 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19332
19333 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19334 (shell): Use `called-interactively-p'.
19335 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19336
19337 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19338 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19339 (delete-backward-char): Remove unused variable `ocol'.
19340 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19341 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19342 (event-apply-hyper-modifier, event-apply-shift-modifier)
19343 (event-apply-control-modifier, event-apply-meta-modifier):
19344 Mark unused parameters.
19345 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19346 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19347
19348 * speedbar.el (speedbar-ignored-directory-expressions)
19349 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19350 (speedbar-find-file, speedbar-dir-follow)
19351 (speedbar-directory-buttons-follow, speedbar-tag-find)
19352 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19353 (speedbar-buffers-line-directory, speedbar-buffer-click):
19354 Mark unused parameters.
19355 (speedbar-tag-file): Remove unused variable `mode'.
19356 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19357
19358 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19359
19360 * talk.el (talk): Remove unused variable `display'.
19361
19362 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19363 (tar-write-region-annotate): Mark unused parameter.
19364
19365 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19366 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19367 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19368 warning by another.
19369
19370 * time-stamp.el (time-stamp-string-preprocess):
19371 Remove unused variable `require-padding'.
19372
19373 * tree-widget.el (widget-glyph-enable): Declare.
19374 (tree-widget-action): Mark unused parameter.
19375
19376 * w32-fns.el (x-get-selection): Mark unused parameter.
19377 (autoload-make-program, generated-autoload-file): Declare.
19378
19379 * wdired.el (wdired-revert): Mark unused parameters.
19380 (wdired-xcase-word): Remove unused variable `err'.
19381
19382 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19383 (whitespace-help-scroll): Remove unused variable `data-help'.
19384
19385 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19386 (widget-image-insert, widget-after-change, default)
19387 (widget-default-format-handler, widget-default-notify)
19388 (widget-default-prompt-value, widget-info-link-action)
19389 (widget-url-link-action, widget-function-link-action)
19390 (widget-variable-link-action, widget-file-link-action)
19391 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19392 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19393 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19394 (widget-insert-button-action, widget-delete-button-action, visibility)
19395 (widget-documentation-link-action, widget-documentation-string-action)
19396 (widget-const-prompt-value, widget-regexp-match, symbol)
19397 (widget-coding-system-prompt-value)
19398 (widget-key-sequence-value-to-external, sexp)
19399 (widget-sexp-value-to-internal, character, vector, cons)
19400 (widget-choice-prompt-value, widget-boolean-prompt-value)
19401 (widget-color--choose-action): Mark unused parameters.
19402 (widget-item-match-inline, widget-choice-match-inline)
19403 (widget-checklist-match, widget-checklist-match-inline)
19404 (widget-group-match): Rename parameter VALUES to VALS.
19405 (widget-field-value-set): Remove unused variable `size'.
19406 (widget-color-action): Remove unused variables `value' and `start'.
19407
19408 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19409 variable `dir'. Doc fix.
06b60517
JB
19410 (windmove-find-other-window): Don't pass it.
19411
19412 * window.el (count-windows): Mark unused parameter.
19413 (bw-adjust-window): Remove unused variable `err'.
19414
19415 * woman.el (woman-file-name): Remove unused variable `default'.
19416 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19417 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19418 (global-font-lock-mode): Declare.
19419 (woman-decode-region): Mark unused parameter.
19420 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19421
19422 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19423 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19424 (x-dnd-handle-moz-url): Remove unused variable `title'.
19425 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19426
19427 * xml.el (xml-parse-tag, xml-parse-attlist):
19428 Remove unused variable `pos'.
19429
bc4f7f3d
GM
194302011-04-19 Glenn Morris <rgm@gnu.org>
19431
19432 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19433 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19434 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19435 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19436 * calendar/cal-html.el (cal-html-insert-minical):
19437 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19438 (calendar-mark-date-pattern):
19439 Prefix "unused" locals.
19440
19441 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19442 optional argument `style'.
19443
19444 * calendar/appt.el (appt-make-list):
19445 * calendar/cal-china.el (calendar-chinese-date-string):
19446 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19447 (diary-hebrew-yahrzeit):
19448 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19449 * calendar/calendar.el (calendar-generate-window):
19450 * calendar/time-date.el (time-to-days):
19451 Remove unused local variables.
19452
16a43933
CY
194532011-04-18 Chong Yidong <cyd@stupidchicken.com>
19454
19455 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19456 glyphless-char-display table.
19457 (tabulated-list-glyphless-char-display): New var.
19458
7eed1860
SS
194592011-04-18 Sam Steingold <sds@gnu.org>
19460
19461 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19462 to acknowledgments.
19463
4d2d1ccd
GM
194642011-04-17 Glenn Morris <rgm@gnu.org>
19465
19466 * calendar/diary-lib.el (diary-sexp-entry):
19467 * calendar/holidays.el (holiday-sexp):
19468 Set debug-on-error rather than the removed stack-trace-on-error.
19469
239da61d
GM
194702011-04-16 Glenn Morris <rgm@gnu.org>
19471
19472 * progmodes/f90.el: Use lexical-binding.
19473 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19474
8b05752a
SM
194752011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19476
daca8ba5
SM
19477 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19478 (mail-mode): Setup mailalias completion here instead.
19479 * mail/mailalias.el: Use lexical-binding.
19480 (pattern, mailalias-done): Declare dynamic.
19481 (mail-completion-at-point-function): New function, from mail-complete.
19482 (mail-complete): Use it.
19483 (mail-completion-expand): New function.
19484 (mail-get-names): Use it.
19485 (mail-directory, mail-directory-process, mail-directory-stream):
19486 Don't use `pattern' for lexically bound arg.
19487
6f542485
SM
19488 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19489
037e7c3f
SM
19490 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19491 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19492 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19493
8b05752a
SM
19494 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19495 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19496 (byte-interactive-p): Define them again, for use when inlining
19497 old code.
19498
49093f60
JB
194992011-04-15 Juanma Barranquero <lekktu@gmail.com>
19500
19501 * loadup.el: Use `string-to-number', not `string-to-int'.
19502
b5b8e7de
SM
195032011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19504
19505 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19506 gud-gdb-complete-command.
19507 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19508 (gud-gdb-completion-at-point): New function.
19509 (gud-gdb-completions): Remove.
19510
f42efeb5
MA
195112011-04-14 Michael Albinus <michael.albinus@gmx.de>
19512
49093f60
JB
19513 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19514 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19515 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19516 whether `executable-find' is bound.
f42efeb5
MA
19517
19518 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19519
e240cc21
SM
195202011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19521
19522 * minibuffer.el (completion-in-region-mode-predicate)
19523 (completion-in-region-mode--predicate): New vars.
19524 (completion-in-region, completion-in-region--postch)
19525 (completion-in-region-mode): Use them.
19526 (completion--capf-wrapper): Also return the hook function.
19527 (completion-at-point, completion-help-at-point):
19528 Adjust and provide a predicate.
c2bd2ab0
SM
19529
19530 Preserve arg names for advice of subr and lexical functions (bug#8457).
19531 * help-fns.el (help-function-arglist): Consolidate the subr and
19532 new-byte-code cases. Add argument `preserve-names' to extract names
19533 from the docstring when needed.
19534 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19535 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19536 (ad-arglist): Use help-function-arglist's new arg.
19537 (ad-definition-type): Use cond.
19538
c183f693
JB
195392011-04-13 Juanma Barranquero <lekktu@gmail.com>
19540
06641a47
JB
19541 * autorevert.el (auto-revert-handler):
19542 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19543 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19544 Don't quote lambda.
19545
c183f693
JB
19546 * image-mode.el (image-transform-set-scale):
19547 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19548
1e3b6001
G
195492011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19550
19551 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19552 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19553 Upgrades via gnutls-cli are too slow to be done opportunistically.
19554
2d6af8dd
JB
195552011-04-12 Juanma Barranquero <lekktu@gmail.com>
19556
19557 * dframe.el (dframe-current-frame): Remove spurious quote.
19558
c0749a51
GM
195592011-04-12 Glenn Morris <rgm@gnu.org>
19560
088d0d61
GM
19561 * calendar/cal-tex.el (cal-tex-end-document):
19562 Try to automatically use latin1 input if needed.
19563
c0749a51
GM
19564 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19565 Don't try to cons a mark onto an empty element.
19566
5c90fde0
LL
195672011-04-11 Leo Liu <sdl.web@gmail.com>
19568
19569 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19570 buffers.
19571 (ido-kill-buffer-at-head): Support killing virtual buffers.
19572
369e974d
CY
195732011-04-10 Chong Yidong <cyd@stupidchicken.com>
19574
19575 * minibuffer.el (completion-show-inline-help): New var.
19576 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19577 (minibuffer-force-complete, minibuffer-complete-word):
19578 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19579
19580 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19581 to avoid interference from inline help (Bug#5849).
19582
37f1c930
LL
195832011-04-10 Leo Liu <sdl.web@gmail.com>
19584
099c39a4
JB
19585 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19586 Fix typo.
37f1c930 19587
a32d4040
CY
195882011-04-09 Chong Yidong <cyd@stupidchicken.com>
19589
19590 * image-mode.el (image-toggle-display-image): Signal an error if
19591 not in Image mode.
19592 (image-transform-mode, image-transform-resize)
19593 (image-transform-set-rotation): Doc fix.
daca8ba5 19594 (image-transform-set-resize): Delete.
a32d4040
CY
19595 (image-transform-set-scale, image-transform-fit-to-height)
19596 (image-transform-fit-to-width): Handle image-toggle-display-image
19597 and image-transform-resize directly.
19598
099c39a4 195992011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19600
19601 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19602 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19603 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19604 (doc-view-mode-map): Add bindings for the new functions.
19605
099c39a4 196062011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19607
4d61f28d 19608 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19609 Fix typo in docstring.
19610
3726838a
EZ
196112011-04-08 Eli Zaretskii <eliz@gnu.org>
19612
04f33f1e
EZ
19613 * files.el (file-size-human-readable): Produce one digit after
19614 decimal, like "ls -lh" does.
19615
19616 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19617 the file size representation.
19618
3726838a
EZ
19619 * simple.el (list-processes): If async subprocesses are not
19620 available, error out with a clear error message.
19621
cbb59342
CY
196222011-04-08 Chong Yidong <cyd@stupidchicken.com>
19623
19624 * help.el (help-form-show): New function, to be called from C.
19625 Put help-form output in a buffer named differently than *Help*.
19626
e3971c44
EZ
196272011-04-08 Eli Zaretskii <eliz@gnu.org>
19628
19629 * files.el (file-size-human-readable): New function.
19630
19631 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19632 computing the representation inline. Don't require `cl'.
19633
12544bbe
GM
196342011-04-08 Glenn Morris <rgm@gnu.org>
19635
a1de6c6a
GM
19636 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19637
3c4671f4
GM
19638 * net/browse-url.el (browse-url-firefox):
19639 Test system-type, not system-configuration.
19640
b605679c
GM
19641 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19642 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19643 Use log-edit-empty-buffer-p. (Bug#7598)
19644
56442f0c
GM
19645 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19646 (rlogin-mode-map): Initialize in the defvar.
19647 (rlogin): Use ignore-errors.
19648
12544bbe
GM
19649 * replace.el (occur-mode-map): Some fixes for menu items.
19650
eb237b0f
AH
196512011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19652
19653 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19654
7d668f2c
CY
196552011-04-06 Chong Yidong <cyd@stupidchicken.com>
19656
e67a13ab
CY
19657 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19658 issuing unused warnings.
19659
19660 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19661 macro directly.
19662
7d668f2c
CY
19663 * simple.el: Lisp reimplement of list-processes. Based on an
19664 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19665 (process-menu-mode): New major mode.
19666 (list-processes--refresh, list-processes):
19667 (process-menu-visit-buffer): New functions.
19668
19669 * files.el (save-buffers-kill-emacs): Don't assume any return
19670 value of list-processes, which is undocumented anyway.
19671
a83ec3c9
CY
196722011-04-06 Chong Yidong <cyd@stupidchicken.com>
19673
19674 * emacs-lisp/tabulated-list.el: New file.
19675
e91a96fe
CY
19676 * emacs-lisp/package.el: Use Tabulated List mode.
19677 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19678 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19679 table format using Tabulated List mode variables.
19680 (package--push): New macro, replacing package-list-maybe-add.
19681 (package-menu--generate): Use package--push. Renamed from
19682 package--generate-package-list.
19683 (package-menu-refresh, list-packages): Use it.
daca8ba5 19684 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19685 Return insertion data instead of inserting it directly.
099c39a4
JB
19686 (package-menu-describe-package, package-menu-execute):
19687 Use tabulated-list-get-id.
e91a96fe
CY
19688 (package-menu-mark-delete, package-menu-mark-install)
19689 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19690 (package-menu-mark-obsolete-for-deletion):
19691 Use tabulated-list-put-tag.
e91a96fe
CY
19692 (package--list-packages, package-menu-revert)
19693 (package-menu-get-package, package-menu-get-version)
19694 (package-menu-sort-by-column): Functions deleted.
19695 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19696 (package-menu--status-predicate, package-menu--version-predicate)
19697 (package-menu--name-predicate)
19698 (package-menu--description-predicate): Handle arguments in the
19699 Tabulated List format.
19700 (package-list-packages-no-fetch): Call list-packages.
19701
3e214b50
JB
197022011-04-06 Juanma Barranquero <lekktu@gmail.com>
19703
19704 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19705 (after-find-file): Don't bind it.
3e214b50
JB
19706 (revert-buffer-in-progress-p): New variable.
19707 (revert-buffer): Bind it.
19708 Pass nil for `after-find-file-from-revert-buffer'.
19709
19710 * saveplace.el (save-place-find-file-hook): Use new variable
19711 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19712
3f0f1700
GM
197132011-04-06 Glenn Morris <rgm@gnu.org>
19714
c0274801
GM
19715 * Makefile.in (AUTOGEN_VCS): New variable.
19716 (autoloads): Use $AUTOGEN_VCS.
19717
3f0f1700
GM
19718 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19719 * calendar/calendar.el (calendar-mode-map):
19720 Check for toolkit scroll bars. (Bug#8305)
19721
41ea9e48
CY
197222011-04-05 Chong Yidong <cyd@stupidchicken.com>
19723
19724 * minibuffer.el (completion-in-region--postch)
19725 (completion-in-region-mode): Remove unnecessary messages.
19726
6194c800
JB
197272011-04-05 Juanma Barranquero <lekktu@gmail.com>
19728
33256f14
JB
19729 * font-lock.el (font-lock-refresh-defaults):
19730 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19731 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19732
6194c800
JB
19733 * info.el (Info-directory-list, Info-read-node-name-2)
19734 (Info-split-parameter-string): Doc fixes.
19735 (Info-virtual-nodes): Reflow docstring.
19736 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19737 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19738 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19739 Fix typos in docstrings.
19740 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19741 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19742 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19743 (Info-restore-desktop-buffer): Mark unused parameters.
19744 (Info-directory-find-file, Info-directory-find-node)
19745 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19746 (Info-virtual-index-find-node, Info-apropos-find-file)
19747 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19748 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19749 (Info-virtual-index): Remove unused local variable `nodename'.
19750
b87a8200 197512011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19752
b87a8200
DD
19753 * net/rcirc.el: Update my e-mail address.
19754 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19755
3b2ff876
CY
197562011-04-05 Chong Yidong <cyd@stupidchicken.com>
19757
19758 * startup.el (command-line): Save the cursor's theme-face
19759 directly, instead of using face-override-spec.
19760
19761 * custom.el (load-theme): Minor optimization in assigning faces.
19762
8d17e7ca
JB
197632011-04-04 Juanma Barranquero <lekktu@gmail.com>
19764
19765 * help-fns.el (describe-variable): Complete all variables having
19766 documentation, including keywords.
19767 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19768
2fbc1934
JB
197692011-04-04 Juanma Barranquero <lekktu@gmail.com>
19770
19771 Convert to lexical-binding.
19772
19773 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19774 (bs--get-marked-string, bs--get-modified-string)
19775 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19776 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19777 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19778
19779 * ehelp.el (electric-help-execute-extended)
19780 (electric-help-ctrl-x-prefix):
19781 * hexl.el (hexl-revert-buffer-function):
19782 * linum.el (linum-after-change, linum-after-scroll):
19783 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19784
19785 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19786
74f50695
DU
197872011-04-04 Daiki Ueno <ueno@unixuser.org>
19788
19789 * epa-dired.el:
19790 * epa-mail.el:
19791 * epa-hook.el:
19792 * epa-file.el:
19793 * epa.el:
19794 * epg.el: Use lexical binding.
19795
c11325f7
CY
197962011-04-03 Chong Yidong <cyd@stupidchicken.com>
19797
0d9e9a12
CY
19798 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19799
c11325f7 19800 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19801 dictionary case for flyspell-mark-duplications-exceptions.
19802 Use regexp matching for languages.
c11325f7
CY
19803 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19804 default dictionary (Bug#7926).
19805
da91b5f2
CY
198062011-04-02 Chong Yidong <cyd@stupidchicken.com>
19807
099c39a4
JB
19808 * emacs-lisp/package.el (package--with-work-buffer):
19809 Recognize https URLs.
da91b5f2 19810
099c39a4
JB
19811 * net/network-stream.el: Move from gnus/proto-stream.el.
19812 Change prefix to network-stream throughout.
da91b5f2
CY
19813 (open-protocol-stream): Merge into open-network-stream, leaving
19814 open-protocol-stream as an alias. Handle nil BUFFER args.
19815
19816 * subr.el (open-network-stream): Move to net/network-stream.el.
19817
afa8e9f6
GM
198182011-04-02 Glenn Morris <rgm@gnu.org>
19819
1d2e369d
GM
19820 * find-dired.el (find-exec-terminator): New option.
19821 (find-ls-option): Test for -ls support.
19822 (find-ls-subdir-switches): Test for -b in find-ls-option.
19823 (find-dired, find-grep-dired): Doc fixes.
19824 (find-dired): Use find-exec-terminator.
19825
8abb7da8 19826 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19827 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19828 (find-name-arg): Remove purecopy.
8abb7da8 19829
f3ca7378
GM
19830 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19831 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19832 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19833 accordingly. Don't add the null-device if not needed.
19834
afa8e9f6
GM
19835 * files.el (save-some-buffers): Doc fix.
19836
35eae264
EZ
198372011-04-02 Eli Zaretskii <eliz@gnu.org>
19838
19839 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19840
26b51db5
JB
198412011-04-01 Juanma Barranquero <lekktu@gmail.com>
19842
19843 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19844 Use `dolist' rather than `mapcar'.
19845
7200d79c
SM
198462011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19847
03408648 19848 Add lexical binding.
7200d79c 19849
03408648
SM
19850 * subr.el (apply-partially): Use new closures rather than CL.
19851 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19852 (dolist, dotimes): Use slightly different expansion for lexical code.
19853 (functionp): Move to C.
19854 (letrec): New macro.
19855 (with-wrapper-hook): Use it and apply-partially instead of CL.
19856 (eval-after-load): Preserve lexical-binding.
19857 (save-window-excursion, with-output-to-temp-buffer): Turn them
19858 into macros.
7200d79c 19859
03408648
SM
19860 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19861
19862 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19863 than the arglist.
19864 (help-add-fundoc-usage): Don't add `Not documented'.
19865 (help-function-arglist): Handle closures, subroutines, and new
19866 byte-code-functions.
19867 (help-make-usage): Remove leading underscores.
19868 (describe-function-1): Handle closures.
19869 (describe-variable): Use special-variable-p for completion.
19870
19871 * files.el (lexical-binding): Declare safe.
f488fb65 19872
03408648
SM
19873 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19874 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19875 (pcase): Add `let' pattern.
19876 Change memoization so it actually works.
19877 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19878 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19879 <let>: New case.
f488fb65 19880
03408648
SM
19881 * emacs-lisp/macroexp.el: Use lexical binding.
19882 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19883 Don't convert ' to #' without checking that it's indeed quoting
19884 a lambda.
19885
19886 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19887 Use eval-sexp-add-defvars.
03408648
SM
19888 (eval-sexp-add-defvars): New fun.
19889
19890 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19891
19892 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19893 Don't autoload.
19894 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19895 than the internal `byte-compile-lambda'.
19896 (defmethod): Don't hide code under quotes.
19897 (eieio-defmethod): New `code' argument.
19898
19899 * emacs-lisp/eieio-comp.el: Remove.
19900
19901 * emacs-lisp/edebug.el (edebug-eval-defun)
19902 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19903 (edebug-toggle): Avoid `eval'.
19904
19905 * emacs-lisp/disass.el (disassemble-internal): Handle new
19906 `closure' objects.
19907 (disassemble-1): Handle new byte codes.
19908
19909 * emacs-lisp/cl.el (pushnew): Silence warning.
19910
19911 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19912 (cl-byte-compile-throw): Remove.
19913 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19914
19915 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19916 closures.
19917
19918 * emacs-lisp/cconv.el: New file.
19919
19920 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19921 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19922 (byte-compile-initial-macro-environment):
19923 Handle declare-function here.
19924 (byte-compile--lexical-environment): New var.
19925 (byte-stack-ref, byte-stack-set, byte-discardN)
19926 (byte-discardN-preserve-tos): New lap codes.
19927 (byte-interactive-p): Don't use any more.
19928 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19929 New macros.
19930 (byte-compile-lapcode): Use them and handle new lap codes.
19931 (byte-compile-obsolete): Remove.
19932 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19933 (byte-compile-arglist-warn): Check late def of inlinable funs.
19934 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19935 since they should have been expanded by now.
19936 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19937 (byte-compile-from-buffer): Remove unused second arg.
19938 (byte-compile-preprocess): New function.
19939 (byte-compile-toplevel-file-form): New function to distinguish
19940 file-form calls from outside from file-form calls from hunk-handlers.
19941 (byte-compile-file-form): Simplify.
19942 (byte-compile-file-form-defsubst): Remove.
19943 (byte-compile-file-form-defmumble): Simplify now that
19944 byte-compile-lambda always returns a byte-code-function.
19945 (byte-compile): Preprocess.
19946 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19947 Remove, not used any more.
19948 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19949 (byte-compile-make-args-desc): New funs.
19950 (byte-compile-lambda): Handle lexical functions. Always return
19951 a byte-code-function.
19952 (byte-compile-reserved-constants): New var, to make up room for
19953 closed-over variables.
19954 (byte-compile-constants-vector): Obey it.
19955 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19956 (byte-compile-macroexpand-declare-function): New function.
19957 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19958 byte-code-functions.
19959 (byte-compile-form): Check obsolescence here.
19960 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19961 (byte-compile-variable-ref): Remove.
19962 (byte-compile-dynamic-variable-op): New fun.
19963 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19964 (byte-compile-variable-set): New funs.
19965 (byte-compile-discard): Add 2 args.
19966 (byte-compile-stack-ref, byte-compile-stack-set)
19967 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19968 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19969 macroexpand-all instead.
19970 (byte-compile-quote-form): Remove.
19971 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19972 (byte-compile-bind, byte-compile-unbind): New funs.
19973 (byte-compile-let): Handle let* and lexical binding.
19974 (byte-compile-let*): Remove.
19975 (byte-compile-catch, byte-compile-unwind-protect)
19976 (byte-compile-track-mouse, byte-compile-condition-case):
19977 Handle a new :fun-body form, used for lexical scoping.
19978 (byte-compile-save-window-excursion)
19979 (byte-compile-with-output-to-temp-buffer): Remove.
19980 (byte-compile-defun): Simplify.
19981 (byte-compile-stack-adjustment): New fun.
19982 (byte-compile-out): Use it.
19983 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19984
19985 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19986 handler any more.
19987
19988 * emacs-lisp/byte-opt.el: Use lexical binding.
19989 (byte-inline-lapcode): Remove (to bytecomp).
19990 (byte-compile-inline-expand): Pay attention to inlining to/from
19991 lexically bound code.
19992 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19993 any more.
19994 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19995 any more and don't call compiler-macros.
19996 (byte-compile-splice-in-already-compiled-code): Remove.
19997 (byte-code): Don't inline any more.
19998 (disassemble-offset): Receive `bytes' as argument rather than via
19999 dynamic scoping.
20000 (byte-compile-tag-number): Declare before first use.
20001 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20002 `return' even if make-spliceable.
20003 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20004 obsolete interactive-p.
20005 (byte-optimize-lapcode): Optimize new lap-codes.
20006 Don't trip up on new form of `byte-constant' lap code.
20007
20008 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20009
20010 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20011
20012 * custom.el (custom-initialize-default, custom-declare-variable):
20013 Use `defvar'.
20014
20015 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20016 New variables.
20017 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20018 (COMPILE_FIRST): Add macroexp and cconv.
20019 * makefile.w32-in: Mirror changes in Makefile.in.
20020
20021 * vc/cvs-status.el:
20022 * vc/diff-mode.el:
20023 * vc/log-edit.el:
20024 * vc/log-view.el:
20025 * vc/smerge-mode.el:
20026 * textmodes/bibtex-style.el:
090bd7cb 20027 * textmodes/css-mode.el:
03408648
SM
20028 * startup.el:
20029 * uniquify.el:
da91b5f2
CY
20030 * minibuffer.el:
20031 * newcomment.el:
20032 * reveal.el:
20033 * server.el:
20034 * mpc.el:
20035 * emacs-lisp/smie.el:
20036 * doc-view.el:
20037 * dired.el:
03408648
SM
20038 * abbrev.el: Use lexical binding.
20039
0f0c1f27
EZ
200402011-04-01 Eli Zaretskii <eliz@gnu.org>
20041
20042 * info.el (info-display-manual): New function.
20043
c82b2579
SM
200442011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20045
20046 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20047
221ddf68
TH
200482011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20049
20050 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20051 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20052
cba6e77e
GM
200532011-03-31 Glenn Morris <rgm@gnu.org>
20054
e040639f
GM
20055 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20056
cba6e77e
GM
20057 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20058
6d0f1c9e
CS
200592011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20060
20061 * progmodes/python.el (python-default-interpreter)
20062 (python-python-command-args, python-jython-command-args)
20063 (python-which-shell, python-which-args, python-which-bufname)
20064 (python-file-queue, python-comint-output-filter-function)
20065 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20066 variables and functions.
20067
3e2d70fd
SM
200682011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20069
20070 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20071 (completion-in-region-mode): New minor mode.
20072 (completion-in-region): Use it.
20073 (completion-in-region--data, completion-in-region-mode-map): New vars.
20074 (completion-in-region--postch): New function.
20075 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20076 New vars.
20077 (completion--capf-wrapper): New function.
20078 (completion-at-point): Use it to track well-behavedness of
20079 hook functions.
20080 (completion-help-at-point): New command.
20081
f3e4086c
JM
200822011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20083
20084 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20085 syntax class to search for whitespace on a single line
20086 (Message-ID: <4D938140.4030905@redhat.com>).
20087
eb7ffc14
LL
200882011-03-30 Leo Liu <sdl.web@gmail.com>
20089
20090 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20091 New commands.
20092 (edit-abbrevs-map): Bind them here.
20093 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20094
d806ab68
KM
200952011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20096
20097 * allout.el (allout-hide-by-annotation, allout-flag-region):
20098 Reduce possibility of overlay leakage by making them volatile.
20099
20100 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20101 hash is not shared between buffers. Mode initialization is
20102 responsible for giving it a useful starting value.
20103 (allout-item-span): Reduce possibility of overlay leakage by
20104 making them volatile.
20105 (allout-widgets-count-buttons-in-region): Add diagnostic function
20106 for tracking down button overlay leaks.
20107
ea622834
LL
201082011-03-29 Leo Liu <sdl.web@gmail.com>
20109
20110 * ido.el (ido-read-internal): Use the default history var
20111 minibuffer-history if no HISTORY is specified.
20112
b62f8267
G
201132011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20114
03408648
SM
20115 * net/imap.el (imap-shell-open, imap-process-connection-type):
20116 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20117 Kerberos, SSL, other subprocesses.
20118
947b6566
LL
201192011-03-28 Leo Liu <sdl.web@gmail.com>
20120
20121 * abbrev.el (abbrev-table-empty-p): New function.
20122 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20123 nonempty ones. (Bug#5937)
20124
5ffb62aa
JD
201252011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20126
20127 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20128
7a097943
LL
201292011-03-27 Leo Liu <sdl.web@gmail.com>
20130
20131 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20132 for foreground and background colors.
20133 (ansi-color-make-color-map): Adapt.
20134
c5b40130
LL
201352011-03-25 Leo Liu <sdl.web@gmail.com>
20136
1f48f7d2
LL
20137 * midnight.el (midnight-time-float): Remove. Note it calculates
20138 the microsecond component incorrectly and seconds-to-time does the
20139 same job.
625897ec 20140 Remove redundant (require 'timer).
1f48f7d2 20141
c5b40130
LL
20142 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20143 (ido-completions): Remove unused arguments. (Bug#8329)
20144
d86d2721
SM
201452011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20146
20147 * minibuffer.el (completion--flush-all-sorted-completions):
20148 Remove itself from hook.
20149 (completion-at-point): Let the functions perform the completion
20150 immediately and return nil or t.
20151 * comint.el (comint-dynamic-complete-functions): Now identical to
20152 completion-at-point-functions.
20153 (comint-dynamic-list-input-ring): Remove unused var `index'.
20154 (comint--match-partial-filename, comint--unquote&expand-filename):
20155 New funs, split from comint-match-partial-filename.
20156 (comint-dynamic-complete): Use completion-at-point.
20157 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20158
e8974c48
DA
201592011-03-24 Drew Adams <drew.adams@oracle.com>
20160
20161 * thingatpt.el: Support `defun'.
20162
def71b5e
LL
201632011-03-23 Leo Liu <sdl.web@gmail.com>
20164
cb5af48e
LL
20165 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20166
def71b5e
LL
20167 * help-mode.el (help-mode-finish): Tweak regexp.
20168
927c53e7
GM
201692011-03-23 Glenn Morris <rgm@gnu.org>
20170
18d05bed
GM
20171 * eshell/esh-opt.el (eshell-eval-using-options):
20172 Do not bind unused local variable `eshell-option-stub'.
20173
927c53e7
GM
20174 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20175
9d0da923
JB
201762011-03-22 Juanma Barranquero <lekktu@gmail.com>
20177
20178 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20179 keymap variable in `with-no-warnings' to avoid a warning when the
20180 keymap has been already `defconst'ed.
20181
4b978a67
LL
201822011-03-22 Leo Liu <sdl.web@gmail.com>
20183
20184 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20185 encode all chars in abbrevs; otherwise use emacs-mule or
20186 utf-8-emacs. (Bug#8308)
20187
5fd62452
JB
201882011-03-22 Juanma Barranquero <lekktu@gmail.com>
20189
0b1596c6
JB
20190 * simple.el (backward-delete-char-untabify):
20191 Avoid warning about using `delete-backward-char'.
20192
5fd62452
JB
20193 * image.el (image-type-file-name-regexps): Make it variable.
20194 `imagemagick-register-types' modifies it, and the user may want
20195 to add new extensions for known image types.
20196 (imagemagick-register-types): Throw error if not using ImageMagick.
20197
0b4e93f1
LL
201982011-03-22 Leo Liu <sdl.web@gmail.com>
20199
20200 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20201 located before rcirc-prompt-end-marker.
20202 (rcirc-complete): Error if point is not after rcirc prompt.
20203 Handle the case when table is nil.
9882e214 20204 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20205
fccee4ab
CY
202062011-03-22 Chong Yidong <cyd@stupidchicken.com>
20207
20208 * custom.el (custom--inhibit-theme-enable): Make it affect only
20209 custom-theme-set-variables and custom-theme-set-faces.
20210 (provide-theme): Ignore custom--inhibit-theme-enable.
20211 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20212 (custom-enabling-themes): Delete variable.
d86d2721
SM
20213 (enable-theme): Accept only loaded themes as arguments.
20214 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20215 (custom-enabled-themes): Forbid themes from setting this.
20216 Eliminate use of custom-enabling-themes.
20217 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20218
af896da6
LL
202192011-03-21 Leo Liu <sdl.web@gmail.com>
20220
20221 * ido.el (ido-read-internal): Add ido-selected to history instead
20222 of user input.
20223
78f64af0
SM
202242011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20225
20226 * subr.el (deferred-action-list, deferred-action-function):
20227 Mark obsolete.
20228
b16ac1ec
LL
202292011-03-21 Leo Liu <sdl.web@gmail.com>
20230
810f7698
LL
20231 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20232 change on 2011-02-13 (bug#8309).
20233
b16ac1ec
LL
20234 * minibuffer.el (read-file-name-function): Change default value.
20235 (read-file-name--defaults): Rename from read-file-name-defaults.
20236 (read-file-name-default): Rename from read-file-name.
20237 (read-file-name): Call read-file-name-function.
20238
4e05e67e
GM
202392011-03-21 Glenn Morris <rgm@gnu.org>
20240
20241 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20242 Doc fixes.
20243
4359915b
CY
202442011-03-21 Chong Yidong <cyd@stupidchicken.com>
20245
20246 * cus-theme.el: Add missing provide statement.
20247 (customize-create-theme): Extract theme value correctly.
20248 (custom-theme-visit-theme): Autoload.
20249 (customize-create-theme): Prompt before inserting default faces.
20250
1fe275ee
JB
202512011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20252
20253 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20254 units and musical notes.
20255
cd394be1 202562011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20257
20258 * ido.el (ido-read-internal): Use completing-read-default.
20259 (ido-completing-read): Fix compatibility with completing-read.
20260
7d476bde
CO
202612011-03-20 Christian Ohler <ohler@gnu.org>
20262
20263 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20264 (ert-delete-all-tests): Use `called-interactively-p' rather than
20265 `interactive-p'.
20266 (ert--make-xrefs-region): Respect END.
20267
fe0fb33e
CY
202682011-03-19 Chong Yidong <cyd@stupidchicken.com>
20269
ff854b0b
CY
20270 * dired-aux.el (dired-create-directory): Signal an error if the
20271 directory already exists (Bug#8246).
20272
fe0fb33e
CY
20273 * facemenu.el (list-colors-display): Call list-faces-display
20274 inside with-help-window.
20275 (list-colors-print): Use display property to align the final
20276 column, instead of checking window-width.
20277
576bce32
EZ
202782011-03-19 Eli Zaretskii <eliz@gnu.org>
20279
4d61f28d 20280 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20281 windows-nt systems.
20282 (emerge-protect-metachars): Quote correctly for ms-dos and
20283 windows-nt systems.
20284
89c41d68 202852011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20286
20287 * info.el (info-initialize): Replace all uses of `:' with
20288 path-separator for compatibility with non-Unix systems.
20289 Cache quoting of path-separator. (Bug#8258)
20290
b14e3e21 202912011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20292
20293 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20294 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20295 (mouse-avoidance-mode): Fix typos in docstrings.
20296
4525ce3e
CY
202972011-03-19 Chong Yidong <cyd@stupidchicken.com>
20298
20299 * startup.el (package-subdirectory-regexp): Move from package.el.
20300 Omit \\` and \\', and let callers add them.
20301
20302 * emacs-lisp/package.el (package-strip-version)
20303 (package-load-all-descriptors): Add \\` and \\' to
20304 package-subdirectory-regexp before using it.
20305 (package-untar-buffer): New arg DIR; ensure that file untars only
20306 into this expected directory. Remove superfluous delete-region.
20307 (package-unpack): Caller changed.
20308 (package-tar-file-info): Use package-subdirectory-regexp.
20309
a904a09a 203102011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20311
a904a09a
SM
20312 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20313 diff-mode-shared-map (bug#8284).
20314 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20315
203162011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20317
20318 * calendar/time-date.el (format-seconds): Use assoc instead of
20319 assoc-string, since assoc-string doesn't exist in XEmacs.
20320
171fc304
JB
203212011-03-17 Juanma Barranquero <lekktu@gmail.com>
20322
20323 * custom.el (custom-known-themes): Reflow docstring.
20324 (custom-theme-load-path): Fix typo in docstring.
20325 (load-theme): Fix typo in error message.
20326 (custom-available-themes, custom-variable-theme-value):
20327 Use `let', not `let*'.
20328
d71990a1
JB
203292011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20330
20331 * calc/README: Mention inclusion of musical notes.
20332
20333 * calc/calc-units.el (calc-lu-quant): Rename from
20334 `calc-logunits-quantity'.
20335 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20336 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20337 (calc-db): Rename from `calc-dblevel'.
20338 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20339 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20340 (calc-np): Rename from `calc-nplevel'.
20341 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20342 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20343 (calc-lu-plus): Rename from `calc-logunits-add'.
20344 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20345 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20346 (calc-lu-minus): Rename from `calc-logunits-sub'.
20347 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20348 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20349 (calc-lu-times): Rename from `calc-logunits-mul'.
20350 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20351 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20352 (calc-lu-divide): Rename from `calc-logunits-div'.
20353 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20354 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20355
20356 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20357 functions being autoloaded.
20358
20359 * calc/calc.el (calc-lu-power-reference): Rename from
20360 `calc-logunits-power-reference'.
20361 (calc-lu-field-reference): Rename from
20362 `calc-logunits-field-reference'.
20363
7a71b18d
GM
20364 * calc/calc-help.el (calc-l-prefix-help):
20365 Mention musical note functions.
d71990a1 20366
40c2934b
SM
203672011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20368
20369 * minibuffer.el (completion-all-sorted-completions):
20370 Use :completion-cycle-penalty text property if present.
20371
b0911414
KM
203722011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20373
20374 * allout.el (allout-yank-processing): Adjust for new rebulleting
20375 regime so bullet being yanked is used without prompting the user
20376 for a choice.
20377
8a05b668
JB
203782011-03-16 Juanma Barranquero <lekktu@gmail.com>
20379
20380 * startup.el (command-line): Warn the user that _emacs is deprecated.
20381
5ba5fb81
JB
203822011-03-16 Juanma Barranquero <lekktu@gmail.com>
20383
20384 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20385 (delphi-verbose, delphi-comment-face, delphi-string-face)
20386 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20387 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20388 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20389 (delphi-new-comment-line, delphi-font-lock-defaults)
20390 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20391 Fix typos in docstrings.
20392
2dab465b
KM
203932011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20394
5ba5fb81 20395 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20396 Invert the roles of character and string values for INSTEAD, so a
20397 string is used for the more common case of a defaulting prompt.
20398
0adf5618
SM
203992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20400
20401 * progmodes/ruby-mode.el (ruby-backward-sexp):
20402 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20403 * play/gamegrid.el (gamegrid-make-face):
20404 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20405 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20406 * notifications.el (notifications-notify):
20407 * net/xesam.el (xesam-search-engines):
20408 * net/quickurl.el (quickurl-list-insert):
20409 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20410
d72700e5
CY
204112011-03-15 Chong Yidong <cyd@stupidchicken.com>
20412
20413 * startup.el (command-line): Update package subdirectory regexp.
20414
49c5410a
SM
204152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20416
c6eee9aa
SM
20417 * allout.el (allout-abbreviate-flattened-numbering)
20418 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20419
49c5410a
SM
20420 * subr.el (read-char-choice): Only show the cursor after the prompt,
20421 not after the answer.
20422
047b2bb9
KR
204232011-03-15 Kevin Ryde <user42@zip.com.au>
20424
20425 * help-fns.el (variable-at-point): Skip leading quotes, if any
20426 (bug#8253).
20427
0a57d256
SM
204282011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20429
20430 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20431 warning message.
20432
77c992bc
MA
204332011-03-14 Michael Albinus <michael.albinus@gmx.de>
20434
20435 * shell.el (shell): When called interactively, offer to change the
20436 shell file name on remote hosts.
20437
eebc475d
TZ
204382011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20439
20440 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20441 integration for LDAP parameters. The host, base, user or binddn,
20442 and secret tokens can be specified in a netrc file, for instance.
20443 This is optional because an `auth-source' parameter must be
20444 specified in the search attributes.
20445
9d05d1ba
JB
204462011-03-13 Juanma Barranquero <lekktu@gmail.com>
20447
20448 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20449
09d9db2c
GM
204502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20451
20452 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20453 into declaration. Remove redundant and harmful binding.
20454
204552011-03-12 Eli Zaretskii <eliz@gnu.org>
20456
20457 * files.el (file-ownership-preserved-p): Pass `integer' as an
20458 explicit 2nd argument to `file-attributes'. If the file's owner
20459 is the Administrators group on Windows, and the current user is
20460 Administrator, consider that a match.
20461
20462 * server.el (server-ensure-safe-dir): Consider server directory
20463 safe on MS-Windows if its owner is the Administrators group while
20464 the current Emacs user is Administrator. Use `=' to compare
20465 numerical UIDs, since they could be integers or floats.
20466
219bd536
JB
204672011-03-12 Juanma Barranquero <lekktu@gmail.com>
20468
20469 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20470
f3afd36b
MA
204712011-03-12 Michael Albinus <michael.albinus@gmx.de>
20472
20473 Sync with Tramp 2.2.1.
20474
20475 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20476
20477 * net/trampver.el: Update release number.
20478
3aaaa6f1
SM
204792011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20480
94642599
SM
20481 * progmodes/compile.el (compilation--previous-directory): Fix up
20482 various nil/dead-marker mismatches (bug#8014).
20483 (compilation-directory-properties, compilation-error-properties):
20484 Don't call it at a position past the one we're about to change.
20485
3aaaa6f1
SM
20486 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20487 Disable obsolescence warnings in the file that declares it.
20488
14239447
KM
204892011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20490
099c39a4
JB
20491 * allout-widgets.el (allout-widgets-tally):
20492 Initialize allout-widgets-tally as a hash table rather than nil to
20493 prevent mode-line redisplay warnings. Also, clarify the module
20494 description and fix a comment typo.
14239447 20495
135e287c
JB
204962011-03-11 Juanma Barranquero <lekktu@gmail.com>
20497
20498 * help-fns.el (describe-variable): Don't complete keywords.
20499 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20500
ffbf300e
CY
205012011-03-10 Chong Yidong <cyd@stupidchicken.com>
20502
ba08b241
CY
20503 * emacs-lisp/package.el (package-version-join): Impose a standard
20504 string representation for pre/alpha/beta version lists.
20505 (package-unpack-single): Standardize the directory name by passing
20506 it through package-version-join.
20507 (package-strip-rcs-id): Accept any version string that does not
20508 signal an error in version-to-list.
ffbf300e 20509
f346fd6b
MA
205102011-03-10 Michael Albinus <michael.albinus@gmx.de>
20511
20512 * simple.el (delete-trailing-whitespace): Return nil for the
20513 benefit of `write-file-functions'.
20514
ccb55d27
GM
205152011-03-10 Glenn Morris <rgm@gnu.org>
20516
5ceaac0c
GM
20517 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20518
02da65ff
GM
20519 * vc/vc-git.el (vc-git-program): New option.
20520 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20521 (vc-git--call): Use it.
20522
b2f603cc
GM
20523 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20524
5772caab
GM
20525 * cus-edit.el (Custom-newline): If no button at point, look
20526 for a subgroup button at start-of-line. (Bug#2298)
20527
ccb55d27
GM
20528 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20529
ec6ecaed
JD
205302011-03-10 Julien Danjou <julien@danjou.info>
20531
20532 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20533 `cursor-type' is nil.
20534
9d5aa01d
JB
205352011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20536
20537 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20538
b6a5875b
KM
205392011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20540
7a71b18d 20541 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20542 preserves the existing header prefix, rebulleting it if necessary,
20543 rather than replacing it. This is necessary for proper operation
20544 of cooperative addons like allout-widgets.
1154d12e
JB
20545 (allout-make-topic-prefix, allout-rebullet-heading):
20546 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20547 value as alternate bullet to be used, instead of prompting the user
20548 for a bullet character.
b6a5875b 20549
ee545c35
MA
205502011-03-09 Michael Albinus <michael.albinus@gmx.de>
20551
d86d2721
SM
20552 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20553 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20554 `tramp-default-port'.
20555
c47971d7
DD
205562011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20557
20558 * net/rcirc.el (rcirc-handler-001): Remove useless
20559 with-rcirc-process-buffer.
20560 (rcirc-check-auth-status): Swap arguments to string-match.
20561
13522cb4
GM
205622011-03-09 Glenn Morris <rgm@gnu.org>
20563
0be6f4f1
GM
20564 * shell.el (shell-mode):
20565 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20566
13522cb4
GM
20567 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20568 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20569
515de2e3
CY
205702011-03-08 Chong Yidong <cyd@stupidchicken.com>
20571
20572 * emacs-lisp/package.el (package-refresh-contents)
20573 (package-menu-execute): Use condition-case-no-debug.
20574
b511b994
MA
205752011-03-08 Michael Albinus <michael.albinus@gmx.de>
20576
20577 * simple.el (shell-command-to-string): Use `process-file'.
20578
20579 * emacs-lisp/package.el (package-tar-file-info): Handle also
20580 remote files.
20581
d86d2721
SM
20582 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20583 Use `equal' for upload base check.
b511b994 20584
25bbfb31
AM
205852011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20586
20587 * textmodes/texinfo.el (texinfo-environments):
20588 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20589
be996521
GM
205902011-03-08 Glenn Morris <rgm@gnu.org>
20591
e9c8529f
GM
20592 * cus-start.el (cursor-in-non-selected-windows):
20593 Fix :set quoting oddness. (Bug#8192)
20594
be996521
GM
20595 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20596 in some setf expressions. (Bug#2159)
20597
2bb5649e
CY
205982011-03-08 Chong Yidong <cyd@stupidchicken.com>
20599
20600 * custom.el (custom-available-themes): Return themes in
20601 alphabetical order.
20602
33383987 20603See ChangeLog.15 for earlier changes.
e3d51b27
MR
20604
20605;; Local Variables:
20606;; coding: utf-8
e3d51b27
MR
20607;; End:
20608
acaf905b 20609 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20610
20611 This file is part of GNU Emacs.
20612
20613 GNU Emacs is free software: you can redistribute it and/or modify
20614 it under the terms of the GNU General Public License as published by
20615 the Free Software Foundation, either version 3 of the License, or
20616 (at your option) any later version.
20617
20618 GNU Emacs is distributed in the hope that it will be useful,
20619 but WITHOUT ANY WARRANTY; without even the implied warranty of
20620 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20621 GNU General Public License for more details.
20622
20623 You should have received a copy of the GNU General Public License
20624 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.