Fix last tiny change about text.texi.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9c3e39f3
SM
12012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
c79825bd
SM
3 * progmodes/compile.el (compilation-start): Try to handle common
4 quoting of `cd' argument (bug#12640).
5
9c3e39f3
SM
6 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7 (bug#12671).
8
a6709bc7
GM
92012-10-23 Glenn Morris <rgm@gnu.org>
10
11 * progmodes/gud.el (gud-menu-map):
12 Check gdb-active-process is bound. (Bug#12358)
13
d1069532
SM
142012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
15
d20d69c0
SM
16 * repeat.el (repeat): Set real-this-command (bug#12232).
17
d1069532
SM
18 * htmlfontify.el (hfy-post-html-hook):
19 * filesets.el (filesets-cache-fill-content-hook):
20 * arc-mode.el (archive-extract-hook):
21 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
22 * net/rcirc.el (rcirc-sentinel-functions)
23 (rcirc-receive-message-functions, rcirc-activity-functions)
24 (rcirc-print-functions):
25 * net/dbus.el (dbus-event-error-functions):
26 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
27 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
28 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
29 * term/sun.el (sun-raw-prefix-hooks):
30 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
31
f7eac6d8
MA
322012-10-23 Michael Albinus <michael.albinus@gmx.de>
33
d1069532
SM
34 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
35 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
36 (tramp-smb-wait-for-output): Add timeout to
37 `tramp-accept-process-output' calls.
38
608d9d7c
CY
392012-10-23 Chong Yidong <cyd@gnu.org>
40
49238e7f
CY
41 * faces.el (font-list-limit): Define as an obsolete variable.
42
43 * startup.el (command-line):
44 * cus-start.el: Don't refer to font-list-limit.
45
608d9d7c
CY
46 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
47
4ff5b1b2
SM
482012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * subr.el (internal-temp-output-buffer-show): Rename from
51 temp-output-buffer-show, since previously compiled files expect this name.
52
ea1d4aac
GM
532012-10-23 Glenn Morris <rgm@gnu.org>
54
55 * image.el (image-type-from-file-name): If multiple types match,
56 return the first one that is supported. (Bug#9045)
57
eda82a31
GM
582012-10-22 Glenn Morris <rgm@gnu.org>
59
60 * image.el (imagemagick-enabled-types): Doc fix.
61
4f020bec
TA
622012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
63
64 * progmodes/which-func.el (which-func-current): The hash-table may have
65 an explicit nil (bug#12338).
66
c77d37e2
SM
672012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * electric.el (electric-pair-delete-selection-self-insert-function):
70 Rename to electric-pair-will-use-region, return a boolean.
71 (electric-pair-mode): Adjust accordingly. Don't require delsel.
72
73 * delsel.el (delete-selection-helper): Use a function instead of a hook.
74 (delete-selection-pre-hook): Use use-region-p.
75 (delete-selection-self-insert-function): Remove.
76 (self-insert-command): Obey self-insert-uses-region-functions.
77 (self-insert-iso): Revert to previous setting, since we don't actually
78 know what that command does.
79 (delete-selection-self-insert-hooks): Remove.
80
b1d39ccc
SL
812012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
82
83 * delsel.el (delete-selection-helper): New function, extracted from
84 delete-selection-pre-hook.
85 (delete-selection-pre-hook): Use it.
86 (delete-selection-self-insert-function): New function.
87 (delete-selection-self-insert-hooks): New hook.
88 (self-insert-command, self-insert-iso): Use it.
89 * electric.el (electric-pair-syntax): New function, extracted from
90 electric-pair-post-self-insert-function.
91 (electric-pair-post-self-insert-function): Use it.
92 (electric-pair-delete-selection-self-insert-function): New function.
93 (electric-pair-mode): Require delsel and setup
94 delete-selection-self-insert-hooks (bug#11520).
95
045ef729
CY
962012-10-20 Chong Yidong <cyd@gnu.org>
97
4c5d08a8
CY
98 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
99 no changes to show (Bug#12586).
100
045ef729
CY
101 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
102 list explicitly (Bug#12571).
103
3503c798 1042012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 105
b1d39ccc
SL
106 * progmodes/flymake.el (flymake-create-temp-inplace):
107 Use file-truename.
79e1997a 108
2068905b
EZ
1092012-10-20 Eli Zaretskii <eliz@gnu.org>
110
111 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
112
4c9e9550
JB
1132012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
114
115 * calc/calc-units.el (math-extract-units): Properly extract powers
116 of units.
117
1a6e7e38
DC
1182012-10-20 Daniel Colascione <dancol@dancol.org>
119
120 * frame.el (make-frame): Set x-display-name as we used to in order
121 to unbreak creating an X11 frame from an Emacs daemon started
122 without a display.
123
8e808318
SM
1242012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * minibuffer.el (minibuffer-force-complete): Make the next completion use
127 the same completion-field (bug@12221).
128
fb0104da
MR
1292012-10-19 Martin Rudalics <rudalics@gmx.at>
130
131 * emacs-lisp/debug.el (debug): Record height of debugger window
132 also when debugger will be back (Bug#8789).
133
8c27235e
CY
1342012-10-18 Chong Yidong <cyd@gnu.org>
135
136 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
137 Convert to defcustom.
138 (gdb-get-source-file): Don't bind pop-up-windows.
139
140 * progmodes/gud.el (gud-display-line): Don't specially re-use
141 other frames for the gdb-mi case (Bug#12648).
142
90eacf99
SM
1432012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
144
aaf0c300
SM
145 * emacs-lisp/advice.el: Clean up commentary a bit.
146 (ad-do-advised-functions, ad-with-originals): Use `declare'.
147 (byte-code-function-p): Never redefine.
148
90eacf99
SM
149 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
150
281c9d2b
GM
1512012-10-18 Glenn Morris <rgm@gnu.org>
152
40714e3d
GM
153 * dired.el (dired-sort-toggle): Some ls implementations only allow
154 a single option string. (Bug#12666)
155
281c9d2b
GM
156 * minibuffer.el (completion-cycle-threshold): Doc fix.
157
b278604e
KH
1582012-10-17 Kenichi Handa <handa@gnu.org>
159
90eacf99
SM
160 * international/mule.el (set-keyboard-coding-system):
161 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
162 Supply TERMINAL arg to set-input-meta-mode.
163
7ebc5f5a
MH
1642012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
165
166 * wdired.el (wdired-old-marks): New variable.
167 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
168 (wdired-do-renames): Move point with renamed file and don't lose
169 mark status (Bug#11795).
170
e5a94ec4
JL
1712012-10-16 Juri Linkov <juri@jurta.org>
172
173 * replace.el (query-replace-help): Mention multi-buffer replacement
174 keys in the Help message. (Bug#12655)
175
d18a0d24
CY
1762012-10-15 Chong Yidong <cyd@gnu.org>
177
178 * emacs-lisp/byte-run.el (defsubst): Doc fix.
179
8111f5e6
EZ
1802012-10-14 Eli Zaretskii <eliz@gnu.org>
181
7b9abf24
EZ
182 * window.el (display-buffer): Doc fix.
183
8111f5e6
EZ
184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
185 Adjust the msft regexp to the output of Studio 2010, and move msft
186 before edg-1. See the discussion on emacs-devel,
187 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
188 for the details.
189
5046ef67
SM
1902012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
191
9760c73c
SM
192 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
193 (oset): Move uses of object-class-fast macro after its definition.
194
5046ef67
SM
195 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
196
0d11ff1c
CY
1972012-10-13 Chong Yidong <cyd@gnu.org>
198
199 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
200 enabled, re-enable it (Bug#11963).
201
88ded8ac
MR
2022012-10-13 Martin Rudalics <rudalics@gmx.at>
203
204 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
205 non-nil, restore window configuration (Bug#12623).
206
bd0ffffd
SM
2072012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
208
06485aa8
SM
209 * help-fns.el (describe-variable, describe-function-1):
210 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
211
bd0ffffd
SM
212 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
213
3a989246
GM
2142012-10-12 Glenn Morris <rgm@gnu.org>
215
216 * mail/rmailsum.el (rmail-header-summary):
217 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
218
55cd00c8
FEG
2192012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
220
bd0ffffd
SM
221 * progmodes/python.el (python-mode-map):
222 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
223 (python-nav--up-list): Fix behavior for blocks on the same level.
224
ac9fc2c7
SM
2252012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
226
d8cc4c00 227 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 228
5253a5fd
SM
229 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
230 changes to the format of load-history.
231
ac9fc2c7
SM
232 * international/mule-cmds.el (read-char-by-name): Move let-binding of
233 completion-ignore-case in case that var is buffer-local (bug#12615).
234
cde44a77
KH
2352012-10-11 Kenichi Handa <handa@gnu.org>
236
237 * international/eucjp-ms.el: Re-generated.
238
4ef4a10d
KH
2392012-10-10 Kenichi Handa <handa@gnu.org>
240
241 * select.el (xselect--encode-string): If a coding is specified for
242 selection, and that is compatible with COMPOUND_TEXT, use it.
243
9d7f027b
MR
2442012-10-10 Martin Rudalics <rudalics@gmx.at>
245
246 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
247 (switch-to-buffer):
248 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 249
238f3a58
SM
2502012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
253 Don't document nil as a useful value (bug#12583).
254
1d51f99c
MA
2552012-10-09 Michael Albinus <michael.albinus@gmx.de>
256
238f3a58
SM
257 * net/tramp.el (tramp-debug-message):
258 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
259 (with-tramp-progress-reporter): Rename from
260 `tramp-with-progress-reporter'.
238f3a58
SM
261 (with-tramp-file-property, with-tramp-connection-property):
262 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
263 `with-connection-property', respectively.
264
265 * net/tramp-cache.el: Remove `with-file-property' and
266 `with-connection-property'.
267
268 * net/tramp.el:
269 * net/tramp-gvfs.el:
270 * net/tramp-sh.el:
271 * net/tramp-smb.el: Adapt callees.
272
273 * net/trampver.el: Update release number.
274
26b77251
GM
2752012-10-09 Glenn Morris <rgm@gnu.org>
276
9a5f296f
GM
277 * w32-fns.el (set-message-beep):
278 * term/w32-win.el (set-message-beep): Update declarations.
279
94c66ce5
SM
2802012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
281
10766e9e
SM
282 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
283 (mode-line-widen, mode-line-input-method-map)
284 (mode-line-coding-system-map, mode-line-remote)
285 (mode-line-unbury-buffer, mode-line-bury-buffer)
286 (mode-line-next-buffer, mode-line-previous-buffer):
287 Replace save-selected-window+select-window => with-selected-window.
288
f754db08
SM
289 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
290 * progmodes/cc-vars.el (bq-process): Remove, unused.
291
94c66ce5
SM
292 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
293
a4ff7fe1
FEG
2942012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
295
296 Implemented `backward-up-list'-like navigation.
297 * progmodes/python.el (python-nav-up-list)
298 (python-nav-backward-up-list): New functions.
299 (python-mode-map): Define substitute key for backward-up-list to
300 python-nav-backward-up-list.
301
24517d82
FEG
3022012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
303
304 * progmodes/python.el (python-fill-paragraph): Rename from
305 python-fill-paragraph-function. Fixed fill-paragraph for
306 decorators (Bug#12605).
307
51867ae2
FEG
3082012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
309
310 * progmodes/python.el (python-shell-output-filter): Handle extra
311 carriage return in OSX (Bug#12409).
312
a5b773c4
FEG
3132012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
314
315 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 316 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
317 (python-syntax-propertize-function): Use it.
318 (python-shell-output-syntax-table): New var.
319 (inferior-python-mode): Prevent unbalanced parens/quotes from
320 previous output mess with current input context.
321
13373538
JB
3222012-10-08 Juanma Barranquero <lekktu@gmail.com>
323
324 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
325 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
326
775a132d
MA
3272012-10-08 Michael Albinus <michael.albinus@gmx.de>
328
329 * ffap.el (ffap-replace-file-component): Support Tramp file name
330 syntax, not only ange-ftp's one.
331
3ab44929
GM
3322012-10-08 Glenn Morris <rgm@gnu.org>
333
57f1dee4
GM
334 * cus-start.el (message-log-max): Set :version.
335
3ab44929
GM
336 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
337
6a088630
MR
3382012-10-08 Martin Rudalics <rudalics@gmx.at>
339
340 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
341 the minibuffer window (Bug#10851).
342
8dbce54c
FEG
3432012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
344
345 Enhancements on forward-sexp movement.
346 * progmodes/python.el (python-nav-beginning-of-statement)
347 (python-nav-end-of-statement): Return point-marker.
348 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
349 (python-info-current-symbol)
350 (python-info-statement-starts-block-p): Rename from
351 python-info-beginning-of-block-p.
352 (python-info-statement-ends-block-p): Rename from
353 python-info-end-of-block-p.
354 (python-info-beginning-of-statement-p)
355 (python-info-end-of-statement-p)
356 (python-info-beginning-of-block-p, python-info-end-of-block-p):
357 New functions.
358
5acd2b3e
SM
3592012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
362 frame-selected-windows.
363
e08348a0
DC
3642012-10-08 Daniel Colascione <dancol@dancol.org>
365
366 * battery.el (battery-status-function): Check for
367 w32-battery-status itself, not system-time windows-nt.
368
369 * frame.el: Require cl-lib.
370 (display-format-alist): New variable mapping frame types to
371 functions that initialize them.
372 (window-system-for-display): New function: interprets
373 display-format-alist.
374 (make-frame-on-display): Remove existing display-selection logic
375 and just forward to make-frame, which will now DTRT.
376 (make-frame): Restructure to use window-system-for-display to
377 figure out how to create a frame on a given display.
378 (display-mouse-p): Look for frame-type w32, not a particular
379 system-type.
380
381 * loadup.el: Load w32 lisp code when we have the w32 feature.
382
383 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
384 system-type windows-nt.
385
386 * server.el (server-create-window-system-frame): Look for window
387 type.
388 (server-proces-filter): Only force a window system when windows-nt
389 _and_ w32. Explain why.
390
391 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
392 of window systems we configure for the mode.
393
394 * startup.el (command-line): Mark window system is initialized
395 after we've done it.
396
397 * common-win.el (x-select-text): Look for w32, not windows-nt.
398
399 * ns-win.el: Require cl-lib. Add ourselves to
400 display-format-alist.
401 (ns-initialize-window-system): Assert we're not initialized twice.
402
403 * w32-win.el: Enable lexical binding; require cl-lib; add
404 ourselves to display-format-alist.
405 (w32-handle-dropped-file): Convert incoming dropped files from
406 Windows paths to Cygwin ones before passing them on to the rest of
407 Emacs.
408 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
409 (w32-initialize-window-system): Assert we're not initialized twice.
410
411 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
412 (x-initialize-window-system): Assert we're not initialized twice.
413
414 * w32-common-fns.el: New File.
415 (w32-version, w32-using-nt, w32-get-clipboard-data)
416 (w32-set-clipboard-data, x-set-selection, x-get-selection)
417 (w32-charset-info-alist, x-last-selected, text)
418 (x-get-selection-value, x-selection-value): Move here.
419
420 * w32-fns.el: Require w32-common-fns.
421 (w32-version, w32-using-nt, w32-get-clipboard-data)
422 (w32-set-clipboard-data, x-set-selection, x-get-selection)
423 (w32-charset-info-alist, x-last-selected, text)
424 (x-get-selection-value, x-selection-value): Move to
425 w32-common-fns.
426
427 * w32-vars.el:
428 (w32-allow-system-shell, w32-system-shells): Define only in
429 non-cygwin case.
430
795b1482
SM
4312012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
432
433 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
434 (read-passwd): Remove a few more potential sources of leaks.
435
f27c99dc
FEG
4362012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
437
438 * progmodes/python.el (inferior-python-mode)
795b1482 439 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
440 variables copied from parent buffer.
441
fcacb558
JD
4422012-10-07 Jan Djärv <jan.h.d@swipnet.se>
443
444 * term/ns-win.el (ns-read-file-name): Update declaration to match
445 nsfns.m.
446 (ns-respond-to-change-font): Change fontsize separatly so we are sure
447 it is set when font is acted upon.
448
be0d5bae
FEG
4492012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
450
451 Enhancements to indentation.
452 * progmodes/python.el (python-indent-context): Give priority to
453 inside-string context. Make comments indentation markers.
454 (python-indent-region): Do not mess with strings, unless it's the
455 enclosing set of quotes.
456
13af0d10
SM
4572012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
458
662a9d0e
SM
459 * window.el (internal--before-save-selected-window)
460 (internal--after-save-selected-window): New functions extracted from
461 save-selected-window. Make sure we return the `alist' we construct.
462 (save-selected-window): Use them.
463
464 * textmodes/tex-mode.el (tex-recenter-output-buffer):
465 Use with-selected-window.
466
13af0d10
SM
467 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
468 forms that define macros (bug#12593).
469
6aa75fb6
KH
4702012-10-07 Kenichi Handa <handa@gnu.org>
471
13af0d10
SM
472 * international/mule-conf.el (compound-text-with-extensions):
473 Add :mime-charset property as x-ctext.
6aa75fb6 474
78d876b9
SM
4752012-10-07 Stefan Merten <smerten@oekonux.de>
476
477 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
478 (rst-indent-literal-normal, rst-indent-literal-minimized)
479 (rst-indent-comment): Correct :version tag.
557337e9 480 (rst-official-cvs-rev): Correct version string.
78d876b9 481
99a1e701
GM
4822012-10-07 Glenn Morris <rgm@gnu.org>
483
484 * mail/rmailmm.el (rmail-mime-process-multipart):
485 Do not confuse a multipart message with an epilogue
486 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
487
08f18c3d
FEG
4882012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
489
490 Fix shell output retrieval and comint-prompt-regexp init.
491 * progmodes/python.el (inferior-python-mode):
492 (python-shell-make-comint): Fix initialization of
493 comint-prompt-regexp from copied file local variables.
494 (python-shell-fetched-lines): Remove var.
495 (python-shell-output-filter-in-progress): Rename from
496 python-shell-fetch-lines-in-progress.
497 (python-shell-output-filter-buffer): Rename from
498 python-shell-fetch-lines-string.
499 (python-shell-fetch-lines-filter): Delete function.
500 (python-shell-output-filter): New function.
501 (python-shell-send-string-no-output): Use them.
502
82ed3ab4
GM
5032012-10-07 Glenn Morris <rgm@gnu.org>
504
1595ecfa
GM
505 * hi-lock.el (hi-lock-process-phrase):
506 Try to make it less fragile. (Bug#7161)
507
82ed3ab4
GM
508 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
509
f1f4dba0
GM
5102012-10-06 Glenn Morris <rgm@gnu.org>
511
addc11ed 512 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
513 non-existent mode `help'.
514 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 515
460042b8
GM
516 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
517 (reftex-create-bibtex-footer): Fix custom types.
518
67667c70
GM
519 * progmodes/sh-script.el (sh-indent-after-continuation):
520 Add explicit :group.
521
18dec750
GM
522 * textmodes/rst.el (rst-preferred-decorations)
523 (rst-shift-basic-offset): Clarify obsolescence versions.
524
d1a1c7e6
GM
525 * profiler.el (profiler): Add missing group :version tag.
526 * avoid.el (mouse-avoidance-banish-position):
527 * proced.el (proced-renice-command):
528 * calc/calc.el (calc-ensure-consistent-units):
529 * calendar/icalendar.el (icalendar-import-format-uid):
530 * net/tramp.el (tramp-save-ad-hoc-proxies):
531 * progmodes/bug-reference.el (bug-reference-bug-regexp):
532 * progmodes/flymake.el (flymake-error-bitmap)
533 (flymake-warning-bitmap, flymake-fringe-indicator-position):
534 * progmodes/sh-script.el (sh-indent-after-continuation):
535 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
536 (verilog-before-save-font-hook, verilog-after-save-font-hook):
537 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
538 (vhdl-array-index-record-field-in-sensitivity-list)
539 (vhdl-indent-comment-like-next-code-line):
540 * textmodes/reftex-vars.el (reftex-ref-style-alist)
541 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
542 (reftex-cite-key-separator, reftex-create-bibtex-header)
543 (reftex-create-bibtex-footer):
544 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
545 (rst-indent-literal-normal, rst-indent-literal-minimized)
546 (rst-indent-comment): Add missing custom :version tags.
547
ef35abb4
GM
548 * calendar/timeclock.el (timeclock-modeline-display):
549 Add missing obsolete alias for renamed user option.
550
d1aae614
GM
551 * strokes.el (strokes-modeline-string):
552 * emulation/crisp.el (crisp-mode-modeline-string):
553 * eshell/esh-mode.el (eshell-status-in-modeline):
554 Aliases to defcustoms must come before the defcustom.
555
f1f4dba0
GM
556 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
557 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
558 (cal-tex-cursor-week-monday): Doc fixes.
559 (cal-tex-cursor-week2-summary): Doc fix.
560 Rename from cal-tex-cursor-week-at-a-glance.
561
562 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
563 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
564
565 * calendar/calendar.el (calendar-mode-map):
566 Add cal-tex-cursor-week2-summary.
567
d39109c3
SM
5682012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
569
685f87b0
SM
570 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
571
d39109c3
SM
572 * subr.el (read-passwd-map): New var.
573 (read-passwd): Use `read-string' again.
574 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
575
5694896d
J
5762012-10-06 Jambunathan K <kjambunathan@gmail.com>
577
578 * register.el (append-to-register, prepend-to-register):
579 Deactivate mark, as does `copy-to-register' (bug#12389).
580
9414dd8d
CY
5812012-10-06 Chong Yidong <cyd@gnu.org>
582
583 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
584
2b89bca4
KH
5852012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
586
587 * international/characters.el: Fix simple mistake ((car chars) ->
588 elt), delete duplicated code.
589
d5acb99a
GM
5902012-10-06 Glenn Morris <rgm@gnu.org>
591
592 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
593
123ec157
JS
5942012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
595
596 * color.el (color-hsl-to-rgb): Fix incorrect results for
597 small and large hue values. (Bug#12559)
598
7fa36ccb
FEG
5992012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
600
601 Enhancements to docstring formatting when filling paragraphs.
602 * progmodes/python.el (python-fill-docstring-style): Rename from
603 python-fill-string-style. Added new style.
604 (python-fill-string): Use new style. Better checks for
605 docstrings.
606
d8788e1e
GM
6072012-10-05 Glenn Morris <rgm@gnu.org>
608
204f3953
GM
609 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
610
d8788e1e
GM
611 * color.el (color-name-to-rgb, color-rgb-to-hex)
612 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
613 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
614 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
615 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
616
8d956cef
GM
617 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
618
e8757f09 6192012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
620
621 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
622 to get the correct size across symlinks.
623
e8757f09
GM
624 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
625
0e2ae83d
JL
6262012-10-04 Juri Linkov <juri@jurta.org>
627
628 * replace.el (query-replace-interactive): Declare obsolete.
629 (query-replace-read-from): Add the last incremental search string
630 to the list of default values accessible via M-n.
631 (map-query-replace-regexp): Use `read-regexp'.
632 (query-replace, query-replace-regexp, query-replace-regexp-eval)
633 (map-query-replace-regexp, replace-string, replace-regexp):
634 Fix docstrings to replace mentions of `query-replace-interactive'
635 with alternatives. (Bug#12526)
636
93cacb6d
JL
6372012-10-04 Juri Linkov <juri@jurta.org>
638
639 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
640 (dired-pop-to-buffer): Declare obsolete.
641 (dired-mark-pop-up): Doc fix.
642
fc345011
FEG
6432012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
644
645 Allow user to set docstring style for fill-paragraph.
646 * progmodes/python.el
647 (python-fill-comment-function, python-fill-string-function)
648 (python-fill-decorator-function, python-fill-paren-function):
649 Remove :safe for defcustoms.
650 (python-fill-string-style): New defcustom
5694896d 651 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
652 (python-fill-string): Honor python-fill-string-style settings.
653
6bab5d8b
MR
6542012-10-04 Martin Rudalics <rudalics@gmx.at>
655
656 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
657 after setting its buffer (Bug#10805).
658
a1a9f411
FEG
6592012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
660
661 Fix cornercase for string syntax.
662 * progmodes/python.el (python-syntax-propertize-function):
663 Simplify and enhance the regexp for unescaped quotes. Now it also
664 matches quotes in weird situations like the single quote in
665 "something\"'".
666 (python-syntax-stringify): Simplify num-quotes detecting code.
667
05e153a6
GM
6682012-10-03 Glenn Morris <rgm@gnu.org>
669
670 * help-macro.el (three-step-help):
671 Revert 2012-09-29 change. (Bug#12567)
672
2e566ecb
MR
6732012-10-03 Martin Rudalics <rudalics@gmx.at>
674
96ef9ccd
MR
675 * menu-bar.el (kill-this-buffer): Don't do anything when
676 `menu-frame' is not alive or visible (Bug#8184).
677
2e566ecb
MR
678 * emacs-lisp/debug.el (debug): When quitting the debugger window
679 restore current buffer (Bug#12502).
680
a96e1cb7
CY
6812012-10-02 Chong Yidong <cyd@gnu.org>
682
5694896d
J
683 * progmodes/hideif.el (hif-lookup, hif-defined):
684 Handle semantic-c-takeover-hideif.
a96e1cb7 685
b3ecad33
PE
6862012-10-02 Paul Eggert <eggert@cs.ucla.edu>
687
688 Change sampling interval units from ms to ns.
689 * profiler.el (profiler-sampling-interval): Change units
690 from ms to ns, multiplying the default by 1000000 so that
691 it remains 1 ms.
692 (profiler-report-cpu-line-format): Give enough room for
693 the maximum counters on 64-bit hosts.
694 (profiler-report-render-calltree-1): Call them "CPU samples",
695 not "Time (ms)", since they are not milliseconds now (and
696 never really were).
697
8cb51b66 6982012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 699
5694896d
J
700 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
701 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 702
fd795bf4
CY
7032012-10-02 Chong Yidong <cyd@gnu.org>
704
705 * emacs-lisp/eieio.el: Restore Version header.
706
fe0a74f9
SM
7072012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
708
6be9197e
SM
709 * vc/diff-mode.el (diff--auto-refine-data): New var.
710 (diff-hunk): Use it to delay refinement.
711 (diff-mode): Remove overlays when we turn off font-lock.
712
18486139
SM
713 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
714 (table-initialize-table-fixed-width-mode)
715 (table-set-table-fixed-width-mode): Remove functions.
716 (table-command-list): Move initialization into declaration.
717 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
718 (table-with-cache-buffer): Use `declare'.
719 (table-span-cell): Simplify via CSE.
720 (table-fixed-width-mode): Use define-minor-mode.
721 (table-call-interactively, table-funcall, table-apply): Remove.
722 (table-function): New function, to replace them.
723
d83ef976
SM
724 * bookmark.el (bookmark-search-pattern): Remove var.
725 (bookmark-read-search-input): Remove function.
726 (bookmark-bmenu-search): Reimplement using a minibuffer.
727
cd386662
SM
728 * faces.el (modeline): Remove obsolete face name.
729
fe0a74f9
SM
730 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
731 and give a non-nil default value.
732 (add-change-log-entry): Simplify accordingly.
733
9f7b98f8
DG
7342012-10-01 Dmitry Gutov <dgutov@yandex.ru>
735
736 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
737 (vc-git-log-edit-toggle-amend): New function.
738 (vc-git-log-edit-toggle-signoff): New function.
739 (vc-git-log-edit-mode): New major mode.
740 (vc-git-log-edit-mode-map): Keymap for it.
741 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
742
743 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
744 header names.
745 (log-edit-toggle-header): New function.
746 (log-edit-extract-headers): Accept function values in HEADERS alist.
747
62a81506
CY
7482012-10-01 David Engster <deng@randomsample.de>
749
750 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
751 from symbol property and change message to be more consistent with
752 Emacs proper.
753 (eieio-describe-generic): Add filename for each implementation.
754 Fix indices for generic and normal methods.
755 (eieio-method-def, eieio-class-def): New buttons.
756 (eieio-help-find-method-definition)
757 (eieio-help-find-class-definition): New functions.
758 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
759 class, constructor and method definitions.
760
761 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
762 information in symbol property.
763 (scoped-class): Remove.
764 (eieio-slot-name-index, call-next-method): Check if it is bound.
765
7662012-10-01 Leo P. White <lpw25@cam.ac.uk>
767
768 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
769 (eieio-custom-mode): New major mode.
770 (eieio-customize-object): Use it.
771
7722012-10-01 Eric Ludlam <zappo@gnu.org>
773
774 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
775 specifying the expected class, and whether subclassing is allowed.
776 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
777 (eieio-persistent-validate/fix-slot-value)
778 (eieio-persistent-slot-type-is-class-p): New functions.
779 (eieio-named::slot-missing): Doc fix.
62a81506
CY
780
781 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
782 Stop using unused publd variable.
783
784 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
785 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
786 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
787 (eieio-speedbar-handle-click): Do not specify a class for the
788 method. Fixes method invocation order problems with EDE.
789
375e49d4
SM
7902012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
791
792 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
793 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
794
16ce6ccd
KF
7952012-10-01 Karl Fogel <kfogel@red-bean.com>
796
797 * bookmark.el (bookmark-version-control): Give tags in the
798 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
799 (bookmark-write-file): Bind `print-circle' to `t' to allow
800 circular custom bookmark types. (Bug#12503)
16ce6ccd 801
19e54a4d
PE
8022012-10-01 Paul Eggert <eggert@cs.ucla.edu>
803
86ec63ba
PE
804 Revert the FOLLOW-SYMLINKS change for file-attributes.
805 * files.el (remote-file-name-inhibit-cache, after-find-file):
806 * time.el (display-time-file-nonempty-p): Undo last change.
807
19e54a4d
PE
808 * profiler.el (profiler-sampling-interval): Change default back to 1.
809 See Stefan Monnier in
810 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
811
0478776b
FEG
8122012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
813
814 Shell output catching a la gud-gdb.
815 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
816 (python-shell-fetch-lines-string, python-shell-fetched-lines):
817 New Vars.
0478776b
FEG
818 (python-shell-fetch-lines-filter): New function.
819 (python-shell-send-string-no-output): Use them.
820
c22bac2c
TM
8212012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
822
823 * profiler.el (profiler-sampling-interval): Rename from
824 profiler-sample-interval.
825 (profiler-sampling-interval): Default to 10.
826 (profiler-find-profile): New command (was profiler-find-log).
827 (profiler-find-profile-other-window): New command.
828 (profiler-find-profile-other-frame): New command.
829 (profiler-profile): Introduce API-level data structure.
830
e7a2937b
PE
8312012-09-30 Paul Eggert <eggert@cs.ucla.edu>
832
833 file-attributes has a new optional arg FOLLOW-SYMLINKS.
834 * files.el (remote-file-name-inhibit-cache):
835 * time.el (display-time-file-nonempty-p): Use it.
836 * files.el (after-find-file): Don't chase links before calling
837 file-exists-p, as file-exists-p already does the right thing.
838
4f595e15
RA
8392012-09-30 Ralf Angeli <angeli@caeruleus.net>
840
841 Merge from standalone RefTeX repository.
842
843 The following ChangeLog entries are shortened versions of the
844 original ones with file paths adapted. A not so strongly edited
845 version of the original ChangeLog can be found in the commit log.
846
847 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
848 (reftex-arg-cite): Use `reftex-cite-key-separator'.
849 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
850
851 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
852 that entries with whitespace at various places are found.
853 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
854 Include @String definitions in the resulting bib file. Add header
855 and footer defined in `reftex-create-bibtex-header' and
856 `reftex-create-bibtex-footer'.
857 (reftex-do-citation): Make it possible again to insert
858 non-existent entries. Save match data when asking for optional
859 arguments. Return all keys, not just the first one.
860 (reftex-all-used-citation-keys): Fix regexp to correctly extract
861 all citations in the same line.
862 (reftex-parse-bibtex-entry): Accept additional optional argument
863 `raw' and keep quotes or braces if it is non-nil. Match fields
864 containing hyphens besides word constituents.
865 (reftex-get-string-refs): New function.
866 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
867 and ask if it should be reread in case it did.
868 (reftex-pop-to-bibtex-entry)
869 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
870 entries with spaces or tabs in front of arguments.
871 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
872 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
873 Match entries containing numbers and symbol constituents.
874 (reftex-do-citation, reftex-figure-out-cite-format):
875 Use `reftex-cite-key-separator'.
4f595e15
RA
876
877 * textmodes/reftex-dcr.el: Move provide statement to end of file.
878 (reftex-mouse-view-crossref): Explain why point is set.
879
880 * textmodes/reftex-global.el: Whitespace changes.
881
882 * textmodes/reftex-index.el: Move provide statement to end of
883 file.
884 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
885 (reftex-index-visit-phrases-buffer): Set marker when visiting
886 buffer. This allows for returning from the phrases file to the
887 file one was just editing instead of the file where the last
888 phrases was added from.
889 (reftex-index-phrases-syntax-table): New variable. Give ?\"
890 punctuation syntax as it usually is not used as string quote in
891 TeX-related modes and may occur unmatched. The change also
892 prevents fontification of quoted content.
893 (reftex-index-phrases-mode): Use it.
894
375e49d4
SM
895 * textmodes/reftex-parse.el (reftex-parse-from-file):
896 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
897 (reftex-parse-from-file): Use beginning of match instead of end as
898 bound.
899
900 * textmodes/reftex-ref.el: Adapt creation of
901 `reftex-<package>-<macro>' functions to new structure of
902 `reftex-ref-style-alist'.
375e49d4
SM
903 (reftex-reference): Use `reftex-ref-style-list' function.
904 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
905 reference macro if `reftex-ref-macro-prompt' is non-nil.
906 (reftex-reference): Pass refstyle to `reftex-format-special'.
907 Determine reference macro by looking at
375e49d4
SM
908 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
909 Use only one special format function.
4f595e15
RA
910 (reftex-varioref-vref, reftex-fancyref-fref)
911 (reftex-fancyref-Fref): Remove definitions. The functions are now
912 generated from `reftex-ref-style-alist'.
913 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
914 Remove.
915 (reftex-format-special): New function.
916
917 * textmodes/reftex-sel.el
918 (reftex-select-cycle-ref-style-internal): Adapt to new structure
919 of `reftex-ref-style-alist'. Remove code for testing macro type.
920 (reftex-select-toggle-varioref)
921 (reftex-select-toggle-fancyref): Remove.
922 (reftex-select-cycle-ref-style-internal)
923 (reftex-select-cycle-ref-style-forward)
924 (reftex-select-cycle-ref-style-backward): New functions.
925 (reftex-select-label-map): Use `v' and `V' for general cycling
926 through reference styles. Add `p' for switching between number
927 and page reference types.
928
375e49d4
SM
929 * textmodes/reftex-toc.el (reftex-re-enlarge):
930 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
931 the horizontal version throws an error even if the parameter is 0.
932
933 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
934 (reftex-plug-into-AUCTeX): Doc fix.
935 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
936 string. Adapt to new name.
937 (reftex-ref-style-alist): Change structure so that it is not
938 possible to use multiple different package names within a style.
375e49d4
SM
939 Remove the symbols for symbols for macro type distinction.
940 Add characters for macro selection.
4f595e15
RA
941 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
942 (reftex-create-bibtex-footer): New variables.
943 (reftex-format-ref-function): Mention third argument of special
944 format function.
375e49d4
SM
945 (reftex-ref-style-alist, reftex-ref-style-default-list):
946 New variables.
4f595e15
RA
947 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
948 to new implementation. Mark as obsolete. Add compatibility code
949 for honoring the variable values in case they are set.
375e49d4
SM
950 (reftex-cite-format-builtin, reftex-bibliography-commands):
951 Add support for ConTeXt.
952 (reftex-format-ref-function, reftex-format-cite-function):
953 Fix custom type.
4f595e15
RA
954 (reftex-cite-key-separator): New variable.
955
956 * textmodes/reftex.el (reftex-syntax-table-for-bib)
957 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
958 `reftex-syntax-table' because parens have to retain their paren
959 syntax in order for parsing of BibTeX entries like @book(...) to
960 work.
961 (reftex-in-comment): Do not error out if `comment-start-skip' is
962 not set. Deal correctly with escaped comment characters.
375e49d4
SM
963 (reftex-tie-multifile-symbols): Add doc string.
964 Initialize `reftex-ref-style-list'.
4f595e15
RA
965 (reftex-untie-multifile-symbols): Add doc string.
966 (reftex-add-index-macros): Doc fix.
967 (reftex-ref-style-activate, reftex-ref-style-toggle)
968 (reftex-ref-style-list): New functions.
969 (reftex-mode-menu): Use them. Adapt to new structure of
970 `reftex-ref-style-alist'.
971 (reftex-select-with-char): Kill the RefTeX Select buffer when
972 done.
973 (reftex-remove-if): New function.
974 (reftex-erase-all-selection-and-index-buffers)
975 (reftex-mode-menu): Reference styles are now computed from
976 `reftex-ref-style-alist'. Fix typo.
977 (reftex-report-bug): New function.
978 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
979 algorithms with O(n log n). Introduce optional argument SORT (not
980 yet used).
981
440ba395
FEG
9822012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
983
984 Enhancements for triple-quote string syntax.
375e49d4
SM
985 * progmodes/python.el (python-syntax-propertize-function):
986 Match both quote cases in one regexp.
440ba395
FEG
987 (python-syntax-stringify): Handle matches properly.
988
4c478e6b
JL
9892012-09-30 Juri Linkov <juri@jurta.org>
990
991 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 992 to nil around the call to `insert' to prevent
4c478e6b
JL
993 directory time modification by lock_file. (Bug#2295)
994 * tar-mode.el (tar-summarize-buffer): Idem.
995
d80d54b2
JL
9962012-09-30 Juri Linkov <juri@jurta.org>
997
998 * facemenu.el (list-colors-sort): Add option "Luminance".
999 (list-colors-sort-key): Implement it.
1000
1001 * vc/diff-mode.el (diff-refine-removed):
1002 * vc/ediff-init.el (ediff-fine-diff-A):
1003 * vc/smerge-mode.el (smerge-refined-removed):
1004 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1005
d7e642cc
JD
10062012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1007
1008 * term/ns-win.el (x-file-dialog): New function.
1009
ee41332b
JB
10102012-09-30 Juanma Barranquero <lekktu@gmail.com>
1011
1012 * ido.el (ido-max-directory-size): Default to nil; the current
1013 default is small for POSIX systems, and impractical on Windows 7
1014 now that lstat returns directory sizes for NTFS.
1015
5938d519
MR
10162012-09-30 Martin Rudalics <rudalics@gmx.at>
1017
1018 In buffer display functions handle window-height/window-width
1019 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1020 * window.el (window--display-buffer): New argument ALIST.
1021 Obey window-height and window-width alist entries.
1022 (window--try-to-split-window): New argument ALIST.
1023 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1024 changed and window-combination-limit equals `window-size'.
1025 (display-buffer-in-atom-window)
1026 (display-buffer-in-major-side-window)
1027 (display-buffer-in-side-window, display-buffer-same-window)
1028 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1029 (display-buffer-pop-up-window, display-buffer-below-selected)
1030 (display-buffer-at-bottom, display-buffer-in-previous-window)
1031 (display-buffer-use-some-window): Adjust all callers of
1032 window--display-buffer and window--try-to-split-window.
1033 (fit-frame-to-buffer): New option.
1034 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1035 is non-nil.
1036 (display-buffer-in-major-side-window): Evaluate window-height /
1037 window-width alist entries.
1038
1039 * help.el (temp-buffer-resize-frames)
1040 (temp-buffer-resize-regexps): Remove options.
1041 (temp-buffer-resize-mode): Adjust doc-string.
1042 (resize-temp-buffer-window): Don't consult
1043 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1044 temp-buffer-resize-frames.
1045
375e49d4
SM
1046 * dired.el (dired-mark-pop-up):
1047 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1048 entry.
1049
c4c0c2df
CY
10502012-09-30 Chong Yidong <cyd@gnu.org>
1051
48de8b12
CY
1052 * server.el (server-host): Document the security implications.
1053 (server-auth-key): Doc fix.
1054
1055 * startup.el (initial-buffer-choice): Doc fix.
1056
1057 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1058
a97dc380
CY
1059 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1060 restriction change.
1061
d39d3c8e
CY
1062 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1063
c4c0c2df
CY
1064 * help-fns.el (help-fns--obsolete): Fix last change.
1065
98a5e33b
SM
10662012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1067
34cf6f39
SM
1068 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1069 (minor-mode-map-alist): Remove redundant code.
1070
e01c13fe
SM
1071 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1072 visited in a buffer.
1073 (cvs-insert-visited-file): New function.
1074 (find-file-hook): Use it.
1075
1076 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1077
02661b3a
SM
1078 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1079 chose face.
1080 (log-edit-empty-buffer-p): Don't require a space after a header.
1081
43711d4b
SM
1082 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1083
38a30d64
SM
1084 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1085
4ffb41a9
SM
1086 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1087 a proper minor-mode.
1088
98a5e33b
SM
1089 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1090
de82e29b
GM
10912012-09-29 Glenn Morris <rgm@gnu.org>
1092
5cc2e639
GM
1093 * winner.el (winner-mode): Remove variable (let define-minor-mode
1094 handle it).
1095 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1096 Doc fixes.
1097 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1098 (winner-mode): Use define-minor-mode.
1099
7bd302eb
GM
1100 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1101 the full definition in loaddefs, rather than duplicating it.
1102
2923922f 1103 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1104
0e3e4156
GM
1105 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1106 (inferior-lisp-program, inferior-lisp-load-command)
1107 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1108 No need to autoload defcustoms.
0e3e4156 1109
de82e29b
GM
1110 * hippie-exp.el (hippie-expand-try-functions-list)
1111 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1112 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1113 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1114 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1115 * progmodes/vhdl-mode.el (vhdl-line-expand):
1116 Explicitly load hippie-exp, so it does not get autoloaded
1117 while hippie-expand-try-functions-list is let-bound.
1118
e60b51ab
GM
11192012-09-28 Glenn Morris <rgm@gnu.org>
1120
277f0cfa
GM
1121 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1122
e60b51ab
GM
1123 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1124 Only "cl.el" counts as cl these days.
1125
53baf48a
JL
11262012-09-28 Juri Linkov <juri@jurta.org>
1127
1128 Display archive errors in the echo area instead of inserting
1129 to the file buffer.
1130
1131 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1132 to STDERR-TEST that can be a regexp matching a successful output.
1133 Create a temporary file and redirect stderr to it. Search for
1134 STDERR-TEST in the stderr output and display it in the echo area
1135 if no match is found.
1136 (archive-extract-by-file): New function like
1137 `archive-extract-by-stdout' but extracting archives to files
1138 and looking for successful matches in stdout. Function body is
1139 mostly copied from `archive-rar-extract'.
1140 (archive-rar-extract): Use `archive-extract-by-file'.
1141 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1142
9c1228c3
LL
11432012-09-28 Leo Liu <sdl.web@gmail.com>
1144
375e49d4
SM
1145 * pcomplete.el (pcomplete-show-completions):
1146 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1147
9c1228c3
LL
1148 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1149
7f457c06
SM
11502012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1151
3df749b0
SM
1152 * type-break.el: Use lexical-binding.
1153 (type-break-mode): Use define-minor-mode.
1154
7f457c06
SM
1155 * emacs-lisp/pcase.el (pcase--mark-used): New.
1156 (pcase--u1): Use it (bug#12512).
1157
1158 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1159 in load-history with the right file name.
1160
c00ebc98
TH
11612012-09-28 Tassilo Horn <tsdh@gnu.org>
1162
1163 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1164 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1165 (doc-view-get-bounding-box): Make bounding box slicing work for
1166 ODF and DVI documents.
1167
96fb7170
GM
11682012-09-28 Glenn Morris <rgm@gnu.org>
1169
1170 * type-break.el (type-break-mode, type-break-interval)
1171 (type-break-good-rest-interval, type-break-keystroke-threshold):
1172 No need to autoload.
1173 (type-break-good-rest-interval, type-break-keystroke-threshold):
1174 Add :set-after.
1175
5bc93c67
CY
11762012-09-28 Chong Yidong <cyd@gnu.org>
1177
1178 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1179 Add :version tag.
1180
9cad61d6
SM
11812012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1182
e28e67b3 1183 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1184
daee954c
GM
11852012-09-27 Glenn Morris <rgm@gnu.org>
1186
a88324d4
GM
1187 * faces.el (x-display-name): Declare (for without-x builds).
1188
8e5064e5
GM
1189 * linum.el (linum-format): Don't autoload it. Improve :type.
1190
cc1783c2
GM
1191 * progmodes/tcl.el: Don't require outline when compiling.
1192 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1193 * textmodes/sgml-mode.el: Don't require outline when compiling.
1194 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1195
48c339f2
GM
1196 * term.el (term-ansi-reset):
1197 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1198
daee954c
GM
1199 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1200 files for RCS and SCCS. (Bug#9781)
1201
b7f42161
CY
12022012-09-27 Chong Yidong <cyd@gnu.org>
1203
1204 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1205 change; value should be t.
1206
a2e770db
SM
12072012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1208
83600dc8
SM
1209 * image-mode.el: Use lexical-binding.
1210 (image-mode-winprops): Use t to stand for the window of
1211 a buffer that's not displayed.
1212 * doc-view.el (doc-view-new-window-function): Handle the new
1213 t in winprops.
1214 (doc-view-enlarge): Make it a real nop if the size is not changed.
1215 (doc-view-display): Handle the case where the buffer is not (yet?)
1216 displayed in any window.
1217 (doc-view-saved-settings): New var.
1218 (doc-view-mode): Use it.
1219 (doc-view-fallback-mode): Set it.
1220
a2e770db
SM
1221 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1222 Set lexical-binding.
1223 (minibuffer-eldef-shorten-default): New var.
1224 (minibuffer-default-in-prompt-regexps): Use it for new default.
1225 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1226
e3b60857
JB
12272012-09-26 Juanma Barranquero <lekktu@gmail.com>
1228
1229 * international/uni-bidi.el:
1230 * international/uni-category.el:
1231 * international/uni-name.el:
1232 * international/uni-numeric.el: Regenerate.
1233
3a880af4
SM
12342012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1235 Stefan Monnier <monnier@iro.umontreal.ca>
1236
1237 * profiler.el: New file.
1238
07b1a5fb
SM
12392012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1240
1241 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1242 (testcover-reinstrument): Simplify with CSE.
1243
42019c2e
JB
12442012-09-26 Juanma Barranquero <lekktu@gmail.com>
1245
1246 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1247
179f044b
WS
12482012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1249
1250 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1251 (verilog-auto-input, verilog-auto-insert-lisp)
1252 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1253 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1254 (verilog-auto-unused, verilog-auto-wire)
1255 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1256 newline. Reported by Andrew Jones.
1257 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1258 Reported by Brad Dobbie.
07b1a5fb
SM
1259 (verilog-batch-delete-trailing-whitespace):
1260 Create verilog-batch-delete-trailing-whitespace.
1261 Reported by Brad Dobbie.
179f044b
WS
1262 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1263 parameters from another module. Reported by Dan Katz.
1264 (verilog-auto, verilog-auto-assign-modport)
1265 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1266 AUTOINOUTMODPORT for UVM interface module shell generation.
1267 Reported by Brad Dobbie.
1268 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1269 standard behavior.
1270 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1271 Reported by Matt Martin.
1272
9c52dd5a
MR
12732012-09-25 Martin Rudalics <rudalics@gmx.at>
1274
1275 * window.el (window--resize-child-windows): When resizing child
1276 windows proportionally, process them in reverse order to
1277 preserve the "when splitting a window the new one gets the odd
1278 line" behavior.
1279 (window--resize-root-window-vertically): When resizing the
1280 minibuffer window try to affect only windows at the bottom of the
1281 frame. (Bug#12419)
1282
863666eb
CY
12832012-09-25 Chong Yidong <cyd@gnu.org>
1284
1285 * subr.el (declare): Doc fix.
1286
1287 * help-fns.el (help-fns--obsolete): Handle macros properly.
1288
59f7af81
CY
12892012-09-25 Chong Yidong <cyd@gnu.org>
1290
1291 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1292 this function obsolete.
1293
1294 * calendar/cal-x.el (calendar-two-frame-setup)
1295 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1296 * calendar/calendar.el (american-calendar, european-calendar)
1297 (calendar-for-loop):
1298 * comint.el (comint-dynamic-simple-complete)
1299 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1300 * desktop.el (desktop-load-default):
1301 * dired-x.el (dired-omit-here-always)
1302 (dired-hack-local-variables, dired-default-directory):
1303 * emacs-lisp/derived.el (derived-mode-class):
1304 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1305 * emacs-lock.el (toggle-emacs-lock):
1306 * epa.el (epa-display-verify-result):
1307 * epg.el (epg-sign-keys, epg-start-sign-keys)
1308 (epg-passphrase-callback-function):
1309 * eshell/esh-util.el (eshell-for):
1310 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1311 (eshell-add-to-window-buffer-names):
1312 * files.el (locate-file-completion):
1313 * imenu.el (imenu-example--create-c-index)
1314 (imenu-example--create-lisp-index)
1315 (imenu-example--lisp-extract-index-name)
1316 (imenu-example--name-and-position):
1317 * international/mule-cmds.el (princ-list):
1318 * international/mule-diag.el (decode-codepage-char):
1319 * international/mule-util.el (detect-coding-with-priority):
1320 * iswitchb.el (iswitchb-read-buffer):
1321 * mail/mailalias.el (mail-complete):
1322 * mail/sendmail.el (mail-sent-via):
1323 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1324 (mouse-major-mode-menu):
1325 * password-cache.el (password-read-and-add):
1326 * pcomplete.el (pcomplete-parse-comint-arguments):
1327 * progmodes/sh-script.el (sh-maybe-here-document):
1328 * replace.el (query-replace-regexp-eval):
1329 * savehist.el (savehist-load):
1330 * simple.el (choose-completion-delete-max-match):
1331 * term.el (term-dynamic-simple-complete):
1332 * vc/ediff-init.el (ediff-check-version):
1333 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1334 * vc/vc.el (vc-diff-switches-list):
1335 * view.el (view-return-to-alist-update): Likewise.
1336
1337 * subr.el (eval-next-after-load, makehash, insert-string)
1338 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1339 mark obsolete.
1340 (mode-line-inverse-video): Variable deleted.
1341
1342 * international/mule-util.el (string-to-sequence): Remove.
1343
1344 * calendar/calendar.el (calendar-version):
1345 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1346 (icalendar-convert-diary-to-ical):
1347 * cus-edit.el (custom-mode):
1348 * ansi-color.el (ansi-color-unfontify-region):
1349 * international/latin1-disp.el (latin1-char-displayable-p):
1350 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1351 * progmodes/which-func.el (which-func-update-1):
1352 Use define-obsolete-function-alias.
59f7af81
CY
1353
1354 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1355 * net/newst-treeview.el (newsticker-groups-filename):
1356 Fix incorrect obsolescence declaration.
59f7af81
CY
1357
1358 * allout.el (allout-passphrase-hint-string): Likewise.
1359 (allout-init): Use a declare form to mark obsolete.
1360
1361 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1362 this applies to functions.
1363
1364 * iswitchb.el (iswitchb-read-buffer): Move code of
1365 iswitchb-define-mode-map here, and delete that obsolete function.
1366
1367 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1368 font-lock-reference-face.
1369
cca96c97
GM
13702012-09-25 Glenn Morris <rgm@gnu.org>
1371
b06eeda8
GM
1372 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1373 Doc fixes.
1374
cca96c97
GM
1375 * eshell/em-term.el (eshell-term-name):
1376 Default to term-term-name. (Bug#12485)
1377
dc4f818b
FEG
13782012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1379
cca96c97
GM
1380 * progmodes/python.el (python-shell-send-buffer): Better handling
1381 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1382
289c24bd
GM
13832012-09-24 Glenn Morris <rgm@gnu.org>
1384
1385 * eshell/esh-cmd.el (eshell-find-alias-function):
1386 Tighten up file-name regexp. (Bug#12499)
1387
8fb8b88f
FEG
13882012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1389
1390 Enhancements for triple-quote string syntax.
1391 * progmodes/python.el (python-quote-syntax): Remove.
1392 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1393 (python-syntax-count-quotes, python-syntax-stringify):
1394 New functions.
8fb8b88f 1395
6c27f0f8
CY
13962012-09-24 Chong Yidong <cyd@gnu.org>
1397
a5f2b6ec
CY
1398 * mail/supercite.el (sc-version): Remove obsolete function.
1399 (sc-describe): Don't mark as obsolete, since it is bound.
1400 (sc-submit-bug-report): Remove.
1401
1402 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1403 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1404 (log-edit-require-final-newline)
1405 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1406
1407 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1408 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1409 * vc/vc.el (vc-checkout-carefully): Likewise.
1410
1411 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1412 (emerge-version): Remove.
1413
1414 * progmodes/compile.el (compile-internal): Remove.
1415 (compilation-parse-errors-function): Fix typo.
1416
1417 * international/mule.el (set-char-table-default): Remove.
1418 (set-coding-priority, make-coding-system, generic-char-p)
1419 (charset-list, charset-bytes, charset-id): Use declare to mark
1420 functions as obsolete.
1421
1422 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1423 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1424 * vc/vc-hooks.el (vc-default-registered): Don't use
1425 vc-master-templates.
1426
07b1a5fb
SM
1427 * font-lock.el (font-lock-reference-face):
1428 Use define-obsolete-variable-alias.
6c27f0f8
CY
1429
1430 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1431 * calendar/calendar.el (calendar-font-lock-keywords):
1432 * calendar/diary-lib.el (diary-font-lock-keywords)
1433 (diary-fancy-font-lock-keywords):
1434 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1435 * textmodes/reftex-index.el (reftex-insert-index):
1436 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1437 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1438 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1439 * progmodes/prolog.el (prolog-font-lock-keywords):
1440 * progmodes/idlwave.el (idlwave-idl-keywords):
1441 * progmodes/ada-mode.el (ada-font-lock-keywords):
1442 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1443
bcc0adbf
GM
14442012-09-24 Glenn Morris <rgm@gnu.org>
1445
1446 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1447
095bb823
FEG
14482012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1449
1450 * progmodes/python.el (python-indent-line): More consistent cursor
1451 movement behavior.
1452
70efc5c9
SM
14532012-09-23 Stefan Merten <smerten@oekonux.de>
1454
1455 * textmodes/rst.el: Fix compiler warning.
1456
2f438239
RW
14572012-09-23 Roland Winkler <winkler@gnu.org>
1458
07b1a5fb
SM
1459 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1460 Transcribe also LaTeX hyphenation.
2f438239
RW
1461 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1462 bibtex-reformat-previous-options.
1463
936ad041
RW
14642012-09-23 Roland Winkler <winkler@gnu.org>
1465
1466 * proced.el (proced-renice-command): New variable.
1467 (proced-marked-processes): New function.
1468 (proced-with-processes-buffer): New macro.
1469 (proced-send-signal): Use them.
1470 (proced-renice): New command bound to r.
1471
6fab0274
RW
14722012-09-23 Roland Winkler <winkler@gnu.org>
1473
1474 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1475 ibuffer-saved-filter-groups has one element, shortcut the call of
1476 completing-read. (Bug#12331)
1477
9a930676
CY
14782012-09-23 Chong Yidong <cyd@gnu.org>
1479
1480 * bindings.el (mode-line-toggle-read-only):
1481 * bs.el (bs-toggle-readonly):
1482 * buff-menu.el (Buffer-menu-toggle-read-only):
1483 * dired.el (dired-toggle-read-only):
1484 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1485
d07ff9db
CY
14862012-09-23 Chong Yidong <cyd@gnu.org>
1487
1488 * image.el (image-type-available-p): Adapt to init-image-library
1489 argument changes.
1490
51c4474e
JL
14912012-09-22 Juri Linkov <juri@jurta.org>
1492
1493 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1494 `dired-toggle-read-only'. (Bug#12462)
1495
43bf5e8e
MR
14962012-09-22 Martin Rudalics <rudalics@gmx.at>
1497
1498 * subr.el (temp-output-buffer-show): New function.
1499 (with-output-to-temp-buffer): Call temp-output-buffer-show
1500 instead of internal-temp-output-buffer-show.
1501
c88b867f
CY
15022012-09-22 Chong Yidong <cyd@gnu.org>
1503
3df47cd5
CY
1504 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1505 (Bug#12462).
1506
c88b867f
CY
1507 * repeat.el (repeat): Doc fix (Bug#12348).
1508
1509 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1510 (Bug#10909).
1511
1512 * simple.el (shell-command-on-region): Doc fix.
3171e303 1513 (read-only-mode): Doc fix.
c88b867f 1514
df9685f3
EZ
15152012-09-22 Eli Zaretskii <eliz@gnu.org>
1516
1517 * emacs-lisp/timer.el (run-with-idle-timer)
1518 (timer-activate-when-idle): Warn against reinvoking an idle timer
1519 from within its own timer action. (Bug#12447)
1520
8e17c9ba
MR
15212012-09-22 Martin Rudalics <rudalics@gmx.at>
1522
1523 * cus-start.el (window-combination-limit): Add new optional
1524 values.
1525 * window.el (temp-buffer-window-show)
1526 (window--try-to-split-window): Handle new values of
1527 window-combination-limit (Bug#1806).
1528 (split-window): Test window-combination-limit for t instead of
1529 non-nil.
1530 (display-buffer-at-bottom): New buffer display action function.
1531 * help.el (temp-buffer-resize-regexps): New option.
1532 (temp-buffer-resize-mode): Rewrite doc-string.
1533 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1534 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1535
48a24920
SM
15362012-09-22 Stefan Merten <smerten@oekonux.de>
1537
70efc5c9 1538 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1539 (rst-official-version)
1540 (rst-package-emacs-version-alist): Sync with official version
1541 V1.4.0.
1542 (rst-faces-defaults, rst-set-level-default)
1543 (rst-level-face-max, rst-level-face-base-color)
1544 (rst-level-face-base-light, rst-level-face-format-light)
1545 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1546 (rst-adornment-faces-alist): Match new setup.
1547 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1548 (rst-level-5, rst-level-6): New faces.
1549
82f8cd94
CY
15502012-09-22 Chong Yidong <cyd@gnu.org>
1551
1552 * simple.el (undo): Handle indirect buffers (Bug#8207).
1553
acfa068f 15542012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1555
1556 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1557 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1558 (ido-set-matches-1): Use it. (Bug#2042)
1559
acfa068f 15602012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1561
1562 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1563 Fix 2011-05-17 change. (Bug#12418)
1564
acfa068f 15652012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1566
1567 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1568
acfa068f 15692012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1570
1571 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1572 Be more robust about locating simple.el.
1573
acfa068f 15742012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1575
1576 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1577
acfa068f
CY
15782012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1579
1580 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1581
41a97e6f
JL
15822012-09-20 Juri Linkov <juri@jurta.org>
1583
eb2deaff
JL
1584 * replace.el (query-replace-read-from): Use `read-regexp' instead
1585 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1586 (occur-read-primary-args): Use `read-regexp' instead of
1587 `read-string'.
1588 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1589 `read-from-minibuffer'.
1590 * isearch.el (isearch-occur): Use `read-regexp' instead of
1591 `read-string'.
1592 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1593 `read-from-minibuffer'.
1594 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1595 of `read-string'. (Bug#7567)
1596
5825610b
JL
1597 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1598 and allow accepting a list of strings prepended to a list of
1599 standard default values. Doc fix. (Bug#12321)
1600
eebbf404
JL
1601 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1602
41a97e6f
JL
1603 * replace.el (read-regexp): Don't add ": " when PROMPT already
1604 ends with a colon and space. (Bug#12321)
1605
c9e452d3
TH
16062012-09-20 Tassilo Horn <tsdh@gnu.org>
1607
1608 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1609 error.
1610
ee97deee
SM
16112012-09-20 Stefan Merten <smerten@oekonux.de>
1612
70efc5c9 1613 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1614 Fixes feature request bug#11711.
1615 (rst-mode): Create `imenu-create-index-function'.
1616 (rst-get-stripped-line): Delete after refactoring.
1617 (rst-section-tree, rst-section-tree-rec)
1618 (rst-section-tree-point): Refactor and document properly.
1619 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1620 (rst-imenu-convert-cell, rst-imenu-create-index):
1621 New function.
ee97deee 1622
f490dab9
SM
16232012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1624
95b9712e
SM
1625 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1626 (macroexp--expand-all): Use it.
1627 (macroexp--funcall-and-return): Remove by folding it into its sole
1628 caller (macroexp--warn-and-return).
1629 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1630 Use macroexp--obsolete-warning.
1631
f490dab9
SM
1632 * calc/calc.el: Fix last change by removing the whole chunk, since it
1633 was only needed back when Calc was not bundled.
1634
96e8d411
MR
16352012-09-20 Martin Rudalics <rudalics@gmx.at>
1636
1637 * emacs-lisp/debug.el (debug): Restore assignment to
1638 debugger-old-buffer removed on 2012-09-08.
1639
0876a82d
JL
16402012-09-20 Juri Linkov <juri@jurta.org>
1641
1642 * dired-aux.el (dired-diff): Remove (require 'diff) since
1643 `diff-latest-backup-file' is now autoloaded.
1644
9f7c28f0
CY
16452012-09-20 Chong Yidong <cyd@gnu.org>
1646
1647 * vc/diff.el (diff-latest-backup-file): Autoload.
1648
7a04bee9
SM
16492012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1650
e6f0a80d
SM
1651 * calc/calc.el: Remove redundant autoload shape check.
1652 (sel-mode): Don't defvar.
1653 (calc-get-stack-element): Add `sel-mode' arg instead.
1654 (calc-top, calc-top-list): Pass it this additional argument.
1655 * calc/calc-store.el (calc-store-map):
1656 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1657 (calc-map-equation, calc-outer-product, calc-inner-product):
1658 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1659
7a04bee9
SM
1660 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1661
12734222
JL
16622012-09-19 Juri Linkov <juri@jurta.org>
1663
1664 * dired-aux.el (dired-diff): Add (require 'diff) because
1665 `diff-latest-backup-file' is not autoloaded.
1666 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1667 of `dired-get-filename' to t to not report error when there is
1668 no default file on the current line.
1669
46624b4f
SM
16702012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1671
ce97595b
SM
1672 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1673 macroexp--eval-if-compile.
1674 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1675 (macroexp--expand-all): Use them (bug#12371).
1676
46624b4f
SM
1677 * doc-view.el (doc-view-guess-paper-size)
1678 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1679
db8a5a18
TH
16802012-09-19 Tassilo Horn <tsdh@gnu.org>
1681
1682 New feature: set optimal slice from BoundingBox information.
1683 * doc-view.el (doc-view-mode-map): Add keybinding.
1684 (doc-view-menu): Add menu entry.
1685 (doc-view-set-slice): Adapt docstring.
1686 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1687 (doc-view-scale-bounding-box)
1688 (doc-view-set-slice-from-bounding-box): New functions.
1689 (doc-view-paper-sizes): New defvar.
1690
69f6644c
GM
16912012-09-19 Glenn Morris <rgm@gnu.org>
1692
35f5b19d
GM
1693 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1694 (byte-compile-log-warning): Autoload. (Bug#12371)
1695
69f6644c
GM
1696 * calendar/calendar.el (calendar-american-month-header)
1697 (calendar-european-month-header, calendar-iso-month-header)
1698 (calendar-month-header): New options.
1699 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1700 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1701
e543ae91
JD
17022012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1703
1704 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1705
2fd5e67d
JL
17062012-09-18 Juri Linkov <juri@jurta.org>
1707
1708 * dired-aux.el (dired-diff): Restore original functionality of
1709 getting the default value, but keep new feature of using the
1710 latest existing backup file (`diff-latest-backup-file').
1711
42917e79
JL
17122012-09-18 Juri Linkov <juri@jurta.org>
1713
1714 * dired.el (dired-mark): If the region is active in Transient Mark
1715 mode, mark all files in the active region. Doc fix.
1716 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1717 Doc fix. (Bug#10624)
1718
20f70ede
JL
17192012-09-18 Juri Linkov <juri@jurta.org>
1720
1721 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1722 attributes for M-n are pulled from the file at point.
1723 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1724 Suggested by Drew Adams. (Bug#10624)
1725
32fb8162
DG
17262012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1727
1728 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1729 whitespace after "end".
1730 (ruby-do-end-to-brace): Collapse block to one line if it fits
1731 within fill-column.
1732
37ab5092
MR
17332012-09-18 Martin Rudalics <rudalics@gmx.at>
1734
1735 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1736 value.
1737 (debug): Don't remove debugger window when debugger is expected
1738 to be back.
1739
ed1f0bd3
CY
17402012-09-18 Chong Yidong <cyd@gnu.org>
1741
1742 * custom.el (defface): Doc fix.
1743
1744 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1745
a11035b8
MB
17462012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1747
1748 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1749 to initialize query-on-exit; then test that instead (bug#12288).
1750
64f6a736
SM
17512012-09-17 Stefan Merten <smerten@oekonux.de>
1752
70efc5c9 1753 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1754 (rst-defcustom-testcover, rst-testcover-add-compose)
1755 (rst-testcover-add-1value): New functions.
1756 (rst-portable-mark-active-p): Replace by `use-region-p'.
1757 (rst-update-section, rst-classify-adornment)
1758 (rst-find-title-line): Mark `1value' forms.
1759 (rst-classify-adornment): Remove superfluous form.
1760 (rst-update-section, rst-get-adornments-around)
1761 (rst-adornment-complete-p, rst-get-next-adornment)
1762 (rst-adjust, rst-promote-region)
1763 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1764 (rst-find-pfx-in-region, rst-section-tree-rec)
1765 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1766 (rst-toc-node, rst-toc, rst-forward-section)
1767 (rst-iterate-leftmost-paragraphs)
1768 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1769 (rst-bullet-list-region)
1770 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1771 (rst-compile-find-conf, rst-compile)
1772 (rst-repeat-last-character): Fix style.
1773
580bd868
CY
17742012-09-17 Chong Yidong <cyd@gnu.org>
1775
1776 * comint.el (comint--complete-file-name-data): Don't add a space
1777 if the status is `sole'; that adds a gratuitous space in the
1778 completion-cycling case (Bug#12092).
1779
1780 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1781
69de3ec6
RS
17822012-09-17 Richard Stallman <rms@gnu.org>
1783
0dee970c
RS
1784 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1785 only in the mime-shown mode, not in raw mode.
1786 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1787 mime processing. (Bug#12305)
0dee970c 1788
6b250df6
GM
1789 * mail/rmail.el (rmail-retry-failure):
1790 Turn off mime processing first. (Bug#12037)
acb1c47b 1791
69de3ec6
RS
1792 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1793
d079ee5f
CY
17942012-09-17 Chong Yidong <cyd@gnu.org>
1795
1796 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1797 (shell-dynamic-complete-functions): Convert to defcustom.
1798 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1799
865fe16f
CY
1800 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1801 * comint.el (comint-prompt-read-only):
1802 * custom.el (defcustom):
1803 * hi-lock.el (hi-lock-mode):
1804 * ibuffer.el (ibuffer-formats):
1805 * ielm.el (ielm-prompt-read-only):
1806 * novice.el (disable-command):
1807 * saveplace.el (toggle-save-place):
1808 * speedbar.el (speedbar-supported-extension-expressions):
1809 * startup.el (auto-save-list-file-prefix, init-file-user)
1810 (after-init-hook, inhibit-startup-echo-area-message):
1811 * strokes.el (strokes-help):
1812 * time-stamp.el (time-stamp):
1813 * calendar/calendar.el (calendar, diary-file):
1814 * calendar/diary-lib.el (diary-mail-entries, diary)
1815 (diary-list-entries-hook):
1816 * calendar/holidays.el (holidays, calendar-holidays):
1817 * calendar/lunar.el (lunar-phases):
1818 * calendar/solar.el (sunrise-sunset):
1819 * emulation/edt.el (edt-load-keys):
1820 * emulation/viper.el (viper-mode):
1821 * eshell/em-alias.el (eshell-command-aliases-list):
1822 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1823 * international/ogonek.el (ogonek-information):
1824 * net/tramp-cmds.el (tramp-bug):
1825 * net/quickurl.el (quickurl-reread-hook-postfix):
1826 * play/decipher.el (decipher-font-lock-keywords):
1827 * progmodes/cc-styles.el (c-set-style):
1828 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1829 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1830 * progmodes/octave-mod.el (octave-mode):
1831 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1832 * progmodes/verilog-mode.el (verilog-read-defines):
1833 * textmodes/two-column.el (2C-mode): Likewise.
1834
48093eb9
KY
18352012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1836
1837 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1838 that holds many addresses.
1839
c584eaf9
CY
18402012-09-16 Chong Yidong <cyd@gnu.org>
1841
40d70ecb
CY
1842 * align.el (align-areas): Call the indication function with
1843 positions instead of markers for arguments (Bug#12343).
1844
1667e065
CY
1845 * files.el (parse-colon-path): Use split-string (Bug#12351).
1846
fdc2806d 1847 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1848 (display-buffer-function): Mark as obsolete.
fdc2806d 1849
f1be615c 1850 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1851 values similar to font-lock-keywords (Bug#12136).
1852 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1853 (compilation-error-regexp-alist): Doc fix.
1854
f40a9709
GM
18552012-09-15 Glenn Morris <rgm@gnu.org>
1856
72aa16e1
GM
1857 * version.el (emacs-bzr-version-bzr): New function.
1858 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1859
82375160
GM
1860 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1861 checkouts, check the parent dirstate matches the branch.
1862 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1863 empty string.
1864
f40a9709
GM
1865 * version.el (emacs-bzr-version): Doc fix.
1866 (emacs-bzr-version-dirstate): New function.
1867 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1868 is local try and check that it matches the branch. If not, just
1869 use dirstate information. (Bug#12441)
1870
cb26b7f5
JL
18712012-09-14 Juri Linkov <juri@jurta.org>
1872
1873 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1874 (Bug#12399)
1875
2de39f08
SM
18762012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1877
0fb3cb7c
SM
1878 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1879
2de39f08
SM
1880 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1881 Remove obsolete byte-compiler hack that tried to silence some warnings.
1882 (edebug-submit-bug-report): Remove.
1883 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1884 Remove aliases, use the un-prefixed name instead.
1885 (edebug-pop-to-buffer): Consider other frames.
1886 (edebug-original-read):: Make it more obvious that it's always defined.
1887 (edebug--make-form-data-entry, edebug--form-data-name)
1888 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1889 single-dashed name, and implement with cl-defstruct.
1890 (edebug-set-form-data-entry): Use the standard accessors.
1891 (edebug-make-top-form-data-entry): Use push.
1892 (edebug-no-match): Drop useless `funcall'.
1893 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1894 to functions.
1895 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1896 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1897 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1898 (easy-menu-define, with-custom-print): Remove redundant specs.
1899 (edebug-outside-overriding-local-map)
1900 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1901 (edebug--display): Bind unread-command-events directly to nil rather
1902 than binding it to unread-command-events and later setting it to nil.
1903 (edebug--display): Kill edebug-eval-buffer here...
1904 (edebug--recursive-edit): ...rather than here.
1905 Bind standard-output and standard-input.
1906 (edebug-eval): Check cl-macroexpand-all is fboundp.
1907 (edebug-temp-display-freq-count): Fix last change.
1908
1909 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1910 * subr.el (noreturn, 1value): Add `debug' spec.
1911 * emacs-lisp/advice.el: Require cl-lib.
1912 (ad-copy-tree): Remove, use copy-tree instead.
1913 (ad-dolist): Remove use dolist or cl-dolist instead.
1914 (ad-do-return): Remove, use cl-return instead.
1915 (defadvice): Add `debug' spec.
1916
5b68b333
JL
19172012-09-13 Juri Linkov <juri@jurta.org>
1918
1919 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1920 (Bug#12399)
1921
b9800ec4
GM
19222012-09-13 Glenn Morris <rgm@gnu.org>
1923
6a2e6868
GM
1924 * calc/calc.el (math-compose-expr):
1925 * calc/calc-ext.el (math-compose-expr):
1926 * progmodes/cc-defs.el (cl-macroexpand-all):
1927 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1928 (cl-macroexpand-all): Update declarations.
1929
b9800ec4
GM
1930 * vc/vc.el: No need to require ediff.
1931 (ediff-load-version-control): Declare.
1932 (ediff-vc-internal): Fix declaration.
1933 (vc-version-ediff): Require ediff.
1934
c18e885b
PE
19352012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1936
1937 Use a more backwards-compatible timer format (Bug#12430).
1938 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1939 being right after USECS, as that better supports old code that
1940 inadvisedly looked directly at the timer vector.
1941
d607d303
KH
19422012-09-13 Kenichi Handa <handa@gnu.org>
1943
1944 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1945 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1946 `coding-priority' property of these language environment.
1947
72eac303
PE
19482012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1949
1950 Fix glitches caused by addition of psec to timers (Bug#12430).
1951 * image.el (image-animate-timer):
1952 * time.el (display-time-world-timer):
1953 Use timer--function and timer--args rather than raw access to
1954 timer vector.
1955
2168fe4f
GM
19562012-09-13 Glenn Morris <rgm@gnu.org>
1957
1958 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1959 If not compiling a file, try using load-file-name.
1960
bd8d6108
SM
19612012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1962
c0c54fbd
SM
1963 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1964 Fix last change.
1965 (edebug-update-eval-list): Use `push'.
1966
bd8d6108
SM
1967 * emacs-lisp/edebug.el: Use lexical-binding.
1968 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1969 Mark unused args with underscore.
1970 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1971 (edebug-form-data): Use defvar-local.
1972 (edebug-make-before-and-after-form, edebug-make-after-form):
1973 Use backquote.
1974 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1975 Not dynamically scoped any more.
1976 (edebug--enter-trace): Add arguments `function' and `args'.
1977 Rename from edebug-enter-trace.
1978 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1979 (edebug--update-coverage): Add `after-index' and `value' args.
1980 Rename from edebug-update-coverage.
1981 (edebug-slow-after): Call it accordingly.
1982 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1983 edebug-recursive-edit.
1984 (edebug--display): Call it accordingly. Add args `value',
1985 `offset-index', and `arg-mode'. Rename from edebug-display.
1986 (edebug-debugger, edebug): Call it accordingly.
1987 (edebug-eval-display-list): Use dolist.
1988
a9f9d9de
JL
19892012-09-12 Juri Linkov <juri@jurta.org>
1990
1991 * info.el (Info-search): Don't check for isearch-mode and
1992 isearch-regexp before let-binding search-spaces-regexp to
1993 Info-search-whitespace-regexp.
1994 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1995 search-whitespace-regexp if isearch-lax-whitespace or
1996 isearch-regexp-lax-whitespace is non-nil.
1997 (Info-mode): Don't set local variable search-whitespace-regexp.
1998 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1999
bfeae2cf
SM
20002012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2003 (debugger-env-macro): Remove support for unread-command-char.
2004
2005 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2006 the temporary map re-appearing on emulation-mode-map-alists.
2007
2008 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2009 since 22.1.
2010
2011 * ehelp.el (with-electric-help): Accept functions in
2012 electric-help-form-to-execute.
2013 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2014 And replace unread-command-char -> unread-command-events.
2015
fbbcaf1b
MA
20162012-09-12 Michael Albinus <michael.albinus@gmx.de>
2017
2018 Sync with Tramp 2.2.6.
2019
2020 * net/tramp.el (tramp-accept-process-output): Don't use
2021 JUST-THIS-ONE in the XEmacs case.
2022
2023 * net/trampver.el: Update release number.
2024
4dece104
MR
20252012-09-12 Martin Rudalics <rudalics@gmx.at>
2026
bfeae2cf
SM
2027 * emacs-lisp/debug.el (debugger-previous-window-height):
2028 New variable.
4dece104
MR
2029 (debug): When debugger-jumping-flag is non-nil try to restore
2030 height of debugger window. (Bug#8789)
2031
45b82ad0
SM
20322012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2033
60c49c0f
SM
2034 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2035 overriding-local-map and pre/post-command-hook here.
2036 (edebug-recursive-edit): Do it here instead (bug#12345).
2037 (edebug-outside-unread-command-char): Remove all uses of
2038 unread-command-char.
2039
45b82ad0
SM
2040 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2041 inhibit-debugger is bound instead.
2042
baa26ea0
BG
20432012-09-11 Bastien Guerry <bzg@gnu.org>
2044
2045 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2046 (Bug#12346)
baa26ea0 2047
04e8abfa
BG
20482012-09-11 Bastien Guerry <bzg@gnu.org>
2049
96d03571 2050 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2051 (Bug#12347)
96d03571
BG
2052
20532012-09-11 Bastien Guerry <bzg@gnu.org>
2054
fc0c31f8 2055 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2056
04e082b0
MM
20572012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2058
2059 * progmodes/sql.el: Version 3.1
2060 (sql-db2-escape-newlines): New variable.
2061 (sql-escape-newlines-filter): Use it.
2062
399a361b
JB
20632012-09-10 Juanma Barranquero <lekktu@gmail.com>
2064
2065 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2066
0780c517
DN
20672012-09-10 Dan Nicolaescu <dann@gnu.org>
2068
45b82ad0
SM
2069 * vc/diff-mode.el (diff-mode-menu):
2070 Bind diff-remove-trailing-whitespace.
0780c517 2071
9b851e25
SM
20722012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2075 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2076 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2077 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2078 (eval-defun-2): Remove bogus interactive spec.
2079 (lisp-indent-line): Remove redundant whole-exp code, now done in
2080 indent-according-to-mode.
2081 (save-match-data): Remove redundant indent data.
2082
2083 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2084 Use `declare'.
2085
3231d532
JL
20862012-09-09 Juri Linkov <juri@jurta.org>
2087
2088 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2089 (replace-lax-whitespace, query-replace-regexp)
2090 (query-replace-regexp-eval, replace-regexp): Doc fix.
2091 (perform-replace, replace-highlight): Let-bind
2092 isearch-lax-whitespace to replace-lax-whitespace and
2093 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2094
2095 * isearch.el (isearch-query-replace): Let-bind
2096 replace-lax-whitespace to isearch-lax-whitespace and
2097 replace-regexp-lax-whitespace to
2098 isearch-regexp-lax-whitespace. (Bug#10885)
2099
70fe8236
SM
21002012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2103
8ed43f15
AM
21042012-09-09 Alan Mackenzie <acm@muc.de>
2105
70fe8236
SM
2106 * progmodes/cc-engine.el (c-state-cache-init):
2107 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2108 (c-record-parse-state-state):
2109 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2110
bfabf70a
AS
21112012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2112
2113 * register.el (register-separator): Rename from
2114 separator-register. All uses changed. Doc fix.
2115 (register): Fix version.
2116
011474aa
CY
21172012-09-09 Chong Yidong <cyd@gnu.org>
2118
2119 * replace.el (query-replace-map): Bind four new symbols for
2120 requesting window scrolling.
2121
2122 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2123 query-replace-map (Bug#8948).
2124
2125 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2126
2127 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2128 since they are now in query-replace-map.
2129
2130 * window.el (scroll-other-window-down): Make the arg optional.
2131
a8b7cd8d
CY
21322012-09-09 Chong Yidong <cyd@gnu.org>
2133
2134 * files.el (hack-local-variables-confirm): Use quit-window to kill
2135 the *Local Variables* buffer.
2136
c3268831
DG
21372012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2138
2139 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2140 not just expect to be at its beginning. Adjust callees.
2141 Succeed when do-end block has no space before the pipe character.
2142 (ruby-brace-to-do-end): When the original block is one-liner,
2143 convert to multiline. Reindent the result.
2144
0979429b
J
21452012-09-08 Jambunathan K <kjambunathan@gmail.com>
2146
2147 * register.el (register): New group.
27359e99 2148 (separator-register): New user option.
0979429b
J
2149 (increment-register): Route it to `append-to-register', if
2150 register contains text. Implication is that `C-x r +' can now be
2151 used for appending to a text register (bug#12217).
2152 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2153 `separator-register'.
0979429b 2154
ace2989a
AM
21552012-09-08 Alan Mackenzie <acm@muc.de>
2156
2157 AWK Mode: make auto-newline work when there's "==" in the pattern.
2158 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2159 correctly.
0979429b
J
2160 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2161 Test more rigorously for "=" token.
ace2989a 2162
616c6c36
DG
21632012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2164
0979429b
J
2165 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2166 Only fail when reached LIMIT.
616c6c36 2167
35d98877
CY
21682012-09-08 Chong Yidong <cyd@gnu.org>
2169
2170 * dired.el (dired-mode-map): Don't bind M-=.
2171
2172 * dired-aux.el (dired-diff): Use backup file as default.
2173
1715f2db
DA
21742012-09-08 Drew Adams <drew.adams@oracle.com>
2175
2176 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2177
6dcef6ec
CY
21782012-09-08 Chong Yidong <cyd@gnu.org>
2179
2180 * subr.el (syntax-after, syntax-class): Doc fix.
2181
fa2bcf43
MR
21822012-09-08 Martin Rudalics <rudalics@gmx.at>
2183
2184 * window.el (display-buffer-in-previous-window): New buffer
2185 display action function.
2186
2187 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2188 (debugger-previous-window): New variable.
2189 (debug): Rewrite using display-buffer-in-previous-window,
2190 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2191
daac280a
SM
21922012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2193
2194 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2195
9dd40b00
MM
21962012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2197
daac280a
SM
2198 * progmodes/python.el (python-shell-send-string):
2199 When default-directory is remote, create temp file on remote
9dd40b00
MM
2200 filesystem.
2201 (python-shell-send-file): When file is remote, pass local view of
2202 file paths to remote Python interpreter. (Bug#12340)
2203
145823ec
CY
22042012-09-07 Chong Yidong <cyd@gnu.org>
2205
cee2e90d
CY
2206 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2207
0d7eb2ea
CY
2208 * files.el (after-find-file): Don't fail on a read-only buffer if
2209 require-final-newline is `visit' or `visit-save' (Bug#11156).
2210
145823ec
CY
2211 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2212
daac280a
SM
2213 * userlock.el (ask-user-about-supersession-threat):
2214 Use read-char-choice (Bug#12093).
145823ec 2215
74c582e6
CY
22162012-09-07 Chong Yidong <cyd@gnu.org>
2217
e5c2edf7
CY
2218 * subr.el (buffer-narrowed-p): New function.
2219
2220 * ses.el (ses-widen):
2221 * simple.el (count-words--buffer-message):
1f9f395d 2222 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2223
2224 * simple.el (count-words-region): Don't signal an error if there
2225 is a non-nil prefix arg and the mark is not set.
c640e87d 2226
74c582e6
CY
2227 * help.el (describe-key-briefly): Allow the message to be seen
2228 when invoked from the minibuffer (Bug#7014).
2229
d81ceaaf
DG
22302012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2231
2232 * progmodes/ruby-mode.el (ruby-end-of-defun)
2233 (ruby-beginning-of-defun): Simplify, allow indentation before
2234 block beginning and end keywords.
8f06acce
DG
2235 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2236 (ruby-end-of-defun): Expect that the point is at the beginning of
2237 the defun.
d81ceaaf 2238
d458ef98
SM
22392012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2242 (bug#12367).
2243 (cl--make-usage-args): Strip _ from argument names.
2244
20367d28
RS
22452012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2246
2247 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2248 obsolete alias speedbar-key-map.
2249 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2250 (vhdl-index-menu-init): Don't use obsolete variable
2251 font-lock-maximum-size.
2252
3424a4f6
CY
22532012-09-06 Chong Yidong <cyd@gnu.org>
2254
2255 * frame.el (window-system-version): Mark as obsolete.
2256
fcbfbdea
CY
2257 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2258 of obsolete variable speedbar-key-map.
2259
826b3235
JL
22602012-09-06 Juri Linkov <juri@jurta.org>
2261
2262 * replace.el (replace-lax-whitespace): New defcustom.
2263 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2264 (replace-string, replace-regexp): Mention it in docstrings.
2265 (perform-replace, replace-highlight): Let-bind
2266 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2267 to the values of replace-lax-whitespace and regexp-flag.
2268 Don't let-bind search-whitespace-regexp. (Bug#10885)
2269
2270 * isearch.el (isearch-query-replace): Let-bind
2271 replace-lax-whitespace instead of let-binding
2272 replace-search-function and replace-re-search-function.
2273 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2274 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2275 (isearch-toggle-symbol): Set isearch-regexp to nil
2276 in isearch-word mode (like in isearch-toggle-word).
2277
1ec5e41d
JL
22782012-09-06 Juri Linkov <juri@jurta.org>
2279
2280 * replace.el (replace-search-function)
2281 (replace-re-search-function): Set default values to nil.
2282 (perform-replace): Let-bind isearch-related variables based on
2283 replace-related values, call `isearch-search-fun' and let-bind
2284 the result to `search-function'. Remove code that sets
2285 `search-function' and `search-string' separately for
2286 `delimited-flag'.
2287 (replace-highlight): Add new argument `delimited-flag' and
2288 rename other arguments to the names used in `perform-replace'.
2289 Let-bind `isearch-word' to the argument `delimited-flag'.
2290 (Bug#10885, bug#10887)
2291
0ba2d4b6
DG
22922012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2293
2294 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2295 ruby-beginning-of-indent, simplify, allow all keywords to have
2296 indentation before them.
2297 (ruby-beginning-of-indent): Adjust for above. Search until the
2298 found point is not inside a string or comment.
2299 (ruby-font-lock-keywords): Allow symbols to start with "@"
2300 character, give them higher priority than variables.
2301 (ruby-syntax-propertize-function)
2302 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2303 matchers. Expression expansions are not comments when inside a
2304 string, and there comment syntax status is irrelevant.
2305 (ruby-match-expression-expansion): New function. Check that
2306 expression expansion is inside a string, and it's not escaped.
2307 (ruby-font-lock-keywords): Use it.
2308
ef654460
MR
23092012-09-05 Martin Rudalics <rudalics@gmx.at>
2310
2311 * help.el (temp-buffer-max-height): New default value.
2312 (temp-buffer-resize-frames): New option.
2313 (resize-temp-buffer-window): Optionally resize frame.
2314
2315 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2316 (fit-frame-to-buffer): New function.
2317
7e570fbf 23182012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2319
2320 * emulation/cua-rect.el (cua--init-rectangles):
2321 * textmodes/picture.el (picture-mode-map):
2322 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2323 like forward-char and backward-char. (Bug#12317)
2324
7e570fbf 23252012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2326
2327 * progmodes/flymake.el (flymake-warning-re): New variable.
2328 (flymake-parse-line): Use it.
2329
7e570fbf 23302012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2331
2332 * calendar/holidays.el (holiday-christian-holidays):
2333 Rename an entry. (Bug#12289)
2334
7e570fbf 23352012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2336
2337 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2338 (bug#12222).
2339
972debf2
SM
23402012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * loadup.el: Load macroexp. Remove hack.
2343 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2344 (macroexp--expand-all): Use it to get better warnings.
2345 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2346 (internal-macroexpand-for-load): New functions.
2347 (macroexp--pending-eager-loads): New var.
2348 (emacs-startup-hook): New hack to replace one in loadup.el.
2349 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2350 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2351 (cl-psetf): Simplify.
2352 (cl-defstruct): Add indent rule.
2353
8ce192e3
LI
23542012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2355
2356 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2357 over `user-mail-address' for the SMTP MAIL FROM envelope.
2358 (smtpmail-via-smtp): Ditto.
2359
6578b4d8
DG
23602012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2361
2362 * progmodes/ruby-mode.el: Clean up keybindings.
2363 (ruby-mode-map): Don't bind ruby-electric-brace,
2364 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2365 backward-kill-word, reindent-then-newline-and-indent.
2366 (ruby-mark-defun): Remove.
2367 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2368 (ruby-mode): Set local beginning-of-defun-function and
2369 end-of-defun-function values.
2370
c5e28e39
MR
23712012-09-03 Martin Rudalics <rudalics@gmx.at>
2372
2373 * window.el (temp-buffer-window-setup-hook)
2374 (temp-buffer-window-show-hook): New hooks.
2375 (temp-buffer-window-setup, temp-buffer-window-show)
2376 (with-temp-buffer-window): New functions.
972debf2
SM
2377 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2378 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2379
2380 * help.el (temp-buffer-resize-mode): Fix doc-string.
2381 (resize-temp-buffer-window): New optional argument WINDOW.
2382
2383 * files.el (recover-file, save-buffers-kill-emacs):
2384 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2385
73406194
MA
23862012-09-02 Michael Albinus <michael.albinus@gmx.de>
2387
2388 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2389 remote definition of `default-directory', ensure we can connect.
2390
63dd1c6f
JL
23912012-09-02 Juri Linkov <juri@jurta.org>
2392
2393 Toggle whitespace matching mode with M-s SPC.
2394 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2395
2396 * isearch.el (search-whitespace-regexp): Doc fix.
2397 Remove cons cell customization.
2398 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2399 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2400 New variables.
2401 (isearch-forward, isearch-forward-regexp): Doc fix.
2402 (isearch-toggle-lax-whitespace): New command.
2403 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2404 (re-search-forward-lax-whitespace)
2405 (re-search-backward-lax-whitespace): New functions.
2406 (isearch-whitespace-regexp): Remove function.
2407 (isearch-query-replace): Let-bind replace-search-function and
2408 replace-re-search-function.
2409 (isearch-occur): Let-bind search-spaces-regexp according to the
2410 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2411 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2412 condition for C-q SPC.
2413 (isearch-search-fun-default): Use new functions mentioned above.
2414 (isearch-search-forward, isearch-search-backward): Remove functions.
2415 (isearch-search): Don't let-bind search-spaces-regexp.
2416 (isearch-lazy-highlight-space-regexp): Remove variable.
2417 (isearch-lazy-highlight-lax-whitespace)
2418 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2419 (isearch-lazy-highlight-new-loop): Use them.
2420 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2421
af7dda05
CY
24222012-09-02 Chong Yidong <cyd@gnu.org>
2423
2424 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2425
d67d3afd
GM
24262012-09-02 Glenn Morris <rgm@gnu.org>
2427
2428 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2429
69678719
GM
24302012-09-01 Glenn Morris <rgm@gnu.org>
2431
2432 * term.el: Tidy up menu definitions.
2433 (term-mode-map): Use easymenu for In/Out, Complete menus.
2434 (term-pager-break-map): Initialize in the defvar.
2435 (term-terminal-menu, term-signals-menu): Define with easymenu.
2436 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2437 (term-pager-menu): New, extracted from term-process-pager.
2438 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2439 (term-update-mode-line): Propertize line/char and page items.
2440 (term-process-pager): Move keymap initialization elsewhere.
2441
78dd6ab1
MR
24422012-09-01 Martin Rudalics <rudalics@gmx.at>
2443
2444 * window.el (switch-to-prev-buffer): Handle additional values of
2445 BURY-OR-KILL argument. Don't switch in minibuffer window.
2446 (switch-to-next-buffer): Don't switch in minibuffer window.
2447 (quit-restore-window): New function based on quit-window.
2448 Handle additional values of former KILL argument.
2449 (quit-window): Call quit-restore-window with appropriate
2450 interpretation of KILL argument.
2451 (display-buffer-below-selected): New buffer display action
2452 function.
2453
3d10e134
SM
24542012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2455
2456 * minibuffer.el (completion-at-point-functions): Complete docstring
2457 (bug#12254).
2458
0e23ef9d
PE
24592012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2460
2461 Better seed support for (random).
2462 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2463 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2464 * play/mpuz.el, play/tetris.el, play/zone.el:
2465 * calc/calc-comb.el (math-init-random-base):
2466 * play/blackbox.el (bb-init-board):
2467 * play/life.el (life):
2468 * server.el (server-use-tcp):
2469 * type-break.el (type-break):
2470 Remove unnecessary call to (random t).
2471 * net/sasl.el (sasl-unique-id-function):
2472 Change (random t) to (random), now that the latter is more random.
2473 * play/life.el (life-initialized): Remove no-longer-needed var.
2474
862382df
MR
24752012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2476
2477 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2478 Consider frame's buffer predicate when choosing the buffer.
2479 (Bug#12081)
2480
262a66e1
RS
24812012-08-30 Richard Stallman <rms@gnu.org>
2482
2483 * simple.el (special-mode-map): Delete binding for `z'.
2484
f17e1d00
AS
24852012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2486
2487 * progmodes/compile.el (compilation-always-kill): Doc fix.
2488
24777832
CY
24892012-08-30 Chong Yidong <cyd@gnu.org>
2490
2491 * window.el (display-buffer-reuse-frames): Make the obsolescence
2492 message more informative.
2493
69ba1f04
GM
24942012-08-30 Glenn Morris <rgm@gnu.org>
2495
2496 * paren.el (show-paren-delay):
2497 Add a :set function. Doc fix. (Bug#12297)
2498
f0019ede
MB
24992012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2500
2501 * progmodes/compile.el (compilation-always-kill): New var.
2502 (compilation-start): Use it.
2503
35e62fc9
SM
25042012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2505
af070a1c
SM
2506 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2507 * files.el (read-only-mode): Move to simple.el.
2508
35e62fc9
SM
2509 * files.el (read-only-mode): New minor mode.
2510 (toggle-read-only): Use it and mark obsolete.
2511 (find-file--read-only):
2512 * vc/vc.el (vc-next-action, vc-checkout):
2513 * vc/vc-cvs.el (vc-cvs-checkout):
2514 * obsolete/vc-mcvs.el (vc-mcvs-update):
2515 * ffap.el (ffap--toggle-read-only): Update callers.
2516
c2c43c23
MA
25172012-08-29 Michael Albinus <michael.albinus@gmx.de>
2518
2519 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2520 remote shell scripts.
2521 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2522
2523 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2524 "/usr/local/sbin".
2525
9fba804b
SM
25262012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2527
2528 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2529
eada0861 25302012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2531
806f0cc7
LL
2532 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2533 completion-at-point. (Bug#12220)
2534
3bb213b9
LL
2535 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2536
22ab32ef
LL
2537 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2538
eada0861 25392012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2540
19c17fc1
CY
2541 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2542 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2543
eada0861 25442012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2545
2546 * progmodes/hideif.el (hif-compress-define-list):
2547 Fix typo. (Bug#11951)
2548
eada0861 25492012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2550
2551 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2552 buffer local setting.
2553
27d6c5a8
LL
2554 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2555 rcirc-encode-coding-system.
2556
eada0861 25572012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2558
2559 * net/rcirc.el (rcirc-split-message): New function.
2560 (rcirc-send-message): Use it. (Bug#12051)
2561
d44688e4
JL
25622012-08-28 Juri Linkov <juri@jurta.org>
2563
2564 * info.el (Info-fontify-node): Hide empty lines at the end of
2565 the node. (Bug#12272)
2566
34f10d41
MR
25672012-08-27 Drew Adams <drew.adams@oracle.com>
2568
2569 * dired.el (dired-pop-to-buffer): Make window start at beginning
2570 of buffer (Bug#12281).
2571
77f1f99c
CY
25722012-08-26 Chong Yidong <cyd@gnu.org>
2573
2574 * window.el (special-display-regexps, special-display-frame-alist)
2575 (special-display-buffer-names, special-display-function)
2576 (display-buffer-reuse-frames): Mark as obsolete.
2577
2578 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2579
2580 * help.el (help-print-return-message): Don't treat
2581 display-buffer-reuse-frames specially.
2582
d97af5a0
CY
25832012-08-26 Chong Yidong <cyd@gnu.org>
2584
9fba804b
SM
2585 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2586 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2587 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2588 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2589 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2590 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2591 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2592 the functions directly with gdb-display-buffer-other-frame-action.
2593 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2594 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2595 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2596 (gdb-display-registers-buffer): Define directly.
2597 (def-gdb-display-buffer): Macro deleted.
2598 (gdb-display-buffer): Remove second and third args, callers don't
2599 use them. Defer to the default display-buffer behavior, apart
2600 from making windows dedicated.
2601 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2602
2603 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2604
2605 * window.el (display-buffer-pop-up-frame): Handle a
2606 pop-up-frame-parameters alist entry.
2607 (display-buffer): Document it.
2608
dd7ffad6
CY
26092012-08-26 Chong Yidong <cyd@gnu.org>
2610
2611 * isearch.el (search-whitespace-regexp): Make string and nil
2612 values apply to both ordinary and regexp search. Allow a cons
2613 cell value to distinguish between the two.
2614 (isearch-whitespace-regexp, isearch-search-forward)
2615 (isearch-search-backward): New functions.
2616 (isearch-occur, isearch-search-fun-default, isearch-search)
2617 (isearch-lazy-highlight-new-loop): Use them.
2618 (isearch-forward, isearch-forward-regexp): Doc fix.
2619
4c47bd1e
CY
26202012-08-26 Chong Yidong <cyd@gnu.org>
2621
2622 * faces.el (help-argument-name): Always inherit from italic
2623 (Bug#12213).
2624
9aba119d
MR
26252012-08-25 Martin Rudalics <rudalics@gmx.at>
2626
2627 * window.el (window--even-window-heights): Even heights when
2628 WINDOW and the selected window form a vertical combination.
2629 (display-buffer-use-some-window): Provide that window used gets
2630 sized back by quit-window. (Bug#11880) and (Bug#12091)
2631
ca5256ad
PE
26322012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2633
2634 Fix file time stamp problem with bzr and CVS (Bug#12001).
2635 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2636 in the file's time stamp, since the version control system loses
2637 that information.
2638
d1c0d176
JL
26392012-08-22 Juri Linkov <juri@jurta.org>
2640
2641 * info.el (Info-fontify-node): Hide the suffix of the
2642 Info file name in the header line. (Bug#12187)
2643
141562ff
GM
26442012-08-22 Glenn Morris <rgm@gnu.org>
2645
2646 * calendar/cal-tex.el (cal-tex-weekly-common):
2647 Restore leading blank page.
2648
61a48e19 26492012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2650
2651 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2652 the region under `shift-select-mode'. (Bug#12231)
2653
26542012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2655
2656 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2657 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2658 gives details on why the space is never needed.
2659
ea95074e
MR
26602012-08-22 Martin Rudalics <rudalics@gmx.at>
2661
9fba804b
SM
2662 * window.el (walk-window-tree, window-with-parameter):
2663 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2664 should run on the minibuffer window.
2665 (window-at-side-list): Don't operate on minibuffer window.
2666 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2667 (window--size-ignore): Rename to window--size-ignore-p.
2668 Update callers.
caceae25
MR
2669 (display-buffer-in-atom-window, window--major-non-side-window)
2670 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2671 (delete-side-window, display-buffer-in-side-window):
2672 New functions.
caceae25
MR
2673 (window--side-check, window-deletable-p, delete-window)
2674 (delete-other-windows, split-window): Handle side windows and
2675 atomic windows appropriately.
2676 (window--display-buffer): Call display-buffer-record-window also
2677 when the window buffer did not change.
ea95074e 2678
80a51fa0
CS
26792012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2680
2681 * help-fns.el (help-fns--key-bindings):
2682 Abbreviate non-symbol remap targets. (Bug#12174)
2683
fbb6300b
MR
26842012-08-22 Martin Rudalics <rudalics@gmx.at>
2685
2686 * dired.el (dired-mark-remembered): Don't clobber point.
2687 (Bug#11795)
2688
2b2c0794
GM
26892012-08-22 Glenn Morris <rgm@gnu.org>
2690
2691 * progmodes/bug-reference.el (bug-reference): New custom group.
2692 (bug-reference-bug-regexp): Make it a defcustom.
2693
37219830
DU
26942012-08-22 Daiki Ueno <ueno@unixuser.org>
2695
2696 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2697 (js-paren-indent-offset, js-square-indent-offset)
2698 (js-curly-indent-offset): Add :safe (Bug#12257).
2699
94e0e559
EC
27002012-08-22 Edward O'Connor <hober0@gmail.com>
2701
2702 * json.el (json-key-format): Add error properties.
2703 (json-encode-key): New function.
2704 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2705 Use json-encode-key.
2706
da485f5e
GM
27072012-08-22 Glenn Morris <rgm@gnu.org>
2708
2709 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2710 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2711 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2712 Update for above change.
2713
c6cc78b8
AS
27142012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2715
2716 * cus-face.el (custom-face-attributes): Fix customize type for the
2717 :underline attribute. (Bug#11805)
2718
5481664a
MR
27192012-08-21 Martin Rudalics <rudalics@gmx.at>
2720
2721 * window.el (window-point-1, set-window-point-1): Remove.
2722 (window-in-direction, record-window-buffer)
2723 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2724 (window--state-get-1, display-buffer-record-window):
2725 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2726 window-point and set-window-point respectively.
2727
6d74698e
GM
27282012-08-21 Glenn Morris <rgm@gnu.org>
2729
b7fa2691
GM
2730 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2731 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2732 Use it.
2733
52f56d5a
GM
2734 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2735 (cal-tex-shortday): New function.
2736 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2737 (cal-tex-cursor-filofax-daily): Use the above.
2738
9f1ee09e
GM
2739 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2740 New functions.
2741 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2742 (cal-tex-cursor-filofax-week): Use them.
2743
79858159
GM
2744 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2745 New constants.
2746 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2747 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2748
d346b2b4
GM
2749 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2750 (cal-tex-end-document): Don't rely on buffer name.
2751
b2403709
GM
2752 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2753 Use cal-tex-vspace.
2754 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2755 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2756 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2757 Use cal-tex-arg.
b2403709 2758
1cebb5c0
GM
2759 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2760 (cal-tex-cursor-week, cal-tex-cursor-week2)
2761 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2762 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2763 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2764 (cal-tex-insert-preamble, cal-tex-b-document)
2765 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2766 Improve cal-tex-cmd usage.
2767
c68cd5d4
GM
2768 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2769 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2770 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2771 (cal-tex-weekly-paper): New function.
2772 (cal-tex-cursor-week, cal-tex-cursor-week2)
2773 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2774 (cal-tex-cursor-day): Use it.
2775
9dca4801
GM
2776 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2777 (cal-tex-cursor-filofax-week): Remove leading blank page.
2778
1941e134
GM
2779 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2780 Add autoload cookie. For now at least, don't use color, since
2781 no other cal-tex function does.
2782
6d74698e
GM
2783 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2784 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2785 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2786
64cde199
JL
27872012-08-21 Juri Linkov <juri@jurta.org>
2788
2789 * info.el (Info-file-attributes): New variable.
2790 (info-insert-file-contents): Add file attributes to
2791 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2792 `Info-toc-nodes' when previous modtime of the Info file is less
2793 than new modtime.
2794 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2795 of info.el. (Bug#12230)
2796
32757648
GM
27972012-08-20 Glenn Morris <rgm@gnu.org>
2798
2799 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2800 * calendar/holidays.el (calendar-holiday-list):
2801 Report errors with display-warning rather than beep'n'sleep.
2802
a32fbbcf
MA
28032012-08-20 Michael Albinus <michael.albinus@gmx.de>
2804
2805 * net/tramp.el (tramp-accept-process-output): Accept only output
2806 from PROC. Otherwise, process filters and sentinels might be
2807 confused. (Bug#12145)
2808
a05731a0
CY
28092012-08-20 Chong Yidong <cyd@gnu.org>
2810
2811 * descr-text.el (describe-text-properties-1): Use overlays-in to
2812 report on empty overlays (Bug#3322).
2813
36e8d1eb
GM
28142012-08-20 Glenn Morris <rgm@gnu.org>
2815
3d300447
GM
2816 * mail/rmailout.el (rmail-output-read-file-name):
2817 Trap and report errors in rmail-output-file-alist elements.
2818
36e8d1eb
GM
2819 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2820 since most non-font-lock faces are not also variables).
2821
b96e5814
ER
28222012-08-20 Edward Reingold <reingold@iit.edu>
2823
2824 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2825 New function. (Bug12160)
2826
7cef3569
GM
28272012-08-19 Glenn Morris <rgm@gnu.org>
2828
2829 * mail/rmailout.el (rmail-output-read-file-name):
2830 Fix previous change (when the alist is nil or does not match).
2831
17975d7f
CY
28322012-08-19 Chong Yidong <cyd@gnu.org>
2833
2834 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2835 (Bug#12228).
2836
2170b1bd
CY
28372012-08-18 Chong Yidong <cyd@gnu.org>
2838
2839 * simple.el (yank-handled-properties): New defcustom.
2840 (yank-excluded-properties): Add font-lock-face and category.
2841 (yank): Doc fix.
2842
9fba804b
SM
2843 * subr.el (remove-yank-excluded-properties):
2844 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2845 and category is now done this way, instead of being hard-coded.
2846 (insert-for-yank-1): Remove font-lock-face handling.
2847 (yank-handle-font-lock-face-property)
2848 (yank-handle-category-property): New function.
2849
ee218151
GM
28502012-08-17 Glenn Morris <rgm@gnu.org>
2851
2852 * mail/rmailout.el (rmail-output-read-file-name):
2853 Check rmail-output-file-alist against the full message body
2854 in the correct rmail buffer. (Bug#12214)
2855
4a6bc3fd
MA
28562012-08-17 Michael Albinus <michael.albinus@gmx.de>
2857
9fba804b
SM
2858 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2859 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2860
383dcbf9
CY
28612012-08-17 Chong Yidong <cyd@gnu.org>
2862
2863 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2864 font spec, set the font directly (Bug#3228).
2865
998c4a6a
MR
28662012-08-17 Martin Rudalics <rudalics@gmx.at>
2867
2868 * window.el (delete-window): Fix last fix.
2869
52162052
MR
28702012-08-16 Martin Rudalics <rudalics@gmx.at>
2871
2872 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2873 (window-child, window-child-count, window-last-child)
2874 (window-normalize-window, window-combined-p)
2875 (window-combinations, window-atom-root, window-min-size)
2876 (window-sizable, window-sizable-p, window-size-fixed-p)
2877 (window-min-delta, window-max-delta, window--resizable)
2878 (window--resizable-p, window-resizable, window-total-size)
2879 (window-full-height-p, window-full-width-p, window-body-size)
2880 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2881 (minimize-window, window-deletable-p, delete-window)
2882 (delete-other-windows, set-window-buffer-start-and-point)
2883 (next-buffer, previous-buffer, split-window, balance-windows-2)
2884 (set-window-text-height, window-buffer-height)
2885 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2886 (truncated-partial-width-window-p): Minor code adjustments.
2887 In doc-strings state whether the argument window has to denote a
85c2386b 2888 live, valid or any window.
52162052 2889
1c308380
PS
28902012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2891
2892 * progmodes/subword.el (subword-forward-function)
2893 (subword-backward-function, subword-forward-regexp)
2894 (subword-backward-regexp): New variables.
2895 (subword-forward, subword-forward-internal, subword-backward-internal):
2896 Use new variables, eg so that different "word" definitions
2897 can be easily used. (Bug#11411)
2898
94c9ece1
SM
28992012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2900
2901 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2902 for composite selectors.
2903 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2904 operation just because we can't find a previous revision.
2905
f2045622
CY
29062012-08-15 Chong Yidong <cyd@gnu.org>
2907
2908 * frame.el (set-frame-font): Accept font objects.
2909
582db660
SM
29102012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2913
2f29c200
WJ
29142012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2915
456e62c2
WJ
2916 * man.el (Man-overstrike-face, Man-underline-face)
2917 (Man-reverse-face): Remove variables.
2918 (Man-overstrike, Man-underline, Man-reverse): New faces.
2919 (Man-fontify-manpage): Use them instead of the variables.
2920 (Man-cleanup-manpage): Comment change.
2921 (Man-ansi-color-map): New variable.
2922 (Man-fontify-manpage): Use it.
2923 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2924
2f29c200
WJ
2925 Implement ANSI SGR parameters 22-27 (bug#12146).
2926 * ansi-color.el (ansi-colors): Doc fix.
2927 (ansi-color-context, ansi-color-context-region): Doc fix.
2928 (ansi-color--find-face): New function.
2929 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2930 Rename the local variable `face' to `codes' since it is now a list of
2931 ansi codes. Doc fix.
2932 (ansi-color-get-face): Remove.
2933 (ansi-color-parse-sequence): New function, derived from
2934 ansi-color-get-face.
2935 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2936 codes 22-27.
2937
b4f5e9df
SM
29382012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * subr.el (read-passwd): Allow use from a minibuffer.
2941
ba025fbd
EZ
29422012-08-14 Eli Zaretskii <eliz@gnu.org>
2943
2944 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2945 inside comments and strings as identifiers.
2946
2947 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2948 expression to evaluate. This allows to evaluate expressions with
2949 embedded whitespace.
2950 (gud-tooltip-tips): Add a blank before the newline in the
2951 message-box text, for the benefit of message-box emulation on
2952 MS-Windows.
2953
2954 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2955 messages from GDB, pop them up in a tooltip to give feedback to
2956 user.
b4f5e9df
SM
2957 (gdb-tooltip-print-1): Quote the expression to evaluate.
2958 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2959 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2960 if the TTY name is nil or empty (which happens when communicating
2961 with the inferior via pipes, e.g. on MS-Windows).
2962 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2963 don't send that to the GUD buffer.
2964
c548f821
GM
29652012-08-14 Glenn Morris <rgm@gnu.org>
2966
2967 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2968 Optimize away setq-default with no args, as for setq. (Bug#12195)
2969
55802e4a
CY
29702012-08-14 Chong Yidong <cyd@gnu.org>
2971
4abcdac8
CY
2972 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2973
55802e4a
CY
2974 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2975 (Bug#12085).
2976
3c3cda1a
GM
29772012-08-14 Glenn Morris <rgm@gnu.org>
2978
2979 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2980
e1873bd0
MA
29812012-08-14 Michael Albinus <michael.albinus@gmx.de>
2982
2983 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2984 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2985 Use cached shell name.
2986
925411b4
FEG
29872012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2988
2989 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2990 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2991
e636fafe
DG
29922012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2993
2994 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2995 (ruby-percent-literal-beg-re): New constant.
2996 (ruby-syntax-general-delimiters-goto-beg): Rename to
2997 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2998 (ruby-syntax-propertize-general-delimiters): Rename to
2999 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3000 popular term. Adjust comments everywhere.
3001 (ruby-syntax-propertize-percent-literal): Only propertize when not
3002 inside a simple string or comment. When the literal is unclosed,
3003 leave the text after it unpropertized.
f063063a
DG
3004 (ruby-syntax-methods-before-regexp): New constant.
3005 (ruby-syntax-propertize-function): Use it to recognize regexps.
3006 Don't look at the text after regexp, just use the whitelist.
e636fafe 3007
e5b19827
AS
30082012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3009
3010 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3011 non-nil always load the compiled file if it exists. (Bug#12197)
3012
a9f6f311
CY
30132012-08-14 Chong Yidong <cyd@gnu.org>
3014
3015 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3016 (hi-lock-set-pattern): When deciding whether to use font lock or
3017 overlays, look at font-lock-mode instead of font-lock-fontified
3018 (Bug#12168).
3019 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3020 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3021
7d806b1e
DU
30222012-08-14 Daiki Ueno <ueno@unixuser.org>
3023
3024 * subr.el (internal--after-with-selected-window): Fix typo
3025 (Bug#12193).
3026
5beed586
FEG
30272012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3028
3029 Use `completion-table-dynamic' for completion functions.
3030 * progmodes/python.el
3031 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3032 (python-shell-completion--get-completions):
3033 Remove functions.
5beed586
FEG
3034 (python-shell-completion-complete-at-point): New function.
3035 (python-completion-complete-at-point): Use it.
3036
92cb3b04
J
30372012-08-13 Jambunathan K <kjambunathan@gmail.com>
3038
3039 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3040 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3041
89660017
SM
30422012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3c98c962
SM
3044 * subr.el (function-get): Refine `autoload' arg so it can also
3045 autoload functions for gv.el (bug#12191).
3046 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3047 autoloads macros.
3048
aa7c6dbe
SM
3049 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3050 Prefer pcase-let over destructuring-bind.
3051 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3052 Also, remove whitespace as we go, rather than after accumulating the
3053 various places.
3054
89660017
SM
3055 * subr.el (internal--before-with-selected-window)
3056 (internal--after-with-selected-window): Fix typo seleted->selected.
3057 (with-selected-window): Adjust callers.
3058 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3059
31cd32c9
BG
30602012-08-13 Bastien Guerry <bzg@gnu.org>
3061
0fcd3d9f 3062 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3063 enhancement. (Bug#12172)
3064
1b15d8ad
AS
30652012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3066
31e54db0
AS
3067 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3068 type 1-6.
3069 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3070 extended headers.
3071
1b15d8ad
AS
3072 * files.el (hack-local-variables-filter): Remove useless eval.
3073
35cb9c06
MR
30742012-08-13 Martin Rudalics <rudalics@gmx.at>
3075
3076 * subr.el (with-selected-window): Fix last change.
3077
1439443b
SM
30782012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3079
3080 * subr.el (internal--before-with-seleted-window)
3081 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3082 (with-selected-window): Use them, to replace dependency on
3083 tty-top-frame.
1439443b 3084
0d9e2599
NN
30852012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3086
3087 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3088 binding for `newline'.
3089 (ruby-move-to-block): When moving backward, stop at block opening,
3090 not indentation.
3091 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3092 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3093 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3094 `ruby-toggle-block'.
3095
ba10c48c
SM
30962012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3097
3098 * ibuffer.el (ibuffer-do-toggle-read-only):
3099 * dired.el (dired-toggle-read-only):
3100 * buff-menu.el (Buffer-menu-toggle-read-only):
3101 * bindings.el (mode-line-toggle-read-only):
3102 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3103
9229c658
AS
31042012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3105
3106 * descr-text.el (describe-char): Put the overlays over the
3107 "displayed as" character.
3108
0fd09128
JB
31092012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3110
3111 * calc/calc-units.el (math-default-units-table): Give an
3112 initial value.
3113 (math-put-default-units): Add options to put composite units and
3114 unit systems in the default units table.
3115 (calc-convert-units): Send composite units to
3116 `math-put-default-units' when appropriate.
3117
9ff9402d 31182012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3119
fbb5e336
GM
3120 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3121
7aacaf15
GM
3122 * tutorial.el (help-with-tutorial):
3123 * emacs-lisp/copyright.el (copyright-update-directory):
3124 * emacs-lisp/autoload.el (autoload-find-generated-file)
3125 (autoload-find-file): Disable local eval: (for insurance).
3126
f40b9f10
GM
3127 * files.el (hack-local-variables-filter): If an eval: form is not
3128 known to be safe, and enable-local-variables is :safe, then ignore
3129 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3130 This is CVE-2012-3479.
f40b9f10 3131
daa9f1a6
SM
31322012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3135 (rx-form): Simplify.
3136
9cd80478
DG
31372012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3138
0d9e2599
NN
3139 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3140 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3141 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3142 (ruby-syntax-propertize-function): Adjust for changes in
3143 `ruby-syntax-propertize-heredoc'.
3144
31452012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3146
9cd80478
DG
3147 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3148 binding (use `M-;' instead).
9cd80478 3149 (ruby-singleton-class-p): New function.
0d9e2599 3150 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3151
d301b413
SM
31522012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3153
3154 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3155
1530c98e
CY
31562012-08-10 Chong Yidong <cyd@gnu.org>
3157
3158 * progmodes/python.el (python-shell-get-process-name): Don't mess
3159 with same-window-buffer-names.
3160
3161 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3162 (eshell-remove-from-window-buffer-names): Make obsolete.
3163 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3164 (eshell): Just use pop-to-buffer-same-window instead.
3165
e1293765
CY
31662012-08-10 Chong Yidong <cyd@gnu.org>
3167
3168 * bindings.el: Bind M-= back to count-words-region.
3169
3170 * simple.el (count-words-region): Accept a prefix arg for acting
3171 on the entire buffer.
3172 (count-words--buffer-message): New helper function.
3173
e1894109
SM
31742012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3175
3176 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3177 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3178 (event-start, event-end): Use posn-at-point to return a more
3179 informative posn.
3180 (posnp): New function.
3181 * mouse.el (popup-menu-normalize-position): Use it.
3182
c69f56a2
MY
31832012-08-10 Masatake YAMATO <yamato@redhat.com>
3184
3185 * mouse.el (popup-menu-normalize-position): New function.
3186 (popup-menu): Use `popup-menu-normalize-position' to normalize
3187 the form for POSITION argument.
3188
3189 * term/x-win.el (x-menu-bar-open):
3190 Use the value returend from (posn-at-point) as position
3191 passed to `popup-menu'.
3192
31673780
JB
31932012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3194
3195 * calc/calccomp.el (math-compose-expr): Add extra argument
3196 indicating that parentheses should be put around products in
3197 denominators. Give multiplication precedence over division during
3198 composition.
3199
dab7711b
CY
32002012-08-09 Chong Yidong <cyd@gnu.org>
3201
dee4ef93
CY
3202 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3203 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3204 (Man-untabify-command, manual-program): Convert to defcustom
3205 (Bug#10429).
3206
73e2bbc5
CY
3207 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3208
3e861c8a
CY
3209 * descr-text.el (describe-char): Don't insert extra newlines
3210 (Bug#10127).
3211
a9f5a649
CY
3212 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3213 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3214
dab7711b
CY
3215 * align.el (align-region): Delete temporary markers (Bug#10047).
3216 Plus some code cleanups.
3217
e0cc4efa
FEG
32182012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3219
3220 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3221 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3222 (python-shell-internal-last-output): Use make-local-variable
3223 instead of make-variable-buffer-local.
3224
489af14f
FEG
32252012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3226
3227 * progmodes/python.el: Enhancements to forward-sexp.
3228 (python-nav-forward-sexp): Rename from
3229 python-nav-forward-sexp-function.
c69f56a2
MY
3230 (python-nav--forward-sexp, python-nav--backward-sexp):
3231 New functions.
489af14f 3232
0fc50303
JB
32332012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3234
3235 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3236 modes and simplification modes.
3237
5d65606a
SM
32382012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3239
3240 * delsel.el (delete-selection-pre-hook): Don't propagate the
3241 file-supersession signals (bug#12161).
3242
4250fdf5
SM
32432012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3246 (cl-map-extents): Add compatibility aliases (bug#12135).
3247
d9f9b465
MA
32482012-08-08 Michael Albinus <michael.albinus@gmx.de>
3249
3250 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3251 tests by `ignore-error'.
3252 (tramp-find-shell): Open also a new shell, when cache is already
3253 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3254
ce0fcefa
JL
32552012-08-08 Juri Linkov <juri@jurta.org>
3256
3257 * bookmark.el: Add `defaults' property to the bookmark record.
3258 (bookmark-current-buffer): Doc fix.
3259 (bookmark-make-record): Add `defaults' property with default values
3260 to the bookmark record.
3261 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3262 with `bookmark-insert-current-bookmark'.
3263 (bookmark-set): Get `defaults' property from the bookmark record
3264 and use it in `read-from-minibuffer'.
3265 (bookmark-insert-current-bookmark): Remove function.
3266
3267 * info.el (Info-bookmark-make-record): Add `defaults' property
3268 with values of canonical Info node name, the current Info file
3269 name and the current Info node name. (Bug#12107)
3270
53fa8652
JL
32712012-08-08 Juri Linkov <juri@jurta.org>
3272
3273 * files.el (basic-save-buffer): Use `buffer-name' as the default
3274 of `read-file-name' when buffer is not visiting a file (bug#12128).
3275
242c0a95
JL
32762012-08-08 Juri Linkov <juri@jurta.org>
3277
3278 * info.el (Info-isearch-search): Doc fix.
3279 (Info-search): Change search-failed message from "initial node" to
3280 "end of node" (bug#12078).
3281 (Info-isearch-search): Change `isearch-string-state' to
3282 `isearch--state-string'.
3283
32ac3a6b
GM
32842012-08-08 Glenn Morris <rgm@gnu.org>
3285
3286 * language/persian.el: Remove file.
f8c1afd5 3287 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3288 * loadup.el: Remove language/persian.
3289
2c2d9c9c
OF
32902012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3291
3292 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3293
2d79ec42
FEG
32942012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3295
3296 * progmodes/python.el Fixed defsubst warning.
3297 (python-syntax-context) Rename from python-info-ppss-context.
3298 (python-syntax-context-type): Rename from
3299 python-info-ppss-context-type.
3300 (python-syntax-comment-or-string-p): Rename from
3301 python-info-ppss-comment-or-string-p.
3302
2bd255dd
JB
33032012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3304
3305 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3306
c395097f
AS
33072012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3308
6125983e
AS
3309 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3310 a defcustom that is quoted with backquote.
3311
4250fdf5
SM
3312 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3313 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3314 (math-do-arg-check, math-define-function-body): Use backquote forms.
3315 * calc/calc-ext.el (math-defcache): Likewise.
3316 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3317 * allout.el (allout-new-exposure): Likewise.
3318 * calc/calcalg2.el (math-tracing-integral): Likewise.
3319 * info.el (Info-last-menu-item): Likewise.
3320 * emulation/vip.el (vip-loop): Likewise.
3321 * textmodes/artist.el (artist-funcall): Likewise.
3322 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3323 Construct menu-item directly.
3324
4250fdf5
SM
3325 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3326 Don't declare.
c395097f 3327
5fb50dd3
CY
33282012-08-07 Chong Yidong <cyd@gnu.org>
3329
3330 * simple.el (deactivate-mark): Preserve text properties when
3331 saving the primary selection (Bug#8384).
3332
54eea618
KR
33332012-08-07 Kevin Ryde <user42@zip.com.au>
3334
3335 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3336 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3337 and continue processing (Bug#12110).
3338
638eaeb9
SM
33392012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3340
3341 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3342 syntax-propertize-function (bug#10095).
3343
ea376861
SM
33442012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3345
f91b35be
SM
3346 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3347 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3348 describe-function-1.
3349 (describe-function-1): Use them. Move compiler macro after sig.
3350 (help-fns--compiler-macro): Use function-get. Assume we're already in
3351 standard-output. Adjust layout to new call order.
3352
ea376861
SM
3353 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3354 re-binding a symbol that has a symbol-macro (bug#12119).
3355
d5be7bd0
MB
33562012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3357
3358 * language/persian.el: New file. (Bug#11812)
3359 * loadup.el: Add language/persian.el.
3360
90749b53
CY
33612012-08-06 Chong Yidong <cyd@gnu.org>
3362
3363 * window.el (window--maybe-raise-frame): New function.
3364 (window--display-buffer): Split off from here.
3365 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3366 (display-buffer-pop-up-window, display-buffer-use-some-window):
3367 Obey an inhibit-switch-frame action alist entry.
3368 (display-buffer): Update doc.
3369
3370 * replace.el (occur-after-change-function): Avoid losing focus by
3371 using the inhibit-switch-frame display parameter (Bug#12139).
3372
ba7b0154
FEG
33732012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3374
3375 Make internal shell process buffer names start with space.
3376 * progmodes/python.el (python-shell-make-comint): Add optional
3377 argument INTERNAL.
3378 (run-python-internal): Use it.
3379 (python-shell-internal-get-or-create-process): Check for new
3380 internal buffer names.
3381
5eaeacb5
GM
33822012-08-06 Glenn Morris <rgm@gnu.org>
3383
e296d94b 3384 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3385 Do less getting and setting of environment variables.
3386
b7ccbdc2
CY
33872012-08-05 Chong Yidong <cyd@gnu.org>
3388
777fe95e
CY
3389 * proced.el (proced): Add substitution string to docstring to
3390 trigger autoloading of the proced library on C-h f (Bug#1768).
3391
4250fdf5
SM
3392 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3393 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3394
3395 * imenu.el (imenu-generic-expression): Move documentation here
3396 from imenu--generic-function.
3397 (imenu--generic-function): Refer to imenu-generic-expression.
3398
9e3b7800 33992012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3400
3401 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3402 indentation declaration.
3403 (viper-loop): Add indentation declaration (Bug#7025).
3404
e5d9c0d1
CY
34052012-08-05 Chong Yidong <cyd@gnu.org>
3406
f0422feb
CY
3407 * help-fns.el (describe-variable): Add hyperlink for
3408 directory-local variables files. Improve buffer-local and
3409 permanent-local reporting; suggested by MON KEY (Bug#6644).
3410
3411 * help-mode.el (help-dir-local-var-def): New button type.
3412
e5d9c0d1
CY
3413 * files.el (kill-buffer-hook): Provide a defvar.
3414
a4f2deaa
GM
34152012-08-05 Glenn Morris <rgm@gnu.org>
3416
3417 * eshell/esh-ext.el (eshell/addpath):
3418 Also update eshell-path-env. (Bug#12013)
3419
a9dd5754
CY
34202012-08-05 Chong Yidong <cyd@gnu.org>
3421
a4f2deaa 3422 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3423
d014c740
CY
3424 * fringe.el (fringe-styles): Add docstring.
3425 (fringe--check-mode): New function.
3426 (set-fringe-mode, set-fringe-style): Use it.
3427 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3428
a9dd5754
CY
3429 * files.el (set-auto-mode): Fix invalid setq call.
3430
7c2dc8bd
SM
34312012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3432
3433 * isearch.el: Misc simplification; use defstruct.
3434 (isearch-mode-map): Dense maps now work like sparse ones.
3435 (isearch--state): New defstruct.
3436 (isearch-string-state, isearch-message-state, isearch-point-state)
3437 (isearch-success-state, isearch-forward-state)
3438 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3439 (isearch-wrapped-state, isearch-barrier-state)
3440 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3441 replaced by defstruct's accessors.
3442 (isearch--set-state): Rename from isearch-top-state and change
3443 calling convention.
3444 (isearch-push-state): Use new isearch--get-state.
3445 (isearch-toggle-word): Disable regexp when enabling word.
3446 (isearch-message-prefix): Remove unused arg _c-q-hack.
3447 (isearch-message-suffix): Remove unused arg _ellipsis.
3448
7fcc0070
AS
34492012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3450
3451 * simple.el (list-processes--refresh): For a server use :host or
3452 :local as the address.
97ad0769 3453 (list-processes): Doc fix.
7fcc0070 3454
a11035b8 34552012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3456
3457 * lisp/mpc.el: Support password in host argument.
3458 (mpc--proc-connect): Parse and use new password element.
3459 Set mpc-proc variable instead of returning process.
3460 (mpc-proc): Adjust accordingly.
3461
6dad7178
EZ
34622012-08-03 Eli Zaretskii <eliz@gnu.org>
3463
18949c2f
EZ
3464 * whitespace.el (whitespace-display-mappings): Use Unicode
3465 codepoints, instead of emacs-mule codepoints. See
3466 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3467 for the details.
3468
6dad7178
EZ
3469 * files.el (file-truename): Don't skip symlink-chasing part on
3470 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3471 Windows into the loop that recursively chases symlinks.
3472 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3473 MS-DOS.
3474
385b0198
CY
34752012-08-03 Chong Yidong <cyd@gnu.org>
3476
6200f3c4
CY
3477 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3478
385b0198
CY
3479 * sort.el (sort-regexp-fields): Doc fix.
3480
b9e74744
TH
34812012-08-03 Tassilo Horn <tsdh@gnu.org>
3482
3483 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3484 labels regex position point at the expected place.
3485
41013cb4
MK
34862012-08-03 MON KEY <monkey@sandpframing.com>
3487
3488 * net/imap.el (imap-interactive-login, imap-authenticate)
3489 (imap-mailbox-lsub, imap-mailbox-list)
3490 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3491 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3492 (imap-parse-response): Doc fix.
3493
0ffee616
JT
34942012-08-03 João Távora <joaotavora@gmail.com>
3495
3496 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3497 if sexp scanning does not move point (Bug#5734).
3498
cfcc9cc8
TH
34992012-08-02 Tassilo Horn <tsdh@gnu.org>
3500
3501 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3502 Add listings, minted, and ctable packages.
3503 (reftex-label-alist-builtin): Move listings, minted, and ctable
3504 entries before LaTeX.
a01bbb84 3505 (reftex-label-alist): Docfix.
cfcc9cc8 3506
66ec2442
BG
35072012-08-02 Bastien Guerry <bzg@gnu.org>
3508
3509 * replace.el (occur): Fix docstring (bug#12122).
3510
837b365b
GM
35112012-08-02 Glenn Morris <rgm@gnu.org>
3512
3513 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3514
e098de97
PE
35152012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3516
3517 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3518 * international/mule-cmds.el: Create
3519 inactivate-current-input-method-function as an obsolete alias for
3520 deactivate-current-input-method-function. See Katsumi Yamaoka in
3521 <http://bugs.gnu.org/10150#46>.
3522
a0f95636
JB
35232012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3524
3525 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3526 of nested `if's.
3527
0d26d7c4
GM
35282012-08-01 Glenn Morris <rgm@gnu.org>
3529
3530 * progmodes/autoconf.el (autoconf-definition-regexp):
3531 Add AH_TEMPLATE, adjust submatch numbering.
3532 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3533 (autoconf-current-defun-function): Update for above change.
3534 (autoconf-current-defun-function): First skip to end of current word.
3535
b686ba06
RS
35362012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3537
3538 * calendar/cal-html.el (cal-html-insert-agenda-days):
3539 Fix typo. (Bug#12018)
3540
0d49da68
FEG
35412012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3542
3543 Shell processes: enhancements to startup and CEDET compatibility.
3544 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3545 (python-shell-make-comint): accept-process-output at startup.
3546 (run-python-internal): Set inferior-python-mode-hook to nil.
3547 (python-shell-internal-get-or-create-process): call sit-for.
3548 (python-preoutput-result): Add obsolete alias.
3549 (python-shell-internal-send-string): Use it.
3550 (python-shell-send-setup-code): Remove call to
3551 accept-process-output.
3552
f1a71c6e
AS
35532012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3554
3555 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3556 (Bug#12108)
3557
d2605269
JB
35582012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3559
3560 * calc-mode.el (calc-basic-simplification-mode): Rename from
3561 `calc-limited-simplification-mode'.
3562 (calc-alg-simplification-mode): New function.
fc0c31f8 3563 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3564
d2605269
JB
3565 * calc.el (calc-set-mode-line): Adjust mode line display for
3566 basic simplification mode.
3567
3568 * calc-help.el (calc-m-prefix-help): Update help message.
3569
3570 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3571 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3572
a3827a43
BG
35732012-07-31 Bastien Guerry <bzg@gnu.org>
3574
3575 * man.el (man): Fix comment. (bug#12101)
3576
502e3f89
MR
35772012-07-31 Martin Rudalics <rudalics@gmx.at>
3578
3579 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3580 Don't return a non-nil value when no suitable buffer was found.
3581
d7714961
FEG
35822012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3583
3584 * progmodes/python.el (run-python-internal): Disable font lock for
3585 internal shells.
3586
1f45e27e
SM
35872012-07-30 Stefan Merten <smerten@oekonux.de>
3588
70efc5c9 3589 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3590 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3591 (rst-official-version, rst-official-cvs-rev)
3592 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3593 (rst-mode-map): New key binding.
3594
0aee6912
PE
35952012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3596
3597 Update .PHONY listings in makefiles.
3598 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3599 autoloads, update-subdirs, updates, bzr-update, update-authors,
3600 compile-onefile, compile-calc, backup-compiled-files,
3601 compile-after-backup, compile-one-process, mh-autoloads,
3602 bootstrap-clean, distclean, maintainer-clean.
3603
9052f9f0
JB
36042012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3605
1823ac5a
JB
3606 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3607 (calc-set-mode-line): Don't display "AlgSimp ".
3608
3609 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3610 (calc-lim-simplify-mode): New function.
3611 (calc-set-simplify-mode): Default to 'alg.
3612 (calc-default-simplify-mode): Make algebraic simplifications
3613 the default.
3614
3615 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3616 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3617
8d7c7eed 3618 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3619 indicate new simplification modes.
3620
1823ac5a
JB
3621 * calc/README: Mention new default simplification mode.
3622
9052f9f0
JB
3623 * calc/calc.el (math-normalize-error): New variable.
3624 (math-normalize): Set `math-normalize-error' to t
3625 when there's an error.
3626
3627 * calc/calc-alg.el (math-simplify): Don't simplify when
3628 `math-normalize' returns an error.
3629
20ba0cb4
EZ
36302012-07-29 Eli Zaretskii <eliz@gnu.org>
3631
3632 * international/mule-cmds.el (set-locale-environment): Revert last
3633 change, since display-graphic-p returns nil when this function is
3634 called during startup. Instead...
3635
3636 * term/w32console.el (terminal-init-w32console): ...setup the
3637 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3638
a5dcc929
JL
36392012-07-29 Juri Linkov <juri@jurta.org>
3640
3641 * simple.el (goto-line): Don't display default line number in the
3642 prompt because it should be displayed by `read-number' (bug#9952).
3643 Add the current line number to the defaults of `goto-line' to
3644 allow its easier modification by users with `M-n' (bug#9201).
3645
3646 * subr.el (read-number): Support multiple default values like in
3647 other minibuffer reading functions. Replace `read' with
3648 `string-to-number' for consistency with `number-to-string'.
3649
72b255c7
PE
36502012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3651
3652 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3653 * emulation/viper-init.el (viper-deactivate-input-method-action):
3654 Rename from viper-inactivate-input-method-action.
3655 (viper-deactivate-input-method):
3656 Rename from viper-inactivate-input-method.
3657 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3658 * international/mule-cmds.el (deactivate-input-method):
3659 Rename from inactivate-input-method.
3660 Also run input-method-deactivate-hook.
3661 (deactivate-current-input-method-function):
3662 Rename from inactivate-current-input-method-function.
3663 (input-method-deactivate-hook): New hook.
3664 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3665 (inactivate-input-method): Mark obsolete.
3666
72b255c7
PE
3667 * international/quail.el (quail-activate):
3668 Also run quail-deactivate-hook.
3669 (quail-deactivate): Rename from quail-inactivate.
3670 * international/robin.el (robin-activate):
3671 Also run robin-deactivate-hook.
3672 (robin-deactivate): Rename from robin-inactivate.
3673
2549c068
CY
36742012-07-29 Chong Yidong <cyd@gnu.org>
3675
3676 * simple.el (indicate-copied-region): New function.
3677 (kill-ring-save): Split off from here.
3678
3679 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3680 (kill-rectangle): Set deactivate-mark to t on read-only error.
3681
3682 * register.el (copy-to-register, copy-rectangle-to-register):
3683 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3684 (append-to-register, prepend-to-register): Call indicate-copied-region.
3685
36862012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3687
3688 * simple.el (async-shell-command-buffer): New defcustom.
3689 (shell-command): Use it. (Bug#4719)
3690
01bd1b0d
EZ
36912012-07-28 Eli Zaretskii <eliz@gnu.org>
3692
3693 * international/mule-cmds.el (set-locale-environment): In a
3694 console session on MS-Windows, set up keyboard and terminal
3695 encoding from the OEM codepage, not the ANSI codepage.
3696 (Bug#12055)
3697
a55739d3
CY
36982012-07-28 Chong Yidong <cyd@gnu.org>
3699
3700 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3701 gdb-get-location.
3702
0e1a094f 37032012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3704
3705 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3706 the alist (bug#12029).
3707
20329d73
EZ
37082012-07-28 Eli Zaretskii <eliz@gnu.org>
3709
3710 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3711 (compile-always, compile-first)
3712 ($(lisp)/calendar/cal-loaddefs.el)
3713 ($(lisp)/calendar/diary-loaddefs.el)
3714 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3715 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3716 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3717 instead of on update-subdirs.
3718 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3719
345a2258
CY
37202012-07-28 Chong Yidong <cyd@gnu.org>
3721
1eee6341
CY
3722 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3723 directory if vc-deduce-backend returns nil (Bug#7350).
3724
345a2258
CY
3725 * simple.el (delete-trailing-lines): New option.
3726 (delete-trailing-whitespace): Obey it (Bug#11879).
3727
049a0936
DE
37282012-07-28 David Engster <deng@randomsample.de>
3729
3730 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3731 Explanation of new 'symbol-qnames feature in doc-strings.
3732 (xml-maybe-do-ns): Return expanded names as plain symbols if
3733 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3734 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3735
aa81af71
FEG
37362012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3737
3738 Consistent completion in inferior python with emacs -nw.
3739 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3740 binding in inferior-python-mode-map with "\t".
3741 (python-shell-completion-complete-at-point)
3742 (python-completion-complete-at-point): Remove interactive spec.
3743
e827b1eb
JB
37442012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3745
3746 * calc/calccomp.el (math-compose-expr): Undo previous change.
3747
a90dfb95
FEG
37482012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3749
4250fdf5 3750 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3751 run-python.
3752 (python-shell-make-comint): Fix pop-to-buffer call.
3753 (run-python): Autoload. New arg SHOW.
3754 (python-shell-get-or-create-process): Do not pop python process
3755 buffer.
3756
32770973 37572012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3758
3759 * notifications.el (notifications-on-action-signal)
3760 (notifications-on-closed-signal): Use also the bus address for the map.
3761 (notifications-notify, notifications-close-notification)
fc0c31f8 3762 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3763
86332df2
TH
37642012-07-27 Tassilo Horn <tsdh@gnu.org>
3765
4250fdf5
SM
3766 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3767 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3768 ctable macro.
3769 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3770 labels written in keyvals syntax.
3771
ca1302a4
JB
37722012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3773
3774 * calc/calccomp.el (math-compose-expr): Use parentheses when
3775 there is a product in the denominator of a fraction.
3776
f8b91036
EZ
37772012-07-26 Eli Zaretskii <eliz@gnu.org>
3778
3779 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3780 ($(lisp)/calendar/diary-loaddefs.el)
3781 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3782 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3783 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3784 rewritten while the autoload files are built at the same time,
3785 which needs to load subdirs.el.
3786
c8e5a42c
MR
37872012-07-26 Martin Rudalics <rudalics@gmx.at>
3788
3789 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3790 (mouse-drag-line): Don't exit tracking when a switch-frame or
3791 switch-window event occurs (Bug#12006).
3792
670d85ea
SM
37932012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3794
3795 * mouse.el (popup-menu): Fix last change.
3796
7abaf5cc
SM
37972012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 Autoload from Lisp with more care. Follow aliases when looking for
3800 function properties.
3801 * subr.el (autoloadp): New function.
3802 (symbol-file): Use it.
3803 (function-get): New function.
3804 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3805 autoload-do-load.
3806 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3807 (lisp-indent-function):
3808 * emacs-lisp/gv.el (gv-get):
3809 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3810 * emacs-lisp/byte-opt.el (byte-optimize-form):
3811 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3812 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3813 Use function-get.
3814 * emacs-lisp/cl.el: Don't propagate function properties any more.
3815
3816 * speedbar.el (speedbar-add-localized-speedbar-support):
3817 * emacs-lisp/disass.el (disassemble-internal):
3818 * desktop.el (desktop-load-file):
3819 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3820 (describe-function-1):
3821 * emacs-lisp/find-func.el (find-function-noselect):
3822 * emacs-lisp/elp.el (elp-instrument-function):
3823 * emacs-lisp/advice.el (ad-has-proper-definition):
3824 * apropos.el (apropos-safe-documentation, apropos-macrop):
3825 * emacs-lisp/debug.el (debug-on-entry):
3826 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3827 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3828 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3829
b1364986
AA
38302012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3831
3832 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3833 function, not an obsolete variable (Bug#12046).
3834
67ada220
AS
38352012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3836
3837 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3838
f08088e3
CS
38392012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3840
3841 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3842 window only if it is still live (Bug#12034).
3843
8137e7b3
MR
38442012-07-25 Martin Rudalics <rudalics@gmx.at>
3845
3846 * subr.el (redirect-frame-focus): Add advertised calling
3847 convention (Bug#12030).
3848
09ae5da1
PE
38492012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3850
3851 Prefer typical American spelling for "acknowledgment".
3852 * vc/add-log.el (change-log-acknowledgment): Rename from
3853 change-log-acknowledgement, with an alias for the old name.
3854
3cc5a3a8
JB
38552012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3856
3857 * calc-alg.el (math-simplify-divide): Don't cross multiply
3858 in an equation when the lhs is a variable.
3859
b7af7f62
JD
38602012-07-24 Julien Danjou <julien@danjou.info>
3861
3862 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3863 Remove, unused.
3864
ec1b09b1
EZ
38652012-07-23 Eli Zaretskii <eliz@gnu.org>
3866
3867 * startup.el (command-line): Don't display an empty user name in
3868 the error message about non-existent home directory, when
3869 init-file-user was set to an empty string. See
3870 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3871 for the details and context.
3872
b525fd8a
VB
38732012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3874
3875 * ses.el (ses-cell-formula-aset): New macro.
3876 (ses-cell-references-aset): New macro.
3877 (ses-cell-p): New function.
3878 (ses-rename-cell): Do no longer rely on complex operations like
3879 ses-cell-set-formula or ses-set-cell to change the cell and handle
3880 the undo at the same time, but rather use lower level new macros
3881 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3882 the undo directly. Refresh the mode line.
b525fd8a 3883
2c73e345
LL
38842012-07-21 Leo Liu <sdl.web@gmail.com>
3885
670d85ea
SM
3886 * progmodes/cc-cmds.el (c-defun-name):
3887 Use match-string-no-properties instead for consistency.
2c73e345 3888
542dfbde
LL
38892012-07-20 Leo Liu <sdl.web@gmail.com>
3890
3646bcd6
LL
3891 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3892 (Bug#7879)
3893
542dfbde
LL
3894 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3895
25721031
CY
38962012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3897
3898 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3899 * progmodes/bug-reference.el, misearch.el: Provide themselves
3900 (bug#11915).
3901
3902 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3903 of narrowed buffer (bug#11966).
3904
316e68a7
VB
39052012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3906
3907 * ses.el (ses-rename-cell): Set new name also in reference list of
3908 cells of which the renamed cell depends.
3909
bbf0e7d9
MY
39102012-07-20 Masatake YAMATO <yamato@redhat.com>
3911
3912 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3913 to check whether menu-bar is shown or not. If not shown,
3914 show the menu-bar as a popup menu instead of using tmm.
3915 * mouse.el (popup-menu): Accept `point' as `position' argument.
3916
c28662a8
DG
39172012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3918
3919 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3920 up inside string symbol literal (bug#11923).
3921
87ab808f
EZ
39222012-07-20 Eli Zaretskii <eliz@gnu.org>
3923
3924 * startup.el (fancy-startup-text): Read the whole tutorial, not
3925 just its first 256 bytes. Prevents gibberish in display of the
3926 tutorial title.
3927
89dea803
DA
39282012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3929
3930 Drop idle buffer compaction due to an absence of the
3931 proved efficiency.
3932 * compact.el: Remove.
3933
8a4e6db8
SS
39342012-07-19 Sam Steingold <sds@gnu.org>
3935
3936 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3937 vc-bzr-pull & vc-bzr-merge-branch.
3938 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3939 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3940 for consistency with compilation-error-regexp-alist.
3941 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3942 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3943 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3944 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3945
5db81e33
SM
39462012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * emacs-lisp/chart.el: Use lexical-binding.
3949 (chart-emacs-storage): Don't hardcode the list of entries.
3950
5b835e1d
DA
39512012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3952
3953 Next round of tweaks caused by Fgarbage_collect changes.
3954 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3955
9cd47b72
DA
39562012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3957
3958 Compact buffers when idle.
3959 * compact.el: New file.
3960
1d6fc0df
SM
39612012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * subr.el (eventp): Presume that if it looks vaguely like an event,
3964 it's an event (bug#10190).
3965
1d29cc7d
FEG
39662012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3967
3968 Enhancements to ppss related code (thanks Stefan).
3969 * progmodes/python.el (python-indent-context)
3970 (python-indent-calculate-indentation, python-indent-dedent-line)
3971 (python-indent-electric-colon, python-nav-forward-block)
3972 (python-mode-abbrev-table)
1d6fc0df 3973 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3974 for ppss context.
3975 (python-info-continuation-line-p): Cleanup.
3976 (python-info-ppss-context): Do not catch 'quote.
3977 (python-info-ppss-context-type)
3978 (python-info-ppss-comment-or-string-p): Simplify.
3979
d583cbe6
FEG
39802012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3981
3982 * progmodes/python.el: Enhancements to eldoc support.
3983 (python-info-current-symbol): New function.
3984 (python-eldoc-at-point): Use python-info-current-symbol.
3985 (python-info-current-defun): Fix cornercase on first defun scan.
3986 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3987 and signal error when no inferior python process is available.
3988
eceb6feb
DG
39892012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3990
3991 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3992 assume it's always t.
3993 (vc-git-registered): Remove caching, the function is only called
3994 once.
3995 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3996
4c8ff0fe
CY
39972012-07-18 Chong Yidong <cyd@gnu.org>
3998
19fb7186
CY
3999 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4000
9587c688
CY
4001 * simple.el (count-words): Report on narrowing (Bug#9959).
4002
0fe776a1
CY
4003 * bindings.el: Bind M-= to count-words.
4004
4c8ff0fe
CY
4005 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4006
7f5331cc
MY
40072012-07-18 Masatake YAMATO <yamato@redhat.com>
4008
4009 * progmodes/sh-script.el (sh-imenu-generic-expression):
4010 Capture a function with `function' keyword and without parentheses
4011 like "function FOO" (bug#11856).
4012
2dc2a609
TH
40132012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4014
4015 * window.el (split-window-sensibly): Make WINDOW argument
4016 optional.
4017
439f7677
CY
40182012-07-18 Chong Yidong <cyd@gnu.org>
4019
9aeb25a6
CY
4020 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4021
439f7677
CY
4022 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4023 and make C-x 8 RET exit isearch (Bug#11439).
4024
4025 * international/iso-transl.el: Move isearch-mode-map key
4026 definitions to isearch.el.
4027
12999ea8
SM
40282012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4031 (eieio-defclass): Use gv-define-setter when possible.
4032
3ab6e069
DA
40332012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4034
4035 Reflect recent changes in Fgarbage_collect.
4036 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4037 reflect new format of data returned by Fgarbage_collect.
4038
0a60bc10
FEG
40392012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4040
4041 New utility functions + python-info-ppss-context fix (Bug#11910).
4042 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4043 (python-info-ppss-comment-or-string-p): New functions.
4044 (python-info-ppss-context): Small fix for string check.
4045
6dafa0d5
JL
40462012-07-17 Juri Linkov <juri@jurta.org>
4047
4048 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4049 (dired-do-async-shell-command): Don't add `*' at the end of the
4050 command (Bug#11815).
4051 (dired-do-shell-command): Doc fix.
4052 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4053 Join the individual commands using either "&" or ";" as the
4054 separator depending on the values of these trailing characters.
4055 At the end re-add the trailing "&". (Bug#10598)
4056
4057 * simple.el (async-shell-command): Sync the interactive spec with
4058 `shell-command'. Doc fix.
4059 (shell-command): Doc fix.
4060
b19dd9d1
JL
40612012-07-17 Juri Linkov <juri@jurta.org>
4062
4063 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4064
bcdc27d7 40652012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4066
bcdc27d7 4067 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4068 * progmodes/python.el (python-nav-beginning-of-statement):
4069 Rename from python-nav-statement-start.
bcdc27d7
FEG
4070 (python-nav-end-of-statement): Rename from
4071 python-nav-statement-end.
4072 (python-nav-beginning-of-block): Rename from
4073 python-nav-block-start.
4074 (python-nav-end-of-block): Rename from python-nav-block-end.
4075
191da00e
FEG
40762012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4077
7f5331cc
MY
4078 * progmodes/python.el (python-shell-send-string-no-output):
4079 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4080 future interactions (Bug#11868).
4081
4dc7c8d5 40822012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4083
88ecaf8f
SM
4084 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4085
ef501ef0
SM
4086 * emacs-lisp/elint.el (elint-find-args-in-code):
4087 Use help-function-arglist, so as to handle lexical byte-code.
4088
aa7aaf8f
SM
4089 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4090 change (bug#11826).
4091
45fd731c
SM
40922012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4093
2143fa32
SM
4094 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4095 Avoid spuriously marking the buffer as modified because of c-is-sws.
4096
efc26dbe
SM
4097 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4098 as not-a-comment (bug#11946).
4099
f5695c9a
SM
4100 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4101 for uninterned vars.
4102
4103 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4104 Use read-event since we don't really want to read chars but bytes.
4105
45fd731c
SM
4106 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4107 $$..$$ but also $..$ using regexps (bug#11953).
4108 Use tex-verbatim for \url and \path.
4109 (tex-font-lock-keywords): Define as defconst like the others.
4110 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4111
ddfc8813
RK
41122012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4113
4114 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4115 alias for insert-char.
4116
758e556a
FEG
41172012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4118
4119 * progmodes/python.el: Simplified imenu implementation.
4120 (python-nav-jump-to-defun): Remove command.
4121 (python-mode-map): Use `imenu' instead.
4122 (python-nav-list-defun-positions-cache)
4123 (python-imenu-include-defun-type, python-imenu-make-tree)
4124 (python-imenu-subtree-root-label, python-imenu-index-alist):
4125 Remove vars.
4126 (python-nav-list-defun-positions, python-nav-read-defun)
4127 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4128 (python-imenu-make-tree, python-imenu-create-index):
4129 Remove functions.
758e556a
FEG
4130 (python-mode): Update to interact with imenu by setting
4131 `imenu-extract-index-name-function' only.
4132
032d23ab
FEG
41332012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4134
4135 * progmodes/python.el: Enhancements to navigation commands.
4136 (python-nav-backward-sentence)
4137 (python-nav-forward-sentence): Remove.
4138 (python-nav-backward-statement, python-nav-forward-statement)
4139 (python-nav-statement-start, python-nav-statement-end)
4140 (python-nav-backward-block, python-nav-forward-block)
4141 (python-nav-block-start, python-nav-block-end)
4142 (python-nav-forward-sexp-function)
4143 (python-info-current-line-comment-p)
4144 (python-info-current-line-empty-p): New functions.
4145 (python-indent-context): Use `python-nav-statement-start'.
4146
01795a1b
MA
41472012-07-16 Michael Albinus <michael.albinus@gmx.de>
4148
9328d9aa
MA
4149 * eshell/em-ls.el (eshell/ls): Use `apply'.
4150
4151 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4152 multi-hops, instead of Tramp internals.
4153
01795a1b
MA
4154 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4155
4156 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4157 when F1 and F2 are located on different hosts.
4158
63408057
CY
41592012-07-14 Chong Yidong <cyd@gnu.org>
4160
4161 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4162 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4163 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4164 (xterm-mouse--read-event-sequence-1000)
4165 (xterm-mouse--read-event-sequence-1006): New functions. For old
4166 mouse protocol, handle M-mouse-X events correctly.
4167 (xterm-mouse-event): New arg specifying mouse protocol.
4168 (turn-on-xterm-mouse-tracking-on-terminal)
4169 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4170 sequence to toggle extended coordinates on newer XTerms.
4171 This appears to be harmless on terminals which do not support this.
63408057 4172
cd276f6e
LL
41732012-07-14 Leo Liu <sdl.web@gmail.com>
4174
28ca98ac
LL
4175 Add fringe bitmap indicators for flymake. (Bug#11253)
4176 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4177 (flymake-make-overlay): New arg BITMAP.
4178 (flymake-error-bitmap, flymake-warning-bitmap)
4179 (flymake-fringe-indicator-position): New user variables.
4180
cd276f6e
LL
4181 * fringe.el: New bitmap exclamation-mark.
4182
04408072
JD
41832012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4184
4185 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4186 also (Bug#7879).
4187
b5cf7fc4
CY
41882012-07-14 Chong Yidong <cyd@gnu.org>
4189
4190 * electric.el (electric-pair-post-self-insert-function): Fix pair
4191 insertion in empty-region case (Bug#11520).
4192
be755c79
RT
41932012-07-14 Chong Yidong <cyd@gnu.org>
4194
45fd731c
SM
4195 * bindings.el: Consolidate ctl-x-r-map bindings.
4196 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4197
4198 * rect.el, register.el: Move bindings to bindings.el.
4199
42002012-07-14 Reuben Thomas <rrt@sc3d.org>
4201
4202 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4203
7f5b3198
AS
42042012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4205
4206 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4207
97662200
JB
42082012-07-13 Juanma Barranquero <lekktu@gmail.com>
4209
80185fed
JB
4210 * bindings.el (top): Use `mapc' instead of `mapcar'.
4211
97662200
JB
4212 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4213
2bb1ae55
MA
42142012-07-13 Michael Albinus <michael.albinus@gmx.de>
4215
4216 * progmodes/sql.el (sql-comint): Suppress the check for program on
4217 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4218 (Bug#11908)
4219
dea31bd3
CY
42202012-07-13 Chong Yidong <cyd@gnu.org>
4221
4222 * bindings.el: Assign a non-nil permanent-local property to
4223 per-buffer variables which lack a default value (Bug#11930).
4224
4225 * help-fns.el (describe-variable): In the "automatically becomes
4226 local" notice, take note of permanent-local variables.
4227
b68b3337
CY
42282012-07-13 Chong Yidong <cyd@gnu.org>
4229
4230 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4231 to allow printing the message when called from Lisp.
4232
4233 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4234 Remove toggle-read-only.
4235
4236 * bs.el (bs-toggle-readonly):
45fd731c
SM
4237 * buff-menu.el (Buffer-menu-toggle-read-only):
4238 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4239
4240 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4241 Remove with-no-warnings around toggle-read-only.
4242 (ffap-read-only, ffap-read-only-other-window)
4243 (ffap-read-only-other-frame): Callers changed.
4244
4245 * help-mode.el: Don't require view package.
4246 (help-mode-finish): Set buffer-read-only instead of calling
4247 toggle-read-only.
4248
4249 * bindings.el (mode-line-toggle-read-only):
4250 * dired.el (dired-toggle-read-only):
4251 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4252 with non-nil second arg.
4253
4254 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4255 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4256 directly.
4257
56bc1586
EZ
42582012-07-12 Eli Zaretskii <eliz@gnu.org>
4259
4260 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4261 not incf.
4262
a464a6c7
SM
42632012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4264
4265 More CL cleanups and reduction of use of cl.el.
4266 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4267 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4268 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4269 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4270 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4271 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4272 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4273 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4274 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4275 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4276 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4277 * eshell/em-cmpl.el, eshell/em-banner.el:
4278 * calendar/parse-time.el: Use cl-lib.
4279 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4280 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4281 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4282 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4283 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4284 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4285 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4286 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4287 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4288 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4289 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4290 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4291 `lambda' rather than with `quote'.
4292 (eshell-do-opt): Adjust accordingly.
4293 (eshell-process-option): Simplify.
4294 * eshell/esh-var.el:
4295 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4296 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4297 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4298 to `pcase--dontcare'.
4299 * emacs-lisp/cl.el (labels): Mark obsolete.
4300 (cl--letf, letf): Move to cl-lib.
4301 (cl--letf*, letf*): Remove.
4302 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4303 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4304 (cl-progv): Rewrite.
4305 (cl--letf, cl-letf): Move from cl.el.
4306 (cl-letf*): New macro.
4307 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4308
7ad4afe1
MA
43092012-07-11 Michael Albinus <michael.albinus@gmx.de>
4310
4311 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4312
9af57756
CY
43132012-07-11 Chong Yidong <cyd@gnu.org>
4314
4315 * vc/log-edit.el (log-edit-vc-backend): New variable.
4316 (log-edit): Doc fix.
4317
4318 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4319 argument of log-edit to set up all local variables.
4320 (vc-start-logentry): New optional arg specifying VC backend.
4321
4322 * vc/vc.el (vc-checkin): Use it.
4323 (vc-deduce-fileset): Handle Log Edit buffers.
4324 (vc-diff): Make first argument optional too.
4325
4326 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4327
8477cc7a
MA
43282012-07-10 Michael Albinus <michael.albinus@gmx.de>
4329
4330 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4331 command, just in case. The function is not needed anymore.
4332 (eshell-external-command): Do not call `eshell-remote-command'.
4333
19faa8e8
SM
43342012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4335
f58e0fd5
SM
4336 Reduce use of (require 'cl).
4337 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4338 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4339 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4340 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4341 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4342 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4343 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4344 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4345 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4346 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4347 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4348 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4349 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4350 (byte-compile-unfold-bcf, byte-compile-check-variable):
4351 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4352 (byte-compile-nilconstp):
4353 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4354 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4355
2519d43a
SM
4356 * emacs-lisp/gv.el (cond): Make it a valid place.
4357 (if): Simplify slightly.
4358
19faa8e8
SM
4359 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4360 (pcase--self-quoting-p): New function.
4361 (pcase--u1): Use it.
4362
c4907a5e
GM
43632012-07-10 Glenn Morris <rgm@gnu.org>
4364
4365 * emacs-lisp/authors.el (authors-fixed-entries):
4366 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4367
c4444d16
PE
43682012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4369
4370 Rename configure.in to configure.ac (Bug#11603).
4371 * emacs-lisp/authors.el (authors-canonical-file-name):
4372 * progmodes/autoconf.el (autoconf-mode):
4373 Prefer configure.ac to configure.in.
4374
d75be97d
CY
43752012-07-08 Chong Yidong <cyd@gnu.org>
4376
01ac65bd
CY
4377 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4378 Implement the mouse-1-click-follows-link handling properly.
4379
4380 * info.el (Info-link-keymap): Use follow-link mechanism for
4381 header-line links (Bug#374).
4382
d75be97d
CY
4383 * simple.el (deactivate-mark): Do not set the primary selection
4384 if another program has acquired it (Bug#11772).
4385
87a92845 43862012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4387
4388 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4389 (woman-decode-region): Replace escaped-escapes without destroying
4390 bold or underline (Bug#11552).
87a92845 4391 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4392
621b9d6c
CY
43932012-07-07 Chong Yidong <cyd@gnu.org>
4394
4395 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4396 (interprogram-cut-function, interprogram-paste-function):
4397 Mention that we typically mean the clipboard.
621b9d6c 4398
133a11fc
GM
43992012-07-06 Glenn Morris <rgm@gnu.org>
4400
0d27a45e
GM
4401 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4402
133a11fc
GM
4403 * files.el (toggle-read-only): Restrict message to interactive use.
4404
07b151f1
MA
44052012-07-06 Michael Albinus <michael.albinus@gmx.de>
4406
4407 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4408
4409 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4410
211b896b
GM
44112012-07-06 Glenn Morris <rgm@gnu.org>
4412
50394322
GM
4413 * Makefile.in (compile-one-process): Rename from "recompile".
4414
211b896b
GM
4415 * Makefile.in (bzr-update): "compile" is the same as "recompile
4416 autoloads", but parallelizable, so use that instead.
4417
4737eec9
DG
44182012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4419
4420 * window.el (quit-window): Always restore window height when
8137e7b3 4421 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4422
226c3633 44232012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4424
4425 * simple.el (kill-whole-line): Doc tweak.
4426
226c3633 44272012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4428
4429 * files.el (file-relative-name): Compare file names
4430 case-insensitively if on MS-Windows or MS-DOS, or if
4431 read-file-name-completion-ignore-case is non-nil. Don't use
4432 case-fold-search for this purpose. (Bug#11827)
4433
4dc7c8d5
SM
44342012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4435
4436 * calendar/cal-dst.el (calendar-current-time-zone):
4437 Return calendar-current-time-zone-cache if non-nil.
4438
44392012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 44402012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4441
19faa8e8
SM
4442 * calendar/cal-dst.el (calendar-current-time-zone):
4443 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4444
60198fc9
GM
44452012-07-06 Glenn Morris <rgm@gnu.org>
4446
4447 * Makefile.in (cvs-update): Remove old alias.
4448
957b3189
MA
44492012-07-05 Michael Albinus <michael.albinus@gmx.de>
4450
4451 Sync with Tramp 2.2.6-pre.
4452
4453 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4454 compatible declaration.
4455
19faa8e8
SM
4456 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4457 Protect `list-load-path-shadows' call.
957b3189
MA
4458
4459 * net/tramp-compat.el (top): Require packages, which aren't
4460 autoloaded anymore for XEmacs. Protect call of
4461 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4462 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4463 it hurts at least for SXEmacs.
4464 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4465 standard-value for `temporary-file-directory'.
4466
4467 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4468 Redirect stderr to /dev/null.
4469 (tramp-sh-handle-write-region): uid and gid can be floats.
4470 Reported by Russell Sim <russell.sim@gmail.com>.
4471 (tramp-sh-handle-vc-registered): Hide errors.
4472 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4473 and `start-file-process'.
4474 (tramp-maybe-open-connection): Check also whether `non-essential'
4475 is bound.
4476
566df3fc
CY
44772012-07-04 Chong Yidong <cyd@gnu.org>
4478
4479 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4480 (xml-parse-tag): Likewise, and avoid changing entity tables.
4481 (xml-syntax-table): Define from scratch, making sure not to give
4482 x2000 and other Unicode spaces whitespace syntax, since those are
4483 not spaces in XML.
4484 (xml-parse-fragment): Delete unused function.
4485 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4486 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4487 (xml-entity-ref, xml-pe-reference-re)
4488 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4489 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4490 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4491 (xml-entity-value-re): Use syntax references in regexps where
4492 possible; no need to define inside a let-binding.
4493 (xml-parse-dtd): Use xml-pe-reference-re.
4494 (xml-entity-or-char-ref-re): New defconst.
4495 (xml-parse-string, xml-substitute-special): Use it.
4496
30eabd7a
SM
44972012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4498
0781098a
SM
4499 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4500 (find-file--read-only): New function.
4501 (find-file-read-only, find-file-read-only-other-window)
4502 (find-file-read-only-other-frame): Use it.
4503 (insert-file-contents-literally): Don't `fset'.
4504 (get-free-disk-space): Use locate-dominating-file.
4505
b5771c0d
SM
4506 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4507 function is already compiled.
4508
30eabd7a
SM
4509 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4510
b4886f6e
MA
45112012-07-03 Michael Albinus <michael.albinus@gmx.de>
4512
4513 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4514 files on the same host.
4515
b9d82339
AS
45162012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4517
4518 * help-fns.el (describe-function-1): Only call
4519 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4520
a76e6535
CY
45212012-07-03 Chong Yidong <cyd@gnu.org>
4522
4523 * xml.el: Protect parser against XML bombs.
4524 (xml-entity-expansion-limit): New variable.
4525 (xml-parse-string, xml-substitute-special): Use it.
4526 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4527
b544fef2
GM
45282012-07-03 Glenn Morris <rgm@gnu.org>
4529
4530 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4531 Allow linking to specific messages in debbugs reports (eg 123#5).
4532
a7aef6f5
CY
45332012-07-02 Chong Yidong <cyd@gnu.org>
4534
4535 * xml.el: Fix entity and character reference expansion, allowing
4536 them to expand into markup as per XML spec.
4537 (xml-default-ns): New variable.
4538 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4539 (xml-parse-region): Make first two arguments optional.
4540 Discard text properties.
4541 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4542 All callers changed.
a7aef6f5
CY
4543 (xml-parse-tag): Call xml-parse-tag-1. For backward
4544 compatibility, this function should not modify buffer contents.
4545 (xml-parse-tag-1): Fix opening-tag regexp.
4546 (xml-parse-string): Rewrite, handling entity and character
4547 references properly.
4548 (xml--entity-replacement-text): Signal an error if a parameter
4549 entity is undefined.
4550
3df31c9f
SM
45512012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4552
2b5208f1
SM
4553 * comint.el (comint-output-filter): Filter out repeated prompts.
4554
3df31c9f
SM
4555 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4556 and file-name-absolute-p.
4557 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4558 internal calls.
4559
e3ac1281
PE
45602012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4561
4562 Spelling fixes.
4563 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4564 Rename from byte-compile--refiy-function. All uses changed.
4565
fbf2e7ad
CY
45662012-07-01 Chong Yidong <cyd@gnu.org>
4567
4568 * xml.el (xml--parse-buffer): New function. Move most of
4569 xml-parse-region here.
4570 (xml-parse-region): Copy region into a temporary buffer, since
4571 parameter entity substitution requires changing buffer contents.
4572 Use xml--parse-buffer.
4573 (xml-parse-file): Use xml--parse-buffer.
4574 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4575 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4576
9bf0aa15
GM
45772012-06-30 Glenn Morris <rgm@gnu.org>
4578
bbce2853
GM
4579 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4580
9bf0aa15
GM
4581 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4582 Remove outdated and unnecessary dbus declarations.
4583
0d23c240
EZ
45842012-06-30 Eli Zaretskii <eliz@gnu.org>
4585
4586 * emacs-lisp/timer.el (timer-until): Subtract results of
4587 float-time, instead of taking float-time of the result of
4588 time-subtract, since float-time signals an error for negative time
4589 arguments.
4590
b3218de1
CY
45912012-06-30 Chong Yidong <cyd@gnu.org>
4592
4593 * xml.el (xml-*-re): Convert defvars into defconsts, and
4594 eval-and-compile them so eval-and-compile works on derivatives.
4595 (xml--entity-replacement-text): Use eval-and-comple.
4596
a40c87a0
MA
45972012-06-30 Michael Albinus <michael.albinus@gmx.de>
4598
4599 * vc/vc-git.el (vc-git-registered): Use cache property
4600 `git-registered'.
4601 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4602 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4603 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4604
ac87de97
DG
46052012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4606
4607 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4608 removed (likely outside Emacs). (Bug#11757)
ac87de97 4609
ac10fe06
SM
46102012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4611
3df31c9f 4612 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4613
7f3fbd5d
CY
46142012-06-30 Chong Yidong <cyd@gnu.org>
4615
4616 * xml.el: Implement XML parameter entities.
4617 (xml-parameter-entity-alist): New variable.
4618 (xml-parse-region, xml-parse-fragment): Preserve previous values
4619 of xml-entity-alist and xml-parameter-entity-alist, so that
4620 repeated calls on different documents do not change them.
4621 (xml-parse-tag): Fix doctype regexp.
4622 (xml--entity-replacement-text): New function.
4623 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4624 properly requires url retrieval which is unimplemented.
4625 (xml-escape-string): Doc fix.
4626
3cfbebba
SM
46272012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4628
4629 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4630
2af3565e
DA
46312012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4632
4633 * fringe.el (fringe-mode): Doc fix.
4634
929df0e7
MA
46352012-06-29 Michael Albinus <michael.albinus@gmx.de>
4636
4637 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4638 is non-nil.
4639 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4640 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4641
c8d3a25c 46422012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4643
c8d3a25c
GM
4644 * calendar/cal-dst.el (calendar-current-time-zone):
4645 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4646
c8d3a25c 46472012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4648
4649 * progmodes/which-func.el (which-func-format):
4650 Add mouse-face. (Bug#11698)
4651
c8d3a25c
GM
46522012-06-29 Leo Liu <sdl.web@gmail.com>
4653
4654 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4655
46562012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * minibuffer.el (minibuffer-confirm-exit-commands):
4659 Add completion-at-point (bug#11725).
4660
46612012-06-29 Glenn Morris <rgm@gnu.org>
4662
4663 * progmodes/f90.el (f90-font-lock-keywords-2):
4664 Add some preprocessor elements. (Bug#10499)
4665
46662012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4667
4668 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4669 Use syntax-propertize (bug#11739).
4670
2badeec4
JB
46712012-06-28 Juanma Barranquero <lekktu@gmail.com>
4672
4673 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4674
ae4969c2
JD
46752012-06-28 Julien Danjou <julien@danjou.info>
4676
4677 * term.el (term-handle-colors-array): Use a set of new faces to
4678 color the terminal. Also uses :inverse-video property.
4679 (term-default-fg-color): Set to nil by default, deprecate in favor
4680 of `term-face'.
4681 (term-default-bg-color): Set to nil by default, deprecate in favor
4682 of `term-face'.
4683 (term-current-face): Use `term-face' by default.
4684 (term-bold-attribute): Variable deleted.
4685
1c9bd870
GM
46862012-06-28 Glenn Morris <rgm@gnu.org>
4687
4688 * simple.el (completion-list-mode-finish):
4689 Don't use toggle-read-only. (Since completion-list-mode has
4690 a special mode-class, it wasn't doing anything extra anyway.)
4691
c207708c
SM
46922012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 Make inlining of other-mode interpreted functions work (bug#11799).
4695 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4696 (byte-compile): Use it to fix compilation of lexical-binding closures.
4697 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4698 function, if needed.
4699
3fd56834
SM
47002012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4701
04901786
SM
4702 * help-mode.el (help-make-xrefs): Don't just withstand
4703 cyclic-variable-indirection but any error in documentation-property.
4704
1ec4b7b2
SM
4705 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4706 memory use.
4707 * bindings.el (bindings--define-key): New function.
4708 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4709 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4710 * bindings.el: Use it to purecopy define-key bindings.
4711
e309e2a5
SM
4712 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4713
d5c6faf9
SM
4714 * emacs-lisp/cl.el (flet): Mark obsolete.
4715 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4716 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4717 * progmodes/js.el (js-c-fill-paragraph):
4718 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4719 (ebrowse-switch-member-buffer-to-derived-class):
4720 * play/5x5.el (5x5-solver): Use cl-flet.
4721
6e9590e2
SM
4722 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4723 (cl--symbol-function): New macro.
4724 (cl--letf, cl--letf*): Use it.
4725
3fd56834
SM
4726 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4727 Strip "toggle-" if any.
4728
35ff222c
GM
47292012-06-27 Glenn Morris <rgm@gnu.org>
4730
1ba6038a
GM
4731 * info.el (Info-default-directory-list): Move here from paths.el.
4732 * paths.el: Remove file, which is now empty.
4733 * loadup.el: No longer load "paths".
4734
0ea0e51b
GM
4735 * custom.el (custom-initialize-delay): Doc fix.
4736
35ff222c
GM
4737 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4738 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4739 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4740 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4741 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4742 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4743 * eshell/eshell.el (eshell-defgroup): Remove alias.
4744
c89926a5
CY
47452012-06-27 Chong Yidong <cyd@gnu.org>
4746
4747 * help.el (help-enable-auto-load): New variable.
4748
4749 * help-fns.el (help-fns--autoloaded-p): New function.
4750 (describe-function-1): Refer to a function as "autoloaded" if it
4751 was autoloaded at any time in the past. Perform autoloading if
4752 help-enable-auto-load is non-nil.
4753
cc06e7e7
EZ
47542012-06-26 Eli Zaretskii <eliz@gnu.org>
4755
4756 * makefile.w32-in (compile, compile-always): Depend on
4757 update-subdirs, not on subdirs.el. Otherwise, several different
4758 sub-targets of 'bootstrap' running in parallel could
4759 simultaneously write to subdirs.el, producing a garbled file.
4760
d2c32364
SS
47612012-06-26 Sam Steingold <sds@gnu.org>
4762
4763 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4764 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4765 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4766 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4767 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4768 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4769 * textmodes/tex-mode.el: Use it.
4770 Did not touch cedet and org because they are maintained elsewhere.
4771
5cf983b2
MR
47722012-06-26 Martin Rudalics <rudalics@gmx.at>
4773
4774 * calendar/calendar.el (calendar-exit): Don't try to delete or
4775 iconify last frame. See:
4776 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4777
8c4f2952
JD
47782012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4779
4780 * server.el (server-process-filter): Remember dir in the
4781 process's `server-client-directory' properties.
4782
772b2e2c
CY
47832012-06-24 Chong Yidong <cyd@gnu.org>
4784
4785 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4786 non-tag text.
4787
711b11e1
JB
47882012-06-23 Juanma Barranquero <lekktu@gmail.com>
4789
4790 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4791
dc5d230c
SM
47922012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4793
4794 * help-fns.el (describe-variable): Don't croak when doc is not found.
4795 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4796 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4797 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4798 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4799 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4800 ((lambda ..) ..).
4801 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4802
136e1c1d
CY
48032012-06-23 Chong Yidong <cyd@gnu.org>
4804
e8c1cabf
CY
4805 * info.el (Info-mouse-follow-link): Accept symbol values of
4806 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4807 (Info-fontify-node): Use Info-link-keymap for all navigation
4808 buttons, with link-args property to perform the desired action.
4809 (Info-link-keymap): Doc fix.
4810 (Info-next-link-keymap, Info-prev-link-keymap)
4811 (Info-up-link-keymap): Delete now-unused keymaps.
4812
0e9e6c6a
CY
48132012-06-23 Chong Yidong <cyd@gnu.org>
4814
05e89fea
CY
4815 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4816
0e9e6c6a
CY
4817 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4818 system abbrevs.
4819
4820 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4821
e33c6771
SM
48222012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4823
b68581e2
SM
4824 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4825 (bug#11719).
4826
e33c6771
SM
4827 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4828 the requote function doesn't work properly (bug#11714).
4829
7117e105
GM
48302012-06-23 Glenn Morris <rgm@gnu.org>
4831
4832 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4833
36cec983
SM
48342012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 Further GV/CL cleanups.
4837 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4838 gv-expander.
4839 (gv--defun-declaration): New function.
4840 (defun-declarations-alist): Use it.
4841 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4842 (gv-place): Autoload.
4843 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4844 original definition of dotimes and dolist.
4845 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4846 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4847 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4848 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4849 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4850 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4851 to the function's definition.
4852 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4853 * window.el:
4854 * files.el:
4855 * faces.el:
4856 * env.el: Don't use CL.
4857
d35af63c
PE
48582012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4859
4860 Support higher-resolution time stamps (Bug#9000).
4861
4862 * calendar/time-date.el (with-decoded-time-value): New arg
4863 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4864 (encode-time-value): New optional arg PICO. New type 3.
4865 (time-to-seconds) [!float-time]: Support the new picoseconds
4866 component if it's used.
4867 (seconds-to-time, time-subtract, time-add):
4868 Support ps-resolution time stamps as well.
4869
4870 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4871 (timerp): Timer vectors now have length 9, not 8.
4872 (timer--time): Support new-style (4-part) time stamps.
4873 (timer-next-integral-multiple-of-time): Time stamps now have
4874 picosecond resolution, so take a bit more care about rounding.
4875 (timer-relative-time, timer-inc-time): New optional arg psecs.
4876 (timer-set-time-with-usecs): Set psecs to 0.
4877 (timer--activate): Check psecs component, too.
4878
4879 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4880
ac77b21a
SM
48812012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4882
f143bfe3
SM
4883 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4884 Move the non-essential binding to the post/pre-command-hook where it is
4885 more obviously correct.
4886
ac77b21a
SM
4887 * subr.el (read-passwd): Don't use a history at all.
4888 * savehist.el (savehist-save): Remove password saved accidentally
4889 because of the above bug.
4890
76386c5a
BG
48912012-06-22 Bastien Guerry <bzg@gnu.org>
4892
4893 * files.el (toggle-read-only): Display a message telling whether
4894 the buffer is read-only or not (bug#11726).
4895
2ee3d7f0
SM
48962012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4897
4898 * emacs-lisp/gv.el: New file.
4899 * subr.el (push, pop): Extend to generalized variables.
4900 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4901 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4902 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4903 gv-define-simple-setter, and gv-define-expander.
4904 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4905 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4906 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4907 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4908 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4909 gv-letplace.
4910 (cl-defstruct): Don't define setf-method any more.
4911 * emacs-lisp/cl.el (flet): Don't autoload.
4912 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4913 (define-setf-expander, defsetf, define-modify-macro)
4914 (cl-struct-setf-expander): Move from cl-lib.el.
4915 * emacs-lisp/syntax.el:
4916 * emacs-lisp/ewoc.el:
4917 * emacs-lisp/smie.el:
4918 * emacs-lisp/cconv.el:
4919 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4920 (timer--time): Use gv-define-simple-setter.
4921 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4922 to avoid coding-system problems in subr.el. Adjust all users.
4923 (macroexp--maxsize, macroexp-small-p): New functions.
4924 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4925 * scroll-bar.el (scroll-bar-mode):
4926 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4927 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4928 * winner.el (winner-configuration, winner-make-point-alist)
4929 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4930 * files.el (locate-file-completion-table): Avoid list*.
4931
c5695d1d
CY
49322012-06-22 Chong Yidong <cyd@gnu.org>
4933
4934 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4935 (dired-create-files): Doc fix (Bug#11329).
4936 (dired-do-copy): Doc fix (Bug#11334).
4937 (dired-mark-read-string): Doc fix (Bug#11553).
4938
2ee3d7f0
SM
4939 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4940 Doc fix (Bug#11326).
c5695d1d
CY
4941 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4942 (dired-dwim-target): Doc fix.
4943
4944 * wdired.el (wdired-mode): Doc fix.
4945
89b5595a
GM
49462012-06-22 Glenn Morris <rgm@gnu.org>
4947
575db3f1
GM
4948 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4949 (pcmpl-rpm-cache-stamp-file): New constant.
4950 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4951 (pcmpl-rpm-packages): Optionally cache list of packages.
4952
a4c8dd51
GM
4953 * pcmpl-rpm.el (pcmpl-rpm): New group.
4954 (pcmpl-rpm-query-options): New option.
4955 (pcmpl-rpm-packages): No need to inline it.
4956 Use pcmpl-rpm-query-options.
4957
89b5595a
GM
4958 * calendar/calendar.el (calendar-in-read-only-buffer):
4959 Avoid some needless mode changes.
4960
e76f0800
CY
49612012-06-21 Chong Yidong <cyd@gnu.org>
4962
4963 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4964 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4965 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4966
297a8f1d
CY
49672012-06-20 Chong Yidong <cyd@gnu.org>
4968
4969 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4970
d34c18b1
DR
49712012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4972
4973 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4974 (bug#11201).
4975
32f7f28e
CY
49762012-06-20 Chong Yidong <cyd@gnu.org>
4977
4978 * term.el (term-window-width): Handle the case of a missing right
4979 fringe (Bug#8837).
4980 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4981 (term-mode): Use define-derived-mode. Minor cleanups.
4982 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4983 (term-move-columns, term-insert-char, term-emulate-terminal)
4984 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4985
493c6688
MA
49862012-06-20 Michael Albinus <michael.albinus@gmx.de>
4987
d34c18b1
DR
4988 * net/ange-ftp.el (ange-ftp-get-passwd):
4989 Bind `enable-recursive-minibuffers'.
493c6688
MA
4990 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4991
3f06ecf4
DR
49922012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4993
4994 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4995
68f12411
GM
49962012-06-19 Glenn Morris <rgm@gnu.org>
4997
4998 * progmodes/python.el (python-mode): Derive from prog-mode.
4999
b3820318
KG
50002012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5001
5002 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5003 (edt-user-menu-bar-update-buffers): New functions.
5004 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5005
c6bf3022
CY
50062012-06-19 Chong Yidong <cyd@gnu.org>
5007
5008 * subr.el (with-selected-window): Preserve the selected window's
5009 terminal's top-frame (Bug#4702).
5010
5011 * window.el (save-selected-window): Likewise.
5012
25f09295
SM
50132012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5014
5015 * progmodes/python.el (python-rx-constituents): Move backquote.
5016 (python-skeleton-define, python-define-auxiliary-skeleton):
5017 Use `declare'.
5018
6b11952a
MA
50192012-06-18 Michael Albinus <michael.albinus@gmx.de>
5020
5021 * minibuffer.el (read-file-name-default): Revert the patch from
5022 2012-06-17.
5023
ee4b1330
SM
50242012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5027 (pcase--u1, pcase--q1): Don't use apply-partially.
5028
35647f79
GM
50292012-06-18 Glenn Morris <rgm@gnu.org>
5030
5031 * progmodes/python.el (python-proc, python-buffer)
5032 (python-send-receive, python-send-string): Fix obsolete versions.
5033
24b0cff0
MR
50342012-06-18 Martin Rudalics <rudalics@gmx.at>
5035
5036 * window.el (special-display-p): Completely remove stringp
5037 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5038
29855149
MA
50392012-06-17 Michael Albinus <michael.albinus@gmx.de>
5040
5041 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5042
5043 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5044
5045 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5046 * net/tramp-sh.el (tramp-maybe-open-connection):
5047 Throw if `non-essential' is non-nil.
5048
07463363
MR
50492012-06-17 Martin Rudalics <rudalics@gmx.at>
5050
5051 * window.el (special-display-p): Signal an error if BUFFER-NAME
5052 is not a string (Bug#11713).
5053
48d1354e
PE
50542012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5055
5056 * progmodes/python.el (python-info-beginning-of-backslash):
5057 Rename from python-info-beginning-of-backlash, as a spelling fix.
5058
eb4a8a9a
CY
50592012-06-17 Chong Yidong <cyd@gnu.org>
5060
5061 * term.el (term-emulate-terminal): If term-check-size is called,
5062 move point to the process mark without resetting point (Bug#4635).
5063
ddfbf826 50642012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5065
5066 * international/mule-cmds.el (mule-menu-keymap)
5067 (set-language-environment, set-locale-environment): Doc tweaks.
5068
9b0e3eba
AA
50692012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5070
5071 * cus-face.el (custom-face-attributes): Add wave-style underline
5072 attribute.
5073 * faces.el (set-face-attribute): Update docstring to describe
5074 wave-style underline attribute.
5075
771e3eae
CY
50762012-06-16 Chong Yidong <cyd@gnu.org>
5077
5078 * term/xterm.el (terminal-init-xterm): Discard input before
5079 querying background mode (Bug#10959).
5080
7ae2ea10
SM
50812012-06-16 Stefan Merten <smerten@oekonux.de>
5082
5083 * textmodes/rst.el: Added and corrected some comments.
5084 (rst-re-alist-def): Improve symbol syntax.
5085 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5086 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5087 (rst-official-version, rst-official-cvs-rev): Update version
5088 information.
7ae2ea10 5089
b6974efa
JB
50902012-06-15 Juanma Barranquero <lekktu@gmail.com>
5091
5092 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5093 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5094
8826d473
GM
50952012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5096
5097 * progmodes/python.el: New python.el merge.
5098 (python-guess-indent): Obsolete var.
5099 (python-indent-guess-indent-offset): New defcustom.
5100 (python-indent): Obsolete var.
5101 (python-indent-offset): New defcustom.
5102 (python-python-command, python-jython-command): Delete var.
5103 (python-shell-interpreter): New defcustom.
5104 (python-pdbtrack-do-tracking-p): Delete var.
5105 (python-pdbtrack-activate): New defcustom.
5106 (python-use-skeletons): Obsolete var.
5107 (python-skeleton-autoinsert): New defcustom.
5108 (inferior-python-filter-regexp, python-continuation-offset)
5109 (python-honour-comment-indentation, python-indent-string-contents)
5110 (python-jython-packages, python-mode-hook)
5111 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5112 (python-shell-prompt-alist)
5113 (python-source-modes): Delete defcustoms.
5114 (python-check-buffer-name, python-eldoc-setup-code)
5115 (python-eldoc-string-code, python-ffap-setup-code)
5116 (python-ffap-string-code, python-fill-comment-function)
5117 (python-fill-decorator-function, python-fill-paren-function)
5118 (python-fill-string-function, python-imenu-include-defun-type)
5119 (python-imenu-make-tree, python-imenu-subtree-root-label)
5120 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5121 (python-shell-compilation-regexp-alist)
5122 (python-shell-completion-module-string-code)
5123 (python-shell-completion-pdb-string-code)
5124 (python-shell-completion-setup-code)
5125 (python-shell-completion-string-code)
5126 (python-shell-enable-font-lock, python-shell-exec-path)
5127 (python-shell-extra-pythonpaths)
5128 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5129 (python-shell-process-environment)
5130 (python-shell-prompt-block-regexp)
5131 (python-shell-prompt-output-regexp)
5132 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5133 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5134 (python-shell-virtualenv-path): New defcustoms.
5135 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5136 (inferior-python-mode-syntax-table, python--prompt-regexp)
5137 (python-buffer, python-command python-python-command)
5138 (python-default-template, python-imports, python-indent-index)
5139 (python-indent-list, python-indent-list-length)
5140 (python-mode-running, python-pdbtrack-is-tracking-p)
5141 (python-preoutput-continuation, python-preoutput-leftover)
5142 (python-preoutput-result, python-preoutput-skip-next-prompt)
5143 (python-prev-dir/file, python-recursing)
5144 (python-saved-check-command, python-version-checked)
5145 (python-which-func-length-limit)
5146 (view-return-to-alist): Delete vars.
5147 (python-check-custom-command, python-dotty-syntax-table)
5148 (python-imenu-index-alist, python-indent-current-level)
5149 (python-indent-dedenters, python-indent-levels)
5150 (python-nav-beginning-of-defun-regexp)
5151 (python-nav-list-defun-positions-cache)
5152 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5153 (python-shell-internal-buffer)
5154 (python-skeleton-available): New vars.
5155 (def-python-skeleton): Delete macro.
5156 (python-skeleton-define): New macro.
5157 (python-define-auxiliary-skeleton, python-rx): New macros.
5158 (python-insert-class): Delete command.
5159 (python-skeleton-class): New command.
5160 (python-insert-def): Delete command.
5161 (python-skeleton-def): New command.
5162 (python-insert-for): Delete command.
5163 (python-skeleton-for): New command.
5164 (python-insert-if): Delete command.
5165 (python-skeleton-if): New command.
5166 (python-insert-try/except, python-insert-try/finally): Delete commands.
5167 (python-skeleton-try): New command.
5168 (python-insert-while): Delete command.
5169 (python-skeleton-while): New command.
5170 (python-backspace): Delete command.
5171 (python-indent-dedent-line-backspace): New command.
5172 (python-electric-colon): Delete command.
5173 (python-indent-electric-colon): New command.
5174 (python-guess-indent): Delete command.
5175 (python-indent-guess-indent-offset): New command.
5176 (python-shift-left): Delete command.
5177 (python-indent-shift-left): New command.
5178 (python-shift-right): Delete command.
5179 (python-indent-shift-right): New command.
5180 (python-find-function): Delete command.
5181 (python-nav-jump-to-defun): New command.
5182 (python-next-statement): Delete command.
5183 (python-nav-forward-sentence): New command.
5184 (python-previous-statement): Delete command.
5185 (python-nav-backward-sentence): New command.
5186 (python-fill-paragraph): Delete command.
5187 (python-fill-paragraph-function): New command.
5188 (python-send-buffer): Delete command.
5189 (python-shell-send-buffer): New command.
5190 (python-send-defun): Delete command.
5191 (python-shell-send-defun): New command.
5192 (python-send-region, python-send-region-and-go): Delete commands.
5193 (python-shell-send-region)
5194 (python-shell-switch-to-shell): New commands.
5195 (python-send-string): Delete command.
5196 (python-shell-send-string): New command.
5197 (python-switch-to-python): Delete command.
5198 (python-shell-switch-to-shell): New command.
5199 (python-describe-symbol): Delete command.
5200 (python-eldoc-at-point): New command.
5201 (python--set-prompt-regexp, python-args-to-list)
5202 (python-after-info-look, python-check-version)
5203 (python-check-comint-prompt, python-find-imports)
5204 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5205 (python-unload-function, python-expand-template)
5206 (python-maybe-jython, python-preoutput-filter)
5207 (python-pdbtrack-get-source-buffer)
5208 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5209 (python-pdbtrack-toggle-stack-tracking)
5210 (python-pdbtrack-track-stack-file, python-initial-text)
5211 (python-first-word, python-comment-line-p, python-send-command)
5212 (python-setup-brm, python-sentinel, python-set-proc)
5213 (python-skip-out, python-input-filter, python-outdent-p)
5214 (python-outline-level, python-backslash-continuation-line-p)
5215 (python-end-of-block, python-end-of-statement, python-mark-block)
5216 (python-beginning-of-block, python-beginning-of-statement)
5217 (python-blank-line-p, python-beginning-of-string)
5218 (python-open-block-statement-p): Delete functions.
5219 (python-indent-line, python-indent-line-1): Delete functions.
5220 (python-indent-line): New function.
5221 (python-indentation-levels): Delete function.
5222 (python-indent-calculate-levels): New function.
5223 (python-proc): Delete function.
5224 (python-shell-get-process): New function.
5225 (python-send-receive): Delete function.
5226 (python-shell-send-string-no-output): New function.
5227 (python-module-path): Delete function.
5228 (python-ffap-module-path): New function.
5229 (python-completion-at-point)
5230 (python-symbol-completions): Delete functions.
5231 (python-completion-complete-at-point): New function.
5232 (python-load-file): Delete function.
5233 (python-shell-send-file): New function.
5234 (python-calculate-indentation): Delete function.
5235 (python-indent-calculate-indentation): New function.
5236 (python-skip-comments/blanks): Delete function.
5237 (python-util-forward-comment): New function.
5238 (python-continuation-line-p): Delete function.
5239 (python-info-continuation-line-p): New function.
5240 (python-which-func, python-current-defun): Delete function.
5241 (python-info-current-defun): New function.
5242 (python-beginning-of-defun): Delete function.
5243 (python-nav-beginning-of-defun): New function.
5244 (python-close-block-statement-p)
5245 (python-block-end-p): Delete function.
5246 (python-info-closing-block): New function.
5247 (python-comint-output-filter-function)
5248 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5249 (python-fill-comment, python-fill-decorator, python-fill-paren)
5250 (python-fill-string, python-imenu-make-element-tree)
5251 (python-imenu-make-tree, python-imenu-tree-assoc)
5252 (python-indent-context, python-indent-dedent-line)
5253 (python-indent-line-function)
5254 (python-indent-post-self-insert-function)
5255 (python-indent-toggle-levels)
5256 (python-info-assignment-continuation-line-p)
5257 (python-info-beginning-of-backlash)
5258 (python-info-block-continuation-line-p)
5259 (python-info-closing-block-message)
5260 (python-info-line-ends-backslash-p)
5261 (python-info-looking-at-beginning-of-defun)
5262 (python-info-ppss-context, python-info-ppss-context-type)
5263 (python-nav-list-defun-positions, python-nav-read-defun)
5264 (python-nav-sentence-end, python-nav-sentence-start)
5265 (python-pdbtrack-comint-output-filter-function)
5266 (python-pdbtrack-set-tracked-buffer)
5267 (python-shell-calculate-exec-path)
5268 (python-shell-calculate-process-environment)
5269 (python-shell-completion--do-completion-at-point)
5270 (python-shell-completion--get-completions)
5271 (python-shell-completion-complete-at-point)
5272 (python-shell-completion-complete-or-indent)
5273 (python-shell-get-or-create-process)
5274 (python-shell-get-process-name)
5275 (python-shell-internal-get-or-create-process)
5276 (python-shell-internal-get-process-name)
5277 (python-shell-internal-send-string, python-shell-make-comint)
5278 (python-shell-parse-command, python-shell-send-setup-code)
5279 (python-skeleton-add-menu-items)
5280 (python-util-clone-local-variables, python-util-position)
5281 (run-python-internal, python-indentation-levels)
5282 (python-nav-beginning-of-defun)
5283 (python-completion-complete-at-point): New functions.
5284 (run-python): Change arguments. New API requirements.
5285
4302f5ba
SM
52862012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5287
f38ea36d
SM
5288 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5289 (bug#11649).
5290
5291 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5292 (macroexp--expand-all): Use it.
5293
4302f5ba
SM
5294 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5295 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5296 Use `cl-function' instead.
5297
33377562
JB
52982012-06-14 Juanma Barranquero <lekktu@gmail.com>
5299
5300 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5301 Suggested by Stefan Monnier while discussing bug#11657.
5302
54c5ba1a
SS
53032012-06-14 Sam Steingold <sds@gnu.org>
5304
5305 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5306
f9f1b1fe
AS
53072012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5308
5309 * play/doctor.el (doctor-doc): Remove parameter and use
5310 doctor-sent instead of sent.
5311 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5312
a81068ba
SM
53132012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5314
5a315f9c
SM
5315 * files.el: Require cl-lib.
5316 (file-name-non-special): Replace case -> cl-case.
5317
5318 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5319
a81068ba
SM
5320 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5321 mapping from #' to function*.
5322
8cca9703
CY
53232012-06-13 Chong Yidong <cyd@gnu.org>
5324
5325 * mouse.el (mouse-drag-track): Do not set the mark if the user
5326 releases the mouse without selecting anything (Bug#11588).
5327
a12ac9d7
SM
53282012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5329
ccf1dc18
SM
5330 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5331 as well (bug#11646).
5332
ef62b23d
SM
5333 * loadup.el: Count byte-code functions as well.
5334
c4c8444a
SM
5335 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5336 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5337
a12ac9d7
SM
5338 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5339 (bug#11649). Add cl-defun and cl-defmacro.
5340
87e6e64f
DA
53412012-06-13 Drew Adams <drew.adams@oracle.com>
5342
5343 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5344 Fix last change.
5345
682cefaf
MA
53462012-06-13 Michael Albinus <michael.albinus@gmx.de>
5347
5348 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5349 Otherwise, it blocks in batch mode.
5350
773e1f08
JB
53512012-06-13 Juanma Barranquero <lekktu@gmail.com>
5352
5353 * help-mode.el (bookmark-make-record-default): Declare.
5354
60057926
CY
53552012-06-13 Chong Yidong <cyd@gnu.org>
5356
5357 * emacs-lisp/package.el (list-packages): Compute a list of
5358 packages that are newly-available since the last list-packages
5359 invocation.
5360 (package-menu--new-package-list): New var.
5361 (package-menu--generate, package-menu--print-info)
5362 (package-menu--status-predicate, package-menu-mark-install):
5363 Handle new status label "new".
5364
ad4d226c
SM
53652012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5368 conversion to backquotes.
5369
f1a4e679
CY
53702012-06-12 Chong Yidong <cyd@gnu.org>
5371
5372 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5373 Rename from gud-inhibit-global-bindings.
5374
5375 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5376
5377 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5378 hook from nxml-glyph-set-hook.
5379
5380 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5381 declaration.
5382
5383 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5384
5385 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5386 Convert to defcustom.
5387
0c9e42b5
DA
53882012-06-12 Drew Adams <drew.adams@oracle.com>
5389
5390 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5391 New functions.
5392 (help-mode): Use them.
5393
09e06855
GM
53942012-06-11 Glenn Morris <rgm@gnu.org>
5395
5396 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5397 Use preprocessor face for directives.
5398 (fortran-directive-re): Doc fix.
5399
71adb94b
SM
54002012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5401
2eb87922
SM
5402 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5403 conversion to backquotes (bug#11652).
5404
71adb94b
SM
5405 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5406 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5407 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5408 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5409 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5410 (cl-ninth, cl-tenth): Mark them as inlinable.
5411 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5412 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5413 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5414 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5415 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5416 (cl-list*, cl-adjoin): Don't put an autoload manually.
5417 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5418 (cl--compiler-macro-list*): Add autoload cookie.
5419 (cl--compiler-macro-cXXr): New function.
2eb87922 5420
71adb94b
SM
5421 * help-fns.el (help-fns--compiler-macro): New function extracted from
5422 describe-function-1; follow aliases and use `compiler-macro' property.
5423 (describe-function-1): Use it.
5424
a6674402
CY
54252012-06-11 Chong Yidong <cyd@gnu.org>
5426
5427 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5428 is uninstalled, if imagemagick is installed.
5429
bb3faf5b
SM
54302012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5431
5432 * emacs-lisp/cl-lib.el: Use lexical-binding.
5433 (cl-map-extents, cl-maclisp-member): Remove.
5434 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5435 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5436 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5437 * emacs-lisp/cl-extra.el: Use lexical-binding.
5438 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5439 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5440 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5441 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5442 * emacs-lisp/cl-seq.el: Use lexical-binding.
5443 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5444 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5445 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5446 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5447 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5448 CL's internals.
5449
2fe4b125
MA
54502012-06-11 Michael Albinus <michael.albinus@gmx.de>
5451
5452 Sync with Tramp 2.2.6-pre.
5453
5454 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5455 `print-length' and `print-level' to nil, in order to avoid
5456 truncation. Reported by Christopher Schmidt
5457 <christopher@ristopher.com>.
5458
5459 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5460
5461 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5462 New defmacro.
5463 (tramp-compat-copy-directory): Add optional argument
5464 COPY-CONTENTS. It is not handled yet.
5465
5466 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5467 (tramp-ftp-file-name-p): Simplify.
5468
5469 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5470 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5471 connection vector.
5472
5473 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5474 (tramp-methods): Do not use `tramp-password-end-of-line'.
5475 (tramp-completion-function-alist-putty): Handle UNIX case.
5476 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5477 (tramp-do-file-attributes-with-stat)
5478 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5479 gid as real numbers. They could run out of integer range on cygwin.
5480 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5481 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5482 (tramp-open-connection-setup-interactive-shell):
5483 Use `tramp-cleanup'. Move check for busyboxes ...
5484 (tramp-find-shell): ... here. Simplify implementation.
5485 Set "remote-shell" property also for alternative shells.
5486 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5487 If failing, a regular file would be written otherwise.
5488 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5489 (tramp-find-inline-encoding): Cache the coding commands in the
5490 process cache. Apply test command on the remote side, if defined.
5491 (tramp-find-inline-compress): Cache the compress commands in the
5492 process cache.
5493 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5494 when requested. Handle hops.
5495 (tramp-current-connection): New defvar.
87e6e64f
DA
5496 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5497 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5498 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5499 (tramp-get-inline-compress, tramp-get-inline-coding):
5500 Read connection properties from the process cache.
2fe4b125
MA
5501
5502 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5503 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5504 New defconsts.
2fe4b125
MA
5505 (tramp-smb-prompt): Extend for powershell prompt.
5506 (tramp-smb-file-name-handler-alist): Add handlers for
5507 `process-file', `shell-command' and `start-file-process'.
5508 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5509 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5510 (tramp-smb-file-name-p): Simplify.
5511 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5512 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5513 (tramp-smb-shell-quote-argument): New defuns.
5514 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5515 Implement using "tar". By this, time-stamps are preserved.
5516 (tramp-smb-handle-copy-file): Handle also the case of directories.
5517 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5518 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5519 Use `tramp-get-connection-buffer').
2fe4b125
MA
5520 (tramp-smb-handle-rename-file): Use "rename", when source and
5521 target are on the same share.
87e6e64f
DA
5522 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5523 Use `tramp-smb-server-version'.
2fe4b125
MA
5524 (tramp-smb-wait-for-output): Remove prompt.
5525
5526 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5527 (tramp-methods, tramp-rsh-end-of-line):
5528 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5529 (tramp-save-ad-hoc-proxies): New defcustom.
5530 (tramp-completion-function-alist): Adapt docstring.
5531 (tramp-default-password-end-of-line): Remove defcustom.
5532 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5533 (tramp-user-regexp, tramp-file-name-regexp-unified)
5534 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5535 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5536 (tramp-remote-file-name-spec-regexp): New defconst.
5537 (tramp-file-name-structure): Extend structure for hops.
5538 (tramp-get-method-parameter): Move up.
5539 (tramp-file-name-p, tramp-dissect-file-name)
5540 (with-parsed-tramp-file-name): Handle hops.
5541 (tramp-file-name-hop): New defun.
5542 (tramp-make-tramp-file-name): New optional arg HOP.
5543 (tramp-message-show-progress-reporter-message): New defvar.
5544 (tramp-with-progress-reporter): Use it. We cannot use
5545 `tramp-message-show-message' here, because this suppresses also
5546 error buffers.
5547 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5548 `tramp-message-show-message' is nil.
5549 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5550 (tramp-cleanup): New defun.
5551 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5552 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5553 an error unchanged.
5554 (tramp-completion-handle-file-name-all-completions): Handle hops.
5555 Fix an error when called from ido.
5556 (tramp-completion-dissect-file-name): Use better local variable
5557 name. Add hop to the vector.
5558 (tramp-handle-insert-file-contents): Use progress-reporter for the
5559 whole scenario.
5560 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5561 to `t'.
5562 (tramp-check-for-regexp): Simplify search.
5563 (tramp-enter-password): Remove it. Move implementation ...
5564 (tramp-action-password): ... here.
5565 (tramp-mode-string-to-int, tramp-local-host-p)
5566 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5567 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5568 Set tramp-autoload cookie.
2fe4b125
MA
5569
5570 * net/trampver.el: Update release number.
5571
55722012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5573 Michael Albinus <michael.albinus@gmx.de>
5574
5575 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5576 (tramp-parse-group, tramp-parse-file)
5577 (tramp-parse-shostkeys-sknownhosts): New defuns.
5578 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5579 (tramp-parse-shosts-group, tramp-parse-sconfig)
5580 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5581 (tramp-parse-sknownhosts, tramp-parse-hosts)
5582 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5583 Use them.
5584 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5585 (tramp-parse-putty-group): Don't narrow.
5586 (tramp-parse-putty): Make a loop.
5587 (tramp-file-name-handler): Catch the `suppress' signal.
5588
72834e10
CY
55892012-06-11 Chong Yidong <cyd@gnu.org>
5590
5591 * image.el (imagemagick-register-types): Put the ImageMagick entry
5592 at the end of image-type-file-name-regexps.
5593
a4712e11
JB
55942012-06-11 Johan Bockgård <bojohan@gnu.org>
5595
5596 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5597 (pcase, pcase-let*, pcase-dolist): Use them.
5598
82ad98e3
SM
55992012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5600
5601 * emacs-lisp/pcase.el (pcase--let*): New function.
5602 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5603 (pcase--expand): Use macroexp-let².
5604
f80efb86
SM
56052012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5608 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5609 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5610 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5611 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5612 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5613
31ca4639 56142012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5615
31ca4639
CY
5616 * mail/rmail.el (rmail-yank-current-message): Leave point at
5617 correct position. (Bug#11660)
94f0aa34 5618
31ca4639 56192012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5620
31ca4639 5621 * allout-widgets.el: Fix code header.
9e1b8ec4 5622
31ca4639 56232012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5624
f80efb86
SM
5625 * cus-edit.el (customize-changed-options-previous-release):
5626 Bump to 24.1.
31ca4639 5627
642b6d30
AS
56282012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5629
5630 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5631
4f5d2ba1
CY
56322012-06-09 Chong Yidong <cyd@gnu.org>
5633
5634 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5635
e75852fd
MR
56362012-06-09 Martin Rudalics <rudalics@gmx.at>
5637
5638 * window.el (special-display-popup-frame): Don't use
5639 window--display-buffer (Bug#11651).
5640
1e48e282
EZ
56412012-06-09 Eli Zaretskii <eliz@gnu.org>
5642
8a26b487
EZ
5643 Fix parallel builds: make sure loaddefs.el is not being written
5644 while Lisp files are compiled.
5645 (compile): Don't depend on 'mh-autoloads'.
5646 (compile-CMD, compile-SH): Depend on 'autoloads'.
5647 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5648
1e48e282
EZ
5649 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5650
6175e34b
CY
56512012-06-09 Chong Yidong <cyd@gnu.org>
5652
5653 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5654 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5655 Doc fixes (Bug#11225).
5656
d9857e53
SM
56572012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5660 a function if there's a clear indication that it has a compiler-macro.
5661 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5662 (macro-declarations-alist): Add arglist to declaration functions.
5663 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5664 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5665 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5666 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5667 Also add autoload to find the compiler macro.
5668 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5669 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5670 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5671 (cl--compiler-macro-get): New functions, replacing calls to
5672 cl-define-compiler-macro.
5673 (cl-typep) [compiler-macro]: Use macroexp-let².
5674
f81298f8 56752012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5676
5677 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5678 string properly, fixes Bug#11473.
5679
4b56d0fe
CY
56802012-06-08 Chong Yidong <cyd@gnu.org>
5681
5682 * faces.el (set-face-attribute): Doc fix.
5683 (modify-face): Don't use :bold and :italic.
5684 (error, warning, success): Tweak definitions.
5685
5686 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5687 (custom-modified, custom-set, custom-changed, custom-themed)
5688 (custom-saved, custom-button, custom-button-mouse)
5689 (custom-button-pressed, custom-state, custom-comment-tag)
5690 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5691 (custom-group-subtitle): Use new-style face specs.
5692 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5693 (custom-set-face, custom-changed-face, custom-saved-face)
5694 (custom-button-face, custom-button-pressed-face)
5695 (custom-documentation-face, custom-state-face)
5696 (custom-comment-face, custom-comment-tag-face)
5697 (custom-variable-tag-face, custom-variable-button-face)
5698 (custom-face-tag-face, custom-group-tag-face-1)
5699 (custom-group-tag-face): Remove obsolete face alias.
5700
5701 * epa.el (epa-validity-high, epa-validity-medium)
5702 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5703 (epa-field-name, epa-field-body):
5704 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5705 (font-lock-keyword-face, font-lock-builtin-face)
5706 (font-lock-function-name-face, font-lock-variable-name-face)
5707 (font-lock-type-face, font-lock-constant-face):
5708 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5709 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5710 * speedbar.el (speedbar-button-face, speedbar-file-face)
5711 (speedbar-directory-face, speedbar-tag-face)
5712 (speedbar-selected-face, speedbar-highlight-face)
5713 (speedbar-separator-face):
5714 * whitespace.el (whitespace-newline, whitespace-space)
5715 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5716 (whitespace-line, whitespace-space-before-tab)
5717 (whitespace-space-after-tab, whitespace-indentation)
5718 (whitespace-empty):
5719 * emulation/cua-base.el (cua-global-mark):
5720 * eshell/em-prompt.el (eshell-prompt):
5721 * net/newst-plainview.el (newsticker-new-item-face)
5722 (newsticker-old-item-face, newsticker-immortal-item-face)
5723 (newsticker-obsolete-item-face, newsticker-date-face)
5724 (newsticker-statistics-face, newsticker-default-face):
5725 * net/newst-reader.el (newsticker-feed-face)
5726 (newsticker-extra-face, newsticker-enclosure-face):
5727 * net/newst-treeview.el (newsticker-treeview-face)
5728 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5729 (newsticker-treeview-immortal-face)
5730 (newsticker-treeview-obsolete-face)
5731 (newsticker-treeview-selection-face):
5732 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5733 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5734 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5735 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5736 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5737 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5738 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5739 (mpuz-text):
5740 * progmodes/vera-mode.el (vera-font-lock-number)
5741 (vera-font-lock-function, vera-font-lock-interface):
5742 * textmodes/table.el (table-cell): Use new-style face specs, and
5743 don't use the old :bold and :italic attributes.
5744
5745 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5746 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5747 (ebrowse-member-class, ebrowse-progress): Likewise.
5748 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5749 (ebrowse-file-name-face, ebrowse-default-face)
5750 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5751 (ebrowse-progress-face): Remove obsolete faces.
5752
5753 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5754 Inherit from error and warning faces respectively.
5755
5756 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5757 Likewise.
f80efb86
SM
5758 (flyspell-incorrect-face, flyspell-duplicate-face):
5759 Remove obsolete aliases.
4b56d0fe 5760
03310646
MA
57612012-06-08 Michael Albinus <michael.albinus@gmx.de>
5762
5763 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5764 Avoid infloop.
5765
513749ee
SM
57662012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5767
5768 * startup.el (argv, argi): Make lexically scoped.
5769 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5770 * emacs-lisp/cl-macs.el: Use lexical-binding.
5771 Rename cl-bind-* to cl--bind-*.
5772 * files.el: Don't require `cl' since it doesn't use it.
5773 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5774
595ef4ad
JB
57752012-06-08 Juanma Barranquero <lekktu@gmail.com>
5776
5777 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5778 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5779 instead of calling external sort utility.
5780 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5781
e9f66fcb
EZ
57822012-06-08 Eli Zaretskii <eliz@gnu.org>
5783
5784 * descr-text.el (describe-char): Mention how to insert the
5785 character, if the current input method doesn't support it.
5786 See the discussion in this thread for the details:
5787 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5788
3d10db47
SS
57892012-06-08 Sam Steingold <sds@gnu.org>
5790
5791 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5792 XF86Back to previous-buffer.
5793 (minibuffer-local-map): Bind them to next-history-element and
5794 previous-history-element respectively.
5795 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5796 help-go-back respectively.
5797 * info.el (Info-mode-map): Bind them to Info-history-forward and
5798 Info-history-back respectively.
5799 These are the keys next to Up on the ThinkPad keyboard.
5800
de7e2b36
SM
58012012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5804 * emacs-lisp/cl-macs.el: Provide itself.
5805 (cl--labels-convert-cache): New var.
5806 (cl--labels-convert): New function.
5807 (cl-flet, cl-labels): New implementation with new semantics, relying on
5808 lexical-binding.
5809 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5810 (cl-closure-vars, cl--function-convert-cache)
5811 (cl--function-convert): Move from cl-macs.el.
5812 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5813 rename by removing the "cl-" prefix.
5814 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5815
6fa6c4ae
SM
58162012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5817
5818 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5819 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5820 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5821 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5822 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5823 (cl-hash-table-count): Add old compatibility aliases.
5824
5825 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5826 Use macroexpand-all-environment instead.
5827 (cl--old-macroexpand): New var.
5828 (cl--sm-macroexpand): New function.
5829 (cl-symbol-macrolet): Use it during macro expansion.
5830 (cl--function-convert-cache): New var.
5831 (cl--function-convert): New function, extracted from
5832 cl-macroexpand-all.
5833 (cl-lexical-let): Use it.
5834
5835 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5836 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5837 (cl-member): Remove old alias.
5838
5839 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5840 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5841 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5842 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5843 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5844 (cl-macroexpand-cmacs): Remove var.
5845 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5846 Use macroexpand-all instead.
5847
4dd1c416
SM
58482012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5849
5850 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5851 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5852 (macroexp-copyable-p): New functions and macros.
5853 * emacs-lisp/edebug.el (edebug-unwrap):
5854 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5855 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5856 (pcase--let*): Remove.
5857 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5858 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5859 macroexp-const-p instead.
5860 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5861
5862 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5863 instead of "cl-" for internal definitions. Use macroexp-const-p.
5864 (cl-old-bc-file-form): Remove var.
5865 (cl-const-exprs-p): Remove fun.
5866 (cl-labels, cl-macrolet): Use backquote.
5867 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5868 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5869 (cl-define-setf-expander): Rename from cl-define-setf-method.
5870 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5871
5872 * international/mule-cmds.el: Don't require CL.
5873 (view-hello-file): Don't use `letf'.
5874
ed8bd4d7
SM
58752012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5876
7287f2f3
SM
5877 * tmm.el (tmm-prompt): Use string-prefix-p.
5878 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5879 (tmm-add-prompt): Use minibuffer-completion-help.
5880 (tmm-delete-map): Remove.
5881
ed8bd4d7
SM
5882 * subr.el (kbd): Make it its own function.
5883
7b4cdbf4
SM
58842012-06-07 Stefan Merten <smerten@oekonux.de>
5885
5886 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5887 Silence compiler warnings. Fix versions.
ed8bd4d7 5888 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5889 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5890 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5891 (rst-package-emacs-version-alist): Correct Emacs version to
5892 represent major merge with upstream.
ed8bd4d7 5893 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5894
2b48d721
GM
58952012-06-06 Glenn Morris <rgm@gnu.org>
5896
5897 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5898 Only print environment variables if set.
5899
fa779ab0
SM
59002012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5903 (macroexp--cons): Rename from maybe-cons.
5904 (macroexp--accumulate): Rename from macroexp-accumulate.
5905 (macroexp--all-forms): Rename from macroexpand-all-forms.
5906 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5907 (macroexp--expand-all): Rename from macroexpand-all-1.
5908
628299e0
SS
59092012-06-06 Sam Steingold <sds@gnu.org>
5910
5911 * calendar/calendar.el (calendar-in-read-only-buffer):
5912 Call `special-mode' to enable the standard read-only keybindings.
5913
b7bb5838
SM
59142012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5915
5916 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5917 with "loading" messages (bug#11635).
5918
dfb308ba
MA
59192012-06-06 Michael Albinus <michael.albinus@gmx.de>
5920
5921 * files.el (enable-remote-dir-locals): New option.
5922 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5923
0372ee92
MA
5924 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5925 Ensure, that the temp directory is local.
5926
5927 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5928 `temporary-file-directory'.
5929
eed0bb91
MA
5930 * progmodes/python.el (python-send-region): Ensure, that the
5931 temporary file is created also in the remote case.
5932
7a58f64d
GM
59332012-06-06 Glenn Morris <rgm@gnu.org>
5934
f7dd4e98
GM
5935 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5936 (vc-rcs-update-changelog): Use it.
5937
090bd7cb 5938 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5939
7a58f64d
GM
5940 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5941 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5942 (vc-sccs-diff): Replace use of the external vcdiff script.
5943
daed4003
GM
59442012-06-05 Glenn Morris <rgm@gnu.org>
5945
5946 * ledit.el: Move to obsolete/.
5947
48c455c7
SS
59482012-06-05 Sam Steingold <sds@gnu.org>
5949
ed9265fc 5950 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5951 patch (Bug#11140).
5952
57a7d507
SM
59532012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5954
090bd7cb 5955 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5956
53aacf21
SM
5957 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5958 compiler-macro expansion.
5959
57a7d507
SM
5960 Add native compiler-macro support.
5961 * emacs-lisp/macroexp.el (macroexpand-all-1):
5962 Support compiler-macros directly. Properly follow aliases and apply
5963 the compiler macros more thoroughly.
5964 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5965 macroexpand now properly follows aliases.
5966 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5967 (cl-compiler-macroexpand): Use new prop.
5968 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5969
5970 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5971
51a5f9d8
MR
59722012-06-05 Martin Rudalics <rudalics@gmx.at>
5973
5974 * window.el (get-lru-window, get-mru-window, get-largest-window):
5975 New argument NOT-SELECTED to avoid picking the selected window.
5976 (window--display-buffer-1, window--display-buffer-2): Replace by
5977 new function window--display-buffer
5978 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5979 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5980 Use window--display-buffer.
51a5f9d8
MR
5981 (display-buffer-use-some-window): Remove temporary dedication
5982 hack by calling get-lru-window and get-largest-window with
5983 NOT-SELECTED argument non-nil. Call window--display-buffer.
5984
08f9f738
GM
59852012-06-05 Glenn Morris <rgm@gnu.org>
5986
5987 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5988 Replace external vcdiff script.
5989
e364a2b7
SM
59902012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5991
5992 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5993
041df390
CY
59942012-06-04 Chong Yidong <cyd@gnu.org>
5995
e364a2b7
SM
5996 * image.el (imagemagick-types-inhibit): Revert last change.
5997 Add INFO and M.
47b36b94 5998 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5999
7c1898a7
SM
60002012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6001
6002 * emacs-lisp/cl-lib.el: Rename from cl.el.
6003 * emacs-lisp/cl.el: New compatibility file.
6004 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6005 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6006 to obey the "cl-" prefix.
6007 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6008
0c3461de
GM
60092012-06-03 Glenn Morris <rgm@gnu.org>
6010
1e266c88
GM
6011 * emacs-lisp/authors.el (authors-aliases): Addition.
6012
0c3461de
GM
6013 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6014 Fix :version.
6015
d8a52e15
SM
60162012-06-03 Stefan Merten <smerten@oekonux.de>
6017
6018 * textmodes/rst.el: Add comments.
6019 (rst-transition, rst-adornment): New faces.
6020 (rst-adornment-faces-alist): Make default safe to reevaluate.
6021 Fixes
6022 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6023 Improve customization tags.
6024 (rst-define-level-faces): Clarify meaning.
6025
5205d6f6
CY
60262012-06-03 Chong Yidong <cyd@gnu.org>
6027
6028 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6029 (compilation-mode-line-run, compilation-mode-line-exit):
6030 New faces.
5205d6f6
CY
6031 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6032
757ee657
JD
60332012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6034
7c1898a7
SM
6035 * progmodes/which-func.el (which-func-update-ediff-windows):
6036 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6037
5f2c76c6
CY
60382012-06-03 Chong Yidong <cyd@gnu.org>
6039
6040 * bindings.el: Remove explicit help text from format-mode-line.
6041 It is now supplied by mode-line-default-help-echo.
6042 (mode-line-front-space, mode-line-end-spaces)
6043 (mode-line-misc-info): New variables.
6044 (mode-line-modes, mode-line-position): Move the default value to
6045 the variable definition.
6046 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6047 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6048 (mode-line-modified-help-echo): New functions.
6049 (mode-line-mule-info, mode-line-modified): Use them.
6050 (mode-line-eol-desc, propertized-buffer-identification):
6051 Consistency fixes for help text.
cbe46e5f
CY
6052 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6053 set-buffer-file-coding-system (Bug#289).
6054 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6055
f2d6a3df
SM
60562012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6057
6058 * simple.el (execute-extended-command): Set real-this-command
6059 (bug#11506).
6060
37269466
CY
60612012-06-02 Chong Yidong <cyd@gnu.org>
6062
6063 Remove incorrect uses of "modeline" in comments, docstrings, and
6064 function/variable names (Bug#10329).
6065
6066 * cus-edit.el (mode-line):
6067 * dframe.el (dframe-mouse-hscroll):
6068 * emacs-lisp/re-builder.el:
6069 * emacs-lisp/easy-mmode.el (define-minor-mode):
6070 * frame.el (set-frame-name):
6071 * help.el (lookup-minor-mode-from-indicator):
6072 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6073 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6074 (c-toggle-hungry-state):
6075 * progmodes/antlr-mode.el (antlr-language-alist):
6076 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6077 * progmodes/vhdl-mode.el (vhdl-mode):
6078 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6079 * term/ns-win.el (ns-face-at-pos):
6080 * term/sup-mouse.el (sup-mouse-report):
6081 * textmodes/flyspell.el (flyspell-mode-line-string):
6082 * textmodes/ispell.el (ispell-highlight-face):
6083 * textmodes/reftex-global.el:
6084 * vc/vc-arch.el (vc-arch-mode-line-string):
6085 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6086 * vc/vc-git.el (vc-git-mode-line-string):
6087 * vc/vc-hooks.el (vc-display-status)
6088 (vc-default-mode-line-string):
6089 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6090
6091 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6092
6093 * dired.el (dired-sort-set-mode-line): Rename from
6094 dired-sort-set-modeline. All callers changed.
6095
6096 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6097 eshell-status-in-modeline.
6098
6099 * foldout.el (foldout-mode-line-string): Rename from
6100 foldout-modeline-string. All callers changed.
6101 (foldout-update-mode-line): Rename from foldout-update-modeline.
6102
6103 * subr.el (redraw-modeline): Make into obsolete alias.
6104
6105 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6106 timeclock-modeline-display. Make old name an alias.
6107 (timeclock-update-mode-line): Likewise. All callers changed.
6108 (timeclock-mode-line-display): No need to check before using
6109 add-hook.
6110 (timeclock-relative, timeclock-day-over-hook)
6111 (timeclock-use-elapsed, timeclock-mode-string)
6112 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6113
6114 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6115 crisp-mode-modeline-string.
6116
6117 * play/solitaire.el (solitaire-build-mode-line): Rename from
6118 solitaire-build-modeline. All callers changed.
6119
6120 * play/zone.el (zone-hiding-mode-line): Rename from
6121 zone-hiding-modeline. All callers changed.
6122 (zone): Remove unusued `modeline-hidden-level' property.
6123
6124 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6125 xscheme-modeline-initialize. All callers changed.
6126
6127 * strokes.el (strokes-lighter): Rename from
6128 strokes-modeline-string.
6129
6130 * textmodes/sgml-mode.el (html-face-tag-alist)
6131 (html-tag-face-alist): Use mode-line face instead of obsolete
6132 alias modeline.
6133
42152ee4
SM
61342012-06-02 Stefan Merten <smerten@oekonux.de>
6135
6136 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6137 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6138
95f520b5
CY
61392012-06-02 Chong Yidong <cyd@gnu.org>
6140
6141 * image.el (imagemagick-enabled-types): Rename from
6142 imagemagick-types-enable. Add many more types.
6143 (imagemagick-types-inhibit): Change default to nil.
6144 (imagemagick-filter-types): Caller changed.
6145
4a5f187a
SM
61462012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6147
03fef3e6
SM
6148 * emacs-lisp/cl-macs.el: Use backquotes.
6149 (cl-transform-function-property): Use eval-and-compile rather than
6150 abusing `require'.
6151 (defstruct): Use declare-function instead of with-no-warnings.
6152
4a5f187a
SM
6153 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6154 (byte-compile-output-docform): Re-add the print-circle bindings.
6155 (byte-compile-fix-header): Use #$ just because it's shorter.
6156 (byte-compile-output-file-form): Remove defun/defmacro.
6157
bd56924f
MR
61582012-06-01 Martin Rudalics <rudalics@gmx.at>
6159
6160 * simple.el (choose-completion): Remove now obsolete binding for
6161 owindow.
6162
046e38ce
MA
61632012-06-01 Michael Albinus <michael.albinus@gmx.de>
6164
6165 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6166 in order to avoid "Stack overflow in regexp matcher".
6167
32d72c2f
GM
61682012-05-31 Glenn Morris <rgm@gnu.org>
6169
6170 * image.el: For clarity, call imagemagick-register-types at
6171 top-level, rather than relying on a custom :initialize.
6172 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6173 (imagemagick-filter-types): New function. (Bug#7406)
6174 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6175 If disabling support, remove elements altogether rather
6176 than using an impossible regexp.
6177 (imagemagick-types-inhibit): Give it the default init function.
6178
dd41169b
SM
61792012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6180
4a5f187a
SM
6181 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6182 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6183
efc00ab1 61842012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6185
6186 * desktop.el (desktop-read): Clear previous and next buffers for
6187 all windows and bury *Messages* buffer (bug#11556).
6188
500fcedc
SM
61892012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 Add `declare' for `defun'. Align `defmacro's with it.
6192 * emacs-lisp/easy-mmode.el (define-minor-mode)
6193 (define-globalized-minor-mode): Don't autoload the var definitions.
6194 * emacs-lisp/byte-run.el: Use lexical-binding.
6195 (defun-declarations-alist, macro-declarations-alist): New vars.
6196 (defmacro, defun): Use them.
6197 (make-obsolete, define-obsolete-function-alias)
6198 (make-obsolete-variable, define-obsolete-variable-alias):
6199 Use `declare'.
6200 (macro-declaration-function): Mark obsolete.
6201 * emacs-lisp/autoload.el: Use lexical-binding.
6202 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6203
6e8a1786
AM
62042012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6205
6206 * textmodes/ispell.el (ispell-with-no-warnings):
6207 Define as a macro.
500fcedc
SM
6208 (ispell-kill-ispell, ispell-change-dictionary):
6209 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6210 `interactive-p'.
6211
61b108cc
SM
62122012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6213
6214 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6215 (macro-declaration-function): Move var from C code.
6216 (macro-declaration-function): Define function with defalias.
6217 * emacs-lisp/macroexp.el (macroexpand-all-1):
6218 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6219 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6220 defun/defmacro any more.
6221 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6222 Provide fallback for unknown arglist.
6223 (byte-compile-arglist-warn): Change calling convention.
6224 (byte-compile-output-file-form): Move print-vars binding.
6225 (byte-compile-output-docform): Simplify accordingly.
6226 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6227 (byte-compile-defmacro-declaration): Remove.
6228 (byte-compile-file-form-defmumble): Generalize to defalias.
6229 (byte-compile-output-as-comment): Return byte-positions.
6230 Simplify callers accordingly.
6231 (byte-compile-lambda): Use `assert'.
6232 (byte-compile-defun, byte-compile-defmacro): Remove.
6233 (byte-compile-file-form-defalias):
6234 Use byte-compile-file-form-defmumble.
6235 (byte-compile-defalias-warn): Remove.
6236
6d3f7c2f
SM
62372012-05-29 Stefan Merten <smerten@oekonux.de>
6238
6239 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6240 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6241
6242 (rst-mode-abbrev-table): Merge definition.
6243 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6244 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6245
6dbaa1c7
UJ
62462012-05-29 Ulf Jasper <ulf.jasper@web.de>
6247
6248 * calendar/icalendar.el
6249 (icalendar-export-region): Export UID properly.
6250
d209e2fb 62512012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6252 * calendar/icalendar.el (icalendar-import-format):
6253 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6254 (icalendar-import-format-uid): New.
6255 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6256 Export UID.
6257
6876a58d
SM
62582012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6261 different alternative patterns.
6262 (pcase-codegen): Be more careful to preserve identity.
6263 (pcase--u1): Don't forget to mark vars as used.
6264
6265 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6266 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6267 (byte-compile-from-buffer): ...rather than here.
6268
6269 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6270 functions from byte-compile-function-environment.
6271
46b7967e
TN
62722012-05-29 Troels Nielsen <bn.troels@gmail.com>
6273
6274 * window.el (window-deletable-p): Avoid deleting the root window
6275 of a frame with an active minibuffer.
6276
69d565e2
MR
62772012-05-29 Martin Rudalics <rudalics@gmx.at>
6278
6279 * simple.el (choose-completion): Use quit-window (Bug#11567).
6280
a149fa51
CY
62812012-05-29 Chong Yidong <cyd@gnu.org>
6282
6283 * whitespace.el (whitespace-cleanup): Fix usage of
6284 whitespace-empty-at-bob-regexp (Bug#11492).
6285
2b311310
AH
62862012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6287
6288 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6289 revert (Bug#11488).
6290
b9cb2387
JL
62912012-05-29 Juri Linkov <juri@jurta.org>
6292
6293 * isearch.el (isearch-mode-map): Bind `M-s _' to
6294 `isearch-toggle-symbol'. Bind `M-s c' to
6295 `isearch-toggle-case-fold'.
6296 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6297 (isearch-forward): Add `M-s _' to the docstring.
6298 (isearch-forward-symbol, isearch-toggle-case-fold)
6299 (isearch-symbol-regexp): New functions. (Bug#11381)
6300
d5e61c1c
JL
63012012-05-29 Juri Linkov <juri@jurta.org>
6302
6303 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6304 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6305 a function, call it to get the regexp.
6306 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6307 property `isearch-message-prefix' instead of the string "word ".
6308 (isearch-search-fun-default): For the case of `isearch-word',
6309 return a lambda that calls re-search-forward/re-search-backward
6310 with a regexp returned by `word-search-regexp' or by the function
6311 in `isearch-word'.
6312
8cbd80f7
JL
63132012-05-29 Juri Linkov <juri@jurta.org>
6314
6315 * isearch.el (isearch-search-fun-default): New function.
6316 (isearch-search-fun): Move default part to the new function
6317 `isearch-search-fun-default'.
6318 (isearch-search-fun-function): Set the default value to
6319 `isearch-search-fun-default'. (Bug#11381)
6320
6321 * comint.el (comint-history-isearch-end):
6322 Use `isearch-search-fun-default'.
6323 (comint-history-isearch-search): Use `isearch-search-fun-default'
6324 and remove spacial case for `isearch-word'.
6325 (comint-history-isearch-wrap): Remove spacial case for
6326 `isearch-word'.
6327
6328 * hexl.el (hexl-isearch-search-function):
6329 Use `isearch-search-fun-default'.
6330
6331 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6332 Use `word-search-regexp' for `isearch-word'.
6333
6334 * misearch.el (multi-isearch-search-fun):
6335 Use `isearch-search-fun-default'.
6336
6337 * simple.el (minibuffer-history-isearch-search):
6338 Use `isearch-search-fun-default' and remove spacial case for
6339 `isearch-word'.
6340 (minibuffer-history-isearch-wrap): Remove spacial case for
6341 `isearch-word'.
6342
6343 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6344 Remove spacial case for `isearch-word'.
6345 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6346
85c8c5b6
AM
63472012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6348
6349 Decrease XEmacs incompatibilities.
6350 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6351 Use `string-match'.
6352 (flyspell-delete-region-overlays): Use alternative definition for
6353 XEmacs.
6354 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6355 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6356 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6357 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6358 `define-obsolete-face-alias' under XEmacs, but old method.
6359
6360 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6361 `with-no-warnings' definition or Emacs alias.
6362 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6363 (ispell-word): Do not use `region-p' if XEmacs.
6364
8cab9efc
AM
63652012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6366
6367 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6368 Check for `ispell-dictionary-base-alist' instead of full
6369 `ispell-dictionary-alist'.
6370 (ispell-init-process): Show spellchecker when starting new Ispell
6371 process.
6372
fda91268
RZ
63732012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6376 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6377
694ea8e3
JB
63782012-05-27 Juanma Barranquero <lekktu@gmail.com>
6379
6380 * version.el (motif-version-string, gtk-version-string)
6381 (ns-version-string): Declare.
6382
e4d4f539
JL
63832012-05-27 Juri Linkov <juri@jurta.org>
6384
6385 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6386 after the `eval-defun-1' specialcaseing
6387 like in `edebug-eval-defun' (bug#10181).
6388
6389 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6390 like in `eval-defun-1'.
6391
33017faf 63922012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6393
fda91268
RZ
6394 * mail/sendmail.el (mail-yank-region):
6395 Recognize rmail-yank-current-message in addition to insert-buffer.
6396 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6397 a *mail* buffer created through rmail-start-mail with sendmail as
6398 mail-user-agent.
6399
33017faf
GM
64002012-05-27 Chong Yidong <cyd@gnu.org>
6401
6402 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6403 Default to 256 (Bug#11267).
6404
6405 * help.el (describe-mode): Doc fix.
6406
04188bb9
GM
64072012-05-26 Glenn Morris <rgm@gnu.org>
6408
38264cc9
GM
6409 * w32-fns.el (w32-init-info): Remove.
6410 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6411
eb7afdad
GM
6412 * info.el (info-initialize): For self-contained NS builds, put the
6413 included info/ directory at the front. (Bug#2791)
6414
04188bb9
GM
6415 * paths.el (Info-default-directory-list): Make it a defcustom,
6416 mainly so that we can use custom-initialize-delay.
6417
a179e3f7
SM
64182012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6419
43416392
SM
6420 * subr.el (buffer-has-markers-at): Mark obsolete.
6421
a179e3f7 6422 * subr.el (lambda): Use declare.
43416392 6423
a179e3f7
SM
6424 * emacs-lisp/lisp-mode.el (lambda):
6425 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6426
34a008d9
AH
64272012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6428
6429 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6430
0a3b289f
GM
64312012-05-26 Glenn Morris <rgm@gnu.org>
6432
6433 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6434
758c81e8
GM
64352012-05-25 Glenn Morris <rgm@gnu.org>
6436
f9f334f0
GM
6437 * paths.el: Remove no-byte-compile.
6438 * loadup.el: No need to load paths.el uncompiled.
6439
87eb79c2
GM
6440 * image.el (imagemagick-types-inhibit): Doc fix.
6441
758c81e8
GM
6442 * version.el: Remove no-byte-compile and associated formatting.
6443 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6444 is ancient code from when there was an "inc-vers.el".
6445
e7e85dc0
SM
64462012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6447
6448 * progmodes/gdb-mi.el: Minor style changes.
6449 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6450 Turn into minor modes.
6451 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6452 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6453 (gdb-shell): Remove unneeded let-binding.
6454 (gdb-get-many-fields): Eliminate O(n²) behavior.
6455
f31237a4
EZ
64562012-05-25 Eli Zaretskii <eliz@gnu.org>
6457
6458 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6459 platforms that don't link in fontset.c.
6460
bc1b21bb
JL
64612012-05-25 Juri Linkov <juri@jurta.org>
6462
6463 Use the same diff color scheme as in modern VCSes (bug#10181).
6464
6465 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6466 to avoid confusion with `diff-added' that now uses green colors.
6467 (diff-removed): Use shades of red.
6468 (diff-added): Use shades of green.
6469 (diff-changed): Leave just the yellow color.
6470 (diff-use-changed-face): New variable.
6471 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6472 how to highlight context diff changes.
6473 (diff-refine-change): Use shades of yellow.
6474 (diff-refine-removed): New face that uses shades of red.
6475 (diff-refine-added): New face that uses shades of green.
6476 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6477 `diff-refine-removed' in the call to `smerge-refine-subst'
6478 depending on the value of `diff-use-changed-face'.
6479
6480 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6481 (smerge-other): Use shades of green.
6482 (smerge-base): Use shades of yellow.
6483 (smerge-refined-change): Empty face.
6484 (smerge-refined-removed): New face that uses shades of red.
6485 (smerge-refined-added): New face that uses shades of green.
6486 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6487 args `props-r' and `props-a', and use them. Doc fix.
6488 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6489 on its value use different faces `smerge-refined-change',
6490 `smerge-refined-removed', `smerge-refined-added' in the call to
6491 `smerge-refine-subst'.
6492
6493 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6494 Add face condition `min-colors 88' with shades of red.
6495 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6496 `min-colors 88' with shades of green.
6497 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6498 `min-colors 88' with shades of yellow.
6499
6df9112c
GM
65002012-05-24 Glenn Morris <rgm@gnu.org>
6501
ead5edc0
GM
6502 * paths.el (prune-directory-list, remote-shell-program): Move to...
6503 * files.el (prune-directory-list, remote-shell-program): ...here.
6504 For the latter, delay initialization, prefer ssh, just search PATH.
6505
f18b81e6
GM
6506 * paths.el (term-file-prefix): Move to faces.el (the only user).
6507 * faces.el (term-file-prefix): Move here, make it a defcustom.
6508
ee2f89a6
GM
6509 * paths.el (news-directory, news-path, news-inews-program):
6510 Move to gnus/nnspool.el.
61a583ca 6511
f8815e4c
GM
6512 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6513
c8f3b42c
GM
6514 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6515 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6516 Make the latter a defcustom, with a delayed initialization.
6517
6df9112c
GM
6518 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6519 These were deleted from Gnus itself late 2010.
6520
5dadff36
JB
65212012-05-22 Juanma Barranquero <lekktu@gmail.com>
6522
9e1701c6
JB
6523 * progmodes/which-func.el (which-func-ff-hook):
6524 Check against user-error, not error.
6525
bd7239f5 6526 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6527 cl-specs.el, which no longer exists.
6528
3290526d
GM
65292012-05-22 Glenn Morris <rgm@gnu.org>
6530
6531 * info.el (info-emacs-bug): New command.
6532 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6533 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6534
ff0c3cfb
GM
65352012-05-21 Glenn Morris <rgm@gnu.org>
6536
6537 * makefile.w32-in (update-subdirs-SH):
6538 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6539
5814f126
SM
65402012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6541
a52c0aa0
SM
6542 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6543
5814f126
SM
6544 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6545 Simplify Maven regexp, and make sure the file can't start with a space
6546 (bug#11517).
6547
b847032c
GM
65482012-05-21 Glenn Morris <rgm@gnu.org>
6549
6550 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6551 Scrap superfluous subshells.
6552
3858bfe7
SM
65532012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6554
6555 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6556 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6557
d14b0029
JB
65582012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6559
6560 * calc/calc.el (calc-ensure-consistent-units): New variable.
6561
a52c0aa0
SM
6562 * calc/calc-units.el (math-consistent-units-p)
6563 (math-check-unit-consistency): New functions.
6564 (calc-quick-units, calc-convert-units):
6565 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6566 is non-nil.
d14b0029
JB
6567 (calc-extract-units): Fix typo.
6568
60c4db3a
SM
65692012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6570
77f3b62e
SM
6571 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6572
60c4db3a
SM
6573 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6574 (flyspell-default-deplacement-commands): Don't spell check after
6575 repeated window/frame switches (e.g. triggered by mouse-movement).
6576 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6577 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6578 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6579 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6580 Remove unused vars.
6581 (flyspell-get-casechars, flyspell-get-not-casechars):
6582 Simplify; Don't bother removing a ] just to add it back.
6583 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6584
d209e2fb 65852012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6586
6587 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6588 New functions.
bd7239f5 6589 (math-function-table): Add support for more C functions.
b1a10716 6590
3f1b25b5
AM
65912012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6592
090bd7cb
JB
6593 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6594 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6595 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6596
b581bb5c
SM
65972012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6598
6599 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6600 their respective macro declarations.
6601 * skeleton.el (define-skeleton):
6602 * progmodes/compile.el (define-compilation-mode):
6603 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6604 (define-ibuffer-filter):
6605 * emacs-lisp/generic.el (define-generic-mode):
6606 * emacs-lisp/easy-mmode.el (define-minor-mode)
6607 (define-globalized-minor-mode):
6608 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6609 * emacs-lisp/byte-run.el (defsubst):
6610 * custom.el (deftheme): Add doc-string metadata.
6611
70b8ef8f
SM
66122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6615
b1198e17
SM
66162012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6617
9abdc45d
SM
6618 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6619
b1198e17
SM
6620 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6621 * emacs-lisp/cl-macs.el: Idem.
6622 * emacs-lisp/cl-specs.el: Remove.
6623
4735906a
SM
66242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6625
6626 Minor renaming of internal CL functions and variables.
6627 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6628 (cl--position): Rename from cl-position.
6629 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6630 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6631 (cl--random-state): Rename from *random-state*.
6632
ac348012
SM
66332012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6634
6635 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6636 parens around the arg list (bug#11499).
6637
a0a79cde
JL
66382012-05-17 Juri Linkov <juri@jurta.org>
6639
6640 * isearch.el (word-search-regexp, word-search-backward)
6641 (word-search-forward, word-search-backward-lax)
6642 (word-search-forward-lax): Move functions from search.c
6643 (bug#10145, bug#11381).
6644
65034a51
AM
66452012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6646
090bd7cb
JB
6647 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6648 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6649 Delay for otherchars as for normal word components.
65034a51 6650
1a72a195
SM
66512012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6652
6653 * minibuffer.el (completion--sifn-requote): Fix last change.
6654 (minibuffer-local-must-match-filename-map):
6655 Move define-obsolete-variable-alias before its var.
6656
fdb058c2
SM
66572012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6658
c41045e6
SM
6659 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6660
036dfb8b
SM
6661 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6662 behavior.
6663 (completion--string-equal-p): New function.
6664 (completion--twq-all): Use it to get better assertion failure data.
6665
2473256d
SM
6666 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6667 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6668 (shell--requote-argument): New functions.
6669 (shell-completion-vars): Use them.
6670 (shell--parse-pcomplete-arguments): Rename from
6671 shell-parse-pcomplete-arguments.
6672 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6673 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6674 Obey comint-file-name-quote-list.
6675
fdb058c2
SM
6676 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6677 (smie-indent-keyword): Use it.
6678
51fa99f1
SM
66792012-05-14 Stefan Merten <smerten@oekonux.de>
6680
6681 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6682
e18afed7 66832012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6684
6685 * net/rlogin.el (rlogin-mode-map): Fix last change.
6686
e18afed7 66872012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6688
6689 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6690 the following \r\n using a single `process-send-string', since the
6691 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6692 with two `process-send-string's (Bug#11444).
8633b1f4 6693
e18afed7 66942012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6695
fdb058c2
SM
6696 * shell.el (shell-parse-pcomplete-arguments):
6697 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6698
2d21d7f6
WJ
66992012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6700
e18afed7 6701 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6702 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6703 (image-transform-width, image-transform-fit-width): New functions.
6704 (image-transform-properties): Use them.
6705 (image-transform-check-size): New function.
6706 (image-toggle-display-image): Use it (for testing).
6707 (image-transform-set-rotation): Reduce angle mod 360.
6708 Delete obsolete comment.
6709
7102e6d0
WJ
67102012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6711
6712 * image-mode.el: Fix scaling (bug#11399).
6713 (image-transform-resize): Doc fix.
6714 (image-transform-properties): Default scale is 1 and height should
6715 be an integer.
6716
06bc5e6e
SM
67172012-05-13 Johan Bockgård <bojohan@gnu.org>
6718
6719 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6720 than hard-coding `car', to fix misbehavior when moving forward.
6721
0ae03b6a
CY
67222012-05-13 Chong Yidong <cyd@gnu.org>
6723
6724 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6725 (tabulated-list-entries, tabulated-list-padding)
6726 (tabulated-list-sort-key): Make permanent-local.
6727
6728 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6729 (electric-buffer-list): Put electric buffer menu
6730 command descriptions in this docstring, instead of the docstring
6731 of electric-buffer-menu-mode. Code cleanups.
6732 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6733 Electric-buffer-menu-mode.
6734 (electric-buffer-update-highlight): Minor code cleanup.
6735
205a7391
MA
67362012-05-13 Michael Albinus <michael.albinus@gmx.de>
6737
6738 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6739 (Bug#11447)
6740
e5bd0a28
SM
67412012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 Move define-obsolete-variable-alias before the var's definition.
6744 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6745 * tooltip.el (tooltip-hook):
6746 * textmodes/reftex-toc.el (reftex-toc-map):
6747 * textmodes/reftex-sel.el (reftex-select-label-map)
6748 (reftex-select-bib-map):
6749 * textmodes/reftex-index.el (reftex-index-map)
6750 (reftex-index-phrases-map):
6751 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6752 * progmodes/meta-mode.el (meta-mode-map):
6753 * novice.el (disabled-command-hook):
6754 * loadhist.el (unload-hook-features-list):
6755 * frame.el (blink-cursor):
6756 * files.el (find-file-not-found-hooks, write-file-hooks)
6757 (write-contents-hooks):
6758 * emulation/tpu-edt.el (GOLD-map):
6759 * emacs-lock.el (emacs-lock-from-exiting):
6760 * emacs-lisp/generic.el (generic-font-lock-defaults):
6761 * emacs-lisp/chart.el (chart-map):
6762 * dos-fns.el (register-name-alist):
6763 * dired-x.el (dired-omit-files-p):
6764 * desktop.el (desktop-enable):
6765 * cus-edit.el (custom-mode-hook):
6766 * buff-menu.el (buffer-menu-mode-hook):
6767 * bookmark.el (bookmark-read-annotation-text-func)
6768 (bookmark-exit-hooks):
6769 * allout.el (allout-mode-deactivate-hook)
6770 (allout-exposure-change-hook, allout-structure-added-hook)
6771 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6772 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6773 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6774 comes before the corresponding variable's definition.
6775
ac59c2f6
CY
67762012-05-12 Chong Yidong <cyd@gnu.org>
6777
6778 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6779 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6780 (Buffer-menu-mode-map): Bind it.
6781 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6782
dee6c9a3
SM
67832012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6784
2171cea5
SM
6785 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6786 (prolog-upper-case-string, prolog-lower-case-string)
6787 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6788 (prolog-use-smie, prolog-smie-grammar): New vars.
6789 (prolog-smie-forward-token, prolog-smie-backward-token)
6790 (prolog-smie-rules): New funs.
6791 (prolog-comment-indent): Remove.
6792 (prolog-mode-variables): Use default comment indentation instead.
6793 Setup SMIE.
6794 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6795 (prolog-mode): Don't call them any more.
6796 (prolog-electric-colon, prolog-electric-dash)
6797 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6798
aa0382bd
SM
6799 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6800
dbacb4bd
SM
6801 * minibuffer.el (completion--twq-all): Again, allow case differences.
6802
13bdd94c
SM
6803 * term.el: Move keymap initialization code to be more idiomatic.
6804 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6805 (term-terminal-menu): Move initialization into declaration.
6806 (term-escape-char): Let the user set it in her .emacs.
6807
ff46c759
SM
6808 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6809 Provide SMIE-based indentation (not enabled by default yet).
6810 (sh-mode-map): Don't bind electric keys.
6811 Use electric-pair-mode instead of skeleton-pair.
6812 (sh-assignment-regexp): Fit within 80 columns.
6813 (sh-indent-supported): Specify actual shell name instead of boolean.
6814 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6815 (sh-maybe-here-document): Use it. Make obsolete.
6816 (sh-electric-here-document-mode) New minor mode.
6817 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6818 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6819 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6820 (sh-smie-rc-grammar, sh-use-smie): New vars.
6821 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6822 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6823 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6824 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6825 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6826 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6827 (sh-set-shell): Use smie-setup if requested.
6828
dee6c9a3
SM
6829 * term.el (term-set-escape-char): Properly set term-escape-char.
6830 See http://stackoverflow.com/questions/10524656.
6831
9f9aa044
CY
68322012-05-10 Chong Yidong <cyd@gnu.org>
6833
6834 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6835 Use url-generic-parse-url, and handle host names and Windows
6836 filenames properly.
6837 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6838 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6839 URL schemes to work on.
6840 (ffap--toggle-read-only): New function.
6841 (ffap-read-only, ffap-read-only-other-window)
6842 (ffap-read-only-other-frame): Use it.
6843 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6844 necessary for ffap-url-unwrap-remote.
6845
836d29b3
DA
68462012-05-10 Dave Abrahams <dave@boostpro.com>
6847
6848 * cus-start.el (create-lockfiles): Add it.
6849
00fd78ed
CY
68502012-05-09 Chong Yidong <cyd@gnu.org>
6851
6852 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6853 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6854
666b903b 68552012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6856
6857 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6858
666b903b 68592012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6860
6861 * ansi-color.el (ansi-color-process-output): Check for validity of
6862 comint-last-output-start before using it. This avoids a bad
6863 interaction with gdb-mi's input/output buffer.
6864
666b903b 68652012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6866
6867 * files.el (dir-locals-read-from-file):
6868 Mention dir-locals in any error message.
6869
666b903b 68702012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6871
6872 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6873 package (Bug#11410).
6874
f677562b
CY
6875 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6876 variables into description.
6877
666b903b 68782012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6879
6880 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6881 shell-delimiter-argument-list (bug#11348).
6882 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6883
b499d8d0
JB
68842012-05-09 Juanma Barranquero <lekktu@gmail.com>
6885
8f6b6da8
JB
6886 * textmodes/rst.el: Silence byte-compiler warnings.
6887 (rst-re-alist, rst-reset-section-caches): Move around.
6888 (rst-re): Use `characterp', not `char-valid-p'.
6889 (font-lock-beg, font-lock-end): Declare.
6890
4824146a
JB
6891 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6892 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6893
b499d8d0
JB
6894 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6895
ad89bb83
GM
68962012-05-08 Glenn Morris <rgm@gnu.org>
6897
6898 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6899
8bba5a75
SM
69002012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6901
49ed9c8e
SM
6902 * vc/log-edit.el: Add GNU coding standards highlighting.
6903 (log-edit-font-lock-gnu-style)
6904 (log-edit-font-lock-gnu-keywords): New vars.
6905 (log-edit-font-lock-keywords): New fun.
6906 (log-edit-mode): Don't fold case in font-lock.
6907 (log-edit-font-lock-keywords): Do not assume case-folding.
6908
07d00b56
SM
6909 * imenu.el: Misc cleanup. Make docstrings out of comments.
6910 Use lexical-binding.
6911 (imenu--index-alist, imenu--last-menubar-index-alist)
6912 (imenu-menubar-modified-tick): Use defvar-local.
6913 (imenu--split-menu): Remove unused var.
6914 (imenu--cleanup-seen): Declare as global.
6915 (imenu--cleanup): Use dolist.
6916
8bba5a75
SM
6917 * subr.el (defvar-local): Add debug spec and doc-string position.
6918
5075bdb5
GM
69192012-05-08 Glenn Morris <rgm@gnu.org>
6920
090bd7cb 6921 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6922 * language/english.el, language/georgian.el, language/greek.el:
6923 * language/japanese.el, language/khmer.el, language/korean.el:
6924 * language/lao.el, language/misc-lang.el, language/romanian.el:
6925 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6926 * language/thai.el, language/utf-8-lang.el:
6927 Remove no-byte-compile setting.
6928
5075bdb5
GM
6929 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6930
06f679a7
AH
69312012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6932
6933 * progmodes/make-mode.el (makefile-browse):
6934 Remove unnecessary interactive. (Bug#11324)
6935
03794570
GM
69362012-05-07 Glenn Morris <rgm@gnu.org>
6937
af8630f4
GM
6938 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6939
03794570
GM
6940 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6941
f0809a9d
SM
69422012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6943
28be5ce7
SM
6944 * loadup.el: Preload newcomment.el.
6945 * newcomment.el: Move autoload-only code to toplevel.
6946
f0809a9d
SM
6947 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6948 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6949 Handle new :right-align column property.
6950 (tabulated-list-print-col): Idem, plus use `display' text-property to
6951 try and preserve alignment for variable pitch fonts.
6952
1241b724
CY
69532012-05-07 Chong Yidong <cyd@gnu.org>
6954
6955 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6956 (tabulated-list-use-header-line): New var.
6957 (tabulated-list-init-header): Use it.
6958 (tabulated-list-print-fake-header): New function.
6959 (tabulated-list-print): Use it.
6960 (tabulated-list-sort-button-map): Add non-header-line commands.
6961 (tabulated-list-init-header): Add column name property to basic
6962 labels as well.
6963 (tabulated-list-col-sort): Handle non-header-line button case.
6964 (tabulated-list--sort-by-column-name): Fix a corner case.
6965
f0809a9d
SM
6966 * buff-menu.el (list-buffers--refresh):
6967 Handle Buffer-menu-use-header-line.
1241b724 6968
e5f9458f
CY
69692012-05-06 Chong Yidong <cyd@gnu.org>
6970
6971 * buff-menu.el: Convert to Tabulated List mode.
6972 (Buffer-menu-buffer+size-width): Make obsolete.
6973 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6974 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6975 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6976 documentation into docstring of buffer-menu.
6977 (Buffer-menu-toggle-files-only): Add an informative message.
6978 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6979 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6980 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6981 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6982 (Buffer-menu-execute, Buffer-menu-select)
6983 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6984 (Buffer-menu-bury): Use Tabulated List machinery.
6985 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6986 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6987 Delete.
e5f9458f
CY
6988 (list-buffers--refresh): New function.
6989 (list-buffers-noselect): Use it.
6990 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6991 (Buffer-menu--pretty-file-name): New helper functions.
6992
6993 * loadup.el: Preload tabulated-list.
6994
6995 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6996 tabulated-list-sort-column.
6997 (tabulated-list-init-header): Add the initial aligning space even
6998 if tabulated-list-padding is zero.
6999
e129292c
CS
70002012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7001
7002 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7003 whose cdr is not a cons cell correctly (bug#11038).
7004
6632d361
CY
70052012-05-06 Chong Yidong <cyd@gnu.org>
7006
e129292c
CS
7007 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7008 Accept additional plist in column descriptors.
6632d361
CY
7009 (tabulated-list-init-header): Obey it.
7010 (tabulated-list-get-entry): New function.
7011 (tabulated-list-put-tag): Use it. Use string-width instead of
7012 length.
7013 (tabulated-list--column-number): New function.
7014 (tabulated-list-print): Use it.
e129292c
CS
7015 (tabulated-list-print-col): New function.
7016 Set `tabulated-list-column-name' property on each column's text.
6632d361 7017 (tabulated-list-print-entry): Use it.
e129292c
CS
7018 (tabulated-list-delete-entry, tabulated-list-set-col):
7019 New functions.
6632d361
CY
7020 (tabulated-list-sort-column): New command (Bug#11337).
7021
3cc99f68
CY
7022 * buff-menu.el (list-buffers): Move C-x C-b binding from
7023 buff-menu.el to bindings.el.
7024
7025 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7026 :advertised-binding feature.
7027
52b61776
TN
70282012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7029
7030 * progmodes/compile.el (compilation-internal-error-properties):
7031 Calculate start position correctly when end-col is set but
7032 end-line is not (Bug#11382).
7033
ebfe2597
WJ
70342012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7035
7036 * man.el (Man-unindent): Use text-property-default-nonsticky to
7037 prevent untabify from inheriting face properties (Bug#11408).
7038
6d3f7c2f
SM
70392012-05-05 Stefan Merten <smerten@oekonux.de>
7040
7041 * textmodes/rst.el: Major merge with upstream development up to
7042 Docutils SVN r7399 / rst.el V1.2.1.
7043
7044 Clarify maintainership and authors.
7045
7046 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7047 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7048 (rst-official-version, rst-official-cvs-rev, rst-version)
7049 (rst-package-emacs-version-alist): New functions and variables
7050 for version information.
7051
7052 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7053 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7054 (rst-mode-syntax-table, rst-mode): New and corrected functions
7055 and variables representing reStructuredText features.
7056
7057 (rst-re): New function for reStructuredText regexes. Use in
7058 many places.
7059
7060 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7061 (rst-mode-map): Rebind keys.
7062
7063 (rst-mode-lazy, rst-font-lock-keywords)
7064 (rst-font-lock-extend-region)
7065 (rst-font-lock-extend-region-internal)
7066 (rst-font-lock-extend-region-extend)
7067 (rst-font-lock-find-unindented-line-limit)
7068 (rst-font-lock-find-unindented-line-match)
7069 (rst-adornment-level, rst-font-lock-adornment-level)
7070 (rst-font-lock-adornment-match)
7071 (rst-font-lock-handle-adornment-pre-match-form)
7072 (rst-font-lock-handle-adornment-matcher): Major revision of
7073 font-locking. Integrate with other code. Use `jit-lock-mode'.
7074
7075 (rst-preferred-adornments, rst-adjust-hook)
7076 (rst-new-adornment-down, rst-preferred-bullets)
7077 (rst-preferred-bullets, rst-indent, rst-indent-width)
7078 (rst-indent-field, rst-indent-literal-normal)
7079 (rst-indent-literal-minimized, rst-indent-comment): Change,
7080 extend and improve customization.
7081
7082 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7083 (rst-normalize-cursor-position, rst-get-decoration)
7084 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7085 (rst-rstrip, rst-toc-insert-find-delete-contents)
7086 (rst-shift-fill-region, rst-compute-bullet-tabs)
7087 (rst-debug-print-tabs, rst-debug-mark-found)
7088 (rst-shift-region-guts, rst-shift-region-right)
7089 (rst-shift-region-left, rst-use-char-classes)
7090 (rst-font-lock-keywords-function)
7091 (rst-font-lock-indentation-point)
7092 (rst-font-lock-find-unindented-line-begin)
7093 (rst-font-lock-find-unindented-line-end)
7094 (rst-font-lock-find-unindented-line)
7095 (rst-font-lock-adornment-point, rst-font-lock-level)
7096 (rst-adornment-level-alist): Remove functions and variables.
7097
7098 (rst-compare-adornments, rst-get-adornment-match)
7099 (rst-suggest-new-adornment, rst-get-adornments-around)
7100 (rst-adornment-complete-p, rst-get-next-adornment)
7101 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7102 (rst-straighten-adornments): Standardize function names to
7103 use "adornment" instead of "decoration". Correct callers.
7104 Similar standardizing in many places.
7105
7106 (rst-update-section, rst-adjust, rst-promote-region)
7107 (rst-enumerate-region, rst-bullet-list-region)
7108 (rst-repeat-last-character): Correct use of `interactive'.
7109
7110 (rst-classify-adornment, rst-find-all-adornments)
7111 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7112 (rst-find-leftmost-column, rst-repeat-last-character):
7113 Refactor functions.
7114
7115 (rst-find-title-line, rst-reset-section-caches)
7116 (rst-get-adornments-around, rst-adjust-adornment-work)
7117 (rst-arabic-to-roman, rst-roman-to-arabic)
7118 (rst-insert-list-pos, rst-insert-list-new-item)
7119 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7120 New functions.
7121
7122 (rst-all-sections, rst-section-hierarchy)
7123 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7124 New variables.
7125
7126 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7127 configuration instead of only buffer. Change where necessary.
7128
7129 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7130 (rst-shift-region, rst-adaptive-fill): New functions for
7131 indentation and filling.
7132
7133 (rst-comment-line-break, rst-comment-indent)
7134 (rst-comment-insert-comment, rst-comment-region)
7135 (rst-uncomment-region): New functions for handling comments.
7136
7137 (rst-compile): Quote shell arguments.
7138
7139 (rst-compile-pdf-preview, rst-compile-slides-preview):
7140 Delete temporary files after use.
7141
a43f98b3
GM
71422012-05-05 Glenn Morris <rgm@gnu.org>
7143
48176e8b
GM
7144 * calendar/cal-html.el: Optionally include holidays in the output.
7145 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7146 (cal-html-holidays): New option.
7147 (cal-html-css-default): Add holiday entry.
7148 (holiday-in-range): Autoload it.
7149 (cal-html-htmlify-entry): Add optional class argument.
7150 (cal-html-htmlify-list): Add optional holidays argument.
7151 (cal-html-insert-agenda-days): Include holidays in the output.
7152 (cal-html-one-month): Maybe include holidays.
7153
a43f98b3
GM
7154 * calendar/holidays.el (holiday-in-range):
7155 Move here from cal-tex-list-holidays.
7156 * calendar/cal-tex.el (cal-tex-list-holidays):
7157 Make it an obsolete alias for holiday-in-range. Update all callers.
7158
fef9d149 71592012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7160
7161 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7162 Nextstep.
7163
248da2f4
RW
71642012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7165
7166 * files.el (file-auto-mode-skip): New var.
7167 (set-auto-mode-1): Use it.
7168
f95e9344
SM
71692012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7170
df96ab1e
SM
7171 * repeat.el: Use lexical-binding.
7172 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7173 (repeat-undo-count): Remove.
7174 (repeat):
7175 * progmodes/octave-mod.el (octave-abbrev-start):
7176 * progmodes/f90.el (f90-abbrev-start):
7177 * face-remap.el (text-scale-adjust):
7178 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7179
5342bb06
SM
7180 * emacs-lisp/pcase.el (pcase--let*): New function.
7181 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7182 a bit more.
7183 (pcase--split-pred): Be more clever about ruling out overlap between
7184 a predicate and some constant pattern.
7185 (pcase--q1): Use `null' instead of (eq foo nil).
7186
f95e9344
SM
7187 * subr.el (setq-local, defvar-local): New macros.
7188 (kbd): Redefine as an alias.
7189 (with-selected-window): Leave unrelated frames alone.
7190 (set-temporary-overlay-map): New function.
7191
71873e2b
SM
71922012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * subr.el (user-error): New function.
7195 * window.el (switch-to-buffer):
7196 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7197 (smerge-match-conflict):
7198 * simple.el (previous-matching-history-element)
7199 (next-matching-history-element, goto-history-element, undo-more)
7200 (undo-start):
7201 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7202 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7203 (next-file, tags-loop-scan, list-tags, complete-tag):
7204 * progmodes/compile.el (compilation-loop):
7205 * mouse.el (mouse-minibuffer-check):
7206 * man.el (Man-bgproc-sentinel, Man-goto-page):
7207 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7208 (Info-history-forward, Info-follow-reference, Info-menu)
7209 (Info-extract-menu-item, Info-extract-menu-counting)
7210 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7211 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7212 (Info-next-reference, Info-prev-reference, Info-index)
7213 (Info-index-next, Info-follow-nearest-node)
7214 (Info-copy-current-node-name):
7215 * imenu.el (imenu--make-index-alist)
7216 (imenu-default-create-index-function, imenu-add-to-menubar):
7217 * files.el (basic-save-buffer, recover-file):
7218 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7219 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7220 (checkdoc-message-text, checkdoc-defun):
7221 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7222 * cus-edit.el (customize-changed-options, customize-rogue)
7223 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7224 (custom-variable-mark-to-reset-standard)
7225 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7226 (custom-file):
7227 * completion.el (check-completion-length):
7228 * comint.el (comint-search-arg)
7229 (comint-previous-matching-input-string-position)
7230 (comint-previous-matching-input)
7231 (comint-replace-by-expanded-history-before-point, comint-send-input)
7232 (comint-copy-old-input, comint-backward-matching-input)
7233 (comint-goto-process-mark, comint-set-process-mark):
7234 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7235 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7236
8a61ee22
SM
72372012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7238
66408d1e
SM
7239 * dabbrev.el (dabbrev--ignore-case-p): New function.
7240 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7241 Use it.
7242
8a61ee22
SM
7243 * files.el (automount-dir-prefix): Mark as obsolete.
7244
3c74813a
GM
72452012-05-04 Glenn Morris <rgm@gnu.org>
7246
7247 * patcomp.el, play/bruce.el: Move to obsolete/.
7248
0bfcf5c5
PE
72492012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7250
7251 Fix minor Y10k bugs.
7252 * arc-mode.el (archive-unixdate):
7253 * autoinsert.el (auto-insert-alist):
7254 * calc/calc-forms.el (math-this-year):
7255 * emacs-lisp/copyright.el (copyright-current-year)
7256 (copyright-update-year, copyright):
7257 * tar-mode.el (tar-clip-time-string):
7258 * time.el (display-time-update):
7259 Don't assume years have 4 digits.
7260
78f3273a
CY
72612012-05-04 Chong Yidong <cyd@gnu.org>
7262
7263 * dos-w32.el (file-name-buffer-file-type-alist)
7264 (direct-print-region-use-command-dot-com):
7265 * ffap.el (ffap-menu-regexp):
7266 * find-file.el (ff-special-constructs):
7267 * follow.el (follow-debug):
7268 * forms.el (forms--debug):
7269 * iswitchb.el (iswitchb-all-frames):
7270 * ido.el (ido-all-frames):
7271 * emacs-lisp/timer.el (timer-max-repeats):
7272 * mail/feedmail.el (feedmail-mail-send-hook)
7273 (feedmail-mail-send-hook-queued):
7274 * mail/footnote.el (footnote-signature-separator):
7275 * mail/mailabbrev.el (mail-alias-separator-string)
7276 (mail-abbrev-mode-regexp):
7277 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7278 * progmodes/idlwave.el (idlwave-libinfo-file)
7279 (idlwave-default-completion-case-is-down)
7280 (idlwave-library-routines): Convert defvars to defcustoms.
7281
7282 * mail/rmail.el (rmail-decode-mime-charset):
7283 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7284 (idlwave-shell-fix-inserted-breaks)
7285 (idlwave-shell-activate-alt-keybindings)
7286 (idlwave-shell-use-breakpoint-glyph):
7287 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7288
f7ae6719
SM
72892012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7292
47086495
WS
72932012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7294
7295 * progmodes/verilog-mode.el (font-lock-keywords):
7296 Fix mis-highligting auto. Reported by Craig Barner.
7297 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7298 defines from global name space. Reported by Dan Dever.
47086495
WS
7299 (verilog-auto-reset, verilog-auto-reset-widths)
7300 (verilog-auto-tieoff): Support using unbased numbers for
7301 AUTORESET and AUTOTIEOFF.
7302 (verilog-submit-bug-report): Update variable list.
7303 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7304 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7305 (verilog-auto-template-lint): Fix hash error when linting modules
7306 with no used templates.
7307 (verilog-warn, verilog-warn-error)
7308 (verilog-warn-fatal): When non-interactive report multiple
7309 warnings before exiting. Suggested by Brad Dobbie.
7310 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7311 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7312 to report unused template errors. Reported by Brad Dobbie.
7313 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7314 nets, bug438. Reported by Vns Blore.
47086495
WS
7315 (verilog-auto-inout-module, verilog-auto-reg)
7316 (verilog-read-decls, verilog-read-sub-decls-sig)
7317 (verilog-signals-edit-wire-reg, verilog-signals-with):
7318 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7319 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7320 "reg" for backwards compatibility presuming Verilog 2001.
7321 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7322 (verilog-preprocess): Fix replication of preprocess output.
7323 Reported by Brad Dobbie.
7324 (verilog-auto-inst-interfaced-ports):
7325 Create verilog-auto-inst-interfaced-ports, bug429.
7326 Reported by Julian Gorfajn.
7327 (verilog-after-save-font-hook)
7328 (verilog-before-save-font-hook): New variable.
7329 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7330 (verilog-save-font-mods): Wrap disabling fontification, reported
7331 by David Rogoff.
7332 (verilog-do-indent, verilog-pretty-declarations-auto)
7333 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7334 Reported by Pierre-David Pfister.
7335 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7336 of class declarations, bug292. Reported by Kevin Heilman.
7337 (verilog-read-decls): Fix 'parameter type' not appearing in
7338 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7339 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7340 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7341 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7342 Reported by David Kravitz.
7343
73442012-05-03 Michael McNamara <mac@mail.brushroad.com>
7345
7346 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7347 assignment with tests in ifs and for loops.
7348 (verilog-extended-complete-re, verilog-complete-reg): Change so
7349 that DPI inport functions don't look like fuction declarations.
7350 (verilog-pretty-expr): Don't line up assignment
7351 operations to the test and increment in if and for loops
7352 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7353 that DPI inport functions don't look like fuction declarations.
47086495 7354
2e51d4b5
KH
73552012-05-03 Kenichi Handa <handa@m17n.org>
7356
7357 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7358 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7359 (Bug#11282).
7360
2bd785a2
SM
73612012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7362
7363 * emacs-lisp/bytecomp.el
7364 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7365 since cconv.el might have introduced :fun-body, internal-make-closure,
7366 and friends for bytecomp to handle (bug#11391).
7367 * custom.el (defcustom): Avoid ((λ ..) ..).
7368
99d27583
SM
73692012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7370
7371 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7372
55a71479
JB
73732012-05-02 Juanma Barranquero <lekktu@gmail.com>
7374
7375 * notifications.el (dbus-debug):
7376 * term/linux.el (gpm-mouse-enable):
7377 * term/screen.el (xterm-register-default-colors): Declare.
7378
7b97c764
CY
73792012-05-02 Chong Yidong <cyd@gnu.org>
7380
2bc356d7
CY
7381 * cus-start.el (gc-cons-percentage, exec-suffixes)
7382 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7383 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7384 (make-cursor-line-fully-visible, void-text-area-pointer)
7385 (font-list-limit): Add customization data.
7386
7b97c764
CY
7387 * allout.el (allout-exposure-change-functions)
7388 (allout-structure-added-functions)
7389 (allout-structure-deleted-functions)
7390 (allout-structure-shifted-functions): Rename abnormal hooks from
7391 *-hook, and convert to defcustoms.
5d3385a0
JB
7392 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7393 Convert to defcustoms.
7b97c764
CY
7394 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7395
7396 * allout-widgets.el: Hook callers changed.
7397
90207a15 73982012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7399
7400 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7401 the yanked message in preference to the default value of
7402 buffer-file-coding-system.
7403
90207a15 74042012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7405
5d3385a0
JB
7406 * window.el (display-buffer--action-function-custom-type):
7407 Fix entry.
d9558cad 7408
90207a15 74092012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7410
7411 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7412
d80ac57b
GM
74132012-05-01 Glenn Morris <rgm@gnu.org>
7414
976f7668
GM
7415 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7416
beb83b5a
GM
7417 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7418
d80ac57b
GM
7419 * cus-edit.el (custom-variable-documentation): Simplify with format.
7420
b593d6a9 74212012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7422 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7423
7424 * simple.el (suggest-key-bindings, execute-extended-command):
7425 Move from keyboard.c.
7426
782fbf2a
CY
74272012-05-01 Chong Yidong <cyd@gnu.org>
7428
7429 * follow.el: Eliminate advice.
7430 (set-process-filter, process-filter, sit-for): Advice deleted.
7431 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7432 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7433 Vars deleted.
782fbf2a
CY
7434 (follow-auto): Use a :set function.
7435 (follow-mode): Rewritten. Don't advise process filters.
7436 (follow-switch-to-current-buffer-all, follow-scroll-up)
7437 (follow-scroll-down): Assume follow-mode is bound.
7438 (follow-comint-scroll-to-bottom)
7439 (follow-align-compilation-windows): New functions.
7440 (follow--window-sorter): New function.
7441 (follow-all-followers): Use it to explicitly sort windows by their
7442 positions; don't make assumptions about next-window order.
7443 (follow-windows-start-end, follow-delete-other-windows-and-split)
7444 (follow-calc-win-start): Doc fix.
7445 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7446 vertical-motion unnecessarily.
7447 (follow-adjust-window): New function.
7448 (follow-post-command-hook): Use it.
7449 (follow-call-set-process-filter, follow-call-process-filter)
7450 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7451 (follow-stop-intercept-process-output, follow-generic-filter):
7452 Functions deleted.
7453 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7454 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7455 New functions, replacing advice on scroll-bar-* commands.
87233a14 7456 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7457
7458 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7459 (comint-postoutput-scroll-to-bottom): Use it.
7460 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7461
290af740
GM
74622012-05-01 Glenn Morris <rgm@gnu.org>
7463
7464 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7465 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7466 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7467 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7468 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7469 Remove no-byte-compile setting.
7470
6eac8dc9
SM
74712012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7472
7473 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7474 all-completions code to not return a number in the last cdr.
7475
9cc7819c
LL
74762012-04-30 Leo Liu <sdl.web@gmail.com>
7477
7478 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7479 read-only error.
7480
c93b886f
CY
74812012-04-29 Chong Yidong <cyd@gnu.org>
7482
7483 * follow.el (follow-calc-win-end): Rewrite to handle partial
7484 screen lines correctly (Bug#8390).
7485 (follow-avoid-tail-recenter): Minor cleanup.
7486
8b6c19f4
SM
74872012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 Avoid the obsolete `assoc' package.
7490 * speedbar.el (speedbar-refresh): Avoid adelete.
7491 (speedbar-file-lists): Simplify and avoid aput.
7492 * man.el (Man--sections, Man--refpages): New vars, replacing
7493 Man-sections-alist and Man-refpages-alist.
7494 (Man-build-section-alist, Man-build-references-alist):
7495 Use them; avoid aput.
7496 (Man--last-section, Man--last-refpage): New vars.
7497 (Man-follow-manual-reference): Use them.
7498 Use the `default' arg of completing-read.
7499 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7500
c5bb7569
CY
75012012-04-27 Chong Yidong <cyd@gnu.org>
7502
d1d2e2e8
CY
7503 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7504
15cd8efd
CY
7505 * startup.el (x-apply-session-resources): New function.
7506
7507 * term/ns-win.el (ns-initialize-window-system):
7508 * term/w32-win.el (w32-initialize-window-system):
7509 * term/x-win.el (x-initialize-window-system): Use it to properly
7510 set menu-bar-mode and other vars from X resources, even if the
7511 initial frame is not a window-system frame (Bug#2299).
7512
c5bb7569
CY
7513 * subr.el (read-key): Avoid running filter function when setting
7514 up temporary tool bar entries (Bug#9922).
7515
a8e7d6d7 75162012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7517
7518 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7519 (Bug#11344)
7520
a8e7d6d7 75212012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7522
7523 * select.el (xselect--encode-string): New function, split from
7524 xselect-convert-to-string.
7525 (xselect-convert-to-string): Use it.
7526 (xselect-convert-to-filename, xselect-convert-to-os)
7527 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7528 returned strings are properly encoded (Bug#11315).
7529
a8e7d6d7 75302012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7531
7532 * simple.el (delete-active-region): Move to killing custom group.
7533
a8e7d6d7 75342012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7535
7536 * progmodes/which-func.el (which-func-current): Quote %
7537 characters for mode-line processing.
7538
578c1d4b 75392012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7540
7541 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7542 reaching eob (Bug#11286).
7543
a8e7d6d7 75442012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7545
7546 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7547 (gdb): Make it buffer-local and init to zero.
7548 (gdb-control-commands-regexp): New variable.
7549 (gdb-send): Don't wrap in "-interpreter-exec console" if
7550 gdb-control-level is positive. Increment gdb-control-level
7551 whenever the command matches gdb-control-commands-regexp, and
7552 decrement it each time the command is "end". (Bug#11279)
7553
a8e7d6d7 75542012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7555
7556 * window.el (adjust-window-trailing-edge, enlarge-window)
7557 (shrink-window, window-resize):
7558 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7559 windows (Bug#11276).
7560
b3608390
CY
75612012-04-27 Chong Yidong <cyd@gnu.org>
7562
7563 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7564 fix "missing prefix" warning. All callers changed.
b3608390 7565
797e6e88
SM
75662012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7567
7568 * emacs-lisp/assoc.el: Move to obsolete/.
7569
e95a67dc
SM
75702012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7571
657c21e4 7572 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7573
7574 * term/ns-win.el (ns-define-service):
7575 * progmodes/pascal.el (pascal-goto-defun):
7576 * progmodes/js.el (js--read-tab):
7577 * progmodes/etags.el (tags-lazy-completion-table):
7578 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7579 * emacs-lisp/ewoc.el (ewoc--wrap):
7580 * emacs-lisp/assoc.el (aput, adelete, amake):
7581 * doc-view.el (doc-view-convert-current-doc):
7582 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7583
cb3e7ae0
CY
75842012-04-26 Chong Yidong <cyd@gnu.org>
7585
dce04f7f
CY
7586 * image.el (image-type-from-buffer): Only return supported image
7587 type (Bug#9045).
7588
cb3e7ae0
CY
7589 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7590 value, for symmetry with diff-end-of-hunk.
7591 (diff-split-hunk, diff-find-source-location)
7592 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7593 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7594 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7595 compute the relevant hunk or file properly (Bug#6005).
7596 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7597
0d42eb3e
SM
75982012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * vc/vc-mtn.el:
7601 * vc/vc-hg.el:
7602 * vc/vc-git.el:
7603 * vc/vc-dir.el:
7604 * vc/vc-cvs.el:
7605 * vc/vc-bzr.el:
7606 * vc/vc-arch.el:
7607 * vc/vc.el: Replace lexical-let by lexical-binding.
7608 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7609 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7610 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7611
f08ae1c9
CY
76122012-04-26 Chong Yidong <cyd@gnu.org>
7613
8b71081d
CY
7614 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7615 (diff-mode-shared-map): Bind it to / and [remap undo].
7616
f08ae1c9
CY
7617 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7618 (ediff-window-setup-function): Use it as the default, to set up
7619 windows based on whether the current frame is graphical (Bug#2138).
7620 (ediff-choose-window-setup-function-automatically): Make obsolete.
7621
7622 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7623
ef24141c
SM
76242012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7625
cc356a5d
SM
7626 * ffap.el: Remove old code for obsolete package.
7627 (ffap-complete-as-file-p): Remove.
7628
b4ff4f1f
SM
7629 Use completion-table-with-quoting for comint and pcomplete.
7630 * comint.el (comint--unquote&requote-argument)
7631 (comint--unquote-argument, comint--requote-argument): New functions.
7632 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7633 (comint-quote-filename): Use regexp-opt-charset.
7634 (comint--common-suffix, comint--common-quoted-suffix)
7635 (comint--table-subvert): Remove.
7636 (comint-unquote-function, comint-requote-function): New vars.
7637 (comint--complete-file-name-data): Use them with
7638 completion-table-with-quoting.
7639 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7640 * pcomplete.el (pcomplete-arg-quote-list)
7641 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7642 (pcomplete-unquote-argument-function): Default to non-nil.
7643 (pcomplete-unquote-argument): Simplify.
7644 (pcomplete--common-quoted-suffix): Remove.
7645 (pcomplete-requote-argument-function): New var.
7646 (pcomplete--common-suffix): New function.
7647 (pcomplete-completions-at-point): Use completion-table-with-quoting
7648 and completion-table-subvert.
7649
79c4eeb4
SM
7650 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7651 (minibuffer--double-dollars): Preserve properties.
7652 (completion--sifn-requote): New function.
7653 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7654
ef24141c
SM
7655 * minibuffer.el: Add support for completion of quoted/escaped data.
7656 (completion-table-with-quoting, completion-table-subvert): New funs.
7657 (completion--twq-try, completion--twq-all): New functions.
7658 (completion--nth-completion): New function.
7659 (completion-try-completion, completion-all-completions): Use it.
7660
784e7d6e
LL
76612012-04-25 Leo Liu <sdl.web@gmail.com>
7662
dd2ac746
SM
7663 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7664 Use compilation-message if available to find real filename.
784e7d6e 7665
07875ee7
CY
76662012-04-25 Chong Yidong <cyd@gnu.org>
7667
7668 * vc/diff-mode.el (diff-setup-whitespace): New function.
7669 (diff-mode): Use it.
7670
7671 * vc/diff.el (diff-sentinel):
7672 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7673 Whitespace mode variables based on diff style (Bug#8612).
7674
5055880d
LL
76752012-04-25 Leo Liu <sdl.web@gmail.com>
7676
daf75653
LL
7677 * progmodes/python.el (python-send-region): Add suffix .py to the
7678 temp file.
7679
5055880d
LL
7680 * files.el (auto-mode-alist): Use javascript-mode instead.
7681
db9b177b
AH
76822012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7683
ef24141c 7684 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7685
090bd7cb 7686 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7687 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7688 references, see Bug#9.
ef24141c 7689 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7690 when receiving a fault reply.
ef24141c 7691 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7692
090bd7cb 7693 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7694 (soap-inspect-simple-type): New function.
db9b177b 7695
090bd7cb 7696 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7697 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7698 (soap-decode-basic-type, soap-encode-basic-type):
7699 support unsignedInt and double basic types.
db9b177b 7700 (soap-resolve-references-for-simple-type)
ef24141c
SM
7701 (soap-parse-simple-type, soap-encode-simple-type): New function.
7702 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7703
090bd7cb 7704 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7705 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7706 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7707 the local name of "soapenc:Array".
7708 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7709 decoding integer, byte and anyURI xsd types.
7710
1fc6097b
CY
77112012-04-25 Chong Yidong <cyd@gnu.org>
7712
7713 * cus-edit.el (custom-buffer-create-internal): Update header text.
7714
afc6df87
EZ
77152012-04-25 Eli Zaretskii <eliz@gnu.org>
7716
7717 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7718 settings on 'system-type', not on 'window-system'. On MS-Windows,
7719 set interactive-mode on in GDB.
7720
dfbd787f
SM
77212012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7724 (ruby-syntax-propertize-regexp): Remove.
7725 (ruby-syntax-propertize-function): Split regexp into chunks.
7726 Match following code directly.
7727
85222d44
DG
77282012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7729
51a8ea2a
DG
7730 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7731 (ruby-syntax-propertize-regexp): New function.
7732 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7733 by a special keyword.
7734
85222d44
DG
7735 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7736 (ruby-syntax-general-delimiters-goto-beg)
7737 (ruby-syntax-propertize-general-delimiters): New functions.
7738 (ruby-syntax-propertize-function): Use them to handle GDL.
7739 (ruby-font-lock-keywords): Move old handling of GDL...
7740 (ruby-font-lock-syntactic-keywords): .. to here.
7741 (ruby-calculate-indent): Adjust indentation for GDL.
7742
b613912b
MA
77432012-04-24 Michael Albinus <michael.albinus@gmx.de>
7744
b5380639
MA
7745 * notifications.el (top): Remove unneeded declarations.
7746 (notifications-specification-version): Change to "1.2".
e43042fe 7747 (notifications-interface, notifications-notify-method)
b613912b
MA
7748 (notifications-close-notification-method): Fix docstring.
7749 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7750 (notifications-notify): Add :action-items, :resident and
7751 :transient hints. Change "image_data" to "image-data" and
7752 "image_path" to "image-path".
b613912b
MA
7753 (notifications-get-capabilities): New defun.
7754
257440aa
LL
77552012-04-24 Leo Liu <sdl.web@gmail.com>
7756
7757 * progmodes/python.el: Move hideshow setup to the end.
7758
b1bac16e
MR
77592012-04-24 Martin Rudalics <rudalics@gmx.at>
7760
7761 * window.el (handle-select-window): Clear echo area since this is
7762 no more done by read_char (Bug#11304).
7763
d81bd059
SM
77642012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7767 and `/ M' to filter-derived-mode.
7768 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7769 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7770 (ibuffer-mark-by-mode): Use default rather than initial-input.
7771 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7772
c4cf6d91
IA
77732012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7774
7775 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7776 (ibuffer-filter-by-derived-mode): New filter.
7777 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7778
7511ded8
CY
77792012-04-23 Andreas Politz <politza@fh-trier.de>
7780
7781 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7782
775c916b
CY
77832012-04-23 Chong Yidong <cyd@gnu.org>
7784
7785 * cus-edit.el (customize-apropos, customize-apropos-options):
7786 Disable matching of non-option variables (Bug#11176).
7787 (customize-option, customize-option-other-window)
7788 (customize-changed-options): Doc fix.
7789 (customize-apropos-options, customize-apropos-faces)
7790 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7791
7792 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7793 Fix word list splitting (Bug#11132).
46c71e23
CY
7794 (apropos-symbol, apropos-keybinding, apropos-label)
7795 (apropos-property, apropos-function-button)
7796 (apropos-variable-button, apropos-misc-button): New faces.
7797 (apropos-symbol-face, apropos-keybinding-face)
7798 (apropos-label-face, apropos-property-face, apropos-match-face):
7799 Variables removed (Bug#8396).
7800 (apropos-library-button, apropos-format-plist, apropos-print)
7801 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7802
2df41f9c
MA
78032012-04-23 Michael Albinus <michael.albinus@gmx.de>
7804
7805 * net/xesam.el (xesam-mode-map): Use let-bound map in
7806 initialization. (Bug#11292)
7807
da00640a
AM
78082012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7809
7810 Preserve ispell session localwords when switching back to
7811 original buffer.
7812
090bd7cb
JB
7813 * textmodes/ispell.el (ispell-buffer-session-localwords):
7814 New buffer-local variable to hold buffer session localwords.
ed9265fc 7815 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7816 localwords.
7817 (ispell-command-loop, ispell-change-dictionary)
7818 (ispell-buffer-local-words): Preserve session localwords when
7819 needed.
7820
090bd7cb
JB
7821 * textmodes/flyspell.el (flyspell-process-localwords)
7822 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7823
f621ccf5
AM
78242012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7825
090bd7cb
JB
7826 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7827 using obsolete `translation-table-for-input'.
ef24141c
SM
7828 (ispell-word, ispell-process-line, ispell-complete-word):
7829 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7830
c2d1019e
CY
78312012-04-22 Chong Yidong <cyd@gnu.org>
7832
7833 * cus-edit.el (custom-variable-menu)
7834 (custom-variable-reset-saved, custom-face-menu)
7835 (custom-face-reset-saved): If there is no saved value, make the
7836 "reset-saved" operation bring back the default (Bug#9509).
7837 (custom-face-state): Properly detect themed faces.
7838
eeddc531
CY
7839 * faces.el (face-spec-set): Stop supporting deprecated form of
7840 third arg.
7841
dcbf5805
MA
78422012-04-22 Michael Albinus <michael.albinus@gmx.de>
7843
7844 Move functions from C to Lisp. Make non-blocking method calls
7845 the default. Implement further D-Bus standard interfaces.
7846
ef24141c
SM
7847 * net/dbus.el (dbus-message-internal): Declare function.
7848 Remove unneeded function declarations.
dcbf5805
MA
7849 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7850 (dbus-message-type-method-return, dbus-message-type-error)
7851 (dbus-message-type-signal): Declare variables. Remove local
7852 definitions.
7853 (dbus-interface-dbus, dbus-interface-peer)
7854 (dbus-interface-introspectable, dbus-interface-properties)
7855 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7856 Adapt docstring.
7857 (dbus-interface-objectmanager): New defconst.
7858 (dbus-call-method, dbus-call-method-asynchronously)
7859 (dbus-send-signal, dbus-method-return-internal)
7860 (dbus-method-error-internal, dbus-register-service)
7861 (dbus-register-signal, dbus-register-method): New defuns, moved
7862 from dbusbind.c
7863 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7864 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7865 New defuns.
dcbf5805
MA
7866 (dbus-call-method-non-blocking): Make it an obsolete function.
7867 (dbus-unregister-object, dbus-unregister-service)
7868 (dbus-handle-event, dbus-register-property)
7869 (dbus-property-handler): Obey the new structure of
7870 `bus-registered-objects'.
7871 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7872 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7873 Use `dbus-call-method'.
7874
cf20dee0
CY
78752012-04-22 Chong Yidong <cyd@gnu.org>
7876
7877 * cus-edit.el (custom-commands, custom-reset-menu)
7878 (Custom-reset-standard): Tweak labels.
7879 (custom-reset-button-menu): Change default to t.
7880 (custom-buffer-create-internal): For the custom-reset-button-menu
7881 case, put the revert button first.
7882 (custom-group-subtitle): New face.
7883 (custom-group-value-create): Align docstring to a specific column.
7884
7885 * wid-edit.el (widget-documentation-link-add): Don't handle
7886 indentation in this function.
7887 (widget-documentation-string-indent-to): New function.
7888 (widget-documentation-string-value-create): Use it.
7889
7890 * autorevert.el (auto-revert):
7891 * epg-config.el (epg):
7892 * ibuffer.el (ibuffer):
7893 * mpc.el (mpc):
7894 * ses.el (ses):
7895 * eshell/eshell.el (eshell):
7896 * net/ange-ftp.el (ange-ftp):
7897 * progmodes/ebnf2ps.el (postscript):
7898 * progmodes/flymake.el (flymake):
7899 * progmodes/prolog.el (prolog):
7900 * progmodes/verilog-mode.el (verilog-mode):
7901 * progmodes/which-func.el (which-func):
7902 * term/xterm.el (xterm):
7903 * textmodes/picture.el (picture):
7904 * textmodes/tildify.el (tildify):
7905 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7906 customization buffers.
7907
583e23bd
AM
79082012-04-22 Alan Mackenzie <acm@muc.de>
7909
7910 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7911 Adding a ) can hide the resulting (..) from searches. Fix it.
7912 Bound the backward search to the position of the existing (.
7913
7dd51bf1
JB
79142012-04-21 Juanma Barranquero <lekktu@gmail.com>
7915
7916 * progmodes/verilog-mode.el (verilog-mode): Check whether
7917 which-func-modes is t before adding verilog-mode.
7918 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7919
d64a438f
LL
79202012-04-21 Leo Liu <sdl.web@gmail.com>
7921
7dd51bf1 7922 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7923
081e8d65
MV
79242012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7925
7926 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7927 filling of the last column of a table (Bug#5635).
7928 (woman-find-next-control-line): New arg, specifying an additional
7929 regexp component for the control line.
7930 (woman2-roff-buffer): Use it.
7931 (woman-break-table): New function.
7932 (woman2-TS): Use it.
7933
79342012-04-21 Chong Yidong <cyd@gnu.org>
7935
7936 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7937 (woman-horizontal-escapes, woman-negative-vertical-space)
7938 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7939 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7940
ed571ccb
SM
79412012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * minibuffer.el (completion-file-name-table): Complete user names.
7944
39773899
LL
79452012-04-20 Leo Liu <sdl.web@gmail.com>
7946
7947 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7948 and pcase-let*.
7949
de6ff46d
CY
79502012-04-20 Chong Yidong <cyd@gnu.org>
7951
7952 * server.el (server-execute): Respect initial-buffer-choice if it
7953 is a string and there are no files to open (Bug#2825).
7954 (server-create-window-system-frame, server-create-tty-frame):
7955 Don't switch buffers here.
2d0e8e61
CY
7956 (server-process-filter): Only try to open a window system frame if
7957 compiled with graphical support (Bug#8314).
de6ff46d 7958
54071013
DN
79592012-04-20 Dan Nicolaescu <dann@gnu.org>
7960
7961 * battery.el (battery-echo-area-format): Display remaining time
7962 for sysfs backend too (Bug#11269).
7963 (battery-linux-sysfs): Fix conditional for the charge.
7964
f30d612a
CY
79652012-04-20 Chong Yidong <cyd@gnu.org>
7966
c07a4c0b 7967 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7968 (gdb-inferior-io--init-proc): New function.
7969 (gdb-init-1): Use it.
7970 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7971 responsible for allocating a new pty and hooking it to gdb when
7972 the old pty gets an EIO due to process exit.
7973 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7974 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7975 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7976
2116e93c
EZ
79772012-04-20 Eli Zaretskii <eliz@gnu.org>
7978
7979 * window.el (window-min-size, window-sizable, window-min-delta)
7980 (window-max-delta, window--resizable, window-resizable)
7981 (window-total-size, window-full-height-p, window-full-width-p)
7982 (window-in-direction, window--resize-mini-window, window-resize)
7983 (window--resize-child-windows-normal)
7984 (window--resize-child-windows, window--resize-siblings)
7985 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7986 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7987
c07a4c0b 79882012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7989
ef24141c
SM
7990 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7991 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7992 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7993 pty process (Bug#11273).
7994 (gdb-update): New arg to suppress talking to the gdb process.
7995 (gdb-done-or-error): Use it.
7996 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7997 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7998 sentinel not being called.
7999
8000 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8001
d02766ab
CY
8002 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8003
c07a4c0b 80042012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8005
8006 * net/network-stream.el (open-network-stream): Doc fix.
8007
c07a4c0b 80082012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8009
8010 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8011
c07a4c0b 80122012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8013
8014 Ensure searching for keywords is case sensitive.
8015
8016 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8017 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8018 (c-defun-name, c-mark-function, c-cpp-define-name)
8019 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8020 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8021
ef24141c
SM
8022 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8023 Bind case-fold-search to nil.
f0f6bc35 8024
c07a4c0b 80252012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8026
8027 * mail/sendmail.el (mail-bury): Call return action with the right
8028 Rmail buffer (Bug#11242).
8029
9a864fa2
CY
8030 * server.el (server-process-filter): Handle corner case where both
8031 tty and nowait options are present (Bug#11102).
8032
539aa513
EZ
80332012-04-20 Eli Zaretskii <eliz@gnu.org>
8034
8035 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8036 (top level): Put into the executable the ident-style '$Id:' tag on
8037 windows-nt as well.
539aa513 8038
cfc7d5da
SM
80392012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * electric.el (electric-indent-post-self-insert-function): Check that
8042 electric-indent-mode is enabled in current buffer.
8043
5b01685c
JB
80442012-04-19 Juanma Barranquero <lekktu@gmail.com>
8045
8046 * imenu.el (imenu-progress-message): Restore; it is "used" in
8047 erc/erc-imenu.el and net/snmp-mode.el.
8048
4d6769e1
JB
80492012-04-19 Juanma Barranquero <lekktu@gmail.com>
8050
8051 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8052 (mouse-avoidance-nudge-mouse): Remove unused binding.
8053
8054 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8055
8056 * descr-text.el (describe-char):
8057 * progmodes/python.el (python-describe-symbol):
8058 Don't call `toggle-read-only', set `buffer-read-only'.
8059
8060 * imenu.el (imenu-default-goto-function): Mark unused args.
8061 (imenu-progress-message): Remove obsolete macro; all callers changed.
8062
8063 * subr.el (keymap-canonicalize): Remove unused binding.
8064 (read-passwd): Mark unused arg.
8065
8066 * tutorial.el (tutorial--display-changes): Remove unused binding.
8067 (tutorial--save-tutorial-to): Remove unused variable.
8068
8069 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8070 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8071 (package-generate-autoloads, package-menu--generate)
8072 (package-menu--find-upgrades): Remove unused bindings.
8073
8074 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8075 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8076 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8077 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8078 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8079 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8080 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8081 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8082 (cua-delete-char-rectangle): Mark unused args.
8083 (cua-align-rectangle): Remove unused binding.
8084
8085 * mail/rmail.el (compilation--message->loc)
8086 (epa--find-coding-system-for-mime-charset): Declare.
8087
8088 * net/dbus.el (dbus-register-service): Declare.
8089 (dbus-name-owner-changed-handler): Remove unused binding.
8090
8091 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8092 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8093 (nxml-scan-backward-within): Mark unused arg.
8094 (nxml-dynamic-markup-word): Remove unused binding.
8095
8096 * mouse.el (mouse-menu-major-mode-map):
8097 * emacs-lisp/authors.el (authors-scan-change-log)
8098 (authors-add-to-author-list):
8099 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8100 * emacs-lisp/smie.el (smie-auto-fill):
8101 * mail/sendmail.el (mail-bury):
8102 * mail/unrmail.el (unrmail):
8103 * net/tls.el (open-tls-stream):
8104 * textmodes/picture.el (picture-mouse-set-point):
8105 Remove unused bindings.
8106
8c8fc5df
MA
81072012-04-19 Michael Albinus <michael.albinus@gmx.de>
8108
8109 * net/tramp.el (tramp-action-password): Let-bind
8110 `enable-recursive-minibuffers' to t.
8111
a77b0ac9
SS
81122012-04-18 Sam Steingold <sds@gnu.org>
8113
8114 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8115 instead of 'string to accommodate values like [f11].
8116 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8117 * progmodes/gdb-mi.el: Likewise.
8118
12a106a9
LL
81192012-04-18 Leo Liu <sdl.web@gmail.com>
8120
8121 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8122 current buffer.
8123 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8124 LOCAL is nil.
8125
bc6494ef
CY
81262012-04-18 Chong Yidong <cyd@gnu.org>
8127
8128 * simple.el (line-move): Use forward-line if in batch mode
8129 (Bug#11053).
8130
c09c46b2
CS
81312012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8132
8133 * files.el (after-find-file): Do not try to add a final newline if
8134 the buffer is read-only (Bug#11156).
8135
5f6530ea
RS
81362012-04-17 Richard Stallman <rms@gnu.org>
8137
8138 * mail/rmail.el (rmail-start-mail):
8139 Pass (rmail-mail-return...) for the return-action.
8140 Pass (rmail-yank-current-message...) for the yank-action.
8141 (rmail-yank-current-message): New function.
8142 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8143 (rmail-reply): Likewise.
8144 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8145
8146 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8147 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8148 buffer, not newbuf.
8149
197b6f3c
JB
81502012-04-17 Juanma Barranquero <lekktu@gmail.com>
8151
8152 * server.el (server-ensure-safe-dir): Simplify.
8153
2311d8e5 81542012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8155
2311d8e5
GM
8156 * emacs-lisp/smie.el: Provide smarter auto-filling.
8157 (smie-auto-fill): New function.
8158 (smie-setup): Use it.
98fb480e 8159
2311d8e5
GM
8160 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8161
81622012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8163
8164 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8165 (comment-indent): Use it.
8166
2311d8e5 81672012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8168
8169 * ses.el: The overall change is to add cell renaming, that is
8170 setting fancy names for cell symbols other than name matching
8171 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8172 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8173 (ses-create-cell-variable): New defun.
2311d8e5 8174 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8175 (ses-relocate-formula): Relocate formulas only for cells the
8176 symbols of which are not renamed, i.e. symbols whose names do not
8177 match regexp "\\`[A-Z]+[0-9]+\\'".
8178 (ses-relocate-all): Relocate values only for cells the symbols of
8179 which are not renamed.
8180 (ses-load): Create cells variables as the (ses-cell ...) are read,
8181 in order to check row col consistency with cell symbol name only
8182 for cells that are not renamed.
8183 (ses-replace-name-in-formula): New defun.
8184 (ses-rename-cell): New defun.
4bdf2ad2 8185
fc72b15c
PO
81862012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8187
8188 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8189 New option (bug#11118).
8190 (perl-calculate-indent): Respect it.
8191
12e10e61
GM
81922012-04-17 Glenn Morris <rgm@gnu.org>
8193
8194 * dired-aux.el (dired-mark-read-string): Doc fix.
8195
30009afd
DA
81962012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8197
8198 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8199 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8200
41f03f4d
GM
82012012-04-17 Glenn Morris <rgm@gnu.org>
8202
8203 * mouse.el (mouse-drag-track):
8204 * speedbar.el (speedbar-frame-mode):
8205 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8206
f45f90f3
LL
82072012-04-16 Leo Liu <sdl.web@gmail.com>
8208
8209 * progmodes/python.el: Trivial cleanup.
8210
94ee8db5
GM
82112012-04-16 Glenn Morris <rgm@gnu.org>
8212
121b8917
GM
8213 * vc/vc.el (vc-string-prefix-p):
8214 * vc/pcvs-util.el (cvs-string-prefix-p):
8215 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8216 * mpc.el (mpc-string-prefix-p):
8217 Make all of these into obsolete aliases for string-prefix-p.
8218 Update callers.
8219 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8220
1197ecfa
GM
8221 * textmodes/two-column.el: Move custom options to the start.
8222 (frame-width): Remove compat definition.
8223 (2C-associate-buffer, 2C-dissociate):
8224 Use with-current-buffer rather than save-excursion.
8225 (2C-dissociate): Force a mode-line update.
8226 (2C-autoscroll): Use ignore-errors.
8227
099e7202
GM
8228 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8229 Autoload trivia.
8230
bf350d6a
GM
8231 * emacs-lisp/cl-extra.el (*random-state*):
8232 Remove unnecessary declaration.
8233
0e829eab
GM
8234 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8235
e3ad7552
GM
8236 * play/cookie1.el (cookie-snarf):
8237 Give an explicit error if input file cannot be read.
8238
68892d27
GM
8239 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8240
20f0c46d
GM
8241 * progmodes/perl-mode.el (c-macro-expand):
8242 Remove unnecessary autoload (it is in loaddefs.el).
8243
5a0978ce
GM
8244 * textmodes/picture.el (picture-desired-column)
8245 (picture-update-desired-column): Convert comments to doc-strings.
8246 (picture-substitute): Remove function.
8247 (picture-mode-map): Initialize in the defvar.
8248
6b955486
GM
8249 * woman.el: Remove eval-after-load for tar-mode.
8250 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8251 (woman-tar-extract-file): Autoload it.
8252
94ee8db5
GM
8253 * frame.el (automatic-hscrolling): Make this alias obsolete.
8254
177eca34
AM
82552012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8256
090bd7cb 8257 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8258 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8259 (ispell-dictionary-base-alist): Revert to original XEmacs
8260 friendly version for default. [:alpha:] will be added in
090bd7cb 8261 `ispell-set-spellchecker-params' if needed.
177eca34 8262
c505aaeb
CY
82632012-04-16 Chong Yidong <cyd@gnu.org>
8264
b19dd9d1 8265 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8266 (imagemagick-register-types): Use it.
8267 (imagemagick-types-inhibit): Add :set function. Allow new value
8268 of t to inhibit all types.
8269
8270 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8271 so we can preload it.
8272
8273 * loadup.el (fboundp): Preload regexp-opt, needed by
8274 imagemagick-register-types.
8275
60efac0f
CY
82762012-04-15 Chong Yidong <cyd@gnu.org>
8277
8278 * frame.el (scrolling): Remove nearly unused customization group.
8279
8280 * scroll-all.el (scroll-all-mode): Move to windows group.
8281
5dd1713e
CY
82822012-04-15 Chong Yidong <cyd@gnu.org>
8283
8284 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8285
e6fd457e
CY
82862012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8287
8288 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8289 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8290
e153c136
GM
82912012-04-15 Glenn Morris <rgm@gnu.org>
8292
8293 * simple.el (process-file-side-effects): Doc fix.
8294
e6fd457e 82952012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8296
8297 * international/mule-cmds.el (set-language-environment): Doc fix.
8298
3603c3b1
JB
82992012-04-14 Juanma Barranquero <lekktu@gmail.com>
8300
8301 * server.el (server-auth-key, server-generate-key): Doc fixes.
8302 (server-get-auth-key): Doc fix. Use `string-match-p'.
8303 (server-start): Reflow docstring.
8304
e6de100c
LI
83052012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8306
8307 * server.el (server-generate-key): `called-interactively-p'
8308 requires a parameter.
8309
29734c21
MN
83102012-04-14 Michal Nazarewicz <mina86@mina86.com>
8311
8312 * server.el (server-auth-key): New variable.
75f1671a 8313 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8314 (server-start): Use the new variable and functions to allow
8315 setting a permanent server key (bug#9423).
8316
d65c9521
LL
83172012-04-14 Leo Liu <sdl.web@gmail.com>
8318
8319 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8320
5ae255c7
PE
83212012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8322
8323 Spelling fixes.
8324 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8325 Emacs uses American spelling.
8326
d5e6342e
JB
83272012-04-14 Juanma Barranquero <lekktu@gmail.com>
8328
8329 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8330 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8331 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8332 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8333
ab036cd7
SM
83342012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * progmodes/which-func.el (which-func-modes): Change default.
8337
35dc09a1 83382012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8339
8340 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8341 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8342
35dc09a1 83432012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8344
8345 * custom.el (custom-theme-set-variables): Doc fix.
8346
35dc09a1 83472012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8348
8349 * international/mule.el (set-auto-coding-for-load): Doc fix.
8350
35dc09a1 83512012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8352
35dc09a1
GM
8353 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8354 imenu work again for Objective C Mode. Correct the *-index values,
8355 these having been disturbed by a previous change in 2011-08.
57f845ee 8356
0de3da9f
AM
8357 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8358 Correct two search limits.
8359
35dc09a1 83602012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8361
8362 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8363
35dc09a1 83642012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8365
8366 * international/characters.el: Fix sorting.
8367
35dc09a1 83682012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8369
8370 * international/characters.el: Add more missing Latin case pairs.
8371
35dc09a1 83722012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8373
8374 * files.el (dir-locals-set-class-variables): Doc fix.
8375
35dc09a1 83762012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8377
3f1b5bf8
EZ
8378 * international/characters.el: Add set-case-syntax-pair call for
8379 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8380 counterpart. (Bug#11209)
8381
9f847f41
EZ
8382 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8383
35dc09a1 83842012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8385
8386 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8387
35dc09a1 83882012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8389
35dc09a1
GM
8390 * textmodes/ispell.el (ispell-dictionary-base-alist):
8391 Add data for Hebrew.
e2627d21 8392
35dc09a1 83932012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8394
35dc09a1
GM
8395 * net/rcirc.el (rcirc-cmd-quit):
8396 Revert 2012-03-18 change (Bug#11192).
5c14e333 8397
35dc09a1 83982012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8399
8400 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8401
35dc09a1 84022012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8403
4517fe3a
SM
8404 * minibuffer.el (completion-in-region-mode-map):
8405 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8406
b472a594
VD
84072012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8408
8409 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8410
09b95ce3
MY
84112012-04-13 Masatake YAMATO <yamato@redhat.com>
8412
8413 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8414 to allow `C-M-f' and `C-M-b' to move to the nearest path
8415 separator (bug#9511).
8416
4b63a9ca
LI
84172012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8418
8419 * avoid.el: Require cl when compiling. And also move the
8420 `provide' to the end.
8421
7b55b8bf
TV
84222012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8423
8424 * avoid.el (mouse-avoidance-banish-position): New variable.
8425 (mouse-avoidance-banish-destination): Use it (bug#10165).
8426
adedaa1f
LL
84272012-04-13 Leo Liu <sdl.web@gmail.com>
8428
8429 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8430
70e74021
KB
84312012-04-13 Ken Brown <kbrown@cornell.edu>
8432
8433 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8434 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8435 (browse-url-filename-alist): For the same reason, don't modify
8436 file:// URLs on Cygwin.
8437
e75e89ba
SM
84382012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8439
8440 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8441 the region on shift if the binding is already shifted (bug#11221).
8442
82f289a4
GM
84432012-04-12 Glenn Morris <rgm@gnu.org>
8444
8445 * mail/mailpost.el: Move to obsolete/.
8446
d333dc4c
DA
84472012-04-12 Drew Adams <drew.adams@oracle.com>
8448
8449 * imenu.el (imenu--generic-function): Ignore invisible definitions
8450 (bug#10123).
8451
0d15b5ba
VD
84522012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8453
8454 * hexl.el (hexl-bits): New variable.
8455 (hexl-options): Mention the variable in the doc string.
75f1671a 8456 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8457 (hexl-mode): Mention the new variable.
75f1671a
JB
8458 (hexl-mode, hexl-current-address, hexl-current-address):
8459 Use the displen.
0d15b5ba
VD
8460 (hexl-ascii-start-column): New function.
8461 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8462 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8463
64a440db
AM
84642012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8465
8466 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8467 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8468 the encoding, as expected by hunspell.
8469
6decb6c2
SM
84702012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8471
8472 * battery.el (battery--linux-sysfs-regexp): New const.
8473 (battery-status-function): Use it. Remove yeeloong special case.
8474 (battery-yeeloong-sysfs): Remove.
8475 (battery-echo-area-format): Remove yeeloong special case.
8476
088be6fb
SM
84772012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8478
6622e416
SM
8479 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8480 Reported by Noah Friedman.
8481
088be6fb
SM
8482 * subr.el (read-passwd): Use read-string.
8483
b49f886e
LMI
84842012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8485
8486 * vcursor.el (vcursor-move): Increase the priority of the overlay
8487 (bug#9663).
8488
a63067fc
DD
84892012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8490
8491 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8492 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8493
ac3cf14a
WS
84942012-04-11 William Stevenson <yhvh2000@gmail.com>
8495
8496 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8497 define-minor-mode (bug#10760).
8498
c4fc691b 84992012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8500
4d6769e1 8501 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8502 that directories matching `grep-find-ignored-files' won't be
8503 pruned (bug#10351).
8504
af23e2e5
CY
85052012-04-11 Chong Yidong <cyd@gnu.org>
8506
8507 * startup.el (command-line): Remove support for long-obsolete
8508 variable font-lock-face-attributes.
8509
ab7ce8c1
GM
85102012-04-11 Glenn Morris <rgm@gnu.org>
8511
8512 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8513
de8c03dc
SM
85142012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * window.el (window--state-get-1): Obey window-point-insertion-type.
8517
050cc68b
LB
85182012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8519
8520 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8521 to previous function when point is on the first character of a
75f1671a 8522 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8523
a38c310c
GM
85242012-04-11 Glenn Morris <rgm@gnu.org>
8525
effed0c2
GM
8526 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8527 not just file-errors.
8528
a38c310c
GM
8529 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8530 (vc-bzr-sha1): Use internal sha1.
8531
0221e323
SM
85322012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8535
43956923
SG
85362012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8537
8538 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8539 that start in the middle of the line (bug#10496).
8540
6a8c9eaf
DN
85412012-04-10 Dan Nicolaescu <dann@gnu.org>
8542
8543 * battery.el (battery-linux-proc-acpi): Only one battery is
8544 discharged at a time, but that seems to confuse battery.el when
8545 computing `rate-type' for the battery not being discharged
8546 (bug#10332).
8547
1930bf5d
SM
85482012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8549
2a718f6f
SM
8550 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8551
599430d0
SM
8552 * international/quail.el: Use dolist and simplify.
8553 (quail-define-package, quail-update-keyboard-layout)
8554 (quail-define-rules): Use dolist.
8555 (quail-insert-kbd-layout, quail-get-translation): CSE.
8556
a2754b6c
SM
8557 * tmm.el: Use dolist, remove left over hook.
8558 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8559 Use dolist.
8560 (calendar-load-hook): Don't mess with it.
8561
1930bf5d
SM
8562 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8563 Use derived-mode-p. Run the diff asynchronously.
8564
9f67961c
LMI
85652012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8566
8567 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8568
2a8ce227
JB
85692012-04-10 Juanma Barranquero <lekktu@gmail.com>
8570
8571 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8572 (list-dynamic-libraries--loaded): New function.
8573 (list-dynamic-libraries--refresh): Use it.
8574
8f33b5f8
NW
85752012-04-10 Nathan Weizenbaum <nweiz@google.com>
8576
1930bf5d
SM
8577 * progmodes/python.el (python-fill-paragraph):
8578 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8579 disabled (bug#7018).
8580
b12f0439
L
85812012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8582
1930bf5d 8583 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8584 DOS/MS Windows for the Baltic languages. There are still plenty
8585 of texts written in this encoding/codepage (bug#6519).
b12f0439 8586
57c3bd01
GM
85872012-04-10 Glenn Morris <rgm@gnu.org>
8588
8589 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8590 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8591
6c3eab30
FA
85922012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8593
1930bf5d 8594 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8595 next-line "n" and previous-line "p" in order to make recentf more
8596 consistent with ibuffer, dired or org-mode (bug#9387).
8597
24d78a88
LMI
85982012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8599
bc72b5d9
LMI
8600 * image.el (put-image): Return the overlay created instead of the
8601 optional input string (bug#7834). Note that this may break code
8602 that is (for some reason or other) depending on `put-image'
8603 returning the string.
8604
bd2dba5a
LMI
8605 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8606
74beb59f
LMI
8607 * simple.el (zap-to-char): Allow zapping using input methods
8608 (bug#1580).
8609
24d78a88
LMI
8610 * textmodes/fill.el (fill-region): Leave point and mark where they
8611 were before filling (bug#5399).
8612
263f20cd
GM
86132012-04-09 Glenn Morris <rgm@gnu.org>
8614
8615 * version.el (emacs-bzr-get-version):
8616 Handle lightweight checkouts of local branches.
8617
58d1f797
AS
86182012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8619
263f20cd 8620 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8621
b4d3bc10
CY
86222012-04-09 Chong Yidong <cyd@gnu.org>
8623
8624 * custom.el (custom-variable-p): Return nil for non-symbol
8625 arguments instead of signaling an error.
8626 (user-variable-p): Obsolete alias for custom-variable-p.
8627
8628 * apropos.el (apropos-variable):
8629 * files-x.el (read-file-local-variable):
8630 * simple.el (set-variable):
8631 * woman.el (woman-mini-help):
8632 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8633
fd06db5d
GM
86342012-04-09 Glenn Morris <rgm@gnu.org>
8635
e5fcdb5e
GM
8636 * startup.el (normal-top-level): Don't look for leim-list.el
8637 in places where it will not be found. (Bug#910)
8638
fd06db5d
GM
8639 * international/mule-cmds.el (set-default-coding-systems):
8640 * files.el (normal-mode):
8641 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8642 This function was removed with ucs-tables.el in 2008.
8643
b39bb7e1
EZ
86442012-04-08 Eli Zaretskii <eliz@gnu.org>
8645
8646 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8647 ispell-encoding8-command to "-i", without a trailing space.
8648 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8649 separate command-line arguments, to specify the encoding, since
8650 that's how hunspell expects it.
8651
5c5b8e23
GM
86522012-04-08 Glenn Morris <rgm@gnu.org>
8653
8654 * loadup.el: Load bindings before cus-start.
8655 This reduces somewhat the number of "rogue" settings in emacs -Q.
8656
a1ed8b05
GM
86572012-04-07 Glenn Morris <rgm@gnu.org>
8658
8659 * version.el (emacs-bzr-get-version): New function.
dfae128a 8660 (emacs-bzr-version): New variable.
a1ed8b05
GM
8661 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8662 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8663
b142f158
EZ
86642012-04-07 Eli Zaretskii <eliz@gnu.org>
8665
dfae128a
GM
8666 * international/uni-bidi.el, international/uni-category.el:
8667 * international/uni-combining.el, international/uni-decimal.el:
8668 * international/uni-decomposition.el, international/uni-digit.el:
8669 * international/uni-lowercase.el, international/uni-mirrored.el:
8670 * international/uni-name.el, international/uni-numeric.el:
8671 * international/uni-titlecase.el, international/uni-uppercase.el:
8672 Update for Unicode 6.1.
b142f158 8673
9078ead6
EZ
86742012-04-07 Eli Zaretskii <eliz@gnu.org>
8675
8676 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8677
f23d2c7d
LMI
86782012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8679
8680 * window.el (shrink-window): Mention the `window-min-height'
8681 variable in the doc string.
8682
0a0a3573
BG
86832012-04-05 Bastien Guerry <bzg@altern.org>
8684
8685 * color.el (color-lighten-name): Fix typo.
8686
e5248ac9
SM
86872012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8688
8689 * server.el (server--on-display-p): New function.
8690 (server--on-display-p): Use it.
8691
b4243e22
GV
86922012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8693
8694 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8695 (bug#11145).
8696
305d9f44
SM
86972012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * comint.el (comint--common-quoted-suffix): Check string boundary
8700 before comparing (bug#11158).
8701 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8702
3d439cd1
CY
87032012-04-04 Chong Yidong <cyd@gnu.org>
8704
321cc491
CY
8705 * minibuffer.el (completion-extra-properties): Doc fix.
8706
3d439cd1
CY
8707 * subr.el (delayed-warnings-hook): Doc fix.
8708
2d562c0f
DU
87092012-04-04 Daiki Ueno <ueno@unixuser.org>
8710
8711 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8712 selection (Bug#11159).
8713 (epa-insert-keys): Inform that the default public key will be
8714 exported if no key is selected.
8715
4443f204
RS
87162012-04-04 Richard Stallman <rms@gnu.org>
8717
8718 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8719
529c06b6
CY
87202012-04-03 Chong Yidong <cyd@gnu.org>
8721
8722 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8723 mail-insert-file, not its obsolete alias mail-attach-file.
8724
66b907dc
MA
87252012-04-03 Michael Albinus <michael.albinus@gmx.de>
8726
8727 * notifications.el (notifications-notify): Fix docstring.
8728
c0ea195d
GM
87292012-04-02 Glenn Morris <rgm@gnu.org>
8730
8731 * emacs-lisp/authors.el (authors-aliases): Another addition.
8732
5ca64e00
MA
87332012-04-02 Michael Albinus <michael.albinus@gmx.de>
8734
8735 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8736 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8737 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8738
42ee526b
CY
87392012-04-01 Chong Yidong <cyd@gnu.org>
8740
8741 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8742 Handle root directory properly.
8743 (copy-directory): Caller changed.
8744
8745 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8746 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8747
0b021094
GM
87482012-03-31 Glenn Morris <rgm@gnu.org>
8749
40f86458
GM
8750 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8751
7019c177
GM
8752 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8753
a1daddd6
GM
8754 * calendar/calendar.el (calendar-window-list)
8755 (calendar-hide-window): Restore. (Bug#11140)
8756 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8757
0b021094
GM
8758 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8759
40311efc
TV
87602012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8761
8762 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8763 Check if file is a symlink (Bug#10489).
8764
8765 * files.el (copy-directory): Likewise.
8766
5319014e
CY
87672012-03-30 Chong Yidong <cyd@gnu.org>
8768
8769 * image.el (imagemagick-types-inhibit)
8770 (imagemagick-register-types): Doc fix.
8771
935d1290
AM
87722012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8773
090bd7cb 8774 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8775 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8776 and treats ~word as ordinary words in pipe mode.
935d1290 8777
61c6e8fd
GM
87782012-03-30 Glenn Morris <rgm@gnu.org>
8779
8780 * tutorial.el (help-with-tutorial): Ensure local variables don't
8781 happen to make the buffer read-only. (Bug#11127)
8782
81fdff00
SM
87832012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8786 (perl-calculate-indent): Return `noindent' in strings.
8787
6e7a6ec0
SS
87882012-03-28 Sam Steingold <sds@gnu.org>
8789
8790 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8791 instead of the broken adhockery which does not prevent calendar
8792 buffers from being displayed at random after exit.
8793 (calendar-window-list, calendar-hide-window): Remove the broken
8794 adhockery.
8795
fee88ca0
GM
87962012-03-28 Glenn Morris <rgm@gnu.org>
8797
8798 * replace.el (query-replace-map): Doc fix.
8799
38de3354
AS
88002012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8801
8802 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8803 contents. (Bug#11109)
8804
b973155e
SM
88052012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8808 (bug#11077).
8809 (avl-tree--check, avl-tree--check-node): New funs.
8810
dcb6e7b3
MR
88112012-03-27 Martin Rudalics <rudalics@gmx.at>
8812
8813 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8814 (switch-to-prev-buffer, switch-to-next-buffer):
8815 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8816 showing a buffer already is done on the same frame.
8817
b4fa35fa
GM
88182012-03-27 Glenn Morris <rgm@gnu.org>
8819
8820 * startup.el (mail-host-address): Doc fix.
8821
f9210e18
SM
88222012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8825 than 197 variables.
8826
c0bf7753
AF
88272012-03-26 Ami Fischman <ami@fischman.org>
8828
8829 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8830
33da7b16
GM
88312012-03-26 Glenn Morris <rgm@gnu.org>
8832
02243d9d
GM
8833 * files.el (save-buffers-kill-emacs): Doc fix.
8834
33da7b16
GM
8835 * startup.el (normal-top-level, command-line, command-line-1):
8836 Give them doc strings.
8837
e5a69fd0
EZ
88382012-03-25 Eli Zaretskii <eliz@gnu.org>
8839
8840 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8841 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8842
9a69676a
CY
88432012-03-25 Chong Yidong <cyd@gnu.org>
8844
4125cb8b
CY
8845 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8846 theme if it was previously enabled before (Bug#11031).
8847
dd470960
CY
8848 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8849 spec with custom-face-get-current-spec if its :shown-value is not
8850 determined yet (Bug#9337).
4125cb8b 8851 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8852
9a69676a
CY
8853 * button.el (button-at): Minor addition to docstring.
8854
6e7e90fa
SL
88552012-03-24 Simon Leinen <simon.leinen@gmail.com>
8856
8857 * vc/vc.el (vc-merge): Fix a prompt.
8858
f06e2758
CY
88592012-03-24 Chong Yidong <cyd@gnu.org>
8860
8861 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8862 point (Bug#9623).
8863
6e7e90fa
SL
8864 * button.el (button-at): Minor addition to docstring.
8865
b9d0879b
SM
88662012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8867
8868 * newcomment.el (comment-choose-indent): No space after BOL.
8869
e71cebb3
SS
88702012-03-22 Sam Steingold <sds@gnu.org>
8871
8872 * window.el (switch-to-prev-buffer): Revert last patch because the
8873 bug turned out to be an advertised feature (Elisp manual 28.14).
8874
335aff35
GM
88752012-03-22 Glenn Morris <rgm@gnu.org>
8876
8877 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8878 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8879
c676576a
LMI
88802012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8881
8882 * net/network-stream.el (network-stream-open-starttls): Make error
8883 message under Windows be less misleading.
8884
126f3d39
LW
88852012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8886
8887 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8888 understands (bug#9942).
8889
64fee311
CY
88902012-03-22 Chong Yidong <cyd@gnu.org>
8891
8892 * simple.el (end-of-visible-line): Handle return value of
8893 next-single-property-change properly (Bug#9371).
8894
a640d29a
KH
88952012-03-22 Kenichi Handa <handa@m17n.org>
8896
8897 * international/quail.el (quail-insert-kbd-layout): Fix previous
8898 change. To avoid unwanted bidi reordering, use
8899 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8900
39675016
DG
89012012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8902
8903 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8904 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8905 (ruby-beginning-of-indent): Be more careful with the difference
8906 between word-boundary and symbol boundary.
8907 (ruby-mode-syntax-table): Make : a symbol constituent.
8908
0a6934fc 89092012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8910
3d008e4f
SM
8911 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8912
0a6934fc
SM
89132012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8914
af67c9d7
SM
8915 * progmodes/etags.el (tags-completion-at-point-function):
8916 Improve last fix.
8917
1acad97c
SM
8918 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8919
e298b5da
SS
89202012-03-21 Sam Steingold <sds@gnu.org>
8921
8922 * progmodes/etags.el (tags-completion-at-point-function):
8923 Avoid the error when point is inside the pattern.
8924
91d82a70
JY
89252012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8926
8927 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8928 line (Bug#10855).
8929
69188b79
CY
89302012-03-21 Drew Adams <drew.adams@oracle.com>
8931
8932 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8933
99fc91fe
AK
89342012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8935
8936 * ido.el (ido-set-current-directory, ido-read-internal)
8937 (ido-choose-completion-string, ido-completion-help): Handle nil
8938 value of ido-completion-buffer (Bug#11008).
8939
087bbb4c
SS
89402012-03-21 Sam Steingold <sds@gnu.org>
8941
8942 * window.el (switch-to-prev-buffer): Do not switch to a visible
8943 window previous buffer, just like with the frame previous buffers.
8944
fb5b8aca
CY
89452012-03-21 Chong Yidong <cyd@gnu.org>
8946
8947 * faces.el (make-face, make-empty-face, copy-face):
8948 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8949 Doc fixes.
8950
dc9924b8
SM
89512012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8952
8953 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8954 (widget-complete): Remove broken use of it.
8955
f0bcceb9
CY
89562012-03-20 Chong Yidong <cyd@gnu.org>
8957
dc9924b8
SM
8958 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8959 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8960 characters.
8961
ee52ebf3
TH
89622012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8963
8964 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8965 to draw rectangles, not squares. (Regression introduced by revno
8966 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8967
4c5779ab
CY
89682012-03-18 Chong Yidong <cyd@gnu.org>
8969
8970 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8971 it is not yet defined (for temacs).
8972
15360934
LL
89732012-03-18 Leo Liu <sdl.web@gmail.com>
8974
735135f9
PE
8975 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8976 prefix.
15360934 8977
d9a8eb66
EZ
89782012-03-17 Eli Zaretskii <eliz@gnu.org>
8979
8980 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8981 (ispell-choices-win-default-height, ispell-silently-savep)
8982 (ispell-dictionary-alist, ispell-encoding8-command)
8983 (ispell-check-version, ispell-aspell-find-dictionary)
8984 (ispell-valid-dictionary-list, ispell-words-keyword)
8985 (ispell-get-word, ispell-internal-change-dictionary)
8986 (ispell-region, ispell-skip-region-list)
8987 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8988 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8989 (ispell-message-text-end, ispell-message)
8990 (ispell-buffer-local-parsing): Doc fix.
8991
f02ff80d
J
89922012-03-13 Jambunathan K <kjambunathan@gmail.com>
8993
8994 * htmlfontify.el: Add support for code block fontification for ODT
8995 export (Bug #9914).
8996 (hfy-optimisations): Define new option
8997 `body-text-only'
8998 (hfy-fontify-buffer): Honor above setting.
8999 (hfy-begin-span, hfy-end-span): New routines factored out form
9000 `hfy-fontify-buffer'.
9001 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9002 that permit insertion of custom tags.
9003 (hfy-fontify-buffer): Use above handlers.
9004 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9005 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9006 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9007 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9008 bind a special variable `hfy-user-sheet-assoc'.
9009 (htmlfontify-string): New defun.
9010 (hfy-compile-face-map): Make sure that the last char in the
9011 buffer is correctly fontified.
9012 (hfy-face-resolve-face): Whitespace only change.
9013
9ac7a13f
EZ
90142012-03-17 Eli Zaretskii <eliz@gnu.org>
9015
9016 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9017 message more clear.
9018
e2b5bdd7
LL
90192012-03-16 Leo Liu <sdl.web@gmail.com>
9020
9021 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9022
2e492df3
AM
90232012-03-16 Alan Mackenzie <acm@muc.de>
9024
9025 Further optimise the handling of large macros.
9026
9027 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9028 limit to a call of `c-literal-limits'.
9029 (c-determine-+ve-limit): New function.
dc9924b8
SM
9030 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9031 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9032 In CASE 5B, restrict a search limit to 500.
9033 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9034
9035 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9036 Restrict macro bounds to +-500 from after-change's BEG END.
9037
50e94f0c
LL
90382012-03-16 Leo Liu <sdl.web@gmail.com>
9039
9040 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9041
6f09f6ed
AH
90422012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9043
9044 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9045 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9046
c7e73d51
GM
90472012-03-16 Glenn Morris <rgm@gnu.org>
9048
da986230
GM
9049 * view.el (view-buffer, view-buffer-other-window)
9050 (view-buffer-other-frame): Doc fixes re special mode-class.
9051
0835f01e
GM
9052 * subr.el (eval-after-load): If named feature is provided not from
9053 a file, run after-load forms. (Bug#10946)
9054
c7e73d51
GM
9055 * calendar/calendar.el (calendar-insert-at-column):
9056 Handle non-unit-width characters a bit better. (Bug#10978)
9057
3f2eafd1
CY
90582012-03-15 Chong Yidong <cyd@gnu.org>
9059
9060 * emacs-lisp/ring.el (ring-extend): New function.
9061 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9062
9063 * comint.el (comint-read-input-ring)
9064 (comint-add-to-input-history): Grow comint-input-ring lazily.
9065
103af3fe
SM
90662012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9067
663b1677
SM
9068 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9069 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9070
103af3fe
SM
9071 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9072 (imenu-add-to-menubar): Don't add a redundant index.
9073 (imenu-update-menubar): Handle a dynamically composed keymap.
9074
899cb7cb
KY
90752012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9076
9077 * mail/sendmail.el (mail-encode-header):
9078 Bind rfc2047-encode-encoded-words to nil.
9079
3809f91d
GM
90802012-03-13 Glenn Morris <rgm@gnu.org>
9081
9082 * calendar/calendar.el (calendar-string-spread):
9083 Handle non-unit-width characters a bit better. (Bug#10978)
9084
9e345a01
LL
90852012-03-13 Leo Liu <sdl.web@gmail.com>
9086
9087 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9088 directory and file as argument (Bug#10822).
9089
4a07df36
KS
90902012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9091
9092 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9093 For dynamically generated code, follow $PC.
9094 (gdb-disassembly-handler-custom): Handle no function name case.
9095
4aaa9356
TL
90962012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9097
9098 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9099 * emulation/ws-mode.el (ws-query-replace):
9100 * sort.el (sort-regexp-fields):
9101 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9102
225979da
SM
91032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * dabbrev.el: Fix cycle completion order (bug#10963).
9106 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9107 (dabbrev-completion): Don't use an obarray; provide
9108 a cycle-sort-function.
9109
e2f1fdab
LL
91102012-03-12 Leo Liu <sdl.web@gmail.com>
9111
dc9924b8 9112 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9113 (kill-do-not-save-duplicates): Doc fix.
9114
b19490ed
SM
91152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9116
9117 * dabbrev.el: Fix cycle completion (bug#10963).
9118 Use lexical binding and wrap to 80 columns.
9119 (dabbrev-completion): Delay computing the list of completions.
9120
4b05d722
KH
91212012-03-12 Kenichi Handa <handa@m17n.org>
9122
9123 * international/quail.el (quail-insert-kbd-layout): Surround each
9124 row by LRO and PDF instead of inserting many LRMs. Pad the left
9125 and right of each non-spacing marks. Insert invisible space
9126 between lower and upper characters to prevent composition.
9127
dbbc2e69
SM
91282012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * minibuffer.el (minibuffer-complete): Don't get confused when the
9131 function is run twice via different commands (bug#10958).
9132 (complete-with-action): Fix docstring.
9133
292112ed
CY
91342012-03-12 Chong Yidong <cyd@gnu.org>
9135
5d1ac394
CY
9136 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9137 (nxml-completion-at-point-function): New function.
9138 (nxml-mode): Use it.
9139 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9140
292112ed
CY
9141 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9142 Load generated autoloads file before byte compiling (Bug#10970).
9143 (package--make-autoloads-and-compile): New helper fun.
9144
4098f8f7
CS
91452012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9146
9147 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9148
8f754691
MA
91492012-03-11 Michael Albinus <michael.albinus@gmx.de>
9150
9151 * autorevert.el (auto-revert-handler): Ensure, that
9152 file-readable-p is applied only for local files or in
9153 auto-revert-tail-mode.
9154
e29ab36b
AS
91552012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9156
dbbc2e69
SM
9157 * server.el (server-eval-at): Handle non-tcp connections.
9158 Decode result string.
ad0bf5b6 9159
e29ab36b
AS
9160 * server.el (server-msg-size): New constant.
9161 (server-reply-print): New function.
9162 (server-eval-and-print): Use it.
9163 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9164 Handle -print-nonl.
9165
de5939ba
CS
91662012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9167
9168 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9169 (Bug#10987).
9170
0c93eabf
CY
91712012-03-11 Chong Yidong <cyd@gnu.org>
9172
397a688f
CY
9173 * simple.el (goto-line): Doc fix (Bug#9938).
9174
2cc775f9
CY
9175 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9176
0c93eabf
CY
9177 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9178 when finished (Bug#10963).
9179
c491fa41
MR
91802012-03-11 Martin Rudalics <rudalics@gmx.at>
9181
9182 * window.el (split-window-below): Fix bug in case where
9183 split-window-keep-point is nil (Bug#10971).
9184
300e8fa5
JL
91852012-03-11 Juri Linkov <juri@jurta.org>
9186
9187 * replace.el (replace-highlight): Set isearch-word to nil
9188 unconditionally. (Bug#10887)
9189
dbf6c5a1
EZ
91902012-03-10 Eli Zaretskii <eliz@gnu.org>
9191
9192 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9193 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9194 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9195 (mairix-widget-create-query): Add usage information about mairix
9196 search forms: negating words, searching for substrings, etc.
9197
b9e501de
JP
91982012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9199
9200 * international/fontset.el (font-encoding-alist): Add an entry for
9201 ksx1001 (Bug#5667).
9202
92795c91
RS
92032012-03-10 Richard Stallman <rms@gnu.org>
9204
1694e6c1
RS
9205 * mail/sendmail.el (mail-encode-header):
9206 Set rfc2047-encode-encoded-words.
9207
607e8555
RS
9208 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9209
de3bc99a
RS
9210 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9211 view buffer means not swapped.
9212 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9213 (rmail-write-region-annotate): Error if real text has disappeared.
9214
92795c91
RS
9215 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9216
699bd04e
CY
92172012-03-10 Chong Yidong <cyd@gnu.org>
9218
9219 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9220 * emulation/cua-base.el (cua--init-keymaps):
9221 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9222
570a1714
MR
92232012-03-10 Martin Rudalics <rudalics@gmx.at>
9224
dbbc2e69
SM
9225 * speedbar.el (speedbar-unhighlight-one-tag-line):
9226 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9227
82dcf4e4
CY
92282012-03-10 Chong Yidong <cyd@gnu.org>
9229
7a2c7ca7
CY
9230 * minibuffer.el (completion-in-region, completion-help-at-point):
9231 Give the completion field overlay a high priority (Bug#6830).
9232
82dcf4e4
CY
9233 * dired.el (dired-goto-file): Recognize absolute file name
9234 listings (Bug#7126).
9235 (dired-goto-file-1): New helper function.
9236 (dired-toggle-read-only): Inhibit warnings.
9237
052e28ac
MA
92382012-03-09 Michael Albinus <michael.albinus@gmx.de>
9239
75f1671a 9240 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9241 there are no properties.
9242
95d5e396
LL
92432012-03-09 Leo Liu <sdl.web@gmail.com>
9244
9245 * savehist.el (savehist-printable): Stricter check for string
9246 value (Bug#10937).
9247
3f018d6d
EZ
92482012-03-09 Eli Zaretskii <eliz@gnu.org>
9249
dbbc2e69
SM
9250 * mail/smtpmail.el (smtpmail-send-it):
9251 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9252 valid mbox format.
9253
f7fd3d79
GM
92542012-03-09 Glenn Morris <rgm@gnu.org>
9255
9256 * files.el (dir-locals-find-file):
9257 Don't check result is regular, readable.
9258 (dir-locals-read-from-file): Demote errors.
9259
6ff6e72f
EZ
92602012-03-08 Eli Zaretskii <eliz@gnu.org>
9261
dbbc2e69
SM
9262 * international/quail.el (quail-insert-kbd-layout):
9263 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9264 layout cell, to prevent their reordering by bidi display engine.
9265 For details, see the discussion in
9266 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9267
9cec7834
AM
92682012-03-08 Alan Mackenzie <acm@muc.de>
9269
9270 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9271 the starting position; make it extend the marked region when
9272 invoked repeatedly - all under appropriate circumstances.
9273 Fixes bugs #5525, #10906.
9274
9a40b8d4
GM
92752012-03-08 Glenn Morris <rgm@gnu.org>
9276
9277 * files.el (locate-dominating-file, dir-locals-find-file):
9278 Undo 2012-03-06 change.
9279
7a08ed35
EZ
92802012-03-07 Eli Zaretskii <eliz@gnu.org>
9281
dbbc2e69
SM
9282 * international/quail.el (quail-help):
9283 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9284 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9285 for the reason.
9286
5aca4f71 92872012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9288
9289 Avoid superfluous registering of signals. (Bug#10807)
9290
9291 * notifications.el (notifications-on-action-object)
9292 (notifications-on-close-object): New defvars.
9293 (notifications-on-action-signal, notifications-on-closed-signal):
9294 Unregister the signal if not needed any longer.
9295 (notifications-notify): Register `notifications-action-signal' or
9296 `notifications-closed-signal', if :on-action or :on-close has been
9297 passed as argument.
9298
78e8b10a
CY
92992012-03-07 Chong Yidong <cyd@gnu.org>
9300
9301 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9302 non-X platforms.
9303
69481eb8
GM
93042012-03-06 Glenn Morris <rgm@gnu.org>
9305
9306 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9307 (x-disown-selection-internal, x-get-selection-internal):
9308 Doc fix (add arglist signatures). (Bug#10783)
9309
133b8e11
KS
93102012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9311
9312 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9313 Handle breakpoints with no "type".
9314
99a83064
GM
93152012-03-06 Glenn Morris <rgm@gnu.org>
9316
9317 * files.el (locate-dominating-file): Add optional predicate argument.
9318 (dir-locals-find-file): Make use of above change.
9319
17798e78
TTN
93202012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9321
9322 * info.el (Info-insert-dir): Also try "dir.gz".
9323
eb182446
GM
93242012-03-06 Glenn Morris <rgm@gnu.org>
9325
8f2114ee
GM
9326 * files.el (dir-locals-find-file):
9327 Ignore non-readable or non-regular files. (Bug#10928)
9328
eb182446
GM
9329 * files.el (locate-dominating-file): Doc fix.
9330
24679323
AS
93312012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9332
9333 * calendar/calendar.el (calendar-set-mode-line):
9334 `getenv' returns a string. (Bug#10951)
9335
01d972a9
LL
93362012-03-05 Leo Liu <sdl.web@gmail.com>
9337
109aa8a9
LL
9338 * simple.el (backward-delete-char-untabify): Constrain point to
9339 field (Bug#10939).
9340
01d972a9
LL
9341 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9342
10607bea
CY
93432012-03-05 Chong Yidong <cyd@gnu.org>
9344
9345 * simple.el (count-words): If called from Lisp, return the word
9346 count, for symmetry with `count-lines'. Arglist changed.
9347 (count-words--message): Args changed. Consolidate counting code
9348 from count-words and count-words-region.
9349 (count-words-region): Caller changed.
9350 (count-lines-region): Make it an obsolete alias.
9351
5dd11cfe
TH
93522012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9353
9354 * saveplace.el (save-place-to-alist)
9355 (save-place-ignore-files-regexp): Allow value nil to disable this
9356 feature.
9357
c349f4e6
CY
93582012-03-04 Chong Yidong <cyd@gnu.org>
9359
9360 * faces.el (face-spec-reset-face): For the default face, reset the
9361 attributes to default values (Bug#10748).
9362
e627be4c
LMI
93632012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9364
9365 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9366 previous patch: Check `message-send-mail-function', and not the
9367 default function (bug#10897).
9368
ebeabff4
MA
93692012-03-04 Michael Albinus <michael.albinus@gmx.de>
9370
a41a6cf4
MA
9371 * notifications.el (notifications-on-action-signal)
9372 (notifications-on-closed-signal): Check for unique service name of
9373 incoming event. Fix error in removing entry.
ebeabff4 9374 (top): Register for signals with wildcard service name.
a41a6cf4 9375 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9376
c1ca42b4
CY
93772012-03-04 Chong Yidong <cyd@gnu.org>
9378
dc9924b8 9379 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9380
ea16568d
GM
93812012-03-04 Glenn Morris <rgm@gnu.org>
9382
9383 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9384 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9385 (expand-abbrev, define-abbrev-table): Doc fixes.
9386
fbae4637
LMI
93872012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9388
9389 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9390 `message-default-send-mail-function' and not `send-mail-function'
9391 when doing the prompting for `sendmail-query-once' before sending
9392 in Message buffers (bug#10897).
9393
a1e7225c
LMI
9394 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9395 This is inconsistent with all the other stream functions, which leave
9396 the setting up to the higher levels (if so wanted) (bug#10931).
9397
56d093a9
AM
93982012-03-02 Alan Mackenzie <acm@muc.de>
9399
9400 Depessimize the handling of very large macros.
9401
9402 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9403 (c-macro-cache-syntactic): New variables to implement a one
9404 element macro cache.
9405 (c-invalidate-macro-cache): New function.
9406 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9407 Adapt to use the new cache.
9408 (c-state-safe-place): Use better the cache of safe positions.
9409 (c-state-semi-nonlit-pos-cache)
9410 (c-state-semi-nonlit-pos-cache-limit):
9411 New variables for...
9412 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9413 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9414 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9415 Use c-state-semi-safe-place.
56d093a9 9416
dbbc2e69
SM
9417 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9418 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9419
817e5c3d
MA
94202012-03-02 Michael Albinus <michael.albinus@gmx.de>
9421
dbbc2e69
SM
9422 * jka-compr.el (jka-compr-call-process):
9423 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9424 not remote.
9425
a032a702
MA
94262012-03-01 Michael Albinus <michael.albinus@gmx.de>
9427
9428 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9429 access of FILE2, if FILE1 does not exist.
9430
99a54f21
MA
9431 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9432 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9433
9434 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9435 Add "PAGER=" to `process-environment'.
9436
f6561e1f
MM
94372012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9438
9439 * progmodes/sql.el: Bug fix
9440 (sql-get-login-ext): Save login values in globals.
9441 (sql-get-login): Use new version of `sql-get-login-ext'.
9442 (sql-interactive-mode): Set global `sql-connection' to nil.
9443 (sql-connect): Set global values for connection.
9444 (sql-product-interactive): Save global values as buffer local.
9445
2d44d9cc
LL
94462012-02-29 Leo Liu <sdl.web@gmail.com>
9447
9448 * abbrev.el (define-abbrevs): Reset sys to nil.
9449
96b49301 94502012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9451
bf7f9bc5
JB
9452 * files.el (file-equal-p): Rename from `files-equal-p'.
9453 Return nil when one or both files don't exist.
96b49301 9454 (file-subdir-of-p): Now only top directory must exists,
9455 return nil if it doesn't.
bf7f9bc5
JB
9456 (copy-directory): No need to test with `file-subdir-of-p' after
9457 creating dir.
9458 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9459 to `file-equal-p'.
96b49301 9460
44e97401
GM
94612012-02-28 Glenn Morris <rgm@gnu.org>
9462
9463 * shell.el (shell-mode):
9464 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9465 * play/landmark.el (landmark-font-lock-face-O):
9466 * play/handwrite.el (handwrite):
9467 * play/gomoku.el (gomoku-O):
9468 * net/browse-url.el (browse-url-browser-display):
9469 * international/mule.el (define-charset):
9470 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9471 * filesets.el (filesets-find-file-delay):
9472 * eshell/em-xtra.el (eshell-xtra):
9473 * eshell/em-unix.el (eshell-grep):
9474 * emulation/viper.el (viper-mode):
9475 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9476 * emacs-lisp/easymenu.el (easy-menu-define):
9477 * calendar/timeclock.el (timeclock-use-display-time):
9478 * bs.el (bs-mode):
9479 * bookmark.el (bookmark-save-flag):
9480 Doc fix (standardize possessive apostrophe usage).
9481
c98c6276
CY
94822012-02-27 Chong Yidong <cyd@gnu.org>
9483
bf7f9bc5
JB
9484 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9485 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9486
c98c6276
CY
9487 * font-lock.el (font-lock-specified-p): Rename from
9488 font-lock-spec-present. Callers changed.
9489
9c62cd04 94902012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9491
bf7f9bc5
JB
9492 * emacs-lisp/package.el (package-compute-transaction):
9493 Handle holding a package version to t in package-load-list.
8ac9e529 9494
530739c9
MA
94952012-02-26 Michael Albinus <michael.albinus@gmx.de>
9496
9497 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9498 (tramp-get-inode, tramp-get-device): Use cached values.
9499
487915d7
AM
95002012-02-26 Alan Mackenzie <acm@muc.de>
9501
9502 Check there is a font-lock specification before doing initial
9503 fontification.
9504
9505 * font-core.el (font-lock-mode): Move the conditional from
9506 :after-hook to font-lock-initial-fontify.
9507 (font-lock-default-function): Move the check for a specification
9508 to font-lock-spec-present.
9509
dc9924b8 9510 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9511 (font-lock-spec-present): New function.
9512
4fd96557
JB
95132012-02-26 Jim Blandy <jimb@red-bean.com>
9514
9515 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9516 (gdb-send): Apply it to the operand of the '-interpreter-exec
9517 console' command, so that we can pass arguments with (say) quotes
9518 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9519
9a4888c0
CY
95202012-02-26 Chong Yidong <cyd@gnu.org>
9521
07498861
CY
9522 * help-fns.el (describe-function-1): Clarify description of
9523 remapping (Bug#10844).
9524
9a4888c0
CY
9525 * files.el (files-equal-p): Doc fix.
9526 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9527 and quit the loop once a mismatch is found.
9528
ea8fb88d
JB
95292012-02-25 Juanma Barranquero <lekktu@gmail.com>
9530
9531 * bs.el (bs--show-with-configuration): Don't throw an error
9532 if the window cannot be split; otherwise, subsequent calls to
9533 bs-show fail, restoring a stale window config. (Bug#10882)
9534
525795c1
JD
95352012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9536
9537 * term/ns-win.el (global-map): Bind ns-drag-file to
9538 ns-find-file (Bug#5855, Bug#10050).
9539
f008086f
AS
95402012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9541
9542 * calendar/parse-time.el (parse-time-string): Allow extractor to
9543 return nil.
9544
a3fcfa99
MA
95452012-02-25 Michael Albinus <michael.albinus@gmx.de>
9546
91027d08
JB
9547 * net/tramp.el (tramp-file-name-for-operation):
9548 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9549
9550 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9551 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9552 Add COPY-CONTENTS argument.
a3fcfa99 9553
67b0de11
CY
95542012-02-25 Chong Yidong <cyd@gnu.org>
9555
9556 Add custom groups for VC backends, for consistency with vc-bzr.
9557
9558 * vc/vc-arch.el (vc-arch):
9559 * vc/vc-cvs.el (vc-cvs):
9560 * vc/vc-git.el (vc-git):
9561 * vc/vc-hg.el (vc-hg):
9562 * vc/vc-mtn.el (vc-mtn):
9563 * vc/vc-rcs.el (vc-rcs):
9564 * vc/vc-sccs.el (vc-sccs):
9565 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9566 All relevant defcustoms reassigned.
9567
3c9dfce6
CY
95682012-02-25 Chong Yidong <cyd@gnu.org>
9569
1339bf43
CY
9570 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9571
3c9dfce6
CY
9572 * term/x-win.el (x-initialize-window-system): Reduce default for
9573 x-selection-timeout to 5 seconds (Bug#8869).
9574
25b2e303 95752012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9576
ec70a47d
GM
9577 * files.el (files-equal-p, file-subdir-of-p): New functions.
9578 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9579 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9580 * dired-aux.el (dired-copy-file-recursive): Same.
9581 (dired-create-files): Modify destination when source is equal to
9582 dest when copying files.
53a46cd0 9583 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9584
914260cd
MA
95852012-02-24 Michael Albinus <michael.albinus@gmx.de>
9586
9587 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9588 (Bug#10874)
9589
2cb228f7
AM
95902012-02-23 Alan Mackenzie <acm@muc.de>
9591
9592 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9593 parameter "after-hook:" to allow the expansion to run code after
9594 the execution of the mode hooks.
9595
9596 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9597 from font-lock-mode-internal.
2cb228f7 9598
91027d08 9599 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9600 :after-hook.
9601
8f0fde21
SM
96022012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9603
3e88618b
SM
9604 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9605 (completion--cache-all-sorted-completions): New function.
9606 (completion-all-sorted-completions): Use it.
9607 (completion--do-completion, minibuffer-force-complete):
9608 Use it to re-instate the flush hook.
9609
8f0fde21
SM
9610 * icomplete.el (icomplete-completions): Replace last fix with a better
9611 one (bug#10850).
9612
8e911f6f
DG
96132012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9614
9615 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9616 when it might call us back infinitely (bug#10797).
9617
49fe4321
GM
96182012-02-23 Glenn Morris <rgm@gnu.org>
9619
9620 * minibuffer.el (completion-category-overrides): Doc fix.
9621
b291b572
SM
96222012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9623
9624 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9625 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9626
31a9ef2e
GM
96272012-02-23 Glenn Morris <rgm@gnu.org>
9628
5e6e6794 9629 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9630 (authors-obsolete-files-regexps, authors-ignored-files)
9631 (authors-ambiguous-files, authors-renamed-files-alist):
9632 Add more entries.
9633
0bd1e074
JL
96342012-02-23 Juri Linkov <juri@jurta.org>
9635
9636 * isearch.el (isearch-occur): Sync interactive spec with occur's
9637 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9638
b617673c
JL
9639 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9640
19e9789e
JL
96412012-02-22 Juri Linkov <juri@jurta.org>
9642
9643 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9644 (ucs-insert): Doc fix. Check for hex digits in the string.
9645 Don't display `nil' in the error message. (Bug#10857)
9646
f41ce09d
AM
96472012-02-22 Alan Mackenzie <acm@muc.de>
9648
7a71b18d 9649 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9650
ac2eceee
GM
96512012-02-22 Glenn Morris <rgm@gnu.org>
9652
9653 * ffap.el (ffap-c-path):
9654 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9655
abd1f678
CY
96562012-02-22 Chong Yidong <cyd@gnu.org>
9657
9658 * custom.el (load-theme): Doc fix.
9659
f25aef2e
GM
96602012-02-22 Glenn Morris <rgm@gnu.org>
9661
9662 * dired-x.el (dired-guess-shell-alist-default):
9663 Remove escape sequences from nroff output. (Bug#172)
9664
5f8dc2ca
GM
96652012-02-21 Glenn Morris <rgm@gnu.org>
9666
6ff86ec4
GM
9667 * vc/emerge.el (emerge-defvar-local):
9668 Set `permanent-local' property rather than unused `preserved'.
9669
be3223a3 9670 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9671 (picture-mode-map): Use it. (Bug#10860)
9672 (picture-mode): Doc fix.
9673
3fe58f4f
JB
96742012-02-21 Juanma Barranquero <lekktu@gmail.com>
9675
9676 * newcomment.el (uncomment-region-default): Remove unused binding.
9677
f9a998c3
GM
96782012-02-21 Glenn Morris <rgm@gnu.org>
9679
9680 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9681 (picture-self-insert, picture-tab-chars): Doc fix.
9682 (picture-mode-map): Fix C-a, C-e.
9683
c6029348
GM
96842012-02-20 Glenn Morris <rgm@gnu.org>
9685
9686 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9687
ab1ce9d7
LL
96882012-02-20 Leo Liu <sdl.web@gmail.com>
9689
9690 * icomplete.el (icomplete-completions): Check FROM arg before
9691 passing to substring (Bug#10850).
9692
0fd40f89
CY
96932012-02-19 Chong Yidong <cyd@gnu.org>
9694
9695 * comint.el: Require ansi-color.
9696 (comint-output-filter-functions): Add ansi-color-process-output.
9697
9698 * ansi-color.el: Don't set comint-output-filter-functions; it is
9699 now in the initial value defined in comint.el.
9700 (ansi-color-apply-face-function): New variable.
9701 (ansi-color-apply-on-region): Use it.
9702 (ansi-color-apply-overlay-face): New function.
9703
9704 * shell.el (shell): No need to require ansi-color.
9705 (shell-mode): Use ansi-color-apply-face-function to highlight
9706 color escapes using font-lock-face property (Bug#10835).
9707
20af2394
CY
97082012-02-19 Chong Yidong <cyd@gnu.org>
9709
9710 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9711 mode-line formats (Bug#10839).
9712
e23a3fbe
GM
97132012-02-18 Glenn Morris <rgm@gnu.org>
9714
b474519e
GM
9715 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9716
9717 * mail/undigest.el (unforward-rmail-message): Doc fix.
9718
e23a3fbe
GM
9719 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9720
57939ff4
EZ
97212012-02-18 Eli Zaretskii <eliz@gnu.org>
9722
9723 * international/characters.el (script-list): Sync with the latest
9724 Unicode Character Database.
9725
0c23686e
AS
97262012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9727
9728 * international/titdic-cnv.el: Remove duplicate coding tag.
9729 * language/cham.el: Likewise.
9730 * language/tai-viet.el: Likewise.
9731
6818b449
GM
97322012-02-18 Glenn Morris <rgm@gnu.org>
9733
9734 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9735 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9736 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9737 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9738 * calendar/holidays.el (holiday-bahai-holidays)
9739 (calendar-holidays, list-holidays):
9740 Use utf-8 Bahá'í in doc-strings, menus, etc.
9741
0311a3fc
TH
97422012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9743
9744 * saveplace.el (save-place-ignore-files-regexp): New variable
9745 allowing for excluding files from saving their location of point.
9746 The default value matches the temporary commit message editing
9747 files from Git, SVN, Bazaar, and Mercurial.
9748 (save-place-to-alist): Use it.
9749
d209e2fb 97502012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9751 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9752
9753 * newcomment.el (uncomment-region-default): Don't leave extra space
9754 when an arg is provided (bug#8150).
9755
ee0ce425
TZ
97562012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9757
eb864a71 9758 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9759
95ddf442
GM
97602012-02-17 Glenn Morris <rgm@gnu.org>
9761
9762 * net/socks.el: Require network-stream. (Bug#10599)
9763
48dd1e39 97642012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9765
9766 * international/charprop.el:
9767 * international/uni-name.el:
9768 * international/uni-old-name.el:
9769 * international/uni-comment.el: Regenerate.
9770
d68cd087
GM
97712012-02-16 Glenn Morris <rgm@gnu.org>
9772
9773 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9774 Interactively in calendar buffer, give an error if not on a date.
9775
13932042
GM
97762012-02-15 Glenn Morris <rgm@gnu.org>
9777
9778 * shell.el (shell-delimiter-argument-list):
9779 Revert 2011-02-17 change. (Bug#8027)
9780
c3a70e2b
CY
97812012-02-15 Chong Yidong <cyd@gnu.org>
9782
60236b0d
CY
9783 * minibuffer.el (completion-at-point-functions): Doc fix.
9784
c3a70e2b
CY
9785 * custom.el (defcustom): Doc fix; note use of defvar.
9786
9f26dc24
GM
97872012-02-15 Glenn Morris <rgm@gnu.org>
9788
9789 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9790 Doc fixes.
9791
6546b134
GM
97922012-02-14 Glenn Morris <rgm@gnu.org>
9793
9794 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9795
d29b2b4c
LI
97962012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9797
9798 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9799 way the ports list is computed.
835bdcba
LI
9800 (smtpmail-query-smtp-server): Prompt the user for a port number if
9801 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9802
08dcdbc9
TZ
98032012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9804
9805 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9806
2605051a
GM
98072012-02-13 Glenn Morris <rgm@gnu.org>
9808
9809 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9810
7ee99f32
TZ
98112012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9812
9813 * net/gnutls.el (gnutls-trustfiles): New variable.
9814 (gnutls-negotiate): Use it.
9815
5f0af64f
LI
98162012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9817
9818 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9819 does its stuff if Gnus is running.
9820
c14fcc95
AM
98212012-02-13 Alan Mackenzie <acm@muc.de>
9822
9823 Fix a loop in c-set-fl-decl-start.
9824
7a71b18d 9825 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9826 c-backward-syntactic-ws actually moves backwards.
9827
142b4d90
LL
98282012-02-13 Leo Liu <sdl.web@gmail.com>
9829
9830 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9831 beginning so that all \C-o chars are removed.
9832
fa9958a6
TZ
98332012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9834
dc9924b8 9835 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9836
0bc5886a
AM
98372012-02-12 Alan Mackenzie <acm@muc.de>
9838
9839 Fix infinite loop with long macros.
4d6769e1 9840 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9841
d4bd55e7
CY
98422012-02-12 Chong Yidong <cyd@gnu.org>
9843
9844 * window.el (display-buffer): Doc fix (Bug#10785).
9845
66f3fe22
GM
98462012-02-12 Glenn Morris <rgm@gnu.org>
9847
bd7da63e
GM
9848 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9849 (x-disown-selection-internal, x-get-selection-internal):
9850 Sync docs with the xselect.c versions.
9851
66f3fe22
GM
9852 * allout-widgets.el: Add missing license notice.
9853
3e0d2fa7
GM
98542012-02-11 Glenn Morris <rgm@gnu.org>
9855
cfecdf09
GM
9856 * select.el (x-get-selection-internal, x-own-selection-internal)
9857 (x-disown-selection-internal):
9858 * x-dnd.el (x-get-selection-internal): Update declarations.
9859
6d216d7f
GM
9860 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9861
2bed3f04
GM
9862 * window.el (window-sides-slots):
9863 * tool-bar.el (tool-bar-position):
9864 * term/xterm.el (xterm-extra-capabilities):
9865 * ses.el (ses-self-reference-early-detection):
9866 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9867 (verilog-auto-wire-type)
9868 (verilog-auto-delete-trailing-whitespace)
9869 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9870 (verilog-auto-tieoff-declaration):
9871 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9872 (sql-oracle-statement-starters, sql-oracle-scan-on):
9873 * progmodes/prolog.el (prolog-align-comments-flag)
9874 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9875 (prolog-left-indent-regexp, prolog-paren-indent-p)
9876 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9877 (prolog-types, prolog-mode-specificators)
9878 (prolog-determinism-specificators, prolog-directives)
9879 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9880 (prolog-electric-dot-flag)
9881 (prolog-electric-dot-full-predicate-template)
9882 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9883 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9884 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9885 (prolog-program-switches, prolog-prompt-regexp)
9886 (prolog-debug-on-string, prolog-debug-off-string)
9887 (prolog-trace-on-string, prolog-trace-off-string)
9888 (prolog-zip-on-string, prolog-zip-off-string)
9889 (prolog-use-standard-consult-compile-method-flag)
9890 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9891 (prolog-imenu-max-lines, prolog-info-predicate-index)
9892 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9893 (prolog-char-quote-workaround):
9894 * progmodes/cc-vars.el (c-defun-tactic):
9895 * net/tramp.el (tramp-encoding-command-interactive)
9896 (tramp-local-end-of-line):
9897 * net/soap-client.el (soap-client):
9898 * net/netrc.el (netrc-file):
9899 * net/gnutls.el (gnutls):
9900 * minibuffer.el (completion-category-overrides)
9901 (completion-cycle-threshold)
9902 (completion-pcm-complete-word-inserts-delimiters):
9903 * man.el (Man-name-local-regexp):
9904 * mail/feedmail.el (feedmail-display-full-frame):
9905 * international/characters.el (glyphless-char-display-control):
9906 * eshell/em-ls.el (eshell-ls-date-format):
9907 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9908 (lisp-lambda-list-keyword-parameter-indentation)
9909 (lisp-lambda-list-keyword-parameter-alignment):
9910 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9911 * dired-x.el (dired-omit-verbose):
9912 * cus-theme.el (custom-theme-allow-multiple-selections):
9913 * calc/calc.el (calc-highlight-selections-with-faces)
9914 (calc-lu-field-reference, calc-lu-power-reference)
9915 (calc-note-threshold):
9916 * battery.el (battery-mode-line-limit):
9917 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9918 (archive-7z-update):
9919 * allout.el (allout-prefixed-keybindings)
9920 (allout-unprefixed-keybindings)
9921 (allout-inhibit-auto-fill-on-headline)
9922 (allout-flattened-numbering-abbreviation):
9923 * allout-widgets.el (allout-widgets-auto-activation)
9924 (allout-widgets-icons-dark-subdir)
9925 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9926 (allout-widgets-theme-dark-background)
9927 (allout-widgets-theme-light-background)
9928 (allout-widgets-item-image-properties-emacs)
9929 (allout-widgets-item-image-properties-xemacs)
9930 (allout-widgets-run-unit-tests-on-load)
9931 (allout-widgets-time-decoration-activity)
9932 (allout-widgets-hook-error-post-time)
9933 (allout-widgets-track-decoration):
9934 Add missing :version tags to new defcustoms and defgroups.
9935
5fec1b8e
GM
9936 * progmodes/sql.el (sql-ansi-statement-starters)
9937 (sql-oracle-statement-starters): Add custom type.
9938
3e0d2fa7
GM
9939 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9940 (prolog-system-version): Give it a type.
9941
90b671e2
EZ
99422012-02-11 Eli Zaretskii <eliz@gnu.org>
9943
9944 * term/pc-win.el (x-select-text, x-selection-owner-p)
9945 (x-own-selection-internal, x-disown-selection-internal)
9946 (x-get-selection-internal): Sync doc strings and argument lists
9947 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9948
5eac0c02
LL
99492012-02-11 Leo Liu <sdl.web@gmail.com>
9950
9951 * progmodes/python.el (python-end-of-statement): Fix infinite
9952 loop. (Bug#10788)
9953
f82cb659
GM
99542012-02-10 Glenn Morris <rgm@gnu.org>
9955
9956 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9957 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9958
cc26d239
LI
99592012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9960
9961 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9962 about SMTP before checking the From header.
9963
91027d08 9964 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9965 into own function for reuse by emacsbug.el.
9966
1be3ca5a
LL
99672012-02-10 Leo Liu <sdl.web@gmail.com>
9968
9969 * subr.el (condition-case-unless-debug): Rename from
9970 condition-case-no-debug. All callers changed.
9971 (with-demoted-errors): Fix caller.
9972
9973 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9974 * nxml/rng-valid.el (rng-do-some-validation):
9975 * emacs-lisp/package.el (package-refresh-contents)
9976 (package-menu-execute):
9977 * desktop.el (desktop-create-buffer):
91027d08 9978 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9979
b011fbfe
GM
99802012-02-10 Glenn Morris <rgm@gnu.org>
9981
b2096d72
GM
9982 * textmodes/bibtex.el:
9983 Add missing :version tags for new/changed defcustoms.
9984
b011fbfe
GM
9985 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9986
4c7e65bf
LI
99872012-02-09 Lars Ingebrigtsen <larsi@rusty>
9988
9989 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9990 (smtpmail-via-smtp): Use it, or fall back on the From address.
9991 (smtpmail-send-it): Ditto.
9992
f3934f6f
SM
99932012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9996 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9997 (byte-compile-tmp-var): New const.
9998 (byte-compile-defvar): Use it to minimize .elc size.
9999 Just use `defvar' rather than simulate it (bug#10761).
10000
a075a2c5
GM
100012012-02-09 Glenn Morris <rgm@gnu.org>
10002
cf3aa21b
GM
10003 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10004
354998cd
GM
10005 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10006 Add :version tags.
10007
dc9924b8
SM
10008 * progmodes/compile.el (compilation-error-screen-columns)
10009 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10010
dab3703d
GM
10011 * vc/log-view.el (log-view-toggle-entry-display):
10012 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10013
3f88cd72
GM
10014 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10015 (report-emacs-bug-can-use-xdg-email):
10016 (report-emacs-bug-insert-to-mailer): Doc fixes.
10017 (report-emacs-bug): Message fix.
10018
d95b247d
GM
10019 * net/browse-url.el (browse-url-can-use-xdg-open)
10020 (browse-url-xdg-open): Doc fixes.
10021
a075a2c5
GM
10022 * electric.el (electric-indent-mode, electric-pair-mode)
10023 (electric-layout-rules, electric-layout-mode): Doc fixes.
10024 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10025
ffb6157e
MR
100262012-02-08 Martin Rudalics <rudalics@gmx.at>
10027
10028 * server.el (server-unselect-display): Don't inadvertently kill
10029 the current buffer. (Bug#10729)
10030
e1ac4066
GM
100312012-02-08 Glenn Morris <rgm@gnu.org>
10032
34e8a2da
GM
10033 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10034 (sql-list-table): Doc fixes.
10035
b4ac6e8c
GM
10036 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10037 Comment out (does nothing).
10038
e1ac4066
GM
10039 * completion.el (dynamic-completion-mode):
10040 * dirtrack.el (dirtrack-debug-mode):
10041 * electric.el (electric-layout-mode):
10042 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10043 * face-remap.el (text-scale-mode, buffer-face-mode):
10044 * iimage.el (iimage-mode):
10045 * image-mode.el (image-transform-mode):
10046 * minibuffer.el (completion-in-region-mode):
10047 * scroll-lock.el (scroll-lock-mode):
10048 * simple.el (next-error-follow-minor-mode):
10049 * tar-mode.el (tar-subfile-mode):
10050 * tooltip.el (tooltip-mode):
10051 * vcursor.el (vcursor-use-vcursor-map):
10052 * wid-browse.el (widget-minor-mode):
10053 * emulation/tpu-edt.el (tpu-edt-mode):
10054 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10055 * international/iso-ascii.el (iso-ascii-mode):
10056 * language/thai-util.el (thai-word-mode):
10057 * mail/supercite.el (sc-minor-mode):
10058 * net/goto-addr.el (goto-address-mode):
10059 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10060 * progmodes/cwarn.el (cwarn-mode):
10061 * progmodes/flymake.el (flymake-mode):
10062 * progmodes/glasses.el (glasses-mode):
10063 * progmodes/hideshow.el (hs-minor-mode):
10064 * progmodes/pascal.el (pascal-outline-mode):
10065 * textmodes/enriched.el (enriched-mode):
10066 * vc/smerge-mode.el (smerge-mode):
10067 Doc fixes (minor mode argument).
10068
5e0d957f
EZ
100692012-02-07 Eli Zaretskii <eliz@gnu.org>
10070
10071 * ls-lisp.el (ls-lisp-sanitize): New function.
10072 (ls-lisp-insert-directory): Use it to fix or remove any elements
10073 in file-alist with missing attributes. (Bug#4673)
10074
98d7371e
AM
100752012-02-07 Alan Mackenzie <acm@muc.de>
10076
10077 Fix spurious recognition of c-in-knr-argdecl.
10078
10079 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10080 putative K&R region.
10081
667ced3a
AM
100822012-02-07 Alan Mackenzie <acm@muc.de>
10083
eb864a71
LM
10084 * progmodes/cc-engine.el (c-forward-objc-directive):
10085 Prevent looping in "#pragma mark @implementation".
667ced3a 10086
5b77774d
MA
100872012-02-07 Michael Albinus <michael.albinus@gmx.de>
10088
10089 * notifications.el (notifications-on-closed-signal): Make `reason'
10090 optional. (Bug#10744)
10091
af008560
GM
100922012-02-07 Glenn Morris <rgm@gnu.org>
10093
60d47423
GM
10094 * emacs-lisp/easy-mmode.el (define-minor-mode):
10095 Doc fixes for the macro and the mode it defines.
10096
dd605cc4
GM
10097 * image.el (imagemagick-types-inhibit): Doc fix.
10098
af008560
GM
10099 * cus-start.el (imagemagick-render-type): Add it.
10100
5cc59a37
LI
101012012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10102
4d6769e1
JB
10103 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10104 Set the default at load time, too, so that `font-lock-fontify-buffer'
10105 can be called without setting up the entire mode first. This fixes
10106 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10107
9a6dd747
CY
101082012-02-06 Chong Yidong <cyd@gnu.org>
10109
2d16b285
CY
10110 * simple.el (list-processes--refresh): Delete exited processes
10111 (Bug#8094).
10112
171e9b6e
CY
10113 * comint.el (comint-next-prompt): next-single-char-property-change
10114 and prev-single-char-property-change never return nil (Bug#8657).
10115
9a6dd747
CY
10116 * custom.el (defcustom): Doc fix (Bug#9711).
10117
aa4589a7
CY
101182012-02-05 Chong Yidong <cyd@gnu.org>
10119
5c2a252f
CY
10120 * cus-edit.el (custom-variable-reset-backup): Quote the value
10121 before storing it in the customized-value property (Bug#6712).
4aab9006 10122 (custom-display): Add a customization type tag.
983b9602 10123 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10124
aa4589a7
CY
10125 * wid-edit.el (widget-field-value-get): New optional arg to
10126 suppress trailing whitespace truncation.
10127 (character): Use it (Bug#2689).
10128
1ff980ae
AS
101292012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10130
10131 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10132 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10133
03988c98
CY
101342012-02-05 Chong Yidong <cyd@gnu.org>
10135
eeb6cc88
CY
10136 * cus-edit.el (custom-variable-value-create): For mismatched
10137 types, show the current value (Bug#7600).
10138
03988c98
CY
10139 * custom.el (defcustom): Doc fix.
10140
f8cdeef0
GM
101412012-02-05 Glenn Morris <rgm@gnu.org>
10142
10143 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10144
0696d255
JB
101452012-02-05 Juanma Barranquero <lekktu@gmail.com>
10146
10147 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10148 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10149 (pp-last-sexp): Use `looking-at-p'.
10150
34c99998
GM
101512012-02-04 Glenn Morris <rgm@gnu.org>
10152
8f05da42
GM
10153 * files.el (revert-buffer):
10154 Doc fix (mention revert-buffer-in-progress-p).
10155
f160676e
GM
10156 * emacs-lisp/ert-x.el (ert-simulate-command):
10157 Check deferred-action-list (which is obsolete) is bound.
10158
c7291ad9
GM
10159 * subr.el (with-wrapper-hook): Doc fixes.
10160
34c99998
GM
10161 * simple.el (filter-buffer-substring-functions)
10162 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10163
6283a7d3
LL
101642012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10165
10166 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10167 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10168
e96e3013
LL
101692012-02-04 Leo Liu <sdl.web@gmail.com>
10170
10171 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10172
8ded50f2
GM
101732012-02-04 Glenn Morris <rgm@gnu.org>
10174
82ff1d13
GM
10175 * image.el (image-extension-data): Add obsolete alias.
10176
987a0a16
GM
10177 * isearch.el (isearch-update): Doc fix.
10178
ea32ef46
GM
10179 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10180
8ded50f2
GM
10181 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10182
eea14f31
GM
101832012-02-03 Glenn Morris <rgm@gnu.org>
10184
10185 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10186 (image-animate-timeout): Doc fix.
10187
10188 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10189
12f381b7
GM
101902012-02-02 Glenn Morris <rgm@gnu.org>
10191
953cebf5
GM
10192 * server.el (server-auth-dir): Doc fix.
10193 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10194
12f381b7
GM
10195 * subr.el (run-mode-hooks): Doc fix.
10196
953a8c3b
JL
101972012-02-02 Juri Linkov <juri@jurta.org>
10198
10199 * image-mode.el (image-toggle-display-image): Remove tautological
10200 `major-mode' from the `derived-mode-p' test.
10201
c5d3843c
KH
102022012-02-02 Kenichi Handa <handa@m17n.org>
10203
9f6e692e 10204 * composite.el (compose-region): Cancel previous change.
c5d3843c 10205
159462d4 102062012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10207
10208 * composite.el (compose-region, compose-string): Signal error for
10209 a null string component (Bug#6988).
10210
9f562668
CY
102112012-02-01 Chong Yidong <cyd@gnu.org>
10212
e2cef717
CY
10213 * view.el (view-buffer-other-window, view-buffer-other-frame):
10214 Handle special modes like view-buffer (Bug#10650).
10215 (view-buffer): Simplify.
10216
9f562668
CY
10217 * frame.el (set-frame-font): Tweak meaning of third argument.
10218
9f6e692e
JB
10219 * dynamic-setting.el (font-setting-change-default-font):
10220 Use set-frame-font (Bug#9982).
9f562668 10221
781acb9f
GM
102222012-02-01 Glenn Morris <rgm@gnu.org>
10223
6035be52
GM
10224 * progmodes/compile.el (compilation-internal-error-properties):
10225 Respect compilation-first-column in the "*compilation*" buffer.
10226
781acb9f
GM
10227 * emacs-lisp/easy-mmode.el (define-minor-mode):
10228 Relax :variable's test for a named function.
10229
abbceb00
AM
102302012-01-31 Alan Mackenzie <acm@muc.de>
10231
10232 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10233 off by one error.
10234
fce3fdeb
CY
102352012-01-31 Chong Yidong <cyd@gnu.org>
10236
10237 * frame.el (set-frame-font): New arg ALL-FRAMES.
10238
10239 * menu-bar.el (menu-set-font): Use set-frame-font.
10240
10241 * faces.el (face-spec-reset-face): Don't apply unspecified
10242 attribute values to the default face.
10243
47893581
JB
102442012-01-31 Juanma Barranquero <lekktu@gmail.com>
10245
10246 * progmodes/cwarn.el (cwarn): Remove dead link.
10247 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10248 Remove * from defcustom docstrings.
10249 (turn-on-cwarn-mode): Make obsolete.
10250 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10251 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10252
e58e988a
GM
102532012-01-31 Glenn Morris <rgm@gnu.org>
10254
60dc2671 10255 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10256 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10257 Allow named functions to be used as the cdr of :variable.
e58e988a 10258
7a3f511d
GM
102592012-01-30 Glenn Morris <rgm@gnu.org>
10260
10261 * emacs-lisp/authors.el (authors-fixed-entries):
10262 Remove reference to deleted file rnewspost.el.
10263
cb882333
JB
102642012-01-29 Juanma Barranquero <lekktu@gmail.com>
10265
10266 * window.el (window-with-parameter): Remove unused variable `windows'.
10267 (window--side-check): Remove unused variable `code'.
10268 (window--resize-siblings): Remove unused variable `first'.
10269 (adjust-window-trailing-edge): Remove unused variable `failed'.
10270 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10271 Use `let', not `let*'.
10272 (balance-windows-2): Remove unused variable `found'.
10273 (window--state-put-2): Remove unused variable `splits'.
10274 (window-state-put): Remove unused variable `selected'.
10275 (same-window-p): Use `string-match-p'.
10276 (display-buffer-assq-regexp): Remove unused variable `value'.
10277 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10278 Mark argument ALIST as ignored.
10279 (pop-to-buffer): Remove unused variable `old-window'.
10280
907201af
EZ
102812012-01-29 Eli Zaretskii <eliz@gnu.org>
10282
10283 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10284 and .lzma compressed files.
10285
ea162670
CY
102862012-01-29 Chong Yidong <cyd@gnu.org>
10287
5b95ee8a
CY
10288 * frame.el (window-system-default-frame-alist): Doc fix.
10289
ea162670
CY
10290 * dynamic-setting.el (font-setting-change-default-font): Don't
10291 change the default face if SET-FONT argument is non-nil (Bug#9982).
10292
d6e6f4b1
SB
102932012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10294
10295 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10296
0f29fa41 102972012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10298
10299 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10300 breakpoints in files outside current directory (Bug#6098).
10301
db174434
CY
103022012-01-29 Chong Yidong <cyd@gnu.org>
10303
6b25e4e2
SE
10304 * progmodes/python.el: Require ansi-color at top-level.
10305
6df6ae42
JB
10306 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10307 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10308 (lisp-mode-abbrev-table): Add doc.
10309 (lisp-mode-variables): Don't set local-abbrev-table.
10310 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10311
e70ee681
RW
103122012-01-28 Roland Winkler <winkler@gnu.org>
10313
10314 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10315
ace88aa2
RW
103162012-01-28 Roland Winkler <winkler@gnu.org>
10317
10318 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10319 (bibtex-set-dialect): Use it. Either set global values of
10320 dialect-dependent variables or bind these variables buffer-locally
10321 (Bug#10254).
10322 (bibtex-mode): Call bibtex-set-dialect via
10323 hack-local-variables-hook.
eb864a71
LM
10324 (bibtex-dialect): Update docstring.
10325 Add safe-local-variable predicate.
ace88aa2
RW
10326 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10327 bibtex-set-dialect.
10328 (bibtex-mode-map): Define menu for each dialect.
10329 (bibtex-entry): Fix docstring.
10330
93376c5b
CY
103312012-01-28 Chong Yidong <cyd@gnu.org>
10332
10333 * eshell/esh-arg.el (eshell-quote-argument): New function.
10334
10335 * eshell/esh-ext.el (eshell-invoke-batch-file):
10336 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10337 first arg to eshell-parse-command (Bug#10523).
10338
4372494f
DA
103392012-01-28 Drew Adams <drew.adams@oracle.com>
10340
10341 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10342 `default-directory' is non-nil.
10343
4d4ec1f8
EZ
103442012-01-28 Eli Zaretskii <eliz@gnu.org>
10345
10346 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10347 line that displays system-configuration-options. (Bug#9924)
10348
7c188927
DA
103492012-01-28 Drew Adams <drew.adams@oracle.com>
10350
10351 * descr-text.el (describe-char): Show information about POS, in
10352 addition to information about the character at POS. Improve and
10353 update the doc string. Change "code point" to "code point in
10354 charset", to avoid confusion with the character's Unicode code
10355 point shown above that. (Bug#10129)
10356
e0da685a
EZ
103572012-01-28 Eli Zaretskii <eliz@gnu.org>
10358
10359 * descr-text.el (describe-char): Show the raw character, not only
10360 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10361 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10362 for the reasons.
10363
70550acf
PH
103642012-01-28 Phil Hagelberg <phil@hagelb.org>
10365
eb864a71
LM
10366 * emacs-lisp/package.el (package-install):
10367 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10368
0ce8e868
CY
103692012-01-28 Chong Yidong <cyd@gnu.org>
10370
cb882333
JB
10371 * emacs-lisp/package.el (package-maybe-load-descriptor):
10372 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10373 (package-maybe-load-descriptor): Use it.
10374 (package-download-transaction): Fully load required packages
10375 inside the loop, so that `require' calls work (Bug#10593).
10376 (package-install): No need to call package-initialize now.
10377
2e7f3bea
CY
103782012-01-28 Chong Yidong <cyd@gnu.org>
10379
6e9bad14
CY
10380 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10381
f823b8ca
CY
10382 * tooltip.el (tooltip-mode): Doc fix.
10383 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10384
2680c309
CY
10385 * frame.el (set-cursor-color): Doc fix (Bug#352).
10386
d7a9e63b
CY
10387 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10388 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10389
2e7f3bea
CY
10390 * cus-edit.el (custom-buffer-create-internal): Fix search button
10391 action (Bug#10542).
2ae01800 10392 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10393
fc4f7a23
EW
103942012-01-27 Eduard Wiebe <usenet@pusto.de>
10395
10396 * dired.el (dired-mark-files-regexp):
10397 Include any subdirectory components. (Bug#10445)
10398
7dd37071
ML
103992012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10400
10401 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10402 Handle [host]:port syntax. (Bug#10533)
10403
a268160b
AH
104042012-01-27 Alex Harsanyi <harsanyi@mac.com>
10405
10406 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10407
e43273ef
GM
104082012-01-26 Glenn Morris <rgm@gnu.org>
10409
10410 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10411 * term.el (term-raw-escape-map): Use Control-X-prefix.
10412 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10413
1edf595d
MR
104142012-01-25 Martin Rudalics <rudalics@gmx.at>
10415
10416 * window.el (window-state-get, window--state-get-1): Don't deal
10417 with fixed-sizeness of windows. Simplify code.
10418
fa8eafef
JC
104192012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10420
6df6ae42
JB
10421 * window.el (window--state-get-1, window--state-put-2):
10422 Don't save and restore the mark.
fa8eafef 10423
0b21c100
CY
104242012-01-25 Chong Yidong <cyd@gnu.org>
10425
10426 * custom.el (custom-variable-p): Doc fix.
10427
5ae1a6c8
GM
104282012-01-25 Glenn Morris <rgm@gnu.org>
10429
40047858
GM
10430 * dired.el (dired-goto-file): Handle some of the more common
10431 characters that `ls -b' escapes. (Bug#10596)
10432
5ddce96c
GM
10433 * progmodes/compile.el (compilation-next-error-function):
10434 Respect compilation-first-column in the "*compilation*" buffer.
10435 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10436
5ae1a6c8
GM
10437 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10438
b559f1a9
GM
104392012-01-24 Glenn Morris <rgm@gnu.org>
10440
10441 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10442
6725d21a
JD
104432012-01-24 Julien Danjou <julien@danjou.info>
10444
10445 * color.el (color-rgb-to-hsl): Fix value computing.
10446 (color-hue-to-rgb): New function.
10447 (color-hsl-to-rgb): New function.
10448 (color-clamp, color-saturate-hsl, color-saturate-name)
10449 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10450 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10451
70df4bbe
GM
104522012-01-24 Glenn Morris <rgm@gnu.org>
10453
10454 * vc/vc-rcs.el (vc-rcs-create-tag):
10455 * vc/vc-sccs.el (vc-sccs-create-tag):
10456 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10457
802a2ae2
ML
104582012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10459
10460 * eshell/esh-util.el (eshell-read-hosts-file):
10461 Skip comment lines. (Bug#10549)
10462
d7128bb1
ML
10463 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10464
d1a5c3b4
JB
104652012-01-23 Juanma Barranquero <lekktu@gmail.com>
10466
2724d9c7
JB
10467 * subr.el (display-delayed-warnings): Doc fix.
10468 (collapse-delayed-warnings): New function to collapse identical
10469 adjacent warnings.
10470 (delayed-warnings-hook): Add it.
d1a5c3b4 10471
a5509865
MA
104722012-01-22 Michael Albinus <michael.albinus@gmx.de>
10473
10474 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10475
a5509865
MA
10476 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10477 (tramp-default-user-alist): Don't add "pscp".
10478 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10479 property "login-as", if set. (Bug#10530)
10480
cc6d5805
MA
104812012-01-21 Michael Albinus <michael.albinus@gmx.de>
10482
10483 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10484 "plink1" and "psftp". (Bug#10530)
10485
104862012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10487
10488 * international/mule-cmds.el (prefer-coding-system): Show a
10489 warning message if the default value of file-name-coding-system
10490 was not changed.
10491
f0960428
JC
104922012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10493
cb882333
JB
10494 * windmove.el (windmove-reference-loc):
10495 Fix windmove-reference-loc miscalculation.
f0960428 10496
dd6f2a63
JB
104972012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10498
10499 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10500 default unit.
10501
7b447e9b
GM
105022012-01-21 Glenn Morris <rgm@gnu.org>
10503
117a9ea1
GM
10504 * international/mule.el (auto-coding-alist): Add .tbz.
10505
7b447e9b
GM
10506 * files.el (local-enable-local-variables): Doc fix.
10507 (inhibit-local-variables-regexps): Rename from
10508 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10509 Doc fix. Add some extensions from auto-coding-alist.
10510 (inhibit-local-variables-suffixes):
10511 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10512 (inhibit-local-variables-p):
10513 New function, extracted from set-auto-mode-1.
10514 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10515 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10516 (hack-local-variables): Doc fix. Make the mode-only case
10517 respect enable-local-variables and friends.
10518 Respect inhibit-local-variables-regexps for file-locals, but
10519 not for directory-locals.
10520 (set-visited-file-name):
10521 Take account of inhibit-local-variables-regexps.
10522 Whether it applies may change as the file name is changed.
10523 * jka-cmpr-hook.el (jka-compr-install):
10524 * jka-compr.el (jka-compr-uninstall):
10525 Update for inhibit-first-line-modes-suffixes name change.
10526
dd6e3cdd
MR
105272012-01-20 Martin Rudalics <rudalics@gmx.at>
10528
10529 * help-macro.el (make-help-screen): Temporarily restore original
10530 binding for minor-mode-map-alist (Bug#10454).
10531
0d0deb38
JD
105322012-01-19 Julien Danjou <julien@danjou.info>
10533
10534 * color.el (color-name-to-rgb): Use the white color to find the max
10535 color component value and return correctly computed values.
10536 (color-name-to-rgb): Add missing float conversion for max value.
10537
34a02f46
MR
105382012-01-19 Martin Rudalics <rudalics@gmx.at>
10539
10540 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10541 special state value for window-persistent-parameters.
10542 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10543 (window--state-put-2): Reset all window parameters to nil before
10544 assigning values of persistent parameters.
10545
606c44c4
AM
105462012-01-18 Alan Mackenzie <acm@muc.de>
10547
10548 Eliminate sluggishness and hangs in fontification of "semicolon
10549 deserts".
10550
cb882333
JB
10551 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10552 Change value 10000 -> 3000.
606c44c4
AM
10553 (c-state-safe-place): Reformulate so it doesn't stack up an
10554 infinite number of wrong entries in c-state-nonlit-pos-cache.
10555 (c-determine-limit-get-base, c-determine-limit): New functions to
10556 determine backward search limits disregarding literals.
10557 (c-find-decl-spots): Amend commenting.
10558 (c-cheap-inside-bracelist-p): New function which detects "={".
10559
10560 * progmodes/cc-fonts.el
10561 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10562 backward search.
10563 (c-font-lock-declarations): Fix an occurrence of point being
10564 undefined. Check additionally for point being in a bracelist or
10565 near a macro invocation without a semicolon so as to avoid a
10566 fruitless time consuming search for a declarator. Give a more
10567 precise search limit for declarators using the new
10568 c-determine-limit.
10569
f3860cea
GM
105702012-01-18 Glenn Morris <rgm@gnu.org>
10571
10572 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10573 (set-auto-mode): Doc fixes.
10574
1db03b16
GM
105752012-01-17 Glenn Morris <rgm@gnu.org>
10576
0e6038be
GM
10577 * isearch.el (search-nonincremental-instead): Fix doc typo.
10578
1db03b16
GM
10579 * dired.el (dired-insert-directory): Handle newlines in directory name.
10580 (dired-build-subdir-alist): Unescape newlines in directory name.
10581
4cb0aa75
MA
105822012-01-17 Michael Albinus <michael.albinus@gmx.de>
10583
10584 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10585 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10586 (tramp-action-terminal): Use it. (Bug#10530)
10587
1d00653d
SM
105882012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10589
10590 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10591
6a6ee00d
MR
105922012-01-16 Martin Rudalics <rudalics@gmx.at>
10593
10594 * window.el (window-state-ignored-parameters): Remove variable.
10595 (window--state-get-1): Rename argument MARKERS to IGNORE.
10596 Handle persistent window parameters. Make copy of clone-of
10597 parameter only if requested. (Bug#10348)
10598 (window--state-put-2): Install a window parameter only if it has
10599 a non-nil value or an existing parameter shall be overwritten.
10600
97912def
MA
106012012-01-15 Michael Albinus <michael.albinus@gmx.de>
10602
10603 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10604
688070a5
EZ
106052012-01-14 Eli Zaretskii <eliz@gnu.org>
10606
10607 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10608 don't pass the (nil) value of `upnode' to string-match.
10609
301afadc
CY
106102012-01-14 Chong Yidong <cyd@gnu.org>
10611
10612 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10613 Fix values recognized by the cursorBlink resource.
301afadc 10614
9e5788aa
PE
106152012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10616
10617 * epg.el (epg--make-temp-file): Avoid permission race condition
10618 when running on old Emacs versions (bug#10403).
10619
3cdb7f5a
GM
106202012-01-14 Glenn Morris <rgm@gnu.org>
10621
10622 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10623
8c82b1b4
AM
106242012-01-13 Alan Mackenzie <acm@muc.de>
10625
10626 Fix filling for when filladapt mode is enabled.
10627
10628 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10629 c-mask-paragraph, pass in `fill-paragraph' rather than
10630 `fill-region-as-paragraph'. (This is a reversion of a previous
10631 change.)
eb864a71
LM
10632 * progmodes/cc-mode.el (c-basic-common-init):
10633 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10634
e517eda4
GM
106352012-01-13 Glenn Morris <rgm@gnu.org>
10636
1498536e
GM
10637 * dired.el (dired-switches-escape-p): New function.
10638 (dired-insert-directory): Use dired-switches-escape-p.
10639 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10640
e517eda4
GM
10641 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10642
328f984d
GM
106432012-01-12 Glenn Morris <rgm@gnu.org>
10644
10645 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10646 changes in adaptive-fill-regexp. (Bug#10276)
10647
2cc769a8
AM
106482012-01-11 Alan Mackenzie <acm@muc.de>
10649
10650 Fix Emacs bug #10463 - put `widen's around the critical spots.
10651
1d00653d 10652 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10653 widen around each invocation of c-state-pp-to-literal. Remove an
10654 unused let variable.
10655
e52c37fa
GM
106562012-01-11 Glenn Morris <rgm@gnu.org>
10657
10658 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10659 Doc fix.
e52c37fa 10660
96f8741e
CY
106612012-01-10 Chong Yidong <cyd@gnu.org>
10662
1d00653d
SM
10663 * net/network-stream.el (network-stream-open-starttls):
10664 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10665 response to the capability command.
10666
b09a806e
GM
106672012-01-10 Glenn Morris <rgm@gnu.org>
10668
10669 * mail/unrmail.el (unrmail): Tweak previous change.
10670
7655cb66
CY
106712012-01-09 Chong Yidong <cyd@gnu.org>
10672
10673 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10674
9d5a8f0b
AM
106752012-01-08 Alan Mackenzie <acm@muc.de>
10676
10677 Optimise font locking in long enum definitions.
10678
10679 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10680 arm to a cond form to handle enums.
10681 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10682 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10683
9a0115ab 106842012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10685
10686 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10687 (Bug#10401)
6bb72cbd 10688
f186bb95
LMI
106892012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10690
29232a68
LMI
10691 * faces.el (set-face-attribute): Clarify the meaning of the nil
10692 frame (bug#10294).
10693
4e5d086d
LMI
10694 * subr.el (with-selected-frame): Mention that the selected frame
10695 is restored (bug#9980).
10696
8e66aebe
LMI
10697 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10698 (bug#9759).
10699
cd394be1 10700 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10701 (password-read): Don't autoload unused function.
10702
adf4e762
JB
107032012-01-07 Juanma Barranquero <lekktu@gmail.com>
10704
10705 * progmodes/which-func.el (which-func-mode): Turn into a
10706 non-interactive function and mark as obsolete (bug#10428).
10707
89bd9ccd
CY
107082012-01-06 Chong Yidong <cyd@gnu.org>
10709
10710 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10711 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10712 functions, along with 1 and -1.
10713
4afee9d5
EZ
107142012-01-06 Eli Zaretskii <eliz@gnu.org>
10715
10716 * time.el (display-time-load-average)
10717 (display-time-default-load-average): Doc fixes. See the thread
10718 starting at
10719 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10720 for the details.
10721
536aea70
GM
107222012-01-06 Glenn Morris <rgm@gnu.org>
10723
665ae865
GM
10724 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10725 has no messages. (Bug#10377)
10726
c869783d
GM
10727 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10728 than Info-edit. (Bug#10385)
10729
2bb4227e
GM
10730 * time.el (display-time-load-average, display-time-next-load-average):
10731 Doc fixes.
10732
7d5944b9
GM
10733 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10734 local setting of buffer-read-only to the input buffer. (Bug#10419)
10735
536aea70
GM
10736 * calendar/calendar.el (calendar-mode):
10737 Locally set scroll-margin to 0. (Bug#10379)
10738
7dccca16
UM
107392012-01-06 Ulrich Mueller <ulm@gentoo.org>
10740
10741 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10742
afbb7930
GM
107432012-01-05 Glenn Morris <rgm@gnu.org>
10744
10745 * eshell/em-unix.el (diff-no-select): Autoload it.
10746 (eshell/diff): Use diff-no-select. (Bug#10420)
10747
04482335
CY
107482012-01-05 Chong Yidong <cyd@gnu.org>
10749
7baca3bc
CY
10750 * shell.el (shell-dynamic-complete-functions): Revert last change.
10751 (shell-command-completion-function): New function.
10752 (shell-completion-vars): Use it to implement
10753 shell-completion-execonly (Bug#10417).
10754
04482335
CY
10755 * custom.el (enable-theme): Don't set custom-safe-themes.
10756
1d00653d
SM
10757 * cus-theme.el (custom-theme-merge-theme):
10758 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10759
bb5aa5d6
MM
107602012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10761
10762 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10763 first prompt in `sql-interacive-mode'.
10764 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10765 keywords.
6df6ae42 10766 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10767 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10768 context of original buffer. Invoke `sql-login-hook'.
10769
a7183d7c
EZ
107702012-01-04 Eli Zaretskii <eliz@gnu.org>
10771
10772 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10773 letters in cite-prefix.
10774
a1eacd1e
LMI
107752012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10776
10777 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10778
787cdb34
CY
107792012-01-03 Chong Yidong <cyd@gnu.org>
10780
1d00653d
SM
10781 * shell.el (shell-dynamic-complete-functions):
10782 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10783 comint-filename-completion first (Bug#10417).
10784
30710442
RS
107852012-01-02 Richard Stallman <rms@gnu.org>
10786
10787 * battery.el (battery-status-function):
10788 Detect when to use battery-yeeloong-sysfs.
10789 (battery-echo-area-format): Add string for Yeeloong.
10790 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10791 (battery-yeeloong-sysfs): New function.
10792
f75bfc33
CY
107932012-01-02 Chong Yidong <cyd@gnu.org>
10794
10795 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10796 (dirtrack): Merge code for handling relative filenames in prompt
10797 from shell-dir-cookie-watcher.
10798 (dirtrack-debug-message): New arg to avoid excess format calls.
10799
10800 * shell.el (shell-dir-cookie-re): Variable deleted.
10801 (shell-dir-cookie-watcher): Function deleted.
10802 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10803 with dirtrack-mode.
10804
651e947e
EZ
108052012-01-01 Eli Zaretskii <eliz@gnu.org>
10806
1d00653d
SM
10807 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10808 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10809 libgnutls-26.dll.
10810
94d4c7dc
AS
108112011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10812
10813 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10814
8d43f3cd
EZ
108152011-12-31 Eli Zaretskii <eliz@gnu.org>
10816
10817 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10818 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10819
98c8795a
MA
108202011-12-29 Michael Albinus <michael.albinus@gmx.de>
10821
10822 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10823 also for alternative shells.
10824 (tramp-open-connection-setup-interactive-shell): Check, whether
10825 the shell is a busybox.
10826 (tramp-send-command): Don't suppress multiple prompts for
10827 busyboxes, it hurts.
10828
51281b32
CY
108292011-12-28 Chong Yidong <cyd@gnu.org>
10830
10831 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10832 (gdb-get-source-file): Move mode line update to
10833 gdb-get-source-file (Bug#10087).
10834
2170cb53
CY
108352011-12-25 Chong Yidong <cyd@gnu.org>
10836
10837 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10838 gud-gdb-marker-filter without taking it as an argument.
10839 (gud-gdb-run-command-fetch-lines): Caller changed.
10840 (gud-gdb-completion-function): New variable.
10841 (gud-gdb-completion-at-point): Use it.
10842 (gud-gdb-completions-1): Split from gud-gdb-completions.
10843
10844 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10845 function as separate arguments.
10846 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10847 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10848 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10849 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10850 (gdb-stopped, def-gdb-auto-update-trigger)
10851 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10852 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10853 Callers changed.
2170cb53
CY
10854 (gud-gdbmi-completions): New function.
10855 (gdb): Use it for generating the completion table.
10856
be8b11bb
AM
108572011-12-24 Alan Mackenzie <acm@muc.de>
10858
10859 Introduce a mechanism to widen the region used in context font
1d00653d 10860 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10861
1d00653d
SM
10862 * progmodes/cc-langs.el (c-before-font-lock-functions):
10863 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10864 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10865 functions to be run just before context (etc.) font locking.
10866
10867 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10868 New, functionality extracted from
be8b11bb 10869 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10870 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10871 (c-after-change): Set c-in-after-change-fontification.
10872 (c-set-fl-decl-start): Rejig its interface, so it can be called
10873 from both after-change and context fontifying.
b81d40f0
JB
10874 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10875 New functions.
10876 (c-standard-font-lock-fontify-region-function): New variable.
10877 (c-font-lock-fontify-region): New function.
be8b11bb 10878
341cf6ac
JL
108792011-12-24 Juri Linkov <juri@jurta.org>
10880
10881 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10882 (Bug#10348)
10883
bffcee0a
MA
108842011-12-23 Michael Albinus <michael.albinus@gmx.de>
10885
10886 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10887 existence of source file. (Bug#10325)
10888
cb5e207c
AM
108892011-12-23 Alan Mackenzie <acm@muc.de>
10890
10891 Fix unstable fontification inside templates.
10892
b81d40f0
JB
10893 * progmodes/cc-langs.el (c-before-font-lock-functions):
10894 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10895 additionally has c-set-fl-decl-start. The other languages (apart
10896 from AWK) have that as a single entry.
10897
b81d40f0
JB
10898 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10899 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10900 c-set-fl-decl-start.
10901
b81d40f0
JB
10902 * progmodes/cc-mode.el (c-common-init, c-after-change):
10903 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10904 (c-set-fl-decl-start): New function, extracted from
10905 c-font-lock-enclosing-decls and enhanced.
10906
60ff536c
JB
109072011-12-23 Juanma Barranquero <lekktu@gmail.com>
10908
10909 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10910
1c4757d6
JL
109112011-12-22 Juri Linkov <juri@jurta.org>
10912
10913 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10914
d031f2c7
CY
109152011-12-22 Chong Yidong <cyd@gnu.org>
10916
10917 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10918
bace743a
DA
109192011-12-21 Drew Adams <drew.adams@oracle.com>
10920
10921 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10922
728a1f2b
JC
109232011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10924
10925 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10926
0d373f73
TZ
109272011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10928
fec0aaa4
TZ
10929 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10930 highlighting and support. Fix up comments for capitalization.
10931 (cfengine-mode-debug): New var.
10932 (cfengine3-mode): Change the modeline indicator to "CFE3".
10933 (cfengine3-font-lock-keywords): Improve defun highlighting.
10934 (cfengine2-actions): Rename from `cfengine-actions'.
10935 (cfengine2-font-lock-keywords): Rename from
10936 `cfengine-font-lock-keywords'.
10937 (cfengine2-imenu-expression): Rename from
10938 `cfengine-imenu-expression'.
10939 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10940 (cfengine2-beginning-of-defun): Rename from
10941 `cfengine-beginning-of-defun'.
10942 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10943 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10944 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10945 modeline indicator to "CFE2".
10946 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10947 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10948
bc86f573
CY
109492011-12-21 Chong Yidong <cyd@gnu.org>
10950
10951 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10952 filename argument.
10953
d45ba96b
MR
109542011-12-20 Martin Rudalics <rudalics@gmx.at>
10955
10956 * window.el (window-normalize-buffer-to-display): Remove.
10957 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10958
a6198c90
CY
109592011-12-19 Chong Yidong <cyd@gnu.org>
10960
10961 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10962 Don't signal an error in a predicate function; return non-nil.
10963 (vc-dir-mark-file): Move the error here.
10964 (vc-dir-mark-unmark): If acting on the region, keep going if one
10965 of the entries cannot be marked/unmarked.
10966 (vc-dir-mark-all-files): If current entry is a directory, mark
10967 only child files, as documented.
10968
34c5fb55
VB
109692011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10970
10971 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10972 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10973 addition.
10974
c803b2b7
JD
109752011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10976
10977 * term/ns-win.el (ns-get-selection-internal)
10978 (ns-store-selection-internal): Declare.
1154d12e
JB
10979 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10980 Declare as obsolete.
10981 (ns-get-pasteboard, ns-paste-secondary):
10982 Use ns-get-selection-internal.
41e9b956 10983 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10984 Use ns-store-selection-internal.
c803b2b7 10985
9cff91f8 109862011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10987
10988 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10989 (vc-deduce-fileset): Doc fix.
99a289d9 10990
f16c898a
AS
109912011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10992
10993 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10994
763237c4
SS
109952011-12-13 Sam Steingold <sds@gnu.org>
10996
10997 * man.el (Man-getpage-in-background): When running under a
10998 window-system, ignore $MANWIDTH and $COLUMNS.
10999
5fc1c122
KH
110002011-12-15 Kenichi Handa <handa@m17n.org>
11001
11002 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11003 (setup-ethiopic-environment-internal): Comment out key-binding for
11004 ethio-toggle-punctuation.
11005
13d49cbb
AM
110062011-12-13 Alan Mackenzie <acm@muc.de>
11007
898169a2
AM
11008 Add the switch statement to AWK Mode.
11009
7a71b18d 11010 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11011 "default" to the keywords regexp.
11012
7a71b18d 11013 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11014 expression as the rest.
1d00653d
SM
11015 (c-nonlabel-token-key): Allow string literals for AWK.
11016 Refactor for the other modes.
898169a2 11017
13d49cbb 11018 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11019 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11020 routines. Limit backward searching in c-font-lock-enclosing.decl.
11021
11022 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11023 pp-state and literal type in addition to the limits.
1d00653d 11024 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11025 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11026 (c-slow-in-literal, c-fast-in-literal): Remove.
11027 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11028
11029 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11030 being in a literal. Add a limit for backward searching.
11031
11032 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11033 c-slow-in-literal.
11034
15e0efc7
SM
110352011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11036
11037 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11038
454592a6
MR
110392011-12-13 Martin Rudalics <rudalics@gmx.at>
11040
11041 * window.el (delete-other-windows): Use correct frame in call to
11042 window-with-parameter.
11043
87393f26
DP
110442011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11045
11046 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11047 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11048 (makefile-gmake-statements, makefile-makepp-statements):
11049 Use it and add new makepp keywords.
11050 (makefile-makepp-font-lock-keywords): Add new patterns.
11051 (makefile-match-function-end): Match new [...] and [[...]].
11052
11636b22
JB
110532011-12-11 Juanma Barranquero <lekktu@gmail.com>
11054
11055 * ses.el (ses-call-printer-return, ses-cell-property-get)
11056 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11057 (ses-create-cell-variable, ses-reset-header-string)
11058 (ses-cell-set-formula, ses-repair-cell-reference-all)
11059 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11060 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11061 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11062 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11063 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11064 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11065 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11066 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11067 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11068 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11069 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11070 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11071
cf018193
VB
110722011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11073
11074 * ses.el: The overall change is to add cell renaming, that is
11075 setting fancy names for cell symbols other than name matching
11076 "\\`[A-Z]+[0-9]+\\'" regexp .
11077 (ses-create-cell-variable): New defun.
11078 (ses-relocate-formula): Relocate formulas only for cells the
11079 symbols of which are not renamed, i.e. symbols whose names do not
11080 match regexp "\\`[A-Z]+[0-9]+\\'".
11081 (ses-relocate-all): Relocate values only for cells the symbols of
11082 which are not renamed.
11083 (ses-load): Create cells variables as the (ses-cell ...) are read,
11084 in order to check row col consistency with cell symbol name only
11085 for cells that are not renamed.
11086 (ses-replace-name-in-formula): New defun.
11087 (ses-rename-cell): New defun.
11088
ee957461
CY
110892011-12-11 Chong Yidong <cyd@gnu.org>
11090
11091 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11092 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11093
9a9e9ef0
MR
110942011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11095
11096 * window.el (other-window): Fix docstring.
11097
92a8eba5
EZ
110982011-12-10 Eli Zaretskii <eliz@gnu.org>
11099
11100 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11101 `from' or `to' address before taking its substring.
11102 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11103 encoded name is chopped in the middle of the encoded string, and
11104 thus displayed encoded.
11105
e152e577
JB
111062011-12-10 Juanma Barranquero <lekktu@gmail.com>
11107
11108 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11109
e5d84bfe
EZ
111102011-12-10 Eli Zaretskii <eliz@gnu.org>
11111
11112 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11113 to use texinfo-update-node and commands that call it if the
11114 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11115 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11116 (texinfo-all-menus-update, texinfo-master-menu)
11117 (texinfo-update-node, texinfo-every-node-update)
11118 (texinfo-multiple-files-update): Doc fix. Warn against updating
11119 all the @node lines.
11120 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11121 argument is numeric. Explain better in the doc string what the
11122 function really does.
11123 (texinfo-insert-master-menu-list): Improve the error message
11124 displayed if there's no menu in the Top node.
11125 (Bug#2975) See also this thread:
e5d84bfe
EZ
11126 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11127
1d84e9bb
MG
111282011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11129
11130 * speedbar.el (speedbar-supported-extension-expressions):
11131 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11132
382c953b
JB
111332011-12-09 Juanma Barranquero <lekktu@gmail.com>
11134
11135 * printing.el (pr-mode-alist):
11136 * simple.el (filter-buffer-substring-functions)
11137 (completion-list-insert-choice-function):
11138 * window.el (window-with-parameter, window-atom-root)
11139 (window-sides-slots, window-size-fixed, window-min-delta)
11140 (window-max-delta, window--resize-mini-window)
11141 (window--resize-child-windows-normal, window-tree)
11142 (delete-other-windows, quit-window, split-window)
11143 (display-buffer-record-window, special-display-buffer-names)
11144 (special-display-regexps, special-display-popup-frame)
11145 (same-window-p, split-window-sensibly)
11146 (display-buffer-overriding-action, display-buffer-alist)
11147 (display-buffer-base-action, display-buffer, switch-to-buffer)
11148 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11149 (fit-window-to-buffer, recenter-positions)
11150 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11151 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11152 and remove unneeded backslashes in docstrings.
11153
39c9faef
SM
111542011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11155
98449af8
SM
11156 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11157
39c9faef
SM
11158 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11159 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11160 end in ".mk".
11161 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11162 when reading the makefile (bug#10116).
11163
86ed9fdc
SM
111642011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11165
11166 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11167 (bug#10116).
11168
5580f89d
GM
111692011-12-06 Glenn Morris <rgm@gnu.org>
11170
11171 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11172
28d3917c
CY
111732011-12-06 Chong Yidong <cyd@gnu.org>
11174
11175 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11176
a98edce9
JB
111772011-12-06 Juanma Barranquero <lekktu@gmail.com>
11178
11179 * textmodes/table.el (table-shorten-cell): Fix typo.
11180
e65adfac
CG
111812011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11182
11183 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11184
71cc0b74
EZ
111852011-12-05 Eli Zaretskii <eliz@gnu.org>
11186
11187 * descr-text.el (describe-char): Fix display of strong
11188 right-to-left characters and directional embeddings and overrides.
11189
11190 * simple.el (what-cursor-position): Fix display of codepoints of
11191 strong right-to-left characters.
11192
315bc30d
CY
111932011-12-05 Chong Yidong <cyd@gnu.org>
11194
11195 * faces.el (read-color): Doc fix.
11196
58a70b94
GM
111972011-12-05 Glenn Morris <rgm@gnu.org>
11198
11199 * align.el (align--set-marker): Add doc-string.
11200 Don't try to move something that is not a marker. (Bug#10216)
11201
5158face
GM
112022011-12-04 Glenn Morris <rgm@gnu.org>
11203
11204 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11205 overly zealous deletion of trailing whitespace.
11206
520fca41
JB
112072011-12-04 Juanma Barranquero <lekktu@gmail.com>
11208
11209 * server.el (server-delete-client): On Windows, do not try to delete
11210 the only terminal.
11211 (server-process-filter): On Windows, treat requests for a tty frame as
11212 if they were for a GUI frame if the running server is in GUI mode.
11213
5e605a2e
GM
112142011-12-03 Glenn Morris <rgm@gnu.org>
11215
11216 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11217
5c3fe83f
SM
112182011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11219
6f5e57e7
SM
11220 * electric.el: Streamline electric-indent's hook.
11221 (electric-indent-chars): Revert to simple list.
11222 (electric-indent-functions): New var.
11223 (electric-indent-post-self-insert-function): Use it.
11224
5c3fe83f
SM
11225 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11226 there's no inferior buffer (bug#10196).
11227 (prolog-consult-compile): Don't use toggle-read-only.
11228
6bdac736
MA
112292011-12-02 Michael Albinus <michael.albinus@gmx.de>
11230
11231 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11232 interrupt. (Bug#10187)
11233
6131ba7f
SM
112342011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11235
99c79fee
SM
11236 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11237 (bug#9160).
11238
6131ba7f
SM
11239 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11240 (bug#10191).
11241
cb0a02ea
JL
112422011-12-02 Juri Linkov <juri@jurta.org>
11243
11244 * info.el (Info-search): Display "end of manual" when Isearch
11245 reaches the end of single-file Info manual. (Bug#9918)
11246
66e0570c
EZ
112472011-12-02 Eli Zaretskii <eliz@gnu.org>
11248
11249 * isearch.el (isearch-message-prefix): Run the input method part
11250 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11251
02b16839
JL
112522011-12-02 Juri Linkov <juri@jurta.org>
11253
11254 * isearch.el (isearch-occur): Use `word-search-regexp' for
11255 `isearch-word'.
11256 (isearch-search-and-update): Add condition for `isearch-word' and
11257 call `word-search-regexp'. (Bug#10145)
11258
0b950688
GM
112592011-12-01 Glenn Morris <rgm@gnu.org>
11260
11261 * eshell/em-hist.el (eshell-hist-initialize):
11262 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11263 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11264
9505c3c7
SM
112652011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11268
1bbe96b2 112692011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11270
a1beca85
SM
11271 * progmodes/verilog-mode.el (verilog-pretty-expr):
11272 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11273 verilog, such as += *= and the like.
11274 (verilog-assignment-operator-re): Regular expression to find the
11275 assigment operator in a verilog assignment.
11276 (verilog-assignment-operation-re): Regular expression to find an
11277 assignment statement for pretty-expr.
11278 (verilog-in-attribute-p): Query returns true if point is in an
11279 attribute context; used to skip these for expression line up from
11280 pretty-expr.
11281 (verilog-in-parameter-p): Query returns true if point is in an
11282 parameter definition context; used to skip these for expression
11283 line up from pretty-expr.
11284 (verilog-in-parenthesis-p): Query returns true if point is in a
11285 parenthetical expression, specifically ( ) but not [ ] or { };
11286 used by pretty-expr.
11287 (verilog-just-one-space): If there is no space, don't add one.
11288 (verilog-get-lineup-indent-2): Specifically skip just attribute
11289 contexts for expression lineup, rather than skipping all
11290 parenthetical expressions.
11291 (verilog-calculate-indent): Fix comment, and fix indent.
11292 (verilog-do-indent): Indent declarations in lists (suggested by
11293 Joachim Lechner).
11294 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11295 skeleton items.
11296 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11297 by Alain Mellan).
11298
1bbe96b2 112992011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11300
11301 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11302 parameters with embedded comments. Reported by Ray Stevens.
11303 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11304 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11305 Reported by Tim Holt.
11306 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11307 instantiated by upper module causing wrong expansion until AUTOed a
11308 second time. Reported by K C Buckenmaier.
11309 (verilog-diff-auto): Fix showing .* as a difference when
11310 `verilog-auto-star-save' off. Reported by Dan Dever.
11311 (verilog-auto-reset, verilog-read-always-signals)
11312 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11313 temporary signals in reset list if
11314 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11315 style to each signal's assignment type, bug381.
11316 Reported by Thomas Esposito.
6288f0ca
WS
11317 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11318 (verilog-uvm-statement-re): Support UVM indentation and
11319 highlighting, with old OVM keywords only.
a1beca85 11320 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11321 Support AUTOTIEOFF creating non-wire data types.
11322 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11323 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11324 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11325 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11326 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11327 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11328 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11329 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11330 non-numeric vector width. Reported by Alex Reed.
11331 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11332 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11333 (verilog-auto-delete-trailing-whitespace):
11334 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11335 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11336 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11337 Fix verilog-scan-cache corruption when running user AUTO expansion
11338 hooks that call indentation routines.
11339 (verilog-simplify-range-expression): Fix typo ignoring lower case
11340 identifiers.
11341 (verilog-delete-auto): Fix delete-autos to also remove user created
11342 automatics, as long as they start with AUTO.
11343 (verilog-batch-diff-auto, verilog-diff-auto)
11344 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11345 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11346 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11347 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11348 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11349 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11350 is disabled and its cache will get corrupt, causing AUTOS not to
11351 expand. Instead use only -quick functions.
11352 (verilog-scan-region): Fix scanning over escaped quotes.
11353 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11354 (verilog-re-search-backward-quick)
11355 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11356 related functions now ignore strings, to fix misparsing of strings
11357 with magic comments embedded in them.
a1beca85
SM
11358 (verilog-read-auto-template):
11359 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11360 Reported by Brad Dobbie.
11361 (verilog-read-auto-template):
11362 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11363 Reported by Brad Dobbie.
6288f0ca
WS
11364 (verilog-auto-inst, verilog-auto-inst-param)
11365 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11366 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11367 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11368 debugging templates without merge conflicts, bug357.
11369 Reported by Brad Dobbie.
11370 (verilog-read-auto-template):
11371 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11372 Reported by Brad Dobbie.
11373 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11374 abbrevs so user won't be asked to save.
11375 (verilog-read-auto-lisp-present): Fix to start at beginning of
11376 buffer in case called outside of verilog-auto.
11377 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11378 to "X-2". Reported by Matthew Myers.
11379 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11380 all inputs from module templates. Reported by Leith Johnson.
11381 (verilog-module-inside-filename-p): Fix locating programs as with
11382 modules.
11383 (verilog-auto-inst-port): Fix vl-width expressions when using
11384 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11385 (verilog-decls-get-regs, verilog-decls-get-signals,
11386 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11387 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11388 verilog-read-decls): Combine reg and wire structures into one var
11389 structure to represent SystemVerilog concepts.
11390 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11391 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11392 (verilog-auto-wire-type, verilog-insert-definition):
11393 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11394 SystemVerilog "logic" keyword instead of "wire"/"reg".
11395 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11396 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11397 ifdef or generate if so there's not a driver conflict).
11398 Reported by Matthew Myers.
11399 (verilog-auto-declare-nettype, verilog-insert-definition):
11400 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11401 `default_nettype none. Reported by Julian Gorfajn.
11402 (verilog-read-always-signals-recurse, verilog-read-decls)
11403 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11404 malformed end statement, bug325. Reported by Joshua Wise and
11405 Andrew Drake.
11406 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11407 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11408 when expanding .* in interfaces, bug320.
11409 Reported by Pierre-David Pfister.
6288f0ca 11410 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11411 name and open parenthesis, bug317.
11412 Reported by Pierre-David Pfister.
6288f0ca
WS
11413 (verilog-simplify-range-expression): Fix simplification of
11414 multiplications inside AUTOWIRE connections, bug303.
11415 (verilog-auto-inst-port): Support parameter expansion in
11416 multidimensional arrays.
11417 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11418 after "assert property". Reported by Julian Gorfajn.
11419 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11420 with multiplication, bug303.
11421 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11422 Reported by Jan Frode Lonnum.
11423
1bbe96b2
GM
114242011-11-30 Juanma Barranquero <lekktu@gmail.com>
11425
11426 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11427 (hfy-shell-file-name, hfy-shell):
11428 * international/fontset.el (x-decompose-font-name): Fix typos.
11429
114302011-11-29 Ken Brown <kbrown@cornell.edu>
11431
11432 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11433 (gdb-version): Remove defvar.
11434 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11435 (gdb-gud-context-command, gdb-non-stop-handler)
11436 (gdb-current-context-command, gdb-stopped): Use it.
11437 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11438 (gdb-non-stop-handler): Don't enable pretty-printing here.
11439 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11440 non-stop mode. Use the following.
11441 (gdb-check-target-async): New defun.
11442 (gud-watch, gdb-stopped): Fix whitespace.
11443 (gdb-get-source-file): Don't try to display the source file if
11444 `gdb-main-file' is nil.
11445
114462011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11447
11448 * align.el: Try to generate fewer markers (bug#10047).
11449 (align--set-marker): New macro.
11450 (align-region): Use it.
11451
c935221f
SM
114522011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11453
11454 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11455
e70b5064
CY
114562011-11-29 Chong Yidong <cyd@gnu.org>
11457
11458 * indent.el (indent-for-tab-command, indent-according-to-mode):
11459 Doc fix.
11460 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11461
f3af92b7
MA
114622011-11-29 Michael Albinus <michael.albinus@gmx.de>
11463
11464 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11465 aware of remote file names. (Bug#10124)
11466
ed472be9
CY
114672011-11-29 Chong Yidong <cyd@gnu.org>
11468
11469 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11470
24510c22
SM
114712011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * files.el (find-file): Don't use force-same-window (bug#10144).
11474 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11475 use pop-to-buffer if the selected window can't be used.
11476 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11477
c60c3703
EZ
114782011-11-28 Eli Zaretskii <eliz@gnu.org>
11479
11480 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11481 special-mode-map.
11482
e95def75
CY
114832011-11-28 Chong Yidong <cyd@gnu.org>
11484
11485 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11486
c3f1c606
NR
114872011-11-27 Nick Roberts <nickrob@snap.net.nz>
11488
11489 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11490 gdb-get-source-file-list on gdb-create-source-file-list.
11491
00db469c
EZ
114922011-11-26 Eli Zaretskii <eliz@gnu.org>
11493
11494 * whitespace.el (whitespace-newline): Use a different foreground
11495 color for 16-color light-background displays.
11496
4ad3bc2a
CY
114972011-11-24 Chong Yidong <cyd@gnu.org>
11498
11499 * window.el (display-buffer--special-action): Doc fix.
11500
e9fce1ac
JB
115012011-11-25 Juanma Barranquero <lekktu@gmail.com>
11502
11503 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11504 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11505 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11506 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11507 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11508 (avl-tree-stack-first):
11509 * emacs-lisp/cconv.el (cconv--analyse-use):
11510 * net/gnutls.el (gnutls-negotiate): Fix typos.
11511
cb825e5d
GM
115122011-11-24 Glenn Morris <rgm@gnu.org>
11513
3adbe224
GM
11514 * lpr.el (lpr-windows-system, lpr-lp-system):
11515 * mail/binhex.el (binhex-begin-line):
11516 * progmodes/grep.el (grep-history, grep-find-history):
11517 * textmodes/flyspell.el:
11518 * vc/pcvs-defs.el (cvs-global-menu):
11519 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11520 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11521 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11522
321decc8
GM
11523 * net/tls.el: Fix case of "GnuTLS".
11524
420b63ad
GM
11525 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11526
cb825e5d
GM
11527 * version.el (emacs-build-system): Give it a doc-string.
11528
a0649f08
JL
115292011-11-24 Juri Linkov <juri@jurta.org>
11530
11531 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11532
c0bc0fd4
GM
115332011-11-24 Glenn Morris <rgm@gnu.org>
11534
11535 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11536 if called on a non-mime message just toggle the headers. (Bug#8006)
11537
20db1522
JB
115382011-11-24 Juanma Barranquero <lekktu@gmail.com>
11539
11540 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11541 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11542 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11543 (allout-rebullet-heading, allout-open-sibtopic)
11544 (allout-toggle-current-subtree-encryption)
11545 (allout-toggle-subtree-encryption, allout-encrypt-string)
11546 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11547 (allout-distinctive-bullets-string, allout-auto-activation):
11548 * window.el (window-normalize-buffer-to-display):
11549 * progmodes/verilog-mode.el (verilog-batch-indent):
11550 * textmodes/bibtex.el (bibtex-field-braces-opt)
11551 (bibtex-field-strings-opt):
11552 * vc/cvs-status.el (cvs-tree-merge):
11553 Fix typos.
11554
7262a87c
MA
115552011-11-23 Michael Albinus <michael.albinus@gmx.de>
11556
11557 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11558 `non-essential' to t, in order to avoid remote connections.
11559
283430a1
EZ
115602011-11-23 Eli Zaretskii <eliz@gnu.org>
11561
a1beca85
SM
11562 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11563 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11564 case-insensitively.
11565
d2992a38
ML
115662011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11567
11568 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11569
50419064
GM
115702011-11-23 Glenn Morris <rgm@gnu.org>
11571
da94eca1
GM
11572 * paths.el (rmail-file-name): Reformat the doc-string so that it
11573 is picked up.
11574
9aac4de2
GM
11575 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11576 (rmail-auto-file): Ignore case in the "special" field names,
11577 as mail-fetch-field does for all others.
11578
8038d2d2
GM
11579 * mail/rmail.el (rmail-forward):
11580 * mail/rmailkwd.el (rmail-set-label):
11581 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11582 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11583
f3fe222a
GM
11584 * mail/rmail.el (rmail-current-message): Doc fix.
11585
50419064
GM
11586 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11587
28109f49
SM
115882011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11591
394c65f1
GM
115922011-11-22 Glenn Morris <rgm@gnu.org>
11593
11594 * mail/rmailmm.el (test-rmail-mime-handler)
11595 (test-rmail-mime-bulk-handler)
11596 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11597
f2a0aa3a
JL
115982011-11-21 Juri Linkov <juri@jurta.org>
11599
1154d12e
JB
11600 * calc/calc.el (calc-read-key-sequence):
11601 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11602
9c34a344
LMI
116032011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11604
11605 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11606 Tell the caller that the next line needs recomputation, even
11607 though it doesn't start a sexp (bug#10094).
11608
f04a3be9
SM
116092011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11612
7978747f
SM
116132011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11614
f04a3be9
SM
11615 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11616 Use force-same-window.
7978747f 11617
fe7a3057
JB
116182011-11-20 Juanma Barranquero <lekktu@gmail.com>
11619
11620 * descr-text.el (describe-char-unicode-data):
11621 * json.el (json-string-escape):
11622 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11623 (Footnote-unicode, Footnote-style-p):
11624 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11625
24901d61
CY
116262011-11-20 Chong Yidong <cyd@gnu.org>
11627
11628 * window.el (replace-buffer-in-windows): Restore interactive spec.
11629
bac7ff22
SM
116302011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11631
24f3d7b9
SM
11632 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11633
bac7ff22
SM
11634 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11635 (byte-compile-global-not-obsolete-vars): New var.
11636 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11637 Use it.
11638 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11639
cd1181db
JB
116402011-11-20 Juanma Barranquero <lekktu@gmail.com>
11641
11642 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11643 * progmodes/pascal.el (electric-pascal-equal):
11644 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11645 * xml.el (xml-substitute-special): Fix typos.
11646
7fb18e9e
GM
116472011-11-20 Glenn Morris <rgm@gnu.org>
11648
11649 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11650 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11651 Doc fixes.
11652 (rmail-decode-mime-charset): Mark as obsolete.
11653
11654 * mail/rmailsum.el (rmail-message-regexp-p-1):
11655 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11656 Before using mime functions, check they are set. (Bug#10077)
11657
d5a6b3ba
JL
116582011-11-19 Juri Linkov <juri@jurta.org>
11659
11660 * info.el (Info-finder-find-node): Use `package--builtins' instead
11661 of `package-alist'. Use node names formed by the pattern "Keyword "
11662 and the keyword name.
11663
e981b61f
AS
116642011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11665
1d00653d 11666 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11667
3ffbc301
JL
116682011-11-19 Juri Linkov <juri@jurta.org>
11669
11670 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11671 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11672 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11673 `old-history', `old-history-forward'. Add let-binding
11674 `window-selected'. Remove calls to `kill-buffer',
11675 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11676 before calling `Info-find-node', so `Info-find-node-2' will reread
11677 the Info file. Restore window positions only when `window-selected'
11678 is non-nil.
11679
30c62133
JL
116802011-11-19 Juri Linkov <juri@jurta.org>
11681
11682 * isearch.el (isearch-lazy-highlight-new-loop):
11683 Remove condition `(not isearch-error)'. (Bug#9918)
11684
11685 * misearch.el (multi-isearch-search-fun): Add condition
11686 `(not bound)' to ignore lazy-highlighting search.
11687 Add the search-failed message "end of multi" when the end of
11688 multi-sequence is reached. Uncapitalize the search-failed
11689 message "Repeat for next buffer".
11690
11691 * info.el (Info-search): Add the search-failed message
11692 "end of the manual" when the end of the manual is reached
11693 in Isearch mode.
11694
645ca9cf
JL
116952011-11-19 Juri Linkov <juri@jurta.org>
11696
11697 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11698 Use non-destructive `remove' instead of `delete' because
11699 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11700 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11701
df754f66
JL
117022011-11-19 Juri Linkov <juri@jurta.org>
11703
11704 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11705 to nil instead of binding `search-ring' and `regexp-search-ring'.
11706 (Bug#9185)
11707
0e23d96a
EZ
117082011-11-19 Eli Zaretskii <eliz@gnu.org>
11709
11710 * simple.el (line-move): Force movement by logical lines for any
11711 hscrolled window, not only when auto-hscroll-mode is on.
11712 (line-move-visual): Update doc string to that effect. (Bug#10076)
11713
8a6ccb66
AS
117142011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11715
11716 * language/european.el (macintosh): Define as alias for mac-roman.
11717
49ae5b39
EZ
117182011-11-19 Eli Zaretskii <eliz@gnu.org>
11719
11720 * mail/rmailmm.el (rmail-mime-display-header)
11721 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11722 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11723 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11724 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11725 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11726 of a raw aref.
11727 (rmail-mime-entity-segment): To get past the tagline, move forward
11728 2 more lines, to account for the 2 empty lines that precede and
11729 follow the line with the buttons.
11730 (rmail-mime-update-tagline): Move one more line, to get past the
11731 empty line that follows the buttons in the tagline. (Bug#9520)
11732
c56cad4a
MR
117332011-11-19 Martin Rudalics <rudalics@gmx.at>
11734
11735 * window.el (window-max-delta-1, window-min-delta-1)
11736 (window-min-size-1, window-state-get-1, window-state-put-1)
11737 (window-state-put-2): Use "window--" prefix.
11738
cbe71af3
SM
117392011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11740
2ad52c60
SM
11741 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11742 (smie-warning-count): New var.
11743 (smie-set-prec2tab): Use it.
11744 (smie-bnf->prec2): Improve warnings. Add docstring.
11745 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11746 (smie-bnf--set-class): New function.
11747 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11748 corner case.
11749
6944dbc1
SM
11750 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11751 (compilation-error-properties, compilation-move-to-column):
11752 Handle compilation-first-column while in the target buffer.
11753
c400c4d7
SM
11754 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11755 Don't hardcode point-min==1.
11756
6dbe3e96
SM
11757 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11758 (eshell-rewrite-for-command): Remove workaround.
11759 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11760 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11761 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11762
cbe71af3
SM
11763 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11764
a8e1496d
GM
117652011-11-17 Glenn Morris <rgm@gnu.org>
11766
11767 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11768 Ignore buffer-local generated-autoload-file if it is the same
11769 as the global value. (Bug#10049)
11770
df85d315
JB
117712011-11-17 Juanma Barranquero <lekktu@gmail.com>
11772
11773 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11774 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11775 (reftex-toc-previous-heading, reftex-toc-max-level)
11776 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11777 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11778 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11779 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11780 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11781 (reftex-toc-rename-label, reftex-toc-visit-location)
11782 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11783 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11784 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11785 leaving "*toc*" only for references to the buffer.
11786
a0c2d0ae
MR
117872011-11-17 Martin Rudalics <rudalics@gmx.at>
11788
11789 * window.el (window-resize, delete-window, split-window):
11790 Replace window-splits by window-combination-resize.
1d00653d 11791 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11792
35c0bac8
GM
117932011-11-17 Glenn Morris <rgm@gnu.org>
11794
11795 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11796 Make bash entry derive from sh entry, not shell entry.
11797
d0c8fc8a
MA
117982011-11-16 Michael Albinus <michael.albinus@gmx.de>
11799
7262a87c
MA
11800 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11801 local file name.
11802
7877f373
JB
118032011-11-16 Juanma Barranquero <lekktu@gmail.com>
11804
11805 * menu-bar.el (menu-bar-file-menu):
11806 * printing.el (pr-ps-utility):
11807 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11808 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11809 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11810 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11811 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11812 (icalendar--convert-cyclic-to-ical)
11813 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11814 (icalendar--convert-ical-to-diary)
11815 (icalendar--convert-recurring-to-diary)
11816 (icalendar--convert-non-recurring-all-day-to-diary)
11817 (icalendar-import-format-sample):
11818 * progmodes/idlw-shell.el (idlwave-shell-mode):
11819 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11820 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11821 (vhdl-ps-print-init): Fix typos.
11822
10649b82
KM
118232011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11824
9d0cfcd6
GM
11825 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11826 FSF and collapse date sequence, obscure author/maintainer email address
11827 better, remove extra version line, track relocation of author's webpage.
10649b82 11828
9d0cfcd6
GM
11829 * progmodes/python.el (python-pdbtrack-input-prompt)
11830 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11831 regular python pdb prompts. Adjustments shamelessly taken exactly as
11832 suggested in EmacsWiki page (tiny change):
11833 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11834
58179cce
JB
118352011-11-16 Juanma Barranquero <lekktu@gmail.com>
11836
11837 * expand.el (expand-pos, expand-index, expand-point):
11838 Remove redundant info from docstring.
11839 (expand-add-abbrevs): Doc fix.
11840 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11841 (expand-sample-perl-mode-expand-list): Fix typos.
11842
11843 * net/dbus.el (dbus-event-member-name):
11844 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11845 * term/pc-win.el (msdos-create-frame-with-faces):
11846 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11847
b6f67890
MR
118482011-11-16 Martin Rudalics <rudalics@gmx.at>
11849
11850 * window.el (split-window, window-state-get-1)
11851 (window-state-put-1, window-state-put-2): Rename occurrences of
11852 window-nest to window-combination-limit.
1d00653d 11853 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11854
ce7ddba0
CY
118552011-11-16 Chong Yidong <cyd@gnu.org>
11856
11857 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11858 regexp (Bug#10033).
11859
3ae704f4
SM
118602011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11861
11862 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11863 `completing-read' will remove *Completions* and will preserve
11864 current-buffer for us.
11865 (tmm-add-prompt): Users of *Completions* will always (re)set its
11866 major mode.
11867 (tmm-old-comp-map): Remove.
11868
6ad1cdde
GM
118692011-11-16 Glenn Morris <rgm@gnu.org>
11870
11871 * mail/rmailedit.el: Require rmailmm when compiling.
11872 (rmail-old-mime-state): New declaration.
11873 (rmail-edit-current-message): If editing a mime message,
11874 edit the "raw" message from the mbox buffer.
11875 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11876
d20faa20
GM
118772011-11-15 Glenn Morris <rgm@gnu.org>
11878
11879 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11880 which wasn't being used. Add optional arg to force given state.
11881 (rmail-mime): Add optional arg to force given state.
11882
c7015153
JB
118832011-11-15 Juanma Barranquero <lekktu@gmail.com>
11884
11885 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11886 * frame.el (display-mm-dimensions-alist):
11887 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11888 (outline-move-subtree-down):
11889 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11890 (newsticker--treeview-do-get-node):
11891 * net/quickurl.el (quickurl-list-buffer-name):
11892 * progmodes/dcl-mode.el (dcl-mode):
11893 * progmodes/gdb-mi.el (gdb-mapcar*):
11894 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11895
45261b50
GM
118962011-11-15 Glenn Morris <rgm@gnu.org>
11897
11898 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11899 in a boolean sense, so just make it a boolean, and fix the doc.
11900 (rmail-show-mime-function, rmail-mime-feature)
11901 (rmail-require-mime-maybe): Doc fixes.
11902 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11903
11904 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11905
0d26e0b6
JB
119062011-11-15 Juanma Barranquero <lekktu@gmail.com>
11907
11908 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11909 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11910 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11911 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11912
447f30f6
GM
119132011-11-15 Glenn Morris <rgm@gnu.org>
11914
672b871d
GM
11915 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11916 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11917 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11918 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11919 (rmail-mime, rmail-show-mime): Doc fixes.
11920
f6aa5bb1
GM
11921 * term/ns-win.el (mode-line-frame-identification):
11922 Leave it alone. (Bug#10051)
11923
947cd66b
GM
11924 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11925
447f30f6
GM
11926 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11927 Handle empty buffers. (Bug#9978)
11928
0b381c7e
JB
119292011-11-14 Juanma Barranquero <lekktu@gmail.com>
11930
11931 * international/mule.el (define-charset):
11932 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11933 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11934 * progmodes/verilog-mode.el (verilog-backward-token):
11935 * textmodes/ispell.el (lookup-words):
11936 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11937
71e027ac
GM
119382011-11-14 Glenn Morris <rgm@gnu.org>
11939
56632ce4
GM
11940 * progmodes/executable.el
11941 (executable-make-buffer-file-executable-if-script-p):
11942 Handle file-modes returning nil.
11943
40500957
GM
11944 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11945 message - not necessary, and causes problems. (Bug#9831)
11946
071c2340
GM
11947 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11948
d3cfca60
GM
11949 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11950
71e027ac
GM
11951 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11952 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11953 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11954
89d61221
MR
119552011-11-12 Martin Rudalics <rudalics@gmx.at>
11956
11957 * window.el (window-resize, delete-window): Use window-splits
11958 variable instead of function.
11959 (window-state-get-1, window-state-put-2, window-state-put):
11960 Don't deal with windows' splits status.
11961
98282f6f
GM
119622011-11-12 Glenn Morris <rgm@gnu.org>
11963
11964 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11965 (apropos-documentation): Doc fixes.
11966
40a8bdf6
JB
119672011-11-11 Juanma Barranquero <lekktu@gmail.com>
11968
11969 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11970 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11971
65bd19ff
SM
119722011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11973
11974 * electric.el (electric-indent-post-self-insert-function): Make it
11975 possible for a char to only indent in some circumstances.
11976 (electric-indent-mode): Simplify.
11977
54f9154c
MR
119782011-11-11 Martin Rudalics <rudalics@gmx.at>
11979
11980 * window.el (windows-with-parameter): Remove unused function.
11981 (windows-at-side): Rename to window-at-side-list.
11982 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11983 (window-side-check, window-size-ignore, window-size-fixed-1)
11984 (window-in-direction-2): Prefix with "window--".
11985 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11986
68cbc58b
GM
119872011-11-11 Glenn Morris <rgm@gnu.org>
11988
11989 * subr.el (eval-after-load): If FILE is already loaded,
11990 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11991
b2621720
GM
119922011-11-10 Glenn Morris <rgm@gnu.org>
11993
9a4de110
GM
11994 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11995 Call svn via vc-svn-command rather than vc-do-command.
11996 (vc-svn-command): Add --non-interactive. (Bug#9993)
11997 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11998
b2621720
GM
11999 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12000 Add toggle-read-only. (Bug#7292)
12001 * files.el (toggle-read-only): Mention that it should only
12002 be used interactively. (Bug#10006)
12003
1dce7193
SM
120042011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12005
d9ac1a1e
SM
12006 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12007 Adjust regexp for OCaml warnings.
12008
0c325082
SM
12009 * electric.el (electric-pair-post-self-insert-function): Let user
12010 turn it off buffer-locally (bug#9932).
12011
90132c14
SM
12012 * progmodes/python.el (python-beginning-of-statement):
12013 Rewrite (bug#2703).
12014
1dce7193
SM
12015 * progmodes/compile.el: Better handle TABs (bug#9749).
12016 (compilation-internal-error-properties)
12017 (compilation-next-error-function): Obey the target buffer's
12018 compilation-error-screen-columns.
12019
c4e7c63a
JB
120202011-11-09 Juanma Barranquero <lekktu@gmail.com>
12021
12022 * progmodes/meta-mode.el: Remove obsolete comments.
12023 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12024 Fix typos in docstrings.
12025
2cffd681
MR
120262011-11-09 Martin Rudalics <rudalics@gmx.at>
12027
12028 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12029 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12030 (window--resizable): New function. Make all callers of
12031 window-resizable call window--resizable instead.
12032 (window-resizable): Rewrite in terms of window--resizable.
12033
0edcba87
GM
120342011-11-08 Glenn Morris <rgm@gnu.org>
12035
12036 * progmodes/delphi.el (delphi-mode-syntax-table):
12037 Let define-derived-mode define a proper syntax table. (Bug#9994)
12038
4b0d61e3
SM
120392011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * window.el: Stay away from defsubst.
12042 (window-list-no-nils): Remove.
12043 (window-state-get-1, window-state-get): Use backquote instead.
12044
cd394be1 120452011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12046
4b0d61e3 12047 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12048 Fix incorrect use of default argument in `completing-read'.
12049
e1c2c6f2
MR
120502011-11-08 Martin Rudalics <rudalics@gmx.at>
12051
12052 * window.el (display-buffer-function, special-display-function):
12053 Mention display-buffer-record-window but do not mention
12054 help-setup parameter in doc-strings.
b3f4a882 12055 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12056
105216ed
CY
120572011-11-08 Chong Yidong <cyd@gnu.org>
12058
12059 * window.el (window-total-height, window-total-width): Doc fix.
12060 (window-body-size): Move from C.
12061 (window-body-height, window-body-width): Move to C.
12062
0a9f9ab5
SM
120632011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * window.el: Make special-display like display-buffer-alist (bug#9532).
12066 (display-buffer--special-action): New function, morphed
12067 from display-buffer--special.
12068 (display-buffer): Use it to handle special-display-buffers at higher
12069 priority (just after display-buffer-alist).
12070 (display-buffer-fallback-action, display-buffer--other-frame-action)
12071 (pop-to-buffer-same-window): Remove display-buffer--special.
12072
a769dd15
GM
120732011-11-07 Glenn Morris <rgm@gnu.org>
12074
12075 * calendar/cal-menu.el (cal-menu-set-date-title):
12076 Do nothing if not in a calendar. (Bug#9976)
12077
05a61ee3
SM
120782011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * files.el (find-file): Always use selected-window.
12081
be7f5545
MR
120822011-11-07 Martin Rudalics <rudalics@gmx.at>
12083
12084 * window.el (window-combinations): Make WINDOW argument
12085 mandatory. Rewrite doc-string.
12086 (walk-window-subtree, window-atom-check, window-min-delta)
12087 (window-max-delta, window--resize-this-window)
12088 (window--resize-root-window-vertically, window-tree)
12089 (balance-windows, window-state-put): Rewrite doc-strings as to
12090 not mention the term "subwindow".
12091 (window--resize-subwindows-skip-p): Rename to
12092 window--resize-child-windows-skip-p.
12093 (window--resize-subwindows-normal): Rename to
12094 window--resize-child-windows-normal.
12095 (window--resize-subwindows): Rename to
12096 window--resize-child-windows.
12097 (window-or-subwindow-p): Rename to window--in-subtree-p.
12098
3c6702ef
ML
120992011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12100
12101 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12102 Ensure that mbox format messages end in two newlines (Bug#9974).
12103
49745b39
CY
121042011-11-06 Chong Yidong <cyd@gnu.org>
12105
12106 * window.el (window-combination-p): Function deleted; its
12107 side-effect is not used in any existing code.
12108 (window-combinations, window-combined-p): Call window-*-child
12109 directly.
12110
24300f5f
CY
121112011-11-05 Chong Yidong <cyd@gnu.org>
12112
12113 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12114 (window-size-ignore, window-state-get): Callers changed.
12115 (window-normalize-window): Rename from window-normalize-any-window.
12116 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12117 (window-normalize-live-window): Delete.
447f16b8
CY
12118 (window-combination-p, window-combined-p, window-combinations)
12119 (walk-window-subtree, window-atom-root, window-min-size)
12120 (window-sizable, window-sizable-p, window-size-fixed-p)
12121 (window-min-delta, window-max-delta, window-resizable)
12122 (window-resizable-p, window-full-height-p, window-full-width-p)
12123 (window-current-scroll-bars, window-point-1, set-window-point-1)
12124 (window-at-side-p, window-in-direction, window-resize)
12125 (adjust-window-trailing-edge, maximize-window, minimize-window)
12126 (window-deletable-p, delete-window, delete-other-windows)
12127 (record-window-buffer, unrecord-window-buffer)
12128 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12129 (quit-window, split-window, window-state-put)
12130 (set-window-text-height, fit-window-to-buffer)
12131 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12132
89bd5ee1
EZ
121332011-11-04 Eli Zaretskii <eliz@gnu.org>
12134
53479029
EZ
12135 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12136 rfc2047-decode-string.
12137 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12138 warnings.
12139
89bd5ee1
EZ
12140 * window.el (window-body-height, window-body-width): Mention in
12141 the doc string that the return values are in frame's canonical
12142 units. (Bug#9949)
12143
bd17fdee
AM
121442011-11-03 Alan Mackenzie <acm@muc.de>
12145
12146 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12147 change in cc-engine.el.
12148
acc825c5
SM
121492011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12150
12151 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12152
1885e5b8
MR
121532011-11-02 Martin Rudalics <rudalics@gmx.at>
12154
12155 * window.el (quit-window): Call unrecord-window-buffer after
12156 showing another buffer in the window. (Bug#9937)
acc825c5 12157 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12158
ebe06da9
JB
121592011-11-02 Juanma Barranquero <lekktu@gmail.com>
12160
12161 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12162 Accept status with more than 9 shelves. (Bug#9935)
12163 Reported by Colin D Bennett <colin@gibibit.com>.
12164
4ee88440
MR
121652011-11-01 Martin Rudalics <rudalics@gmx.at>
12166
12167 * help.el (with-help-window): Don't reference
12168 temp-buffer-show-specifiers in doc-string.
12169
08e1d82c
AS
121702011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12171
12172 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12173 menu-item.
12174
84bd6e9e
VJL
121752011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12176
12177 * whitespace.el: New version 13.2.2.
12178 (whitespace-newline-mode): Disable properly. Reported by Sarah
12179 <EmacsWiki>.
12180
dba0634a
UJ
121812011-10-30 Ulf Jasper <ulf.jasper@web.de>
12182
12183 * net/newst-treeview.el: Remove "Time-stamp".
12184 (newsticker--group-manage-orphan-feeds): Do not call
12185 newsticker--treeview-tree-update.
db22a3c2
JB
12186 (newsticker-treeview-update, newsticker-treeview):
12187 Call newsticker--treeview-tree-update if necessary.
dba0634a 12188
3d8daefe
MR
121892011-10-30 Martin Rudalics <rudalics@gmx.at>
12190
12191 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12192 (window-iso-combinations): Remove "iso-" infix.
12193 Suggested by Chong Yidong.
3d8daefe
MR
12194 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12195 (window-max-delta-1, window-resize, window--resize-siblings)
12196 (window--resize-this-window, adjust-window-trailing-edge)
12197 (split-window, balance-windows-1)
12198 (shrink-window-if-larger-than-buffer):
12199 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12200 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12201
1bc4c3ae
SM
122022011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12203
12204 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12205 in place (bug#9907).
12206 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12207 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12208 (eshell-structure-basic-command, eshell-rewrite-while-command)
12209 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12210 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12211 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12212 (eshell-do-pipelines-synchronously, eshell-eval-command):
12213 Use backquotes and prefer setq to set.
12214 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12215 (eshell-macrop): Use functionp.
c1e2f5fa 12216 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12217
30b65d9c
CY
122182011-10-30 Chong Yidong <cyd@gnu.org>
12219
12220 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12221 instead of set-mark (Bug#9810).
12222
2d197ffb
CY
122232011-10-30 Chong Yidong <cyd@gnu.org>
12224
12225 * window.el (split-window-below, split-window-right): Rename from
12226 split-window-above-each-other and split-window-side-by-side
12227 respectively. All callers changed.
12228 (split-window-sensibly, split-window-sensibly): Use them.
12229 (split-window-keep-point): Doc fix.
12230
12231 * isearch.el: Add isearch-scroll property to split-window-below
12232 and split-window-right.
12233
12234 * follow.el (follow-mode):
12235 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12236 * progmodes/ada-xref.el (ada-gdb-application):
12237 * emulation/vip.el (vip-buffer-in-two-windows):
12238 * image-dired.el (image-dired-dired-with-window-configuration):
12239 * dired-x.el (dired-do-find-marked-files):
12240 * dired.el (dired-pop-to-buffer):
12241 * bs.el (bs--show-with-configuration):
12242 * vc/emerge.el (emerge-setup-windows):
12243 * textmodes/two-column.el (2C-two-columns):
12244 * textmodes/reftex-toc.el (reftex-toc):
12245 * progmodes/gdb-mi.el (gdb-setup-windows):
12246 * progmodes/fortran.el (fortran-window-create):
12247 * net/newst-treeview.el (newsticker--treeview-window-init):
12248 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12249 * emulation/tpu-edt.el (tpu-gold-map):
12250 * emulation/crisp.el (crisp-mode-map):
12251 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12252
38bb2ca8
CY
122532011-10-29 Chong Yidong <cyd@gnu.org>
12254
aa4de341
CY
12255 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12256
e1eb5385
CY
12257 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12258
5d2ece3c
CY
12259 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12260 forged Ispell output (Bug#7904).
12261
38bb2ca8
CY
12262 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12263
d0af9f77
SM
122642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * doc-view.el: Avoid ugly errors about not finding nil.
12267 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12268 (doc-view-dvipdf-program, doc-view-unoconv-program)
12269 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12270 Avoid nil or absolute file name as default value.
12271 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12272
52bedd34
AM
122732011-10-28 Alan Mackenzie <acm@muc.de>
12274
db22a3c2 12275 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12276
7e43cfa5
AM
122772011-10-28 Alan Mackenzie <acm@muc.de>
12278
12279 Amend the handling of c-beginning/end-of-defun in nested declaration
12280 scopes.
12281
52bedd34
AM
12282 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12283 cc-langs.el. Change it to a defcustom.
7e43cfa5 12284
52bedd34
AM
12285 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12286 cc-vars.el.
7e43cfa5 12287
d0af9f77
SM
12288 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12289 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12290
52bedd34 12291 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12292 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12293 (c-widen-to-enclosing-decl-scope): New function.
12294 (c-while-widening-to-decl-block): New macro.
12295 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12296 outward for defun boundaries, and correspondingly change symbol
12297 `respect-enclosure' to `go-outward'.
12298 (c-declaration-limits): Change algorithm to report only the "innermost"
12299 defun's boundaries.
12300
1a2ce9ee
DD
123012011-10-28 Deniz Dogan <deniz@dogan.se>
12302
12303 * net/rcirc.el (rcirc-mode): Use hard newlines.
12304
bc97a826
AM
123052011-10-28 Alan Mackenzie <acm@muc.de>
12306
12307 Amend to indent and fontify macros "which include their own semicolon"
12308 correctly, using the "virtual semicolon" mechanism.
12309
52bedd34 12310 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12311
d0af9f77 12312 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12313 Recode to scan one line at a time rather than having \n and \r
58179cce 12314 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12315 (c-forward-label): Amend for virtual semicolons.
58179cce 12316 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12317
52bedd34
AM
12318 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12319 of the new C macros.
bc97a826 12320
52bedd34 12321 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12322 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12323 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12324 (c-opt-cpp-macro-define): Make into a full language variable.
12325 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12326 AWK Mode (including \n, \r) removed, no longer needed.
12327
d0af9f77
SM
12328 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12329 Invoke c-make-macro-with-semi-re.
bc97a826 12330
52bedd34
AM
12331 * progmodes/cc-vars.el (c-macro-with-semi-re):
12332 (c-macro-names-with-semicolon): New variables.
58179cce 12333 (c-make-macro-with-semi-re): New function.
bc97a826 12334
7a6c0941
SM
123352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * vc/log-edit.el: Fill empty field rather than adding new one.
12338 (log-edit-add-field): New function.
12339 (log-edit-insert-changelog): Use it.
12340
b0c4cdcf
ML
123412011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12342
12343 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12344
ee1f1da9
SM
123452011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12346
12347 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12348 (gdb--check-interpreter): New function.
12349 (gdb): Use it.
12350
51bc5f8b
GM
123512011-10-27 Glenn Morris <rgm@gnu.org>
12352
416a2c45
GM
12353 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12354 (least-positive-float, least-negative-float)
12355 (least-positive-normalized-float, least-negative-normalized-float)
12356 (float-epsilon, float-negative-epsilon):
12357 Remove unnecessary declarations.
12358
12359 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12360 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12361 (least-positive-float, least-negative-float)
12362 (least-positive-normalized-float, least-negative-normalized-float)
12363 (float-epsilon, float-negative-epsilon): Add doc-strings,
12364 based on those in cl.texi.
12365
51bc5f8b
GM
12366 * files.el (set-visited-file-name): If the major-mode changed,
12367 reload the local variables. (Bug#9796)
12368
15de15c6
CY
123692011-10-27 Chong Yidong <cyd@gnu.org>
12370
12371 * subr.el (change-major-mode-after-body-hook): New hook.
12372 (run-mode-hooks): Run it.
12373
ee1f1da9
SM
12374 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12375 Use change-major-mode-before-body-hook.
15de15c6
CY
12376
12377 * simple.el (fundamental-mode):
12378 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12379 change introducing fundamental-mode-hook.
12380
5430d399
JB
123812011-10-26 Juanma Barranquero <lekktu@gmail.com>
12382
acc825c5 12383 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12384
ad74a69e
MA
123852011-10-26 Michael Albinus <michael.albinus@gmx.de>
12386
12387 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12388 tramp.el explicitly. (Bug#7583)
ad74a69e 12389
71d4c2a5
SM
123902011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * progmodes/octave-mod.el:
12393 * progmodes/octave-inf.el: Update maintainer.
12394
b1f6fa26
CY
123952011-10-26 Chong Yidong <cyd@gnu.org>
12396
12397 * subr.el (with-wrapper-hook): Rewrite doc.
12398
3f04efd6
MA
123992011-10-25 Michael Albinus <michael.albinus@gmx.de>
12400
12401 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12402 filenames "/method:foo:". (Bug#9793)
3f04efd6 12403
410488d3
SM
124042011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12405
12406 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12407 (bug#9865).
12408
c1ebb47e
GM
124092011-10-24 Glenn Morris <rgm@gnu.org>
12410
12411 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12412
7f5c46c7
MA
124132011-10-24 Michael Albinus <michael.albinus@gmx.de>
12414
12415 * notifications.el: Add the requirement of a running D-Bus session
12416 bus to the Commentary.
12417
db2440b6
JL
124182011-10-24 Juri Linkov <juri@jurta.org>
12419
12420 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12421 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12422 (Bug#9364)
12423
feecf435
JL
124242011-10-24 Juri Linkov <juri@jurta.org>
12425
12426 * info.el (Info-following-node-name-re): Add newline to the list
12427 of allowed characters for leading space. (Bug#9824)
12428
a3839de2
SM
124292011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12430
acc825c5
SM
12431 * progmodes/octave-inf.el (inferior-octave-mode-map):
12432 Fix C-c C-h binding.
a3839de2
SM
12433 * progmodes/octave-mod.el (octave-help): Remove.
12434
09388e76
MA
124352011-10-23 Michael Albinus <michael.albinus@gmx.de>
12436
12437 Sync with Tramp 2.2.3.
12438
12439 * net/tramp-cache.el (top): Pacify byte-compiler using
12440 `init-file-user' and `site-run-file'.
12441
12442 * net/trampver.el: Update release number.
12443
86c60681
CY
124442011-10-23 Chong Yidong <cyd@gnu.org>
12445
12446 * files.el (toggle-read-only): Remove obsolete comment about
12447 version control.
12448
12449 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12450 for toggle-read-only. Note that this hasn't called vc-next-action
12451 since 2008-05-02, though it wasn't documented at the time.
12452
a3839de2
SM
12453 * vc/ediff-init.el (ediff-toggle-read-only-function):
12454 Use toggle-read-only.
86c60681 12455
cd5495ff
AM
124562011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12457
12458 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12459 of c-parse-state.
12460
00b77525 12461 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12462 correct faulty logical expression.
cd5495ff
AM
12463 (c-parse-state-state, c-record-parse-state-state):
12464 (c-replay-parse-state-state): New defvar/defuns.
12465 (c-debug-parse-state): Use new functions.
12466
42ee24ed
MR
124672011-10-22 Martin Rudalics <rudalics@gmx.at>
12468
12469 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12470 last fix. Use window-in-direction correctly.
42ee24ed 12471
a7dee7e7
CY
124722011-10-21 Chong Yidong <cyd@gnu.org>
12473
12474 * progmodes/idlwave.el (idlwave-mode):
12475 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12476 require-final-newline; that's done in prog-mode.
12477 Suggested by Stefan Monnier.
a7dee7e7 12478
e07b9a6d
MR
124792011-10-21 Martin Rudalics <rudalics@gmx.at>
12480
12481 * mouse.el (mouse-drag-window-above)
12482 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12483 (mouse-drag-mode-line-1, mouse-drag-header-line)
12484 (mouse-drag-vertical-line-rightward-window): Remove.
12485 (mouse-drag-line): New function.
12486 (mouse-drag-mode-line, mouse-drag-header-line)
12487 (mouse-drag-vertical-line): Call mouse-drag-line.
12488 * window.el (window-at-side-p, windows-at-side): New functions.
12489
7e1361d9
UM
124902011-10-21 Ulrich Mueller <ulm@gentoo.org>
12491
12492 * tar-mode.el (tar-grind-file-mode):
12493 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12494
30fcaf3a
CY
124952011-10-21 Chong Yidong <cyd@gnu.org>
12496
12497 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12498 * progmodes/vera-mode.el (vera-mode):
12499 Use mode-require-final-newline.
30fcaf3a 12500
516eddb0
GM
125012011-10-20 Glenn Morris <rgm@gnu.org>
12502
db22a3c2 12503 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12504
10d5f513
CS
125052011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12506
12507 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12508
ac6c8639
CY
125092011-10-20 Chong Yidong <cyd@gnu.org>
12510
12511 * emulation/cua-base.el (cua-mode):
12512 * mail/footnote.el (footnote-mode):
12513 * mail/mailabbrev.el (mail-abbrevs-mode):
12514 * net/xesam.el (xesam-minor-mode):
12515 * progmodes/bug-reference.el (bug-reference-mode):
12516 * progmodes/cap-words.el (capitalized-words-mode):
12517 * progmodes/compile.el (compilation-minor-mode)
12518 (compilation-shell-minor-mode):
12519 * progmodes/gud.el (gud-tooltip-mode):
12520 * progmodes/hideif.el (hide-ifdef-mode):
12521 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12522 * progmodes/subword.el (subword-mode):
12523 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12524 * progmodes/which-func.el (which-function-mode):
12525 * term/tvi970.el (tvi970-set-keypad-mode):
12526 * term/vt100.el (vt100-wide-mode):
12527 * textmodes/flyspell.el (flyspell-mode):
12528 * textmodes/ispell.el (ispell-minor-mode):
12529 * textmodes/nroff-mode.el (nroff-electric-mode):
12530 * textmodes/paragraphs.el (use-hard-newlines):
12531 * textmodes/refill.el (refill-mode):
12532 * textmodes/reftex.el (reftex-mode):
12533 * textmodes/rst.el (rst-minor-mode):
12534 * textmodes/sgml-mode.el (html-autoview-mode)
12535 (sgml-electric-tag-pair-mode):
12536 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12537 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12538 * emulation/crisp.el (crisp-mode):
12539 * emacs-lisp/eldoc.el (eldoc-mode):
12540 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12541 minor mode behavior.
12542
aa42ab43
JL
125432011-10-19 Juri Linkov <juri@jurta.org>
12544
12545 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12546 the list of hard-coded chars with escape-glyph face.
12547
89400f1d
SM
125482011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12549
12550 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12551
305c07f6
MA
125522011-10-19 Michael Albinus <michael.albinus@gmx.de>
12553
12554 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12555 running process.
12556
13754b54
GM
125572011-10-19 Glenn Morris <rgm@gnu.org>
12558
12559 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12560 Ignore ignored files. (Bug#9726)
12561
06e21633
CY
125622011-10-19 Chong Yidong <cyd@gnu.org>
12563
12564 Doc fix for minor modes, stating that an omitted argument enables
12565 the mode unconditionally when called from Lisp.
12566
12567 * abbrev.el (abbrev-mode):
12568 * allout.el (allout-mode):
12569 * autoinsert.el (auto-insert-mode):
12570 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12571 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12572 (global-auto-revert-mode):
12573 * battery.el (display-battery-mode):
12574 * composite.el (global-auto-composition-mode)
12575 (auto-composition-mode):
12576 * delsel.el (delete-selection-mode):
12577 * desktop.el (desktop-save-mode):
12578 * dired-x.el (dired-omit-mode):
12579 * dirtrack.el (dirtrack-mode):
12580 * doc-view.el (doc-view-minor-mode):
12581 * double.el (double-mode):
12582 * electric.el (electric-indent-mode, electric-pair-mode):
12583 * emacs-lock.el (emacs-lock-mode):
12584 * epa-hook.el (auto-encryption-mode):
12585 * follow.el (follow-mode):
12586 * font-core.el (font-lock-mode):
12587 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12588 * help.el (temp-buffer-resize-mode):
12589 * hilit-chg.el (highlight-changes-mode)
12590 (highlight-changes-visible-mode):
12591 * hi-lock.el (hi-lock-mode):
12592 * hl-line.el (hl-line-mode, global-hl-line-mode):
12593 * icomplete.el (icomplete-mode):
12594 * ido.el (ido-everywhere):
12595 * image-file.el (auto-image-file-mode):
12596 * image-mode.el (image-minor-mode):
12597 * iswitchb.el (iswitchb-mode):
12598 * jka-cmpr-hook.el (auto-compression-mode):
12599 * linum.el (linum-mode):
12600 * longlines.el (longlines-mode):
12601 * master.el (master-mode):
12602 * mb-depth.el (minibuffer-depth-indicate-mode):
12603 * menu-bar.el (menu-bar-mode):
12604 * minibuf-eldef.el (minibuffer-electric-default-mode):
12605 * mouse-sel.el (mouse-sel-mode):
12606 * msb.el (msb-mode):
12607 * mwheel.el (mouse-wheel-mode):
12608 * outline.el (outline-minor-mode):
12609 * paren.el (show-paren-mode):
12610 * recentf.el (recentf-mode):
12611 * reveal.el (reveal-mode, global-reveal-mode):
12612 * rfn-eshadow.el (file-name-shadow-mode):
12613 * ruler-mode.el (ruler-mode):
12614 * savehist.el (savehist-mode):
12615 * scroll-all.el (scroll-all-mode):
12616 * scroll-bar.el (scroll-bar-mode):
12617 * server.el (server-mode):
12618 * shell.el (shell-dirtrack-mode):
12619 * simple.el (auto-fill-mode, transient-mark-mode)
12620 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12621 (line-number-mode, column-number-mode, size-indication-mode)
12622 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12623 * strokes.el (strokes-mode):
12624 * time.el (display-time-mode):
12625 * t-mouse.el (gpm-mouse-mode):
12626 * tool-bar.el (tool-bar-mode):
12627 * tooltip.el (tooltip-mode):
12628 * type-break.el (type-break-mode-line-message-mode)
12629 (type-break-query-mode):
12630 * view.el (view-mode):
12631 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12632 (global-whitespace-mode, global-whitespace-newline-mode):
12633 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12634
a3839de2
SM
12635 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12636 Fix autogenerated docstring.
06e21633 12637
5214e501
JL
126382011-10-19 Juri Linkov <juri@jurta.org>
12639
12640 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12641 by checking environment variables "DESKTOP_SESSION" and
12642 "XDG_CURRENT_DESKTOP". (Bug#9779)
12643
195f8db9
JL
126442011-10-19 Juri Linkov <juri@jurta.org>
12645
12646 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12647 (browse-url-chromium-program, browse-url-chromium-arguments):
12648 New defcustoms.
12649 (browse-url-default-browser): Check for `browse-url-chromium' and
12650 call `browse-url-chromium-program'.
12651 (browse-url-chromium): New command. (Bug#9779)
12652
343a34ff
JB
126532011-10-18 Juanma Barranquero <lekktu@gmail.com>
12654
12655 * facemenu.el (list-colors-duplicates): On Windows, detect more
12656 duplicates by assuming that only colors matching "^System" are
12657 special "system colors". (Bug#9722)
12658
6978a151
SM
126592011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12660
12661 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12662 to distinguish the author from the committer.
12663
6a80b297
MA
126642011-10-18 Michael Albinus <michael.albinus@gmx.de>
12665
12666 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12667
b31a5677
JK
126682011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12669
12670 * international/mule.el (sgml-html-meta-auto-coding-function):
12671 Add support for detecting encoding in HTML5 specified only as
12672 <meta charset="UTF-8">. Implementation just makes http-equiv and
12673 content-type parts from HTML4 encoding string optional. (Bug#9716)
12674
80c6d77f
GM
126752011-10-18 Glenn Morris <rgm@gnu.org>
12676
12677 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12678
08b0fee8
CY
126792011-10-18 Chong Yidong <cyd@gnu.org>
12680
12681 * faces.el (cursor): Doc fix.
12682
67e729a5
CY
126832011-10-17 Chong Yidong <cyd@gnu.org>
12684
12685 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12686
343a34ff 126872011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12688
12689 * dirtrack.el (dirtrack): Support shell buffers with path
12690 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12691
0bc06380
TZ
126922011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12693
12694 * json.el: Bump version to 1.3 and note change in History.
12695 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12696
8b79f3e0
SM
126972011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12698
5a7c536b
SM
12699 * comint.el (comint-insert-input, comint-send-input)
12700 (comint-get-old-input-default, comint-backward-matching-input)
12701 (comint-next-prompt): Use nil instead of `input' for field property of
12702 past user input (bug#114).
12703
96a8a0df
SM
12704 * minibuffer.el (completion--replace): Inherit surrounding properties
12705 (bug#114).
12706 (minibuffer-complete-and-exit): Use it.
12707
8b79f3e0
SM
12708 * comint.el (comint--table-subvert): Quote the all-completions output
12709 (bug#9160).
12710
b8f7ff0d
MR
127112011-10-17 Martin Rudalics <rudalics@gmx.at>
12712
8b79f3e0 12713 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12714
b8f7ff0d 12715 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12716 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12717 entries and separate them from frame entries.
12718
c235b555
GM
127192011-10-15 Glenn Morris <rgm@gnu.org>
12720
12721 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12722 Doc fixes.
12723
6bbfa6e1
CY
127242011-10-15 Chong Yidong <cyd@stupidchicken.com>
12725
8b79f3e0
SM
12726 * net/network-stream.el (network-stream-open-starttls):
12727 Improve detection of failure due to lack of TLS support.
ec5c990d 12728
6bbfa6e1
CY
12729 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12730 putting the input text in front and in bold.
12731
98488977
SM
127322011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12733
3d1337be
SM
12734 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12735
ee0b45e4
SM
12736 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12737 empty buffer.
12738
98488977
SM
12739 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12740 unread-command-events rather than pushing yet-another event.
12741
186f4720
EZ
127422011-10-14 Eli Zaretskii <eliz@gnu.org>
12743
12744 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12745 the explanation of the possible choices. Make the options passed
12746 to completing-read shorter.
12747
8b7a997c
AM
127482011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12749
12750 * textmodes/flyspell.el (flyspell-large-region): Make sure
12751 extended character mode is used if defined (Bug#1339).
12752
12587bbb
EZ
127532011-10-13 Eli Zaretskii <eliz@gnu.org>
12754
12755 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12756 character info for LRE, LRO, RLE, and RLO characters by appending
12757 an invisible PDF.
12587bbb 12758
bad41229
SM
127592011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12760
12761 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12762 even in case of error; add debug spec; simplify data flow.
12763 (with-timeout-handler): Remove.
12764
28dbc92f
MA
127652011-10-12 Michael Albinus <michael.albinus@gmx.de>
12766
12767 Fix Bug#6019, Bug#9315.
12768
12769 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12770 complete `buffer-file-name', the local file name part could look
12771 remotely (for example on VMS).
12772
12773 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12774 `tramp-run-real-handler'.
12775 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12776 already quoted by '"'.
12777
12778 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12779 Let `file-name-handler-alist' be nil, the local file name part
12780 could look remotely (for example on VMS).
12781
e1b0b23a
SM
127822011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12783
12784 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12785 from here...
12786 (flyspell-post-command-hook): ...to here.
12787
a120bde9
SM
127882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12789
12790 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12791 if not needed.
12792 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12793 using completion. Protect against "slow" callers.
12794 Remove the "message hack".
12795
7ce7717b
JL
127962011-10-11 Juri Linkov <juri@jurta.org>
12797
12798 * isearch.el (isearch-lazy-highlight-word): New variable.
12799 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12800 Use it. (Bug#9727)
12801
c02ee9d6
GM
128022011-10-11 Glenn Morris <rgm@gnu.org>
12803
12804 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12805 like f90-previous-statement does.
12806
93e616fd 128072011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12808
1f190e73 12809 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12810 only in interactive use, to avoid error.
12811
af7b6078
SM
128122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12813
12814 * minibuffer.el (completion-file-name-table): Fix last change,
12815 i.e. ignore normal errors but not the other ones.
12816
0563dae9
MR
128172011-10-10 Martin Rudalics <rudalics@gmx.at>
12818
12819 * window.el (special-display-buffer-names)
12820 (special-display-regexps): Remove some remnants of earlier
12821 changes from doc-strings.
366ca7f3
MR
12822 (quit-windows-on): New function.
12823
12824 * vc/vc.el (vc-revert, vc-rollback):
12825 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12826 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12827 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12828
49677495
MR
128292011-10-09 Martin Rudalics <rudalics@gmx.at>
12830
12831 * window.el (frame-auto-hide-function): Add version tag.
12832 (Bug#9699)
12833
56f2d1e1
MA
128342011-10-09 Michael Albinus <michael.albinus@gmx.de>
12835
12836 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12837 condition.
12838
112a6592
LL
128392011-10-09 Leo Liu <sdl.web@gmail.com>
12840
12841 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12842 (Bug#9701)
12843
0812589b
GM
128442011-10-08 Glenn Morris <rgm@gnu.org>
12845
12846 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12847 before the first code statement zero indent. (Bug#9690)
12848
b2b0776e
CY
128492011-10-08 Chong Yidong <cyd@stupidchicken.com>
12850
12851 * simple.el (count-words-region): Always count in the region.
12852 Report the number of lines and characters too.
12853 (count-words): New command, which counts in the buffer if the
12854 region is inactive, as count-words-region used to.
12855 (count-words--message): New function. Handle plurals.
12856 (count-lines-region): Make it an alias for count-words-region.
12857
12858 * bindings.el (esc-map): Replace count-lines-region with
12859 count-words-region.
12860
c557cd6b
MR
128612011-10-08 Martin Rudalics <rudalics@gmx.at>
12862
12863 * window.el (window--delete): Delete dedicated frame
12864 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12865 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12866
61a57ef4 128672011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12868
3a7d293b 12869 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12870
c3833279
CY
128712011-10-07 Chong Yidong <cyd@stupidchicken.com>
12872
12873 * bindings.el ([M-left],[M-right]): Bind to left-word and
12874 right-word respectively.
12875
21ce8245
GM
128762011-10-07 Glenn Morris <rgm@gnu.org>
12877
12878 * cus-start.el (debug-on-quit): Fix custom type.
12879
6d823bb2
LMI
128802011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12881
0181e193
LMI
12882 * subr.el (define-key-after): Clarify that the function is not
12883 useful for non-menu keymaps.
12884
6d823bb2
LMI
12885 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12886
8e3459ce 128872011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12888
21ce8245 12889 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12890 in current minibuffer (Fix bug with recursive minibuffers).
12891
a1c2d21e
CY
128922011-10-06 Chong Yidong <cyd@stupidchicken.com>
12893
12894 * progmodes/gdb-mi.el (gdb): Doc fix.
12895
5a4cf282
MR
128962011-10-05 Martin Rudalics <rudalics@gmx.at>
12897
12898 * window.el (frame-auto-hide-function): New option replacing
12899 frame-auto-delete. Suggested by Stefan Monnier.
12900 (window--delete): Call frame-auto-hide-function instead of
12901 investigating frame-auto-delete.
c96111ea
MR
12902 (window-point-1, set-window-point-1): New functions.
12903 (window-in-direction, record-window-buffer, window-state-get-1)
12904 (display-buffer-record-window): Use window-point-1 instead of
12905 window-point.
12906 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12907
9854542e
SM
129082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12911
8943cfb0
GM
129122011-10-05 Glenn Morris <rgm@gnu.org>
12913
12914 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12915 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12916
647ab967
LL
129172011-10-05 Leo Liu <sdl.web@gmail.com>
12918
12919 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12920 works with buffer object.
12921
3ddfbced
SM
129222011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12923
12924 * mpc.el (mpc-tool-bar-map): Add labels.
12925
bdfa5dd2
GM
129262011-10-04 Glenn Morris <rgm@gnu.org>
12927
12928 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12929
0e2070b5
MR
129302011-10-04 Martin Rudalics <rudalics@gmx.at>
12931
12932 * window.el (window--delete): New function.
12933 (frame-auto-delete): Resuscitate option.
12934 (bury-buffer, replace-buffer-in-windows)
12935 (quit-window): Rewrite using window--delete.
12936 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12937 Pass display-buffer-mark-dedicated to window--display-buffer-2
12938 (Bug#9639).
12939
3dc61a09
SM
129402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12941
915a9b64
SM
12942 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12943 returns a list (bug#9554). Add remote file name completion.
12944 * comint.el (comint--table-subvert): Curry and get quote&unquote
12945 functions as arguments.
12946 (comint--complete-file-name-data): Adjust call accordingly.
12947 * pcomplete.el (pcomplete--table-subvert): Remove.
12948 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12949
3dc61a09
SM
12950 * minibuffer.el (completion-table-case-fold): Use currying.
12951 (completion--styles-type, completion--cycling-threshold-type):
12952 New constants.
12953 (completion-styles, completion-category-overrides)
12954 (completion-cycle-threshold): Use them.
12955 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12956 completion-table-case-fold.
12957
8ea0a993
SB
129582011-10-03 Stephen Berman <stephen.berman@gmx.net>
12959
12960 * minibuffer.el (completion-category-overrides): Fix type of styles
12961 and add more user friendly tags (bug#9660).
12962
8c24b7f6
SM
129632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12966 (mule-input-method-string): New widget.
12967 (default-input-method, language-info-custom-alist): Use it.
12968
428fe61a
SM
129692011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12970
32c1fffd
SM
12971 * pcomplete.el: Require comint.
12972 (pcomplete--common-suffix): Remove.
12973 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12974 (pcomplete--table-subvert): Sync with comint--table-subvert.
12975 (pcomplete--entries): Use comint-completion-file-name-table.
12976 * comint.el (comint-unquote-filename): Simplify.
12977 (comint-completion-file-name-table): New function (bug#9616).
12978 (comint--complete-file-name-data): Use it.
12979
428fe61a
SM
12980 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12981 (pcmpl-gnu-tar-buffer): Remove.
12982 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12983 around. Make sure pcomplete-suffix-list is only changed temporarily.
12984 Don't look inside the tar's file if it's too large.
428fe61a 12985
04c52e2f
CY
129862011-10-01 Chong Yidong <cyd@stupidchicken.com>
12987
ce3cefcc
CY
12988 * cus-edit.el (custom-mode-map):
12989 * epa.el (epa-key-list-mode-map):
12990 * man.el (Man-mode-map):
12991 * startup.el (splash-screen-keymap):
12992 * simple.el (special-mode-map): Use scroll-up-command and
12993 scroll-down-command.
12994
12995 * progmodes/idlw-help.el (idlwave-help-mode-map):
12996 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12997 * net/newst-plainview.el (newsticker-mode-map):
12998 * emulation/ws-mode.el (wordstar-mode-map):
12999 * emulation/vi.el (vi-com-map):
13000 * calc/calc-graph.el (calc-graph-show-dumb):
13001 * term/sun.el (terminal-init-sun):
13002 * term/ns-win.el (global-map):
13003 * progmodes/grep.el (grep-mode-map):
13004 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13005 * mail/rmail.el (rmail-mode-map):
13006 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13007
04c52e2f
CY
13008 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13009 custom-safe-themes as special.
13010
79adf8c8
JD
130112011-10-01 Julien Danjou <julien@danjou.info>
13012
13013 * notifications.el (notifications-notify): Fix docstring.
13014
63bd50d3
PS
130152011-10-01 Per Starbäck <per@starback.se>
13016
13017 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13018
199e4c7e
MR
130192011-09-30 Martin Rudalics <rudalics@gmx.at>
13020
13021 * startup.el (command-line-1): Fix last fix by inserting
13022 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13023 (Bug#9605) and (Bug#9636)
199e4c7e 13024
fe5f08dd
EZ
130252011-09-29 Eli Zaretskii <eliz@gnu.org>
13026
13027 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13028 window is hscrolled, move by logical lines. (Bug#9607)
13029 (line-move-visual): Update the doc string to the above effect.
13030
b5516bbd
MR
130312011-09-29 Martin Rudalics <rudalics@gmx.at>
13032
ccee00c0
MR
13033 * window.el (display-buffer-record-window): When WINDOW is the
13034 selected window use `point' instead of `window-point'. (Bug#9626)
13035
b5516bbd
MR
13036 * startup.el (command-line-1): Use insert-before-markers when
13037 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13038
b5516bbd
MR
13039 * help.el (help-window): Remove variable.
13040
52aa0014
GM
130412011-09-29 Glenn Morris <rgm@gnu.org>
13042
13043 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13044
df9a7357
JB
130452011-09-29 Juanma Barranquero <lekktu@gmail.com>
13046
13047 * descr-text.el (describe-char-categories): Accept category
13048 descriptions more than one line long.
13049
a8406c20
SM
130502011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13051
88d9610c
SM
13052 * simple.el (delete-trailing-whitespace): Fix last change.
13053
a5daf810
SM
13054 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13055 Don't confuse "y => 3" as the beginning of a `y' operation.
13056
a8406c20
SM
13057 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13058 object has more than 4 slots (bug#9613).
13059
a239d4e9
JB
130602011-09-28 Juanma Barranquero <lekktu@gmail.com>
13061
13062 * subr.el (with-output-to-temp-buffer):
13063 * net/quickurl.el (quickurl, quickurl-browse-url):
13064 Fix typos in docstrings.
13065
693fbdb6
EZ
130662011-09-27 Eli Zaretskii <eliz@gnu.org>
13067
13068 * minibuffer.el (completion-styles)
13069 (completion-category-overrides): Cross reference each other in doc
13070 strings.
13071
8b457e28
GM
130722011-09-27 Glenn Morris <rgm@gnu.org>
13073
13074 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13075 to split-string. (Bug#9606)
13076
85a16208
LMI
130772011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13078
13079 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13080 (bug#9615).
13081
502f9ebd
CY
130822011-09-27 Chong Yidong <cyd@stupidchicken.com>
13083
13084 * emacs-lisp/package.el (list-packages): Fix echo area message.
13085
7690bdea
LL
130862011-09-27 Leo Liu <sdl.web@gmail.com>
13087
13088 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13089
e2ee6f30
MA
130902011-09-25 Michael Albinus <michael.albinus@gmx.de>
13091
13092 * net/dbus.el (dbus-unregister-object): Don't release services for
13093 registered signals. (Bug#9581)
13094
f3f98342
TZ
130952011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13096
13097 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13098 function that picks between cfengine 2 and 3 support
13099 automatically. Update docs accordingly.
13100
dd7aa8dd
KH
131012011-09-22 Kenichi Handa <handa@m17n.org>
13102
13103 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13104 ZERO.
13105 (indian-itrans-v5-table-for-tamil): New variable.
13106 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13107
3f2b07f8
KM
131082011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13109
13110 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13111 that's true if the current command involved collapsing of text.
13112 It's reset to false at the beginning of the next command.
13113 (allout-post-command-business): Move the cursor to the beginning
13114 of entry if the cursor is hidden and collapsing activity just
13115 happened.
13116
371d6a61
CY
131172011-09-24 Chong Yidong <cyd@stupidchicken.com>
13118
13119 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13120 tracking (Bug#9541).
13121
2ac2721a
UJ
131222011-09-24 Ulf Jasper <ulf.jasper@web.de>
13123
13124 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13125 (newsticker-show-news): Automatically load html rendering package
13126 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13127 because w3m-fill-column is let-bound" and the error "Symbol's value
13128 as variable is void: w3m-fill-column".
2ac2721a 13129
fac7ae53
MA
131302011-09-24 Michael Albinus <michael.albinus@gmx.de>
13131
13132 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13133 Release services only if they are defined. (Bug#9581)
13134
e08b633b
RS
131352011-09-23 Richard Stallman <rms@gnu.org>
13136
e488d29c
RS
13137 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13138 distinguish start of paragraph from start of its text.
13139
19c38752
RS
13140 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13141
e08b633b
RS
13142 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13143 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13144 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13145
0a39f27e
AS
131462011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13147
13148 * international/mule-diag.el (mule-diag): Insert a newline after
13149 each fontset description.
13150
db4e950d
SM
131512011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13152
13153 * simple.el (delete-trailing-whitespace):
13154 Document last change; simplify.
13155
eca3f3ea
PW
131562011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13157
d68e189a
PW
13158 * simple.el (delete-trailing-whitespace): Also delete
13159 extra newlines at the end of the buffer.
13160
eca3f3ea
PW
13161 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13162 (picture-newline): Use forward-line so as to ignore fields.
13163
01c157cc
SM
131642011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13165
13166 * subr.el (with-wrapper-hook): Fix edebug spec.
13167
022de23e
LMI
131682011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13169
13170 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13171 (bug#4538).
13172
91683089
MA
131732011-09-23 Michael Albinus <michael.albinus@gmx.de>
13174
eca3f3ea
PW
13175 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13176 Fix nasty bug using wrong cached values.
91683089 13177
5bdd6fa4
AM
131782011-09-23 Alan Mackenzie <acm@muc.de>
13179
13180 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13181
97adfb97
CY
131822011-09-23 Chong Yidong <cyd@stupidchicken.com>
13183
13184 * window.el (pop-to-buffer): Ensure right window is selected if we
13185 chose another frame.
13186
d4ef2b50
EZ
131872011-09-22 Eli Zaretskii <eliz@gnu.org>
13188
13189 * simple.el (what-cursor-position): Use get-char-property-change
13190 and next-single-char-property-change, to be able to show display
13191 properties that come from overlays as well as text properties.
13192
72258fe5
CY
131932011-09-22 Chong Yidong <cyd@stupidchicken.com>
13194
13195 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13196
13197 * cmuscheme.el (run-scheme, switch-to-scheme):
13198 * cus-edit.el (customize-group, custom-buffer-create)
13199 (customize-browse):
13200 * info.el (info):
13201 * shell.el (shell):
13202 * mail/sendmail.el (mail):
13203 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13204
8f098516
RS
132052011-09-22 Richard Stallman <rms@gnu.org>
13206
13207 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13208 move back only to line beg, don't move back over blank lines.
13209
e74f1bb6
MA
132102011-09-22 Michael Albinus <michael.albinus@gmx.de>
13211
13212 * files.el (copy-directory): Set directory attributes only in case
13213 they could be retrieved from the source directory. (Bug#9565)
13214
bfeef8b6
DK
132152011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13216
13217 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13218 (hs-find-block-beginning, hs-hide-level-recursive):
13219 Ignore strings as well as comments. (Bug#9502)
13220
7e423bb8
AS
132212011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13222
13223 * progmodes/sql.el (sql-comint-postgres):
13224 Convert port number to a string. (Bug#9566)
13225
b4d72fcf
MR
132262011-09-22 Martin Rudalics <rudalics@gmx.at>
13227
13228 * window.el (quit-window): Undedicate window when switching to
13229 previous buffer. Reported by Thierry Volpiatto
13230 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13231 (special-display-popup-frame): When popping up a new frame reset
13232 its previous buffers to nil. Simplify code.
b4d72fcf 13233
a7b88dc6
MA
132342011-09-21 Michael Albinus <michael.albinus@gmx.de>
13235
13236 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13237 and process filter, as done also in `shell-command'.
13238
cf4eacfd
MR
132392011-09-21 Martin Rudalics <rudalics@gmx.at>
13240
eca3f3ea 13241 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13242 Call set-window-start with NOFORCE argument t.
13243 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13244 (quit-window): Reword doc-string. Handle new format of
13245 quit-restore parameter. Don't delete window if it has a
13246 previous buffer we can show instead of the present one.
13247 (display-buffer-record-window): Rewrite using a new format for
13248 the quit-restore window parameter
13249 (special-display-popup-frame, display-buffer-same-window)
13250 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13251 (display-buffer-pop-up-window, display-buffer-use-some-window):
13252 Adapt symbol passed to display-buffer-record-window.
13253 * help.el (help-window-setup): Handle new format of quit-restore
13254 parameter.
13255
8d28cb95
SM
132562011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13257
94ab793f
SM
13258 * faces.el (face-list): Fix docstring (bug#9564).
13259
8d28cb95
SM
13260 * window.el (display-buffer--action-function-custom-type):
13261 Don't include internal functions in the Custom interface.
13262
3820edeb
JL
132632011-09-20 Juri Linkov <juri@jurta.org>
13264
13265 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13266 (Info-forward-node, Info-backward-node, Info-next-preorder)
13267 (Info-last-preorder): Use it. (Bug#9528)
13268
5147931d
JL
132692011-09-20 Juri Linkov <juri@jurta.org>
13270
13271 * info.el (Info-last-preorder): Visit last menu item only when
13272 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13273
cf499a1a
JD
132742011-09-20 Julien Danjou <julien@danjou.info>
13275
13276 * password-cache.el (password-cache-remove): Remove entries even if the
13277 value is nil, so that password with a nil value (negative caching) is
13278 possible to invalidate.
13279
f84e2fe2
LM
132802011-09-20 Lawrence Mitchell <wence@gmx.li>
13281
13282 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13283 all whitespace around breakpoint. (Bug#9553)
13284 (f90-find-breakpoint): Only break at whitespace inside a comment.
13285
78054a46
SM
132862011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13287
13288 * minibuffer.el (completion-file-name-table): Keep track of errors.
13289 (completion-table-with-predicate): Handle the case where pred1 is nil.
13290 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13291
345083b2
SM
132922011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13293
e24e27be
SM
13294 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13295 (debugger-return-value): Signal an error if the debugging context does
13296 not await any return value.
13297
345083b2
SM
13298 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13299 * image-mode.el (image-toggle-display-text)
13300 (image-toggle-display-image): Stay away from evil `intangible'.
13301
08d355e3
LL
133022011-09-19 Leo Liu <sdl.web@gmail.com>
13303
13304 * replace.el (occur-revert-arguments): Make it permanent-local.
13305 (occur-mode): Don't call font-lock-defontify.
13306
f01da43f
CY
133072011-09-19 Chong Yidong <cyd@stupidchicken.com>
13308
13309 * net/ldap.el (ldap-search-internal): Don't push empty search
13310 result (Bug#9508).
13311
b6072fa6
SM
133122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13315
443d6696
MA
133162011-09-19 Michael Albinus <michael.albinus@gmx.de>
13317
13318 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13319 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13320
7cc6e154
JL
133212011-09-18 Juri Linkov <juri@jurta.org>
13322
13323 * buff-menu.el (Buffer-menu-mode-map):
13324 * dired.el (dired-mode-map):
13325 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13326 (lisp-interaction-mode-map):
13327 * emacs-lisp/package.el (package-menu-mode-map):
13328 * epa.el (epa-key-list-mode-map):
13329 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13330 (menu-bar-options-menu):
13331 * outline.el (outline-mode-menu-bar-map):
13332 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13333 * vc/vc-dir.el (vc-dir-menu-map):
13334 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13335 Capitalize non-function content words in menu item strings.
13336
13337 * dired.el (dired-mode-map): Add menu item for
13338 `image-dired-dired-toggle-marked-thumbs'.
13339
80302a81
JL
133402011-09-18 Juri Linkov <juri@jurta.org>
13341
13342 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13343 to `isearch-case-fold-search' and restore its original value
13344 after the `isearch-mode' call.
13345
46c5cf66
JL
133462011-09-18 Juri Linkov <juri@jurta.org>
13347
13348 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13349 because `zgrep' returns 1 for successful matches (bug#9226).
13350
d18b513b
JL
133512011-09-18 Juri Linkov <juri@jurta.org>
13352
13353 * info.el (Info-extract-menu-node-name): Check the second match
13354 for empty string (second test-case of bug#9528).
13355 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13356 intermediate nodes to the history (first test-case of bug#9528).
13357
72753f87
JL
133582011-09-18 Juri Linkov <juri@jurta.org>
13359
13360 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13361 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13362
c9384295
JL
133632011-09-18 Juri Linkov <juri@jurta.org>
13364
1154d12e
JB
13365 * info.el (Info-file-supports-index-cookies):
13366 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13367 outputs one more line for long file names (bug#4142).
c9384295 13368
d473dce8
CY
133692011-09-18 Chong Yidong <cyd@stupidchicken.com>
13370
13371 * newcomment.el (comment-normalize-vars): If prompting for
13372 comment-start, set comment-start-skip too (Bug#8424).
13373
2176854d
JB
133742011-09-18 Johan Bockgård <bojohan@gnu.org>
13375
13376 * icomplete.el: Fix previous fix of Bug#5849.
13377 (icomplete-mode): Don't set completion-show-inline-help.
13378 (icomplete-minibuffer-setup): Set completion-show-inline-help
13379 locally during icompletion.
13380
3aace4e4
CY
133812011-09-18 Chong Yidong <cyd@stupidchicken.com>
13382
c940224f
CY
13383 * woman.el (woman2-process-escapes): Don't delete unrecognized
13384 escapes (Bug#7843).
13385
3aace4e4
CY
13386 * files.el (inhibit-first-line-modes-regexps): Add image files.
13387 (hack-local-variables-prop-line): Return nil for malformed
13388 prop-lines (Bug#9044).
13389
710dec63
MA
133902011-09-18 Michael Albinus <michael.albinus@gmx.de>
13391
13392 * net/tramp.el (top): Don't require 'shell.
13393 (tramp-methods): Fix docstring.
13394 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13395 Return complete remote file name. Handle "smb" case.
13396 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13397 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13398
13399 * net/tramp-compat.el (top): Require 'shell.
13400
13401 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13402 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13403 `tramp-current-host'.
13404 (tramp-get-remote-tmpdir): Remove.
13405
13406 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13407 `tramp-tmpdir' entries.
13408 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13409 (tramp-smb-handle-file-attributes): Ignore errors.
13410 (tramp-smb-wait-for-output): Check also for process end.
13411
5d5ac8ec
LMI
134122011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13413
13414 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13415 when sending QUIT (bug#9312).
13416
8c0f49f0
CY
134172011-09-17 Chong Yidong <cyd@stupidchicken.com>
13418
13419 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13420 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13421 occur-mode-display-occurrence.
13422 (occur-edit-mode): Add usage message.
13423 (occur-cease-edit): New command.
13424 (occur-after-change-function): Use text properties to find the
13425 position of the prefix text.
13426 (occur-engine): Set stickiness of prefix text properties.
13427
8f1383f7
GM
134282011-09-17 Glenn Morris <rgm@gnu.org>
13429
13430 * progmodes/etags.el (complete-tag):
13431 Fix call to completion-in-region. (Bug#9526)
13432
744ba0e3
JL
134332011-09-17 Juri Linkov <juri@jurta.org>
13434
13435 * textmodes/ispell.el (ispell-word): Add to the error message
13436 the word, ispell program name and current dictionary (bug#9121).
13437 (ispell-tex-arg-end): Capitalize "error" in the error message.
13438
d9bbf400
AS
134392011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13440
13441 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13442 check. (Bug#4251)
13443
8da11505
JL
134442011-09-17 Juri Linkov <juri@jurta.org>
13445
13446 * window.el (window-safe-min-height, window-safe-min-width):
13447 Fix typos (followup to bug#9522).
13448
a91adc7e
SJ
134492011-09-17 Sven Joachim <svenjoac@gmx.de>
13450
13451 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13452
064f328a
EZ
134532011-09-16 Eli Zaretskii <eliz@gnu.org>
13454
13455 * simple.el (line-move): If goal-column is set, move by logical
13456 lines, not by display lines. (Bug#971)
13457 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13458 to reflect the above change.
13459
e69df516
SM
134602011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13461
13462 * image.el (imagemagick-register-types): Use regexp-opt.
13463
cbb0f9ab
CY
134642011-09-15 Chong Yidong <cyd@stupidchicken.com>
13465
13466 * window.el (display-buffer-base-action): Rename from
13467 display-buffer-default-action. Make default value empty.
13468 (display-buffer-overriding-action): Convert to defvar.
13469 (display-buffer-fallback-action): New var.
13470
25322144
CY
134712011-09-15 Chong Yidong <cyd@stupidchicken.com>
13472
13473 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13474 declaration.
13475 (package--add-to-archive-contents): If there is a duplicate entry
13476 with an older version, remove it.
13477 (package-menu-mark-delete, package-menu-mark-install)
13478 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13479 (package-menu-mark-obsolete-for-deletion):
13480 Use package-menu-get-status instead of a regexp search.
25322144
CY
13481 (package-menu-get-status): Use tabulated-list-entry.
13482 (package-menu-mark-upgrades): New command.
d770725a 13483 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13484 (package-menu-execute): Do installation before deletion.
13485 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13486 instead of checking major-mode.
13487 (package-menu--find-upgrades): New function.
13488
7520339c
LMI
134892011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13490
13491 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13492 passwords in the log buffer.
65a046c4
LMI
13493 (smtpmail-process-filter): Update the process marker so that the
13494 "broken by peer" status message is inserted in the right place.
7520339c 13495
d3c30954
SM
134962011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13497
3fe48822
SM
13498 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13499 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13500 bibtex-completion-at-point-function.
13501 (bibtex-completion-at-point-function): Use them.
13502
1b8b3954
SM
13503 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13504
d3c30954
SM
13505 * mpc.el (mpc-constraints-tag-lookup): New function.
13506 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13507 also to browser "album|playlist".
13508
72779976
JL
135092011-09-14 Juri Linkov <juri@jurta.org>
13510
13511 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13512 (isearch-edit-string): Use length of `isearch-string' when
13513 `isearch-fail-pos' returns nil.
13514 (isearch-message): Remove duplicate code and call
13515 `isearch-fail-pos' with arg `t'.
13516
a0bf2bcd
CY
135172011-09-14 Chong Yidong <cyd@stupidchicken.com>
13518
17bb0a2d
CY
13519 * replace.el (occur-mode-goto-occurrence): Don't force using other
13520 window (Bug#9499).
13521
a0bf2bcd
CY
13522 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13523
f678e0b6
MR
135242011-09-14 Martin Rudalics <rudalics@gmx.at>
13525
13526 * window.el (display-buffer-window): Remove.
13527 (display-buffer-record-window): Use help-setup window parameter
13528 instead of variable display-buffer-window.
13529 (display-buffer-function, special-display-buffer-names)
13530 (special-display-function): Mention help-setup parameter instead
13531 of display-buffer-window in doc-string.
d3c30954
SM
13532 * help.el (help-window-setup): New argument help-window.
13533 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13534 Reword some messages.
13535 (with-help-window): Pass window used for displaying the buffer
13536 to help-window-setup. Don't set display-buffer-window.
13537
8e39b2e8
GM
135382011-09-13 Glenn Morris <rgm@gnu.org>
13539
13540 * emacs-lisp/debug.el (debugger-make-xrefs):
13541 Preserve point. (Bug#9462)
13542
85e9c04b
CY
135432011-09-13 Chong Yidong <cyd@stupidchicken.com>
13544
13545 * window.el (window-deletable-p): Use next-frame.
13546
1b36ed6a
MR
135472011-09-13 Martin Rudalics <rudalics@gmx.at>
13548
13549 * window.el (window-auto-delete): Remove.
13550 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13551 dedication and previous buffers.
1b36ed6a
MR
13552 (switch-to-prev-buffer): Don't delete window.
13553 (delete-windows-on): Delete a window's frame if and only if the
13554 window is dedicated.
13555 (replace-buffer-in-windows): Delete buffer's window or frame if
13556 and only if window is dedicated.
13557 (quit-window): Handle quit-restore as before last change.
4d61f28d 13558 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13559
ef8ef9fb
CY
135602011-09-13 Chong Yidong <cyd@stupidchicken.com>
13561
13562 * window.el (window-deletable-p): Never delete the last frame on a
13563 given terminal.
13564
b2cba41e
GM
135652011-09-13 Glenn Morris <rgm@gnu.org>
13566
13567 * help.el (describe-key-briefly): Copy previous standard-output change.
13568
51553db6 135692011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13570
13571 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13572
b7556719
GM
135732011-09-13 Glenn Morris <rgm@gnu.org>
13574
13575 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13576 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13577
64b51947
CY
135782011-09-12 Chong Yidong <cyd@stupidchicken.com>
13579
13580 * dired-aux.el (dired-mark-read-string): Don't return default
13581 value on empty input (Bug#9361).
13582 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13583 Omit initial minibuffer contents.
13584 (dired-do-chmod): Signal an error on empty input.
13585 (dired-mark-read-string): Don't return default on empty input.
13586
13587 * files.el (file-modes-symbolic-to-number): Doc fix.
13588
393a301e
SM
135892011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13590
13591 * international/mule-cmds.el (ucs-completions): Remove.
13592 (read-char-by-name): Use complete-with-action instead; add metadata.
13593
fa5660f9
CY
135942011-09-11 Chong Yidong <cyd@stupidchicken.com>
13595
13596 * window.el (display-buffer--action-function-custom-type)
13597 (display-buffer--action-custom-type): New vars.
13598 (display-buffer-alist, display-buffer-default-action)
13599 (display-buffer-overriding-action): Add defcustom types.
13600
4a592f66
CY
13601 * frame.el (delete-other-frames): Doc fix (Bug#276).
13602
73d56dbd
LMI
136032011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13604
13605 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13606
37ac18a3
CY
136072011-09-11 Chong Yidong <cyd@stupidchicken.com>
13608
13609 Change modes that used same-window-* vars to use switch-to-buffer.
13610
13611 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13612 Use switch-to-buffer.
13613
13614 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13615 (customize-browse, custom-buffer-create-other-window):
13616 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13617
13618 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13619 (Info-prev, Info-up, Info-speedbar-goto-node)
13620 (info-display-manual): Use switch-to-buffer.
13621 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13622
13623 * mail/sendmail.el (mail): Use switch-to-buffer.
13624 (mail-recover): Use switch-to-buffer-other-window.
13625
13626 * cmuscheme.el (run-scheme, switch-to-scheme):
13627 * ielm.el (ielm):
13628 * shell.el (shell):
13629 * net/rlogin.el (rlogin):
13630 * net/telnet.el (telnet, rsh):
13631 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13632
10195bd6
AS
136332011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13634
13635 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13636
b322f63a
LMI
136372011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13638
39d7fed6
LMI
13639 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13640 so don't mention it (bug#9301).
ba5a81f1 13641 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13642
ee0e9f11
LMI
13643 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13644 match `x', `w32' and `ns', like the manual says (bug#9029).
13645
0b1c89c1 13646 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13647 (process-kill-buffer-query-function): Mention the buffer name in
13648 the query.
0b1c89c1 13649
77549ea8
LMI
13650 * image-mode.el (image-next-line): The line parameter is mandatory
13651 (bug#9258).
13652
803ef892
LMI
13653 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13654 which can be useful (bug#9301).
13655
12980837
LMI
13656 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13657
91054f8f
LMI
13658 * subr.el (match-string): Mention that the current buffer should
13659 be the same as the search was done in (bug#9282).
13660
b322f63a
LMI
13661 * facemenu.el: Disable the remove-* commands if the mark isn't
13662 active (bug#9162).
13663
3199b96f
CY
136642011-09-10 Chong Yidong <cyd@stupidchicken.com>
13665
13666 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13667 of display-buffer.
13668 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13669
13670 * replace.el (occur-mode-goto-occurrence)
13671 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13672 and display-buffer.
13673
13674 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13675 display-buffer.
13676
13677 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13678 special-display and same-window variables.
13679 (mail-other-window): Use switch-to-buffer-other-window.
13680 (mail-other-frame): USe switch-to-buffer-other-frame.
13681
393a301e
SM
13682 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13683 Use display-buffer-other-frame.
3199b96f
CY
13684 (gdb-display-gdb-buffer): Use pop-to-buffer.
13685
13686 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13687
13688 * progmodes/python.el: Don't set same-window-buffer-names.
13689
13690 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13691
13692 * window.el (display-buffer-alist): Add *Python*.
13693
8319e0bf
CY
136942011-09-10 Chong Yidong <cyd@stupidchicken.com>
13695
13696 * window.el (display-buffer-alist): Add entry for buffers
13697 previously handled same-window-*.
13698 (display-buffer-alist, display-buffer-default-action)
13699 (display-buffer-overriding-action): Mark as risky.
13700 (display-buffer-alist): Document action function changes.
13701 (display-buffer--same-window-action)
13702 (display-buffer--other-frame-action): New variables.
13703 (switch-to-buffer, display-buffer-other-frame): Use them.
13704 (display-buffer): Rename reuse-frame entry to reusable-frames.
13705 (display-buffer-reuse-selected-window): Function deleted.
13706 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13707 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13708 (display-buffer-special): New function.
13709 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13710 display-buffer-reuse-or-pop-window. Split off special-display
13711 part into display-buffer-special.
13712 (display-buffer-use-some-window): Don't perform any special
13713 pop-up-frames handling.
13714 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13715 (display-buffer--maybe-same-window): Rename from
0d3ff375 13716 display-buffer-maybe-same-window.
8319e0bf 13717
919a69aa
CY
13718 * info.el: Don't set same-window-regexps.
13719 (info-setup): New function.
13720 (info-other-window, info): Call it.
13721
13722 * cus-edit.el: Don't set same-window-regexps.
13723 (customize-group): New argument.
13724 (customize-group-other-window): Use it.
13725 (customize-face, customize-face-other-window): Likewise.
13726 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13727
8319e0bf
CY
13728 * net/rlogin.el:
13729 * net/telnet.el:
13730 * progmodes/gud.el: Don't set same-window-regexps.
13731
13732 * cmuscheme.el:
13733 * ielm.el:
13734 * shell.el:
13735 * mail/sendmail.el:
13736 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13737
25173000
JL
137382011-09-10 Juri Linkov <juri@jurta.org>
13739
13740 * isearch.el (isearch-edit-string): Remove obsolete mention of
13741 `C-w' (`isearch-yank-word-or-char') from docstring.
13742 (isearch-query-replace): Fix typo in docstring (bug#9466).
13743
056e44ef
JL
137442011-09-10 Juri Linkov <juri@jurta.org>
13745
13746 * paren.el (show-paren-function): Don't show escaped parens.
13747 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13748
c3760c17
EZ
137492011-09-10 Eli Zaretskii <eliz@gnu.org>
13750
13751 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13752 (mm-default-file-encoding): Remove autoload forms, they are
13753 replaced with autoload cookies in mml.el and mm-encode.el.
13754 (mail-add-attachment): New command.
13755 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13756 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13757 the doc string.
13758 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13759
fece895e
RT
137602011-09-10 Reuben Thomas <rrt@sc3d.org>
13761
e69df516
SM
13762 * simple.el (count-words-region): Use buffer if there's no region
13763 (bug#9429).
fece895e 13764
5e68ce4a
JL
137652011-09-09 Juri Linkov <juri@jurta.org>
13766
13767 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13768 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13769 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13770
0a6b9622
AM
137712011-09-09 Alan Mackenzie <acm@muc.de>
13772
13773 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13774 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13775
14a29deb
EZ
137762011-09-09 Eli Zaretskii <eliz@gnu.org>
13777
13778 Fix for Savannah bug#9392.
13779 * simple.el (mail-encode-mml): New defvar.
13780
13781 * mail/rmail.el (mail-encode-mml): Add a defvar.
13782 (rmail-enable-mime-composing): Default to t.
13783 (rmail-forward): Use MIME method of forwarding only if both
13784 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13785 Set mail-encode-mml non-nil if the MIME method was used.
13786
13787 * mail/sendmail.el (mml-to-mime): Add autoload form.
13788 (mail-encode-mml): Add a defvar.
13789 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13790 to nil.
13791 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13792 message through mml-to-mime, and reset mail-encode-mml to nil.
13793
28c45130
GM
137942011-09-09 Glenn Morris <rgm@gnu.org>
13795
13796 * woman.el (woman-if-body): When processing an .el block,
13797 do not delete the next .el block as well. (Bug#9447)
69f4b618 13798 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13799
9b1c252e
MR
138002011-09-08 Martin Rudalics <rudalics@gmx.at>
13801
13802 * window.el (window-deletable-p): Make sure window is live before
13803 invoking window-prev-buffers.
13804
567457e3
LL
138052011-09-08 Leo Liu <sdl.web@gmail.com>
13806
13807 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13808
97f05794
JL
138092011-09-08 Juri Linkov <juri@jurta.org>
13810
13811 * progmodes/compile.el (compilation-environment): Make it
13812 a defcustom (bug#8340).
13813
8b0874b5
MR
138142011-09-08 Martin Rudalics <rudalics@gmx.at>
13815
13816 * window.el (frame-auto-delete): Rename to window-auto-delete.
13817 Make it control auto-deletion of windows and/or frames.
13818 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13819 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13820 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13821 Rewrite handling of case when window/frame can be deleted.
13822 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13823 argument t. (Bug#9456)
8b0874b5 13824
4feb6e73
CY
138252011-09-07 Chong Yidong <cyd@stupidchicken.com>
13826
13827 * help-mode.el (help-mode): Restore autoload.
13828
91ab9c13
JL
138292011-09-07 Juri Linkov <juri@jurta.org>
13830
13831 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13832 `compilation-environment'. Set buffer-local
13833 `compilation-environment' to `thisenv' later after (funcall mode).
13834 (Bug#8340)
13835
13836 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13837 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13838 instead of replacing its value. (Bug#8340)
13839
0527e251
JL
138402011-09-07 Juri Linkov <juri@jurta.org>
13841
13842 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13843 based on text properties put by `grep-filter' instead of matching
13844 escape sequences.
13845 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13846 to the value of `grep-error-screen-columns' (bug#9438).
13847
249f792c
JL
138482011-09-07 Juri Linkov <juri@jurta.org>
13849
13850 * simple.el (next-error-highlight, next-error-highlight-no-select):
13851 Doc fix (bug#9432).
13852
ff7271b9
OT
138532011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13854
13855 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13856 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13857
183fc730
LL
138582011-09-07 Leo Liu <sdl.web@gmail.com>
13859
13860 * net/rcirc.el (rcirc-mode): Conditionally initialize
13861 rcirc-input-ring.
13862
77694924
SM
138632011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * emacs-lisp/find-func.el (find-function-C-source): Only set
13866 find-function-C-source-directory after checking that we found a source
13867 file there (bug#9440).
13868
d809b8eb
AM
138692011-09-06 Alan Mackenzie <acm@muc.de>
13870
13871 * isearch.el (isearch-other-meta-char): Wherever a key list is
13872 unread, "unread" the prefix arg, too. This fixes bug #8901.
13873
453de99f
OG
138742011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13875
13876 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13877
90439906
JL
138782011-09-05 Juri Linkov <juri@jurta.org>
13879
13880 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13881
f62bd846
JL
138822011-09-05 Juri Linkov <juri@jurta.org>
13883
13884 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13885 keeping point where processing of grep matches begins, and
13886 continue to delete remaining escape sequences from the same point.
13887 (grep-filter): Make leading zero optional in "0?1;31m" because
13888 git-grep emits "\033[1;31m" escape sequences unlike expected
13889 "\033[01;31m" as GNU Grep does (bug#9408).
13890 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13891
045820ec
JL
138922011-09-05 Juri Linkov <juri@jurta.org>
13893
13894 * subr.el (y-or-n-p): Capitalize "yes".
13895
f5e29b9b
MA
138962011-09-04 Michael Albinus <michael.albinus@gmx.de>
13897
13898 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13899 `tramp-cache-unload-hook' where appropriate.
13900 (tramp-methods): Rename `tramp-remote-sh' to
13901 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13902 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13903
13904 * net/tramp-sh.el (top): Don't require 'shell.
13905 (tramp-methods): Add `tramp-remote-shell' and
13906 `tramp-remote-shell-args' entries.
13907 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13908 (tramp-sh-handle-shell-command): Remove.
13909 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13910 Use `tramp-remote-shell'.
13911
2784c434
CY
139122011-09-03 Chong Yidong <cyd@stupidchicken.com>
13913
393a301e 13914 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13915 (sendmail-query-once): Save directly to send-mail-function.
13916 Update message-send-mail-function too.
13917
13918 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13919
464cdf56
CS
139202011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13921
13922 * progmodes/python.el (python-mode-map): Use correct function to
13923 start python interpreter from menu-bar (as reported by Geert
13924 Kloosterman).
13925 (inferior-python-mode-map): Fix typo.
393a301e 13926 (python-shell-map): Remove.
464cdf56 13927
d37e5c87
DD
139282011-09-03 Deniz Dogan <deniz@dogan.se>
13929
13930 * net/rcirc.el (rcirc-print): Simplify code for
13931 rcirc-scroll-show-maximum-output. There is no need to walk
13932 through all windows to find the right one.
13933
f3ada0ee
CS
139342011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13935
13936 * help.el (help-return-method): Doc fix.
13937
1f3c99ca
MR
139382011-09-03 Martin Rudalics <rudalics@gmx.at>
13939
13940 * window.el (window-deletable-p): Don't return a non-nil value
13941 when there's a buffer that was shown in the window before.
13942 (Bug#9419)
393a301e
SM
13943 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13944 Set window's previous buffers to nil.
1f3c99ca 13945
a3cf097f
EZ
139462011-09-03 Eli Zaretskii <eliz@gnu.org>
13947
13948 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13949 newline before and after the tag line, so it doesn't interfere
13950 with determining the paragraph direction of bidirectional text.
13951
3d03de90
LL
139522011-09-03 Leo Liu <sdl.web@gmail.com>
13953
13954 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13955
c3313451
CY
139562011-09-02 Chong Yidong <cyd@stupidchicken.com>
13957
393a301e 13958 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13959 (pop-to-buffer): Change interactive spec. Pass second argument
13960 directly to display-buffer.
13961 (display-buffer): Fix interactive spec. Use functionp to
13962 distinguish between a function and a list of functions.
13963
13964 * abbrev.el (edit-abbrevs):
13965 * arc-mode.el (archive-extract):
13966 * autoinsert.el (auto-insert):
13967 * bookmark.el (bookmark-bmenu-list):
13968 * files.el (find-file):
13969 * view.el (view-buffer):
13970 * progmodes/compile.el (compilation-goto-locus):
13971 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13972
89894cd8
CY
139732011-09-02 Chong Yidong <cyd@stupidchicken.com>
13974
13975 * window.el (display-buffer-alist): Doc fix.
13976 (display-buffer): Add docstring. Don't treat
13977 display-buffer-default specially.
13978 (display-buffer-reuse-selected-window)
13979 (display-buffer-same-window, display-buffer-maybe-same-window)
13980 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13981 (display-buffer-pop-up-window)
13982 (display-buffer-reuse-or-pop-window)
13983 (display-buffer-use-some-window): New functions.
13984 (display-buffer-default-action): Use them.
393a301e 13985 (display-buffer-default): Delete.
89894cd8
CY
13986 (pop-to-buffer-1): Fix choice of actions.
13987
ae0bc9fb
SM
139882011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13989
13990 * minibuffer.el (completion--insert-strings): Don't get confused by
13991 completion entries that end with an LF char.
13992
e9d90883
EZ
139932011-09-01 Eli Zaretskii <eliz@gnu.org>
13994
13995 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13996
437014c8
CY
139972011-09-01 Chong Yidong <cyd@stupidchicken.com>
13998
13999 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14000 (display-buffer-same-window, display-buffer-other-window):
14001 New functions.
437014c8
CY
14002 (pop-to-buffer-1): New function. Use the above.
14003 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14004 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14005
14006 * view.el (view-buffer-other-window, view-buffer-other-frame):
14007 Just use pop-to-buffer.
14008
a5e063d5
TV
140092011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14010
14011 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14012
793d32bb
WH
140132011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14014
14015 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14016
d65e4c15
RS
140172011-08-31 Richard Stallman <rms@gnu.org>
14018
14019 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14020 of the separation of rmail-view-buffer from rmail-buffer.
14021 If you say no to "replace original", the decrypt is in the
14022 view buffer. If you say yes, the decrypt goes into the
14023 rmail buffer also.
14024
f818cd2a
MR
140252011-08-31 Martin Rudalics <rudalics@gmx.at>
14026
14027 * window.el (display-buffer-window): Rewrite doc-string.
14028 (display-buffer-record-window): New function.
14029 (display-buffer-macro-specifiers)
14030 (display-buffer-even-window-sizes, display-buffer-set-height)
14031 (display-buffer-set-width, display-buffer-in-window)
14032 (display-buffer-reuse-window, display-buffer-split-specifiers)
14033 (display-buffer-side-specifiers, display-buffer-split-window-1)
14034 (display-buffer-split-window, display-buffer-split-atom-window)
14035 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14036 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14037 (display-buffer-other-window-means-other-frame)
14038 (display-buffer-normalize-special)
14039 (display-buffer-normalize-default)
14040 (display-buffer-normalize-argument)
14041 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14042 (display-buffer-normalize-specifiers, display-buffer-frame)
14043 (display-buffer-same-window, display-buffer-same-frame)
14044 (display-buffer-other-window)
14045 (display-buffer-same-frame-other-window)
14046 (display-buffer-other-frame, pop-to-buffer-same-window)
14047 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14048 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14049 (switch-to-buffer-same-frame)
14050 (switch-to-buffer-other-window-same-frame)
14051 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14052 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14053 (display-buffer-alist-set): Remove.
14054 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14055 (special-display-regexps, special-display-function):
14056 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14057 parameter.
14058 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14059 (special-display-frame-alist, special-display-popup-frame)
14060 (same-window-buffer-names, same-window-regexps, same-window-p)
14061 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14062 (split-window-preferred-function, split-height-threshold)
14063 (split-width-threshold, window-splittable-p)
14064 (split-window-sensibly, window--try-to-split-window)
14065 (window--frame-usable-p, even-window-heights)
14066 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14067 (window--display-buffer-2, display-buffer-other-frame):
14068 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14069 (display-buffer-default, display-buffer-assq-regexp): New functions.
14070 (display-buffer-alist): Rewrite doc-string.
14071 (display-buffer-default-action)
14072 (display-buffer-overriding-action): New variables.
14073 (display-buffer, switch-to-buffer): Rewrite.
14074 (pop-to-buffer): Restore Emacs 23 behavior but use
14075 window-normalize-buffer-to-display.
14076 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14077 Restore Emacs 23 behavior but use
14078 window-normalize-buffer-to-switch-to.
14079 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14080 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14081 Rewrite using Emacs 23 options.
f818cd2a 14082
5bc3b51d
MA
140832011-08-31 Michael Albinus <michael.albinus@gmx.de>
14084
14085 * net/tramp.el (tramp-root-regexp): Remove.
14086 (tramp-completion-file-name-regexp-unified)
14087 (tramp-completion-file-name-regexp-separate)
14088 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14089 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14090 (tramp-drop-volume-letter): Simplify definition.
14091 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14092
b1a4f8e1
SM
140932011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14094
14095 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14096 (bug#9356).
14097
5664fa7b
RT
140982011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14099
b1a4f8e1 14100 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14101
9a45d6c3
JL
141022011-08-29 Juri Linkov <juri@jurta.org>
14103
14104 * isearch.el (isearch-done): Don't display message "Mark saved"
14105 when arg `edit' is non-nil to prevent its flicker in the echo area.
14106
fb87e0fb
CY
141072011-08-28 Chong Yidong <cyd@stupidchicken.com>
14108
14109 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14110 obsolete packages for deletion.
14111
09ac1c2a
CS
141122011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14113
14114 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14115 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14116 view-mode from help-mode.
14117 (help-xref-override-view-map): Remove.
14118 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14119 view-mode is not used anymore.
14120
7a1ff57f
CY
141212011-08-28 Chong Yidong <cyd@stupidchicken.com>
14122
14123 * server.el (server-port): Doc fix.
14124
b9696605
CY
14125 * cus-theme.el (custom-theme-choose-mode): Inherit from
14126 special-mode (Bug#9124).
14127 (custom-theme-choose-mode-map): Add special-mode to parent.
14128
ef8cdf8c
AM
141292011-08-28 Alan Mackenzie <acm@muc.de>
14130
14131 * progmodes/cc-fonts.el
14132 (c-make-font-lock-BO-decl-search-function): New function.
14133 (c-basic-matchers-after - "Fontify the clauses after various
14134 keywords"): Extract the three keyword lists for the 3 erroneous
14135 constructs from the list of four, and use the new function above
14136 in place of an old one.
14137
27de4e20
DD
141382011-08-28 Deniz Dogan <deniz@dogan.se>
14139
14140 * net/rcirc.el (rcirc-insert-prev-input)
14141 (rcirc-insert-next-input): Remove unused argument.
14142
356a3681
SM
141432011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14144
14145 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14146
3fc9b218
AM
141472011-08-27 Alan Mackenzie <acm@muc.de>
14148
14149 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14150 handle function pointer parameters properly.
14151
538a061c
MR
141522011-08-27 Martin Rudalics <rudalics@gmx.at>
14153
14154 * window.el (display-buffer-reuse-window): Fix case where
14155 selected window was reused with non-nil OTHER-WINDOW argument.
14156 (Bug#9381)
14157
35b1c40c
DD
141582011-08-27 Deniz Dogan <deniz@dogan.se>
14159
14160 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14161 oftc's NickServ messages.
14162
2f6a3e79
GM
141632011-08-27 Glenn Morris <rgm@gnu.org>
14164
14165 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14166
7254299e
CY
141672011-08-26 Chong Yidong <cyd@stupidchicken.com>
14168
14169 * emacs-lisp/package.el (package-install): Call package-initialize
14170 if called interactively.
14171
f8ccf167
LL
141722011-08-26 Leo Liu <sdl.web@gmail.com>
14173
14174 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14175
3e8cd5ce
JL
141762011-08-25 Juri Linkov <juri@jurta.org>
14177
14178 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14179 `search-whitespace-regexp' (bug#9364).
14180
93eb7113
JL
141812011-08-25 Juri Linkov <juri@jurta.org>
14182
14183 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14184 `regexp-search-ring' to their global values to protect from
14185 updating by `read-from-minibuffer' (bug#9185).
14186
f65d1611
JL
141872011-08-25 Juri Linkov <juri@jurta.org>
14188
14189 * textmodes/ispell.el (ispell-command-loop): Add newline
14190 at the end of the "Use option `i'..." line.
14191
f1cf7a31
JL
141922011-08-25 Juri Linkov <juri@jurta.org>
14193
14194 * battery.el (display-battery-mode): If `battery-status-function'
14195 or `battery-mode-line-format' is nil, display the message and set
14196 `display-battery-mode' to nil (bug#9363).
14197
0c95fcf7
EZ
141982011-08-25 Eli Zaretskii <eliz@gnu.org>
14199
14200 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14201 bidi-string-mark-left-to-right; they are unnecessary now.
14202
a2ebe600
DD
142032011-08-25 Deniz Dogan <deniz@dogan.se>
14204
14205 * net/quickurl.el: Documentation typo fixes.
14206
e4ed06f1
CY
142072011-08-25 Chong Yidong <cyd@stupidchicken.com>
14208
14209 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14210
e5f1c99e
GM
142112011-08-25 Glenn Morris <rgm@gnu.org>
14212
b2948976
GM
14213 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14214
e5f1c99e
GM
14215 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14216 (smtpmail-via-smtp): Handle nil response from smtp.
14217
f22f4808
JL
142182011-08-24 Juri Linkov <juri@jurta.org>
14219
14220 * proced.el (proced-marked): Inherit from `error' instead of
14221 `font-lock-warning-face'.
14222
14223 * ibuffer.el (ibuffer-marked-face): Change default face from
14224 `font-lock-warning-face' to `warning'.
14225 (ibuffer-deletion-face): Change default face from
14226 `font-lock-type-face' to `error'.
14227
14228 * battery.el (battery-update): Use the face `error' instead of
14229 `font-lock-warning-face' (bug#6117).
14230
6a93965e
JL
142312011-08-24 Juri Linkov <juri@jurta.org>
14232
14233 * faces.el (success): Change face color from "Green3" to
14234 "ForestGreen" on light background (bug#9353).
14235
1ed43b09
CY
142362011-08-24 Chong Yidong <cyd@stupidchicken.com>
14237
5664fa7b
RT
14238 * window.el (quit-window): Rename from quit-restore-window.
14239 Use same arglist as old quit-window.
1ed43b09
CY
14240 (frame-auto-delete): Doc fix.
14241
14242 * view.el (view-mode-exit): Use quit-window.
14243
11dcdbb2
JL
142442011-08-24 Juri Linkov <juri@jurta.org>
14245
14246 * isearch.el (isearch-ring-adjust1): Start visiting previous
14247 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14248 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14249 for empty search string (when the last search string is reused
14250 automatically) to adjust the isearch ring to the last element and
14251 prepare the correct index for further M-p commands (bug#9185).
14252
de62b4df
KH
142532011-08-24 Kenichi Handa <handa@m17n.org>
14254
14255 * international/ucs-normalize.el: If decomposition property of
14256 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14257 nil.
14258 (nfd, nfkd): Likewise.
14259
963b492b
SM
142602011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14261
14262 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14263 from process filters aren't reliably transmitted to the surrounding
14264 accept-process-output.
14265 (mpc-proc-check): New function.
14266 (mpc-proc-sync): Use it (bug#8293)
14267
93b6b5e1
SM
142682011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14269
14270 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14271 Add compatibility functions (bug#9313).
14272
bca633fb
EZ
142732011-08-23 Eli Zaretskii <eliz@gnu.org>
14274
b177498a
EZ
14275 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14276
6df6ae42 14277 * international/uni-bidi.el: Regenerate.
bca633fb 14278
0902a04e
KH
142792011-08-23 Kenichi Handa <handa@m17n.org>
14280
14281 * international/charprop.el:
14282 * international/uni-bidi.el:
14283 * international/uni-category.el:
14284 * international/uni-combining.el:
14285 * international/uni-comment.el:
14286 * international/uni-decimal.el:
14287 * international/uni-decomposition.el:
14288 * international/uni-digit.el:
14289 * international/uni-lowercase.el:
14290 * international/uni-mirrored.el:
14291 * international/uni-name.el:
14292 * international/uni-numeric.el:
14293 * international/uni-old-name.el:
14294 * international/uni-titlecase.el:
14295 * international/uni-uppercase.el: Regenerate.
14296
3bbf23bc
MR
142972011-08-23 Martin Rudalics <rudalics@gmx.at>
14298
14299 * help.el (help-window-setup): Fix message displayed when other
14300 window is reused. (Bug#9341)
14301
b3fd59bd
SM
143022011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14303
1802e444
SM
14304 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14305 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14306
b3fd59bd
SM
14307 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14308 Mark obsolete.
14309 * shell.el (shell-parse-pcomplete-arguments): New function.
14310 (shell-completion-vars): Use it instead (bug#9160).
14311
4eb61348
SM
143122011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14313
867cab74
SM
14314 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14315 strings and comments (bug#9333).
14316
4eb61348
SM
14317 * emacs-lisp/debug.el (debug-arglist): New function.
14318 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14319 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14320
262a1439
JL
143212011-08-22 Juri Linkov <juri@jurta.org>
14322
56ee679c
JL
14323 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14324 Revert regexp that highlights output switches to its old
14325 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14326
262a1439
JL
14327 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14328 to check for empty output (bug#9226).
14329
f13f86fb
CY
143302011-08-22 Chong Yidong <cyd@stupidchicken.com>
14331
14332 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14333 symbol-constituent as the default, as that stops font-lock from
14334 working properly (Bug#8843).
14335
c65c9622
LMI
143362011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14337
14338 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14339 `coding-system-for-*' around the process open call to avoid
14340 auth-source side effects.
e7f2c178 14341 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14342 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14343 probe hangs.
c65c9622 14344
23a8a5ab
CY
143452011-08-21 Chong Yidong <cyd@stupidchicken.com>
14346
ff98b2dd
CY
14347 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14348
23a8a5ab
CY
14349 * emacs-lisp/find-func.el (find-function-noselect): New arg
14350 lisp-only.
14351
14352 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14353 signal an error for built-in functions (Bug#6664).
14354
f5e3c598
LMI
143552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14356
14357 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14358 (smtpmail-try-auth-methods): Use it.
14359
a3f2468a
CY
143602011-08-21 Chong Yidong <cyd@stupidchicken.com>
14361
2c34e8da
CY
14362 * font-lock.el (font-lock-fontify-region)
14363 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14364 (font-lock-default-unfontify-buffer)
14365 (font-lock-default-fontify-region)
14366 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14367
b3fd59bd
SM
14368 * progmodes/compile.el (compilation-error-properties):
14369 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14370 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14371 `ant' regexp.
ee31aabc 14372
a3f2468a
CY
14373 * net/browse-url.el (browse-url-firefox): Don't call
14374 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14375
8e999f70
GM
143762011-08-20 Glenn Morris <rgm@gnu.org>
14377
c21a496a
GM
14378 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14379
59ee0542
GM
14380 * tutorial.el (tutorial--default-keys): Update some default bindings.
14381
8e999f70
GM
14382 * files.el (hack-local-variables): Fully ignore case for "mode:".
14383
e3715033
AM
143842011-08-20 Alan Mackenzie <acm@muc.de>
14385
14386 Resolve invalid use of a regexp in regexp-opt.
14387
4d61f28d
JB
14388 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14389 detection for a java annotation.
e3715033 14390
4d61f28d 14391 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14392 detection for a java annotation.
14393
4d61f28d
JB
14394 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14395 handling for java.
e3715033
AM
14396 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14397
04ed2e9c
CY
143982011-08-20 Chong Yidong <cyd@stupidchicken.com>
14399
14400 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14401 (Bug#9274).
14402
826cee64
AM
144032011-08-20 Alan Mackenzie <acm@muc.de>
14404
58179cce 14405 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14406 such a construct. Mainly for when jit-lock etc. starts a chunk
14407 here.
14408
58179cce 14409 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14410 variable.
58179cce 14411 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14412 c-make-font-lock-search-function.
14413 (c-make-font-lock-search-function): Use the above function.
14414 (c-make-font-lock-context-search-function): New function.
14415 (c-cpp-matchers): Enhance the preprocessor expression case with
14416 the above function
14417 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14418 which takes an expression.
14419
14420 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14421
13009bd8
MR
144222011-08-20 Martin Rudalics <rudalics@gmx.at>
14423
14424 * window.el (display-buffer-reuse-window)
14425 (display-buffer-pop-up-window): Don't reuse or split a side
14426 window.
14427
9234ff7f
GM
144282011-08-19 Glenn Morris <rgm@gnu.org>
14429
14430 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14431 Downcase "Mode:". (Bug#9331)
9234ff7f 14432
f635daa1
CY
144332011-08-18 Chong Yidong <cyd@stupidchicken.com>
14434
14435 * international/characters.el: Add L and R categories.
14436
14437 * subr.el (bidi-string-mark-left-to-right): Rename from
14438 string-mark-left-to-right. Use category search.
14439
14440 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14441
bc987f8b
JL
144422011-08-18 Juri Linkov <juri@jurta.org>
14443
14444 * faces.el (error, warning, success): New faces with definitions
14445 copied from old default values of `font-lock-warning-face',
14446 `compilation-warning', `compilation-info' (bug#6117).
14447
14448 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14449
14450 * progmodes/compile.el (compilation-error): Inherit from `error'.
14451 (compilation-warning): Inherit from `warning'.
14452 (compilation-info): Inherit from `success'.
14453
14454 * dired.el (dired-marked): Inherit from `warning'.
14455 (dired-flagged): Inherit from `error'.
14456
57173b96
LMI
144572011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14458
3e79eb87
LMI
14459 * mail/smtpmail.el (auth-source): Require to avoid problems with
14460 binding variables (bug#9298). Also clean up some unused
14461 autoloads.
14462
b3fd59bd
SM
14463 * net/network-stream.el (network-stream-open-starttls):
14464 Support using starttls.el without using gnutls-cli.
57173b96 14465
02b404de
JL
144662011-08-17 Juri Linkov <juri@jurta.org>
14467
14468 * progmodes/grep.el (rgrep): Handle the case when
14469 `grep-find-command' is a cons cell (bug#9278).
14470
8c9177f2
MR
144712011-08-17 Martin Rudalics <rudalics@gmx.at>
14472
14473 * window.el (display-buffer-pop-up-frame): Run frame creation
14474 function with BUFFER current (as special-display-popup-frame
14475 does). Reported by Drew Adams.
14476
3644a0ab
DU
144772011-08-17 Daiki Ueno <ueno@unixuser.org>
14478
14479 * epa-mail.el: Simplify GnuPG group expansion using
14480 epg-expand-group.
14481 (epa-mail-group-alist, epa-mail-group-modtime)
14482 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14483 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14484 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14485 Remove.
14486
5e617bc2 144872011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14488
14489 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14490
9c4aeabf
AM
144912011-08-16 Alan Mackenzie <acm@muc.de>
14492
14493 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14494 Correct, to avoid the inside of macros.
14495
3a99bf64
RS
144962011-08-16 Richard Stallman <rms@gnu.org>
14497
04963aa8
RS
14498 * epa-mail.el: Handle GnuPG group definitions.
14499 (epa-mail-group-alist, epa-mail-group-modtime)
14500 (epa-mail-gnupg-conf-file): New variables.
14501 (epa-mail-parse-groups, epa-mail-sync-groups)
14502 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14503 (epa-mail-expand-recipients): New functions.
14504 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14505
177549d0
RS
14506 * mail/rmail.el (rmail-epa-decrypt): New command.
14507
fe38beef
RS
14508 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14509 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14510 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14511 (epa-decrypt-armor-in-region): Make error message clearer.
14512
934eacb9
SM
145132011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14514
14515 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14516 and "a2b" to "ab" for `prefix'.
14517
d024fb4e
CY
145182011-08-14 Chong Yidong <cyd@stupidchicken.com>
14519
14520 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14521 filter groups.
de148fee
CY
14522 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14523 Fourquet (Bug#8804).
d024fb4e 14524
62f1ca49
JB
145252011-08-12 Juanma Barranquero <lekktu@gmail.com>
14526
14527 * startup.el (argi): Declare as global variable (bug#9275).
14528
9ccaaa4b
CY
145292011-08-12 Chong Yidong <cyd@stupidchicken.com>
14530
14531 * subr.el (string-mark-left-to-right): Search the entire string
14532 for RTL script, not just the terminating character. Doc fix.
14533
a3dae87a
SM
145342011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14535
6cd18349
SM
14536 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14537 New function.
14538 (js--regexp-literal, js-syntax-propertize-function): Remove.
14539 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14540 (js-mode-map): Don't rebind electric keys.
14541 (js-insert-and-indent): Remove.
14542 (js-mode): Setup electric-layout and electric-indent instead.
14543
a3dae87a
SM
14544 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14545
9d5cb631
DU
145462011-08-12 Daiki Ueno <ueno@unixuser.org>
14547
14548 * epa.el (epa-progress-callback-function): Fix the logic of
14549 displaying progress.
14550 * epa-file.el (epa-file-insert-file-contents): Make progress
14551 display more user-friendly.
14552 (epa-file-write-region): Ditto.
14553
3e26a4a2
CY
145542011-08-10 Chong Yidong <cyd@stupidchicken.com>
14555
14556 * subr.el (string-mark-left-to-right): New function.
14557
14558 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14559 Use string-mark-left-to-right.
14560 (list-buffers-noselect): Caller changed.
14561
a3dae87a
SM
14562 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14563 Use string-mark-left-to-right.
3e26a4a2
CY
14564 (tabulated-list-print): Recenter after moving point.
14565
ac8cf6e6
JL
145662011-08-10 Juri Linkov <juri@jurta.org>
14567
14568 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14569 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14570 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14571
8d96c9a4
CY
145722011-08-09 Chong Yidong <cyd@stupidchicken.com>
14573
14574 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14575 (Bug#7554).
14576
7be1c708 145772011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14578
14579 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14580 character. (Bug#6594)
14581
37e11a63
CY
145822011-08-08 Chong Yidong <cyd@stupidchicken.com>
14583
839dde57
CY
14584 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14585 (image-dired--with-db-file): New macro.
14586 (image-dired-write-tags, image-dired-remove-tag)
14587 (image-dired-create-gallery-lists, image-dired-write-comments)
14588 (image-dired-get-comment, image-dired-mark-tagged-files)
14589 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14590 (image-dired-gallery-generate): Use insert-file-contents.
14591
37e11a63
CY
14592 * time.el (display-time-world-list, display-time-world-display):
14593 * time-stamp.el (time-stamp-string):
14594 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14595 set-time-zone-rule (Bug#7337).
14596
0b4946c4
DU
145972011-08-08 Daiki Ueno <ueno@unixuser.org>
14598
14599 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14600 (epg-error-to-string, epg-errors-to-string): New function.
14601 (epg-wait-for-completion): Reverse errors list.
14602 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14603 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14604 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14605 (epg-sign-keys, epg-generate-key-from-file)
14606 (epg-generate-key-from-string): Format errors by using
14607 epg-errors-to-string (bug#9255).
14608 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14609
75bfc667
JL
146102011-08-07 Juri Linkov <juri@jurta.org>
14611
14612 * faces.el (list-faces-display): Remove extra angle bracket
14613 from `help-mode-map'.
14614
14615 * info.el (Info-history-toc-nodes): Doc fix.
14616
14617 * longlines.el (longlines-mode): Doc fix.
14618
673e08bb
SM
146192011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14620
4640dd88
SM
14621 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14622 of statements and in a few more cases (bug#9183).
14623
673e08bb
SM
14624 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14625 New functions.
14626 (cl-transform-lambda): Use them (bug#9239).
14627
89b3f019
MR
146282011-08-05 Martin Rudalics <rudalics@gmx.at>
14629
14630 * window.el (display-buffer-same-window)
14631 (display-buffer-same-frame, display-buffer-other-window)
14632 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14633 (pop-to-buffer-other-window)
14634 (pop-to-buffer-same-frame-other-window)
14635 (pop-to-buffer-other-frame): Make them defuns.
14636 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14637
640c8776
SM
146382011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14639
14640 * subr.el (make-composed-keymap): Move from C. Change calling
14641 convention, and improve docstring to bring attention to a subtle point.
14642 * minibuffer.el (completing-read-default): Adjust accordingly.
14643
63648a95
MA
146442011-08-03 Michael Albinus <michael.albinus@gmx.de>
14645
14646 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14647 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14648
14649 * net/trampver.el: Update release number.
14650
b796c9b7
SM
146512011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14654 "in" (bug#9190).
14655
2239d7d5
LMI
146562011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14657
e07dd7c3
LMI
14658 * mail/sendmail.el (sendmail-query-once): Restore the current
14659 buffer after querying (bug#9074).
14660
0e6a2bd7
LMI
14661 * dired.el (dired-flagged): Use different faces for marked and
14662 flagged files (bug#6117).
14663
ce887515
LMI
14664 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14665 (bug#4433).
14666
92f2affc
LMI
14667 * ido.el (ido-mode): Switch off the message if called
14668 non-interactively.
14669
57d5aff0
LMI
14670 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14671 before 587, since it appears that that's more likely to work for
14672 more people.
14673
98cd6c18 14674 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14675 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14676 exist.
14677
b96dec83
LMI
14678 * info.el: Remove the `Info-beginning-of-buffer' function
14679 (bug#8325).
14680
b796c9b7
SM
14681 * net/network-stream.el (network-stream-open-starttls):
14682 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14683
d90e2ea0
MR
146842011-08-01 Martin Rudalics <rudalics@gmx.at>
14685
14686 * window.el (display-buffer-in-window): Don't set dedicated status
14687 of window here (Bug#9215).
14688 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14689 (display-buffer-pop-up-side-window)
b796c9b7 14690 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14691
cca09170
SM
146922011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14693
14694 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14695 before binding generated-autoload-file.
14696
027b979c
DD
146972011-08-01 Deniz Dogan <deniz@dogan.se>
14698
14699 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14700
3c7ee4f3
MA
147012011-07-30 Michael Albinus <michael.albinus@gmx.de>
14702
14703 Sync with Tramp 2.2.2.
14704
14705 * net/trampver.el: Update release number.
14706
2cc8e51a
JL
147072011-07-30 Juri Linkov <juri@jurta.org>
14708
14709 * dired-aux.el (dired-touch-initial): Remove function.
14710 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14711 current time, and `default' to the last modification time of the
14712 current marked file (bug#6887).
14713
a514d856
JM
147142011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14715
14716 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14717 numeric argument to read-number (bug#9163).
a514d856 14718
8a7eddd7
MA
147192011-07-27 Michael Albinus <michael.albinus@gmx.de>
14720
14721 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14722 connection process, it could be nil.
14723
1ddd96f5
LL
147242011-07-27 Leo Liu <sdl.web@gmail.com>
14725
14726 Simplify url handling in rcirc-mode.
14727
14728 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14729 (rcirc-browse-url-at-mouse): Remove.
14730 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14731
b248a85d
AM
147322011-07-26 Alan Mackenzie <acm@muc.de>
14733
14734 Fontify bitfield declarations properly.
14735
14736 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14737 (c-symbol-chars): Now exported as a lang variable.
14738 (c-not-primitive-type-keywords): New lang variable.
14739
14740 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14741 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14742 parsed as a bitfield declaration.
b248a85d 14743
b796c9b7
SM
14744 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14745 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14746 (c-punctuation-in): New function.
14747 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14748 declarations properly.
14749
68575ab0
UJ
147502011-07-26 Ulf Jasper <ulf.jasper@web.de>
14751
14752 * calendar/icalendar.el (icalendar--all-events): Take care of
14753 multiple vcalendars in a single file.
b796c9b7 14754 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14755
0f0a88b9
DD
147562011-07-25 Deniz Dogan <deniz@dogan.se>
14757
14758 * image.el (insert-image): Clarifying docstring.
14759
0b3f36df
MA
147602011-07-24 Michael Albinus <michael.albinus@gmx.de>
14761
14762 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14763 `tramp-send-command-and-check' if there is no error.
14764 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14765
a9901f61
AM
147662011-07-22 Alan Mackenzie <acm@muc.de>
14767
14768 Prevent cc-langs.elc being loaded at run time.
14769
14770 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14771 cc-langs.
14772
4d61f28d 14773 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14774 "(require 'cc-langs)". Quote a form so it will evaluate at
14775 (cc-mode's) compilation time.
14776
11d074b2
MA
147772011-07-22 Michael Albinus <michael.albinus@gmx.de>
14778
14779 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14780 loading. (Bug#9114)
14781
938b94c8
MR
147822011-07-21 Martin Rudalics <rudalics@gmx.at>
14783
14784 * window.el (display-buffer-pop-up-window)
14785 (display-buffer-pop-up-side-window)
14786 (display-buffer-in-side-window): Call display-buffer-set-height
14787 and display-buffer-set-width after setting the new window's
b796c9b7 14788 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14789
bfa4f190
SS
147902011-07-20 Sam Steingold <sds@gnu.org>
14791
14792 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14793 (etags-tags-included-tables): Call `convert-standard-filename' on
14794 the file names contained in TAGS so that windows Emacs can handle
14795 TAGS files created by cygwin ctags.
14796
8ca42262
LMI
147972011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14798
14799 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14800 which apparently didn't work.
14801
5db2afd2 148022011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14803
5db2afd2
RW
14804 * proced.el (proced-send-signal): For *Marked Processes* buffer
14805 put point at beginning of buffer.
14806
92e15d10
SB
148072011-07-19 Stephen Berman <stephen.berman@gmx.net>
14808
14809 * proced.el (proced-format): Make header lines align with the text
14810 (bug#1779).
14811
1bfd59e5
LMI
148122011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14813
14814 * view.el (view-buffer): Allow running in `special' modes if we're
14815 visiting a file (bug#8615).
14816
f5aae37c
MR
148172011-07-19 Martin Rudalics <rudalics@gmx.at>
14818
14819 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14820 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14821 New functions.
f5aae37c
MR
14822 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14823 more accurately.
14824
bf2c1571
AM
148252011-07-18 Alan Mackenzie <acm@muc.de>
14826
14827 Fontify declarators properly when, e.g., a jit-lock chunk begins
14828 inside a declaration.
14829
14830 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14831
b796c9b7
SM
14832 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14833 New function.
bf2c1571
AM
14834 (c-complex-decl-matchers): Insert reference to
14835 c-font-lock-enclosing-decls.
14836
14837 * progmodes/cc-engine.el (c-backward-single-comment):
14838 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14839 to nil around calls to (forward-comment -1).
14840
4e190b80
LMI
148412011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14842
12dc863d
LMI
14843 * image.el (put-image): Doc typo fix.
14844
a762e966
LMI
14845 * progmodes/etags.el (tags-search): Doc typo fix.
14846
4e190b80
LMI
14847 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14848 password if we get errors 550 to 554.
14849
f019fb21
LMI
148502011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14851
b796c9b7 14852 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14853
81746738
LMI
14854 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14855 indentation character (bug#6380).
14856
3ee3a1b5
LMI
14857 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14858
c82f64de
LMI
14859 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14860 to clarify what the problem is (bug#4291).
14861
f019fb21
LMI
14862 * simple.el (current-kill): Clarify what
14863 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14864 (auto-fill-mode): Document `auto-fill-function' in relation to
14865 `auto-fill-mode' (bug#2470).
f019fb21 14866
0794775d
LM
148672011-07-16 Lawrence Mitchell <wence@gmx.li>
14868
14869 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14870 method if slot is read-only (bug#9035).
14871
be39b8cc
MR
148722011-07-16 Martin Rudalics <rudalics@gmx.at>
14873
b796c9b7 14874 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14875 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14876 selected before, see discussion of (Bug#8615), (Bug#6954).
14877 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14878
6ccf7859
GM
148792011-07-15 Glenn Morris <rgm@gnu.org>
14880
14881 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14882 Respect help-form.
6ccf7859 14883
87e86684
LM
148842011-07-09 Lawrence Mitchell <wence@gmx.li>
14885
14886 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14887 (gnutls-negotiate): Use it.
14888
d6066239
LMI
148892011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14890
b796c9b7
SM
14891 * net/gnutls.el (gnutls-negotiate):
14892 Upcase `gnutls-algorithm-priority'.
d6066239 14893
bd23ebc0
GM
148942011-07-15 Glenn Morris <rgm@gnu.org>
14895
c65bca65
GM
14896 * jka-compr.el (jka-compr-verbose): Move from here...
14897 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14898 Add missing :version tag.
14899 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14900
478615cc
LMI
149012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14902
7b41decb
LMI
14903 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14904 (gnutls-negotiate): Use it.
14905
dbc44fcd
LMI
14906 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14907
06789f97
LMI
14908 * info.el (Info-beginning-of-buffer): New command.
14909 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14910 announcing `b' as the key (bug#8325).
ab896c37 14911 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14912
c39da690
LMI
14913 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14914
3aa5f34b
LMI
14915 * international/mule-cmds.el
14916 (describe-specified-language-support): Make the error message
14917 clearer (bug#8905).
14918
4bf0979f
LMI
14919 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14920
478615cc
LMI
14921 * isearch.el (isearch-barrier): Add a doc string, since it's
14922 mentioned in a function doc string (bug#8678).
14923
75c68aa1
MR
149242011-07-15 Martin Rudalics <rudalics@gmx.at>
14925
14926 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14927 buffer argument (Bug#9083) and self-identifying label argument.
14928
a7c33da2
GM
149292011-07-15 Glenn Morris <rgm@gnu.org>
14930
14931 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14932
2f5c6024
LMI
149332011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14934
14935 * man.el (Man-fontify-manpage): Fix message when formatting the
14936 man page (bug#7929).
14937
0bb23927 149382011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14939
14940 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14941 argument LRM; if non-nil, append an invisible LRM character to the
14942 buffer name.
14943 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14944 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14945 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14946 paragraph direction.
cce4b0a7 14947
621ef9ab
LMI
149482011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14949
d1583c48
LMI
14950 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14951 the man page name (bug#7929).
14952
6a57fb5f
LMI
14953 * image.el (put-image): Mention the `put-image' overlay property
14954 (bug#7834).
14955
d7956b14
LMI
14956 * scroll-bar.el (set-scroll-bar-mode): Mention that
14957 `scroll-bar-mode' lists the values (bug#7772).
14958
5b2d4a66
LMI
14959 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14960 command (bug#7729).
14961
7509a874
LMI
14962 * rect.el (apply-on-rectangle): Return the point after the last
14963 operation.
14964 (string-rectangle): Go to the point after the last operation
14965 (bug#7522).
14966
4fe74b19
LMI
14967 * printing.el (pr-toggle-region): Clarify the documentation
14968 slightly (bug#7493).
14969
b796c9b7
SM
14970 * time.el (display-time-update):
14971 Allow `display-time-mail-function' to return nil (bug#7158).
14972 Fix suggested by Detlev Zundel.
ab283561 14973
fc233c9d
LMI
14974 * vc/diff.el (diff): Clarify the order the file names are read
14975 (bug#7111).
14976
43f5740b
LMI
14977 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14978 the doc string (bug#7015).
14979
f2182a76
LMI
14980 * font-lock.el (font-lock-maximum-decoration): Mention what
14981 numeric levels mean (bug#6935).
14982
621ef9ab
LMI
14983 * startup.el (initial-buffer-choice): Don't mention the `none'
14984 selection, which is against policy.
14985
adc47434
MR
149862011-07-14 Martin Rudalics <rudalics@gmx.at>
14987
b796c9b7
SM
14988 * window.el (display-buffer-normalize-special):
14989 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14990
7e5bfb8f
EZ
149912011-07-14 Eli Zaretskii <eliz@gnu.org>
14992
14993 * subr.el (version<, version<=, version=): Mention "-CVS" and
14994 "-12345" alpha version numbers.
14995
27fa387a
CY
149962011-07-14 Chong Yidong <cyd@stupidchicken.com>
14997
14998 * bindings.el: Add advertised binding for set-mark-command
14999 (Bug#5772).
15000
8bdfa064
CY
150012011-07-14 Chong Yidong <cyd@stupidchicken.com>
15002
15003 * bindings.el (mode-line-other-buffer):
15004 * bookmark.el (bookmark-bmenu-2-window):
15005 * bs.el (bs-cycle-next, bs-cycle-previous):
15006 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15007 switch-to-buffer.
15008
15009 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15010 Delete.
8bdfa064 15011
5eba16a3
JB
150122011-07-14 Juanma Barranquero <lekktu@gmail.com>
15013
15014 * follow.el (follow-debug-message, follow-redisplay):
15015 * jka-cmpr-hook.el (with-auto-compression-mode):
15016 Fix typos in docstrings.
15017
15853710
LMI
150182011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15019
a28e4607
LMI
15020 * subr.el (with-silent-modifications): Clarify somewhat what the
15021 macro inhibits (bug#6525).
15022
15853710
LMI
15023 * simple.el (eval-expression): Note what it does if called
15024 interactively (bug#6495).
15025
bee0fcef
CY
150262011-07-13 Chong Yidong <cyd@stupidchicken.com>
15027
b796c9b7
SM
15028 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15029 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15030
15031 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15032 Remove switch-to-buffer.
15033
58274504
LMI
150342011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15035
bd2fcc8d
LMI
15036 * files.el (make-directory): Clarify that an error will be raised
15037 if there's an error (bug#6397).
15038
0f04b32c
LMI
15039 * startup.el (initial-buffer-choice): Add `none' as a choice
15040 (bug#6234).
15041
465c5fc8
LMI
15042 * subr.el (add-hook): Clarify section about buffer-local hooks
15043 (bug#6218).
15044
58274504
LMI
15045 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15046
bead9a43
JB
150472011-07-13 Juanma Barranquero <lekktu@gmail.com>
15048
15049 * tabify.el (untabify): Preserve the current column so that point
15050 doesn't move (bug#6032).
15051
3af98a7b
LMI
150522011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15053
b796c9b7
SM
15054 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15055 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15056
6240145a
GM
150572011-07-13 Glenn Morris <rgm@gnu.org>
15058
15059 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15060 (dired-insert-directory): Give a message the first time
15061 if ls is found not to support --dired.
15062
1d8c2ccc
LMI
150632011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15064
15065 * simple.el (toggle-truncate-lines): Clarify what is toggled
15066 (bug#5580). Text by Drew Adams.
15067
5fc4038e
CY
150682011-07-13 Chong Yidong <cyd@stupidchicken.com>
15069
15070 * simple.el (blink-matching-open): Make the error message from the
15071 last change less verbose.
15072
bf6012e5
DN
150732011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15074
15075 * font-lock.el (font-lock-comment-face): Use the high contrast
15076 "yellow" color for font-lock-comment-face on low color terminals
15077 using a dark background color (bug#4221).
15078
343c3b5a
LMI
150792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15080
7e9505c5
LMI
15081 * dired.el (dired-insert-set-properties): Make the doc string
15082 reflect what it does now (bug#5325).
15083
c26fdcf5
LMI
15084 * simple.el (blink-matching-open): Say that we were unable to find
15085 the match within the limit, if we're limited (bug#5122).
15086
bb388cc5
LMI
15087 * international/mule-cmds.el (prefer-coding-system): Add an
15088 example (bug#4869).
15089
343c3b5a
LMI
15090 * progmodes/etags.el (tags-search): Document `file-list-form'
15091 (bug#4731).
15092
2a517d45
LM
150932011-07-13 Lawrence Mitchell <wence@gmx.li>
15094
15095 * net/browse-url.el (browse-url-default-browser)
15096 (browse-url-browser-function): Make the default browser choice a
15097 bit more logical (bug#4300). Also clean up the doc string.
15098
b6c78ef2
JB
150992011-07-13 Juanma Barranquero <lekktu@gmail.com>
15100
15101 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15102 binary endings (bug#4440).
15103
1c4dd947
LMI
151042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15105
a2014063
LMI
15106 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15107 which can be pretty annoying (bug#8971).
15108
9c9c2d88
LMI
15109 * jka-compr.el (jka-compr-verbose): New variable, and use
15110 throughout (bug#8971).
15111
1c4dd947
LMI
15112 * info.el (Info-find-file): Fall back on the installation
15113 directory if we can't find the info node anywhere else.
15114
a1c9f41b
SO
151152011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15116
15117 * vc/vc.el (vc-revert-file):
15118 Don't set file time-stamp in the past. (Bug#5181)
15119
536f3d36
LMI
151202011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15121
7152b011
LMI
15122 * files.el (after-find-file): Give a better error message when
15123 trying to find a symlink that points to a file that doesn't exist
15124 (bug#4398).
15125
536f3d36
LMI
15126 * progmodes/cc-vars.el: Remove (probably) misleading comment
15127 (bug#4396).
15128
460c0fba
JB
151292011-07-12 Johan Bockgård <bojohan@gnu.org>
15130
15131 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15132
7a6bda45
CY
151332011-07-12 Chong Yidong <cyd@stupidchicken.com>
15134
15135 * mouse-sel.el: Hack restoring functionality, while keeping
15136 compatibility with 2010-07-03 changes to mouse selection.
15137 (mouse-sel-primary-overlay): New var.
15138 (mouse-sel-selection-alist): Use it.
15139 (mouse-sel-mode): Doc fix; remove points that are default features
15140 of mouse.el.
15141
c79598ef
JB
151422011-07-12 Johan Bockgård <bojohan@gnu.org>
15143
15144 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15145 Fix previous fix (bug#2490).
15146
ff8be6ef
RW
151472011-07-12 Roland Winkler <winkler@gnu.org>
15148
b796c9b7
SM
15149 * textmodes/bibtex.el (bibtex-initialize):
15150 Use pop-to-buffer-same-window.
ff8be6ef
RW
15151 (bibtex-search-entries): Fix interactive call.
15152
296ba3ee
LMI
151532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15154
f5242a02 15155 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15156 Fontise bytecomp Error lines more correctly (bug#2490).
15157 Fix suggested by Johan Bockgård.
f5242a02 15158
296ba3ee
LMI
15159 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15160
15161 * dired-x.el (dired-guess-default): Use `delete-dups'.
15162
f69fd0d2
CY
151632011-07-12 Chong Yidong <cyd@stupidchicken.com>
15164
15165 * dired.el (dired-mark-prompt):
15166 * dired-aux.el (dired-read-shell-command): Doc fix.
15167
eab5dc07
LMI
151682011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15169
b796c9b7
SM
15170 * mail/sendmail.el (sendmail-query-once):
15171 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15172 emacs -Q.
15173
15174 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15175
eab5dc07
LMI
15176 * cus-edit.el (custom-file): Take an optional no-error variable.
15177 (customize-save-variable): Set the variable, and give a warning if
15178 running under "emacs -q".
15179
a1e65d42
JB
151802011-07-11 Juanma Barranquero <lekktu@gmail.com>
15181
15182 * loadhist.el (unload-feature-special-hooks):
15183 Add `auto-coding-functions', `fill-nobreak-predicate' and
15184 `find-directory-functions' (bug#5327).
15185
1d52da10
LMI
151862011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15187
be958f1d
LMI
15188 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15189
5bedb26c
LMI
15190 * cus-edit.el (custom-guess-name-alist): -alist variables should
15191 use the `alist' type (bug#3120). Suggested by Drew Adams.
15192
1d52da10
LMI
15193 * printing.el: Add documentation to all the `pr-toggle-' commands.
15194
cd394be1 151952011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15196
15197 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15198 backends where it makes sense (bug#2623).
15199
dcc88d8a
LMI
152002011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15201
c3de9feb
LMI
15202 * dired-x.el (dired-guess-default): Remove duplicate shell command
15203 entries (bug#2028).
8a93078b 15204 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15205 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15206
dcc88d8a
LMI
15207 * subr.el (remove-duplicates): New conveniency function.
15208
505e3645
LMI
152092011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15210
15211 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15212 (bug#1526).
15213
152142011-07-10 Martin Rudalics <rudalics@gmx.at>
15215
15216 * window.el (display-buffer-normalize-default): Don't invert
15217 meaning of even-window-heights. Reported by Eli Zaretskii
15218 <eliz@gnu.org>.
15219
455e4fa1
BR
152202011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15221
15222 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15223
8e0bc3e9
CY
152242011-07-10 Chong Yidong <cyd@stupidchicken.com>
15225
15226 * window.el (display-buffer): Fix arguments to
15227 display-buffer-reuse-window in last change.
15228
fa7c3228
CY
15229 * faces.el (link): Use a less saturated blue on light backgrounds.
15230
15231 * startup.el (fancy-startup-text, fancy-about-text)
15232 (fancy-startup-tail): Use font-lock faces, for background safety.
15233
c0a7f300
BN
152342011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15235
b796c9b7
SM
15236 * emulation/viper-cmd.el (viper-change-state-to-vi):
15237 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15238
4dc2a129
MR
152392011-07-09 Martin Rudalics <rudalics@gmx.at>
15240
15241 * window.el (display-buffer-default-specifiers): Remove.
15242 (display-buffer-macro-specifiers): Remove default specifiers.
15243 (display-buffer-alist): Default to nil.
b796c9b7 15244 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15245 (display-buffer-pop-up-window): Allow splitting internal
15246 windows. Check whether a live window was created.
15247 (display-buffer-other-window-means-other-frame)
15248 (display-buffer-normalize-arguments): Rename to
15249 display-buffer-normalize-argument and rewrite. Set the
15250 other-window specifier.
15251 (display-buffer-normalize-special): New function.
15252 (display-buffer-normalize-options): Rename to
15253 display-buffer-normalize-default and rewrite.
15254 (display-buffer-normalize-options-inhibit): Remove.
15255 (display-buffer-normalize-specifiers): Rewrite.
15256 (display-buffer): Process other-window specifier and call
15257 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15258 more faithfully.
b796c9b7 15259 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15260 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15261 (display-buffer-in-window, display-buffer-alist-set):
15262 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15263 <tassilo@member.fsf.org>.
15264
2d43b8c9
LL
152652011-07-09 Leo Liu <sdl.web@gmail.com>
15266
15267 * register.el (insert-register): Restore accidental change on
15268 2011-06-26. (Bug#9028)
15269
7f9b7c53
GM
152702011-07-09 Glenn Morris <rgm@gnu.org>
15271
15272 * subr.el (remq): Handle the empty list. (Bug#9024)
15273
f042cfd8
AS
152742011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15275
15276 * mail/sendmail.el (send-mail-function): No longer delay custom
15277 initialization.
15278 * custom.el (custom-initialize-delay): Doc fix.
15279
856b2f11
SM
152802011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15281
15282 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15283
afae1d68
MA
152842011-07-08 Michael Albinus <michael.albinus@gmx.de>
15285
15286 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15287 human-friendly prompt.
15288
0757af94
SM
152892011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15292 provided by a particular plugin.
15293
d760b731
LMI
152942011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15295
15296 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15297 save customizations (with "emacs -Q"), just set the variable
15298 instead of erroring out.
15299
15300 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15301
cd79ce90
JL
153022011-07-08 Juri Linkov <juri@jurta.org>
15303
15304 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15305 (archive-zip-update-case): Use 7z if found by `executable-find'.
15306 The order of searching the available programs is the same as in
15307 `archive-zip-extract' (bug#8968).
15308
14cc04aa
CY
153092011-07-07 Chong Yidong <cyd@stupidchicken.com>
15310
15311 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15312 (menu-bar-options-menu): Tweak descriptions.
15313
0a1848ec
LMI
153142011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15315
15316 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15317 menu items into verb phrases (bug#1421). Also refill to fit under
15318 80 columns.
15319
f5bd0689
CY
153202011-07-07 Chong Yidong <cyd@stupidchicken.com>
15321
538e85c6
CY
15322 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15323 (Info-read-node-name): Doc fix (Bug#1084).
15324
f5bd0689
CY
15325 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15326 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15327 (end-of-sexp, beginning-of-sexp)
15328 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15329 (forward-symbol, forward-same-syntax, word-at-point)
15330 (sentence-at-point): Doc fix (Bug#1144).
15331
56ec5115
LMI
153322011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15333
f3f8e37f
LMI
15334 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15335 should cover it (bug#1281).
15336
0757af94 15337 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15338
e9fce1ac 15339 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15340 negotiation fails, then possibly try again with a non-encrypted
15341 connection (bug#9017).
15342
56ec5115
LMI
15343 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15344 be used.
15345
c2f9aec8
RS
153462011-07-07 Richard Stallman <rms@gnu.org>
15347
15348 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15349 property, and handle its changed format.
15350 Look for the correct line number.
15351 Use file's line contents (but not past first =) to find
15352 correct line in message.
15353
ef7b981d 153542011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15355
15356 * international/characters.el (build-unicode-category-table):
15357 Delete it.
0757af94 15358 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15359
0757af94 15360 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15361 to src/chartab.c.
15362 (get-char-code-property): Call unicode-property-table-internal to
15363 load a file. Call get-unicode-property-internal where necessary.
15364 (put-char-code-property): Call unicode-property-table-internal to
15365 load a file. Call put-unicode-property-internal where necessary.
15366 put-unicode-property-internal where necessary.
0757af94
SM
15367 (char-code-property-description):
15368 Call unicode-property-table-internal to load a file.
c805dec0
KH
15369
15370 * international/charprop.el:
15371 * international/uni-bidi.el:
15372 * international/uni-category.el:
15373 * international/uni-combining.el:
15374 * international/uni-comment.el:
15375 * international/uni-decimal.el:
15376 * international/uni-decomposition.el:
15377 * international/uni-digit.el:
15378 * international/uni-lowercase.el:
15379 * international/uni-mirrored.el:
15380 * international/uni-name.el:
15381 * international/uni-numeric.el:
15382 * international/uni-old-name.el:
15383 * international/uni-titlecase.el:
15384 * international/uni-uppercase.el: Regenerate.
15385
15386 * loadup.el: Load international/charprop.el before
15387 international/characters.
15388
e14b388a
CY
153892011-07-07 Chong Yidong <cyd@stupidchicken.com>
15390
15391 * window.el (next-buffer, previous-buffer): Signal an error if
15392 called from a minibuffer window.
15393
15394 * bindings.el: Revert 2011-07-04 change.
15395
354cf0ba
RS
153962011-07-06 Richard Stallman <rms@gnu.org>
15397
15398 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15399 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15400 Treat markers like ints.
15401 (rmail-mime-entity): Doc fix.
15402
a48868a7
LMI
154032011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15404
4906cd3d
LMI
15405 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15406 defcustom again for backwards compatibility.
15407
e0457abe
LMI
15408 * simple.el (shell-command-on-region): Fill.
15409
d67f7e1f
LMI
15410 * dired-aux.el (dired-kill-line): Add a doc string.
15411
fe204702
LMI
15412 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15413 to "\\sw\\|\\s_" (bug#358).
15414
a48868a7
LMI
15415 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15416 (dired-unmark-backward): Ditto.
15417 (dired-flag-backup-files): Ditto.
15418
15419 * dired-x.el (dired-mark-sexp): Ditto.
15420
aa8a705c
RS
154212011-07-06 Richard Stallman <rms@gnu.org>
15422
15423 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15424 (rmail-mime-entity): New arg TRUNCATED.
15425 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15426 New functions.
15427 (rmail-mime-save): Warn if entity is truncated.
15428 (rmail-mime-toggle-hidden): Likewise, for showing.
15429 (rmail-mime-process-multipart): Record when an entity is truncated.
15430
a9a936b9
RS
15431 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15432 if ENTITY is a string.
15433
1f2b92cb
LMI
154342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15435
f4f73198 15436 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15437 of faces when `M-C-x'-ing their definitions (bug#8378).
15438 Also clean up the code slightly.
f4f73198 15439
12b16734 15440 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15441 because that makes the colors go away.
12b16734 15442
f0691d22
LMI
15443 * mail/sendmail.el (send-mail-function): Change the default to
15444 `sendmail-query-once'.
9e87df06 15445 (sendmail-query-once): Add an autoload cookie.
f0691d22 15446
1f2b92cb
LMI
15447 * net/network-stream.el (network-stream-open-starttls): Try using
15448 a plain connection even if the server offered STARTTLS, and we
15449 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15450 capability. This should make smtpmail.el work in slightly more
15451 configurations.
15452
1cdd2a1b
MA
154532011-07-06 Michael Albinus <michael.albinus@gmx.de>
15454
15455 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15456 New defun.
15457 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15458
fbcc67e2
MM
154592011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15460
15461 * progmodes/sql.el: Version 3.0
0757af94 15462 (sql-product-alist): Add product :completion-object,
fbcc67e2 15463 :completion-column, and :statement attributes.
0757af94 15464 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15465 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15466 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15467 ansi keywords.
15468 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15469 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15470 (sql-oracle-show-reserved-words): New function for development.
15471 (sql-product-font-lock): Simplify for source code buffers.
15472 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15473 New functions.
15474 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15475 (sql-mode-map): Add statement movement functions.
15476 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15477 New variable.
fbcc67e2
MM
15478 (sql-statement-regexp, sql-beginning-of-statement)
15479 (sql-end-of-statement, sql-signum): New functions.
0757af94 15480 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15481 (sql-show-sqli-buffer): Bug fix.
15482 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15483 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15484 with sql-interactive-mode.
15485 (sql-save-connection): Save buffer local settings.
0757af94 15486 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15487 (sql-product-interactive): Bug fix.
15488 (sql-preoutput-hold): New variable.
15489 (sql-interactive-remove-continuation-prompt): Bug fixes.
15490 (sql-debug-redirect): New variable.
15491 (sql-str-literal): New function.
15492 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15493 Redesign.
fbcc67e2
MM
15494 (sql-oracle-save-settings, sql-oracle-restore-settings)
15495 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15496 (sql-completion-object, sql-completion-column)
15497 (sql-completion-sqlbuf): New variables.
15498 (sql-build-completions-1, sql-build-completions)
15499 (sql-try-completion): New functions.
15500 (sql-read-table-name): Use them.
15501 (sql-contains-names): New buffer local variable.
15502 (sql-list-all, sql-list-table): Use it.
15503 (sql-oracle-completion-types): New variable.
15504 (sql-oracle-completion-object, sql-sqlite-completion-object)
15505 (sql-postgres-completion-object): New functions.
15506
d4eaeab1
GM
155072011-07-06 Glenn Morris <rgm@gnu.org>
15508
15509 * window.el (pop-to-buffer): Doc fix.
15510
322b7dab 155112011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15512
15513 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15514
322b7dab 155152011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15516
322b7dab 15517 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15518
322b7dab 15519 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15520
605dd5bf
CY
155212011-07-05 Chong Yidong <cyd@stupidchicken.com>
15522
15523 * button.el (button): Inherit from link face. Suggested by Dan
15524 Nicolaescu.
15525
7dbfa719
SM
155262011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15527
3db614b0
SM
15528 * progmodes/gdb-mi.el: Fit in 80 columns.
15529 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15530 switch-to-buffer.
15531
7dbfa719
SM
15532 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15533 if imenu is simply not configured (bug#8941).
15534
919d884a
KM
155352011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15536
15537 * allout.el (allout-post-undo-hook): New allout outline-change
15538 event hook to signal undo activity.
15539 (allout-post-command-business): Run allout-post-undo-hook if an
15540 undo just occurred.
7dbfa719
SM
15541 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15542 * allout-widgets.el (allout-widgets-after-undo-function):
15543 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15544 in the vicinity of an undo.
15545 (allout-widgets-mode): Include allout-widgets-after-undo-function
15546 on the new allout-post-undo-hook.
15547
450a0f09
SM
155482011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15551 Let define-derived-mode define it.
15552 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15553 cycles of abbrev-table inheritance (bug#8998).
15554
2de69e00
RW
155552011-07-05 Roland Winkler <winkler@gnu.org>
15556
15557 * textmodes/bibtex.el: Add support for biblatex.
15558 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15559 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15560 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15561 (bibtex-entry-alist, bibtex-field-alist): New variables.
15562 (bibtex-entry-field-alist): Obsolete alias for
15563 bibtex-BibTeX-entry-alist.
15564 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15565 (bibtex-set-dialect): New command.
15566 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15567 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15568 Bind via bibtex-set-dialect.
2de69e00
RW
15569 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15570 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15571 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15572 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15573 Define via bibtex-set-dialect.
450a0f09
SM
15574 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15575 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15576 (bibtex-vec-push, bibtex-vec-incr): New functions.
15577 (bibtex-format-entry, bibtex-field-list)
15578 (bibtex-print-help-message, bibtex-validate)
15579 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15580
2dcdbdd9
SM
155812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15582
15583 * progmodes/compile.el (compilation-goto-locus):
15584 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15585 * bs.el (bs-cycle-next, bs-cycle-previous):
15586 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15587 * bindings.el (mode-line-other-buffer):
15588 * autoinsert.el (auto-insert):
15589 * arc-mode.el (archive-extract):
15590 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15591
b27640fe
JB
155922011-07-05 Juanma Barranquero <lekktu@gmail.com>
15593
15594 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15595 Fix check of `emacs-lock-unlockable-modes'.
15596 Coerce true values of `emacs-lock--try-unlocking' to t.
15597
53bbe3ad
JB
155982011-07-05 Juanma Barranquero <lekktu@gmail.com>
15599
15600 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15601 * emacs-lock.el: New file.
15602
1d3cdbc7
JD
156032011-07-05 Julien Danjou <julien@danjou.info>
15604
15605 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15606 than `boundp' to check if face is set.
15607
9173deec
JB
156082011-07-05 Juanma Barranquero <lekktu@gmail.com>
15609
15610 * register.el (registerv-make):
15611 * window.el (window-min-height): Fix typos in docstrings.
15612
869795d6
JD
156132011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15614
9173deec 15615 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15616 Update doc string.
15617
b768cdcd
JB
156182011-07-04 Juanma Barranquero <lekktu@gmail.com>
15619
15620 * server.el (server-execute): Catch quit and call
15621 `server-return-error' to pass the error back to emacsclient and
15622 close the connection (bug#8942).
15623
13aa217b
KM
156242011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15625
15626 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15627 insecure exception for current topic. Also note that auto-saves
15628 are handled differently.
15629
5d3385a0 15630 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15631 State variables for tracking auto-save inhibition situation.
15632
15633 (allout-write-contents-hook-handler): Rename from
15634 'allout-write-file-hook-handler', and describe how it depends on
15635 write-contents-functions sensitivity to non-nil value to prevent
15636 file write.
15637
15638 (allout-auto-save-hook-handler): Remove. auto-save does not check
15639 this in individual buffers, only in the starting buffer, so this
15640 is not the right way for us to inhibit auto-save in a buffer
15641 according to its condition.
15642
15643 (allout-mode): Use new allout-write-contents-hook-handler, and
15644 only with write-contents-functions. Remove auto-save provisions -
15645 they're implemented elsewhere.
15646
15647 (allout-before-change-handler): If undo is in progress, note that
15648 for attention of allout-post-command-business.
15649
15650 (allout-post-command-business): If the command we're following was
15651 an undo, check for change in the status of encrypted items and
15652 adjust auto-save inhibitions accordingly.
15653
15654 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15655 according to whether there are or aren't any plain-text topics
15656 pending encryption.
15657
2dcdbdd9 15658 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15659 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15660 if there are plain-text topics pending encryption.
13aa217b
KM
15661
15662 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15663 buffer-saved-size and some allout state to not inhibit auto-saves
15664 if there are no longer any plain-text topics pending encryption.
15665
0757af94
SM
15666 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15667 No longer provide for exemption of the current topic.
13aa217b 15668
ac89b32c
JL
156692011-07-04 Juri Linkov <juri@jurta.org>
15670
15671 Add 7z operations to delete and save changed members (bug#8968).
15672 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15673 New defcustoms.
15674 (archive-7z-write-file-member): New function.
15675 (archive-7z-summarize): Fix the number of dashes in the
15676 listing output.
15677
8fa39615
SM
156782011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15679
15680 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15681 (bug#8958).
15682
2f11b3f1
CY
156832011-07-04 Chong Yidong <cyd@stupidchicken.com>
15684
d66fef2b
CY
15685 * bindings.el: Ignore next-buffer and previous-buffer in
15686 minibuffer-local-map.
15687
2f11b3f1
CY
15688 * font-lock.el (font-lock-builtin-face): Change light background
15689 color to dark slate blue (Bug#6693).
15690
f932a347
WD
156912011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15692
15693 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15694
c8af70e1
SM
156952011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15696
15697 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15698 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15699 Add switch-to-buffer.
15700
f158badc
LMI
157012011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15702
15703 * isearch.el (isearch-search-fun-function): Clarify further the
15704 meaning of the function returned.
15705
6d95bd46
MA
157062011-07-04 Michael Albinus <michael.albinus@gmx.de>
15707
15708 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15709
15710 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15711 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15712 Use it.
15713 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15714 `tramp-default-remote-path' does not exist.
15715 (tramp-send-command-and-read): New optional argument NOERROR.
15716 (tramp-open-connection-setup-interactive-shell)
15717 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15718 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15719 (tramp-process-sentinel): Flush also process' connection property.
15720 (tramp-sh-handle-start-file-process): Do not set process
15721 sentinel. It is done now ...
15722 (tramp-maybe-open-connection): ... here. (Bug#8929)
15723
909e6b67
MK
157242011-07-04 MON KEY <monkey@sandpframing.com>
15725
15726 * play/animate.el (animate-string): Doc fixes and allow changing
15727 the buffer name (bug#5417).
15728
157292011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15730
c8af70e1 15731 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15732
f34755dc
PE
157332011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15734
396cec72
PE
15735 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15736 This is simpler and helps future-proof the code.
15737 (timer-until): Use time-subtract and float-time.
08235028 15738 (timer--time-less-p): Use time-less-p.
f34755dc 15739
56e6cc31
JB
157402011-07-04 Juanma Barranquero <lekktu@gmail.com>
15741
3abb79e5
JB
15742 * type-break.el (timep): Use the value of `float-time' to avoid a
15743 byte-compiler warning.
15744
56e6cc31
JB
15745 * server.el (server-eval-and-print): Return any result, even nil.
15746
7b9430b4
PE
157472011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15748
15749 * type-break.el: Accept time formats that the builtins accept.
15750 (timep, type-break-time-difference): Accept any format that
15751 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15752 This is simpler and helps future-proof the code.
15753 (type-break-time-difference): Round rather than ignoring
15754 subseconds components.
15755
3034e9e7
LMI
157562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15757
15758 * info.el (Info-apropos-matches): Make non-interactive, since it
15759 doesn't seem to do anything useful as a command (bug#8829).
15760
1485f4c0
CY
157612011-07-03 Chong Yidong <cyd@stupidchicken.com>
15762
15763 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15764 Move from faces.el.
1485f4c0
CY
15765 (frame-default-terminal-background): New function.
15766
15767 * custom.el (custom-push-theme): Don't record faces in `changed'
15768 theme; this doesn't work correctly for per-frame face settings.
15769 (disable-theme): Use face-set-after-frame-default to reset faces.
15770 (custom--frame-color-default): New function.
15771
9fa3dd45
LMI
157722011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15773
c8af70e1 15774 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15775 (bug#8769).
15776
6cbbc20c
KR
157772011-03-29 Kevin Ryde <user42@zip.com.au>
15778
15779 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15780 `perl-Test2' extend to match possible "fail #N" rep count
15781 (bug#8377).
15782
c7f98048
LMI
157832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15784
65676592
LMI
15785 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15786 `smtpmail-via-smtp' now returns the error instead of nil.
15787
c7f98048
LMI
15788 * isearch.el (isearch-search-fun-function): Clarify the doc string
15789 (bug#8101).
15790
56e6cc31 157912011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15792
15793 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15794 unnecessary spaces (bug#8987).
15795
2b216704
LMI
157962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15797
15798 * net/network-stream.el (open-network-stream): Use the
15799 :end-of-capability command thoughout.
15800
158012011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15802
15803 * net/network-stream.el (open-network-stream): Add the
15804 :end-of-capability command parameter, used by pop3.el.
15805
36adf6ce
LMI
158062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15807
1ca0da0e
LMI
15808 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15809
fc00f69c
LMI
15810 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15811 for list)" (bug#6475).
15812
28fd8759 15813 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15814 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15815 an error (bug#6297).
15816
0dd8b6da
LMI
15817 * man.el (Man-reference-regexp): Allow matching possible
15818 word-wrapped references (bug#6289).
15819
ce1438d6
LMI
15820 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15821 for consistency with the other vc buffers (bug#6197).
15822 (vc-checkin): Ditto.
15823
15824 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15825
36adf6ce
LMI
15826 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15827
e83cc1f7
LMI
158282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15829
8a20ca4c
LMI
15830 * custom.el (defcustom): Clarify that :set is only used in the
15831 Customize user interface (bug#6089).
15832
83319045
LMI
15833 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15834 associated with a file, refuse to run instead of erroring out
15835 (bug#6084).
15836
a8392169
LMI
15837 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15838 the doc string, since it appears that using `fill-column' always
15839 controls the width (bug#7845).
15840
e83cc1f7
LMI
15841 * simple.el (shell-command-on-region): Say where the error output
15842 went if `shell-command-default-error-buffer' is set (bug#6857).
15843
e47ca23b
KM
158442011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15845
15846 * allout.el (allout-yank-processing): Adjust cursor position for
15847 backwards-deleted space.
15848
15849 (allout-rebullet-heading): Register changes with
15850 allout-exposure-changed-hook, so the modified topic is properly
15851 decorated.
15852
5cf56143
LMI
158532011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15854
08549772
LMI
15855 * minibuffer.el (completion-in-region): Document PREDICATE
15856 (bug#7136).
15857
48e96771
LMI
15858 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15859 of keyword/argument pairs (bug#6904).
15860
c8af70e1
SM
15861 * replace.el (multi-occur):
15862 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15863
e17d05e2
LMI
158642011-07-02 Drew Adams <drew.adams@oracle.com>
15865
15866 * dired.el (dired-mark-if): Make the message about whether it's
15867 marking or unmarking clearer (bug#8523).
15868
063b0e45
LMI
158692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15870
15871 * disp-table.el (display-table-print-array): New function.
15872 (describe-display-table): Use it to print the vectors more pretty
15873 (Bug#8859).
15874
28545e04
MR
158752011-07-02 Martin Rudalics <rudalics@gmx.at>
15876
15877 * window.el (window-state-get-1): Don't assign clone numbers.
15878 Add clone-of item to list of window parameters.
15879 (window-state-put-2): Don't process clone numbers.
15880 (display-buffer-alist): Fix doc-string.
15881
3349e122
SM
158822011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15883
15884 * subr.el (remq): Don't allocate if it's not needed.
15885 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15886 (keymap--merge-bindings): New functions.
15887 (keymap-canonicalize): Use them to refine the canonicalization.
15888 * minibuffer.el (minibuffer-local-completion-map)
15889 (minibuffer-local-must-match-map): Move initialization from C.
15890 (minibuffer-local-filename-completion-map): Move initialization from C;
15891 don't inherit from anything here.
15892 (minibuffer-local-filename-must-match-map): Make obsolete.
15893 (completing-read-default): Use make-composed-keymap to combine
15894 minibuffer-local-filename-completion-map with either
15895 minibuffer-local-must-match-map or
15896 minibuffer-local-filename-completion-map.
15897
d224ac83
GM
158982011-07-01 Glenn Morris <rgm@gnu.org>
15899
3de63bf8
GM
15900 * type-break.el (type-break-time-sum): Use dolist.
15901
d224ac83
GM
15902 * textmodes/flyspell.el (flyspell-word-search-backward):
15903 Replace CL function.
15904
1a1e3f32
SM
159052011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15906
fe3f64d5
SM
15907 * mouse.el (mouse--strip-first-event): New function.
15908 (function-key-map): Use it to map fringe clicks to normal clicks
15909 by default.
15910
eb604e34
SM
15911 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15912 (vc-bzr-revision-completion-table): Add support for annotate and date.
15913
1a1e3f32
SM
15914 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15915 inherit from parent.
15916
5bd35902
LMI
159172011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15918
ace6c69c 15919 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15920 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15921
191e2bed
LMI
15922 * dired.el (dired-mode): Fix up the doc string as suggested by
15923 Drew Adams (bug#8817).
15924
5bd35902
LMI
15925 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15926 cookie, since the manual says that it should be possible to add
15927 this function to `find-file-hook' (bug#8709).
15928
eee8207a
TZ
159292011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15930
15931 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15932 here. Noted Ted Zlatanov as the maintainer.
15933 (cfengine-common-settings, cfengine-common-syntax): New functions
15934 to set up common things between `cfengine-mode' and
15935 `cfengine3-mode'.
15936 (cfengine3-mode): New mode.
15937 (cfengine3-defuns cfengine3-defuns-regex
15938 (cfengine3-class-selector-regex cfengine3-category-regex)
15939 (cfengine3-vartypes cfengine3-font-lock-keywords)
15940 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15941 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15942
36b148cf
MA
159432011-07-01 Michael Albinus <michael.albinus@gmx.de>
15944
15945 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15946
15947 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15948
0bf4ba9a
MR
159492011-07-01 Martin Rudalics <rudalics@gmx.at>
15950
15951 * window.el (same-window-buffer-names, same-window-regexps)
15952 (same-window-p, special-display-frame-alist)
15953 (special-display-popup-frame, special-display-function)
15954 (special-display-buffer-names, special-display-regexps)
15955 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15956 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15957 (split-window-preferred-function, split-height-threshold)
15958 (split-width-threshold, even-window-heights)
15959 (display-buffer-mark-dedicated, window-splittable-p)
15960 (split-window-sensibly, window-safely-shrinkable-p):
15961 Un-obsolete.
15962 (display-buffer): Don't spread args with function specifier
15963 because special-display-popup-frame won't like it.
15964
35837f51
PE
159652011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15966
d0672f86
PE
15967 Time-stamp simplifications and fixes.
15968 These improve accuracy slightly, and future-proof the code
15969 against some potential changes to current-time format.
15970
b9444d97
PE
15971 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15972 by using time-since and float-time.
15973
0ef923dc
PE
15974 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15975 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15976 + NNN microseconds".
15977
2f81380d
PE
15978 * type-break.el (type-break-time-sum): Rewrite using time-add.
15979
845b5c3e
PE
15980 * play/hanoi.el (hanoi-current-time-float): Remove.
15981 All uses replaced by float-time.
15982
ee6f1be0
PE
15983 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15984 This yields a more-accurate answer.
15985 (rng-time-to-float): Remove; no longer needed.
15986
fe955043
PE
15987 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15988
5777162a
PE
15989 * calendar/timeclock.el (timeclock-seconds-to-time):
15990 Defalias to seconds-to-time, since they're the same thing.
15991
3103f8b6 15992 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15993 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15994 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15995
0e61a35f
SM
159962011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15997
15998 * window.el (bury-buffer): Don't iconify the only frame.
15999 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16000 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16001
ddd63a1e
CY
160022011-07-01 Chong Yidong <cyd@stupidchicken.com>
16003
0e61a35f
SM
16004 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16005 Add mouse-yank-primary.
ddd63a1e 16006
055f4923
TZ
160072011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16008
16009 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16010
6a2fb145
SM
160112011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16012
16013 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16014 (find-library-name): Use it to find relative load names when provided
16015 absolute file name (bug#8803).
16016
fd4983f2
LMI
160172011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16018
887d14ad
LMI
16019 * textmodes/flyspell.el (flyspell-word): Consider words that
16020 differ only in case as potential doublons (bug#5687).
16021
c53dc7fc
LMI
16022 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16023 Remove two rather uninteresting debugging-like messages to make
16024 debbugs.el more silent.
16025
fd4983f2
LMI
16026 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16027 a password-like phrase.
16028
7a71b18d 160292011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16030
16031 * progmodes/cc-guess.el: New file.
16032
6a2fb145 16033 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16034
16035 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16036 derived from `c-basic-common-init'.
16037
16038 * progmodes/cc-mode.el (top-level): Require cc-guess.
16039 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16040
1fa280a3
LM
160412011-06-30 Lawrence Mitchell <wence@gmx.li>
16042
16043 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16044
e6597158
AM
160452011-06-30 Alan Mackenzie <acm@muc.de>
16046
1fa280a3
LM
16047 * progmodes/cc-engine.el (c-guess-continued-construct):
16048 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16049 lock is disabled. Name this case as "CASE G".
16050
68ba37fb
KM
160512011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16052
16053 * allout.el (allout-yank-processing): Fix injection of extra space
16054 between bullet and non-whitespace character in first topic when
16055 pasting, ensuring that the actual spacing in the pasted topic
16056 following the bullet char is preserved. This extra space was
16057 causing pasted encrypted topics to get a decrypted status even
16058 when the content was actually still encrypted. Now the decryption
16059 status from before the paste is preserved.
16060
16061 (allout-flag-region): Set all allout overlays so they evaporate
16062 when reduced to zero length (evanescent), to prevent overlay
16063 leakage.
16064
887a0b34
GM
160652011-06-30 Glenn Morris <rgm@gnu.org>
16066
94b9acce
GM
16067 * w32-fns.el (w32-charset-info-alist): Declare.
16068
1d9b46d4
GM
16069 * find-dired.el (find-grep-options): Simplify.
16070
cc232200
GM
16071 * term/ns-win.el (ns-set-resource): Declare.
16072
28e77c46
GM
16073 * ses.el (row, col): Declare dynamic variables honestly.
16074
887a0b34
GM
16075 * textmodes/reftex-parse.el (index-tags): Declare.
16076
658d8eb8
CY
160772011-06-30 Chong Yidong <cyd@stupidchicken.com>
16078
16079 * cus-edit.el (customize-push-and-save): New function.
16080
16081 * files.el (hack-local-variables-confirm): Use it.
16082
1fa280a3
LM
16083 * custom.el (load-theme): New arg NO-CONFIRM.
16084 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16085 (custom-enabled-themes): Doc fix.
16086
16087 * cus-theme.el (customize-create-theme)
16088 (custom-theme-merge-theme): Callers to load-theme changed.
16089
bb617717
LMI
160902011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16091
d61bdd5d
LMI
16092 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16093 short URLs have at least one dot in them (bug #7614).
16094
bb617717
LMI
16095 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16096 nil, because using a pty is apparently too slow (bug #895).
16097
2f31f37a
LMI
160982011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16099
16100 * mail/sendmail.el (sendmail-query-once): New function.
16101 (sendmail-query-once-function): New variable.
16102
3076b24e
GM
161032011-06-29 Glenn Morris <rgm@gnu.org>
16104
faf2a174
GM
16105 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16106
3076b24e
GM
16107 * ses.el (top-level): Require cl when compiling.
16108 (ses-set-localvars): Fix error statement.
16109 Call it at compile time to silence a storm of warnings.
16110
5386012d
MR
161112011-06-29 Martin Rudalics <rudalics@gmx.at>
16112
16113 * window.el (normalize-live-buffer): Rename to
16114 window-normalize-buffer.
16115 (normalize-live-frame): Rename to window-normalize-frame.
16116 (normalize-any-window): Rename to window-normalize-any-window.
16117 (normalize-live-window): Rename to window-normalize-live-window.
16118 (make-window-atom): Rename to window-make-atom.
16119 (window-resize-reset): Rename to window--resize-reset.
16120 (window-resize-reset-1): Rename to window--resize-reset-1.
16121 (resize-mini-window): Rename to window--resize-mini-window.
16122 (resize-subwindows-skip-p): Rename to
16123 window--resize-subwindows-skip-p.
16124 (resize-subwindows-normal): Rename to
16125 window--resize-subwindows-normal.
16126 (resize-subwindows): Rename to window--resize-subwindows.
16127 (resize-other-windows): Rename to window--resize-siblings.
16128 (resize-this-window): Rename to window--resize-this-window.
16129 (resize-root-window): Rename to window--resize-root-window.
16130 (resize-root-window-vertically): Rename to
16131 window--resize-root-window-vertically.
16132 (normalize-buffer-to-display): Rename to
16133 window-normalize-buffer-to-display.
16134 (normalize-buffer-to-switch-to): Rename to
16135 window-normalize-buffer-to-switch-to.
16136 Correspondingly update all callers of the functions listed
16137 above.
16138 (display-buffer-alist, display-buffer-normalize-arguments)
16139 (display-buffer-normalize-options, display-buffer)
16140 (display-buffer-alist-set): Use "function" instead of
16141 "fun-with-args".
16142
1176868d
CY
161432011-06-28 Chong Yidong <cyd@stupidchicken.com>
16144
16145 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16146 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16147 debbugs.gnu.org. Mention acknowledgment email.
16148
20a7a65f
LMI
161492011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16150
16151 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16152 buffer multibyteness, since it shouldn't matter.
16153
5f45cca5
MR
161542011-06-28 Martin Rudalics <rudalics@gmx.at>
16155
16156 * window.el (display-buffer-in-side-window): Handle dedicated
16157 windows as in display-buffer-reuse-window.
16158 (display-buffer-normalize-alist): Use value of override
16159 specifier.
16160 (display-buffer-normalize-specifiers): Use value of
16161 other-window-means-other-frame specifier.
16162 (display-buffer-alist): Rewrite some texts in widgets.
16163 (display-buffer): Spread arguments when calling function
16164 specified by fun-with-args.
16165
ad85fe1f
DD
161662011-06-28 Deniz Dogan <deniz@dogan.se>
16167
1fa280a3
LM
16168 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16169 Unnest `let'.
da68c4c8 16170
ad85fe1f
DD
16171 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16172 selectors (Bug#5732).
ec49bd31 16173 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16174
a08cc025
JA
161752011-06-27 Jari Aalto <jari.aalto@cante.net>
16176
16177 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16178 (eshell-ls-date-format): New defcustom.
16179 (eshell-ls-file): Use it.
16180
e2b551c5
SM
161812011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16182
16183 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16184
8982b231
KY
161852011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16186
16187 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16188 (ange-ftp-make-tmp-name): New arg.
16189 (ange-ftp-file-local-copy): Use it.
16190
36c9fa27
J
161912011-06-27 Jambunathan K <kjambunathan@gmail.com>
16192
16193 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16194 no-conversion (Bug#8870).
16195
d68443dc
MR
161962011-06-27 Martin Rudalics <rudalics@gmx.at>
16197
16198 * window.el (window-right, window-left, window-child)
16199 (window-child-count, window-last-child)
16200 (window-iso-combination-p, walk-window-tree-1)
16201 (window-atom-check-1, window-tree-1, delete-window)
16202 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16203 new naming conventions - window-vchild, window-hchild,
16204 window-next and window-prev are now called window-top-child,
16205 window-left-child, window-next-sibling and window-prev-sibling
16206 respectively.
d615d6d2
MR
16207 (resize-window-reset): Rename to window-resize-reset.
16208 (resize-window-reset-1): Rename to window-resize-reset-1.
16209 (resize-window): Rename to window-resize.
16210 (window-min-height, window-min-width)
16211 (resize-mini-window, resize-this-window, resize-root-window)
16212 (resize-root-window-vertically, adjust-window-trailing-edge)
16213 (enlarge-window, shrink-window, maximize-window)
16214 (minimize-window, delete-window, quit-restore-window)
16215 (split-window, balance-windows, balance-windows-area-adjust)
16216 (balance-windows-area, window-state-put-2)
16217 (display-buffer-even-window-sizes, display-buffer-set-height)
16218 (display-buffer-set-width, set-window-text-height)
16219 (fit-window-to-buffer): Rename all "resize-window" prefixed
16220 calls to use the "window-resize" prefix convention.
16221 (display-buffer-alist): Fix symbol for label specifier.
16222 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16223 corresponding specifier.
16224 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16225
b6458526
VB
162262011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16227
16228 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16229 convention.
16230 (ses-call-printer): Does not pass an empty string to formatter when the
16231 cell is empty to keep from barking printer Calc math-format-value.
16232
d31fd9ac
RS
162332011-06-27 Richard Stallman <rms@gnu.org>
16234
43d5bf84
RS
16235 * battery.el (battery-mode-line-limit): New variable.
16236 (battery-update): Handle it.
16237
d31fd9ac
RS
16238 * mail/rmailmm.el (rmail-mime-process-multipart):
16239 Handle truncated messages.
16240
819a6054
GM
162412011-06-27 Glenn Morris <rgm@gnu.org>
16242
16243 * progmodes/flymake.el (flymake-err-line-patterns):
16244 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16245
cedc73f2
VB
162462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16247
819a6054 16248 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16249 (ses--clean-!, ses--clean-_): New functions.
16250 (ses-range): Add configurability of readout order, and conversion
16251 to Calc vector.
16252
5e5d49b6
VB
16253 * ses.el (ses-repair-cell-reference-all): New function.
16254 (ses-cell-symbol): Set macro as safe, so that it can be used in
16255 formulas.
16256
56e6cc31 16257 * ses.el: Update cycle detection algorithm.
90ca8b49 16258 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16259 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16260 (ses-set-localvars): New function.
16261 (ses-make-cell): Add property-list as a cell element.
16262 (ses-cell-property-get-fun, ses-cell-property-get)
16263 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16264 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16265 New functions.
90ca8b49
VB
16266 (ses-cell-property-set, ses-cell-property-pop)
16267 (ses-cell-property-get-handle): New macro.
16268 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16269 New aliases, used for code readability.
16270 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16271 cycle detection.
16272 (ses-self-reference-early-detection): New defcustom.
fac916bf 16273 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16274 (ses-mode): Use ses-set-localvars.
16275 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16276 before lauching the update processing.
16277 (ses-initialize-Dijkstra-attempt): New function.
16278 (ses-recalculate-cell): Update for cycle detection based on
16279 Dijkstra algorithm.
16280
2bb63e81
VB
16281 * ses.el: Fix commenting and indenting convention.
16282
c9d29fb8
SM
162832011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16284
16285 * bs.el (bs-cycle-next): Complete last change.
16286
d8e4b68b
JB
162872011-06-27 Drew Adams <drew.adams@oracle.com>
16288
16289 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16290
40098786
LMI
162912011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16292
c9d29fb8
SM
16293 * net/network-stream.el (network-stream-open-starttls):
16294 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16295 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16296
40098786
LMI
16297 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16298 to binary to possibly avoid line encoding issues on Windows (among
16299 other things).
16300
468d09d4
LMI
163012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16302
16303 * net/network-stream.el (open-network-stream): Return an :error
16304 saying what the problem was, if possible.
16305
16306 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16307 server.
16308
16309 * net/network-stream.el (network-stream-open-starttls): If we
16310 wanted to use STARTTLS, and the server offered it, but we weren't
16311 able to because we had no STARTTLS support, then close the connection.
16312 (open-network-stream): Return an :error element, if present.
16313
16f07dd7
CY
163142011-06-26 Chong Yidong <cyd@stupidchicken.com>
16315
88821ca0
CY
16316 * hl-line.el (hl-line-sticky-flag): Doc fix.
16317 (global-hl-line-sticky-flag): New option (Bug#8323).
16318 (global-hl-line-highlight): Obey it.
16319
16f07dd7
CY
16320 * vc/vc.el (vc-revert-show-diff): Default to t.
16321
6b5ccddf
KM
163222011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16323
c9d29fb8
SM
16324 * allout-widgets.el (allout-widgets-post-command-business):
16325 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16326 undecorated when an isearch is continued past, and isearch
16327 automatically collapses them. This leads to "widget leaks", where
16328 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16329 hidden widgets can slow down cursor travel, substantially.
16330 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16331 so we're doing without this nicety.
16332
16333 (allout-widgets-tally-string): Don't try to do a hash-table-count
16334 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16335 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16336 *Messages* when allout-widgets-maintain-tally is t.
16337
355f2e07
MR
163382011-06-26 Martin Rudalics <rudalics@gmx.at>
16339
16340 * window.el (display-buffer-normalize-argument): Rename to
16341 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16342 LABEL argument. Respect special-display-function when popping up
16343 a new frame. Fix code searching for a window showing the buffer
16344 on another frame.
c9d29fb8
SM
16345 (display-buffer-normalize-specifiers):
16346 Call display-buffer-normalize-arguments.
355f2e07
MR
16347 (display-buffer-in-window): Don't undedicate the window if its
16348 buffer remains the same.
16349 Reported by Drew Adams <drew.adams@oracle.com>.
16350 (display-buffer-alist): Add choice for same-window macro
16351 specfier.
16352 (display-buffer): Mention special meaning of LABEL argument in
16353 doc-string. Fix quoting. Don't pop up a new frame even as
16354 fallback.
16355
7ca8fc42
JB
163562011-06-26 Juanma Barranquero <lekktu@gmail.com>
16357
16358 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16359 avoid deleting the current window in some cases (bug#8911).
16360
bc312254
AS
163612011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16362
16363 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16364 (Bug#8934)
16365
2db18f3f
LMI
163662011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16367
c9d29fb8
SM
16368 * net/network-stream.el (network-stream-open-starttls):
16369 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16370 (network-stream-open-tls): Ditto.
16371
6302e0d3
LL
163722011-06-26 Leo Liu <sdl.web@gmail.com>
16373
16374 * register.el (registerv): New struct.
16375 (registerv-make): New function.
c9d29fb8
SM
16376 (jump-to-register, describe-register-1, insert-register):
16377 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16378 struct. (Bug#8415)
16379
5fdd4046
CY
163802011-06-26 Chong Yidong <cyd@stupidchicken.com>
16381
2afef60a
CY
16382 * vc/vc.el (vc-revert-show-diff): New defcustom.
16383 (vc-diff-internal): New arg specifying diff buffer.
16384 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16385 reuse an existing *vc-diff* buffer (Bug#8927).
16386
5fdd4046
CY
16387 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16388
e93db24a
GM
163892011-06-26 Glenn Morris <rgm@gnu.org>
16390
16391 * progmodes/f90.el (f90-critical-indent): New option.
16392 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16393 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16394 (f90-mode): Doc fix.
16395 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16396 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16397 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16398 (f90-match-end): Handle block, critical.
16399
eefff499
GM
164002011-06-25 Glenn Morris <rgm@gnu.org>
16401
f6ba4cc9
GM
16402 * calendar/diary-lib.el (diary-included-files): Doc fix.
16403 (diary-include-files): New function, extracted from
16404 diary-include-other-diary-files and diary-mark-included-diary-files.
16405 (diary-include-other-diary-files, diary-mark-included-diary-files):
16406 Just call diary-include-files.
16407 (diary-mark-entries): Reset diary-included-files on first call.
16408
16712304
GM
16409 * calendar/diary-lib.el (diary-mark-entries)
16410 (diary-mark-included-diary-files):
16411 Visit included diary-files in temp buffers.
16412
5d8e0d43
GM
16413 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16414 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16415 (f90-start-block-re, f90-imenu-generic-expression)
16416 (f90-looking-at-program-block-start, f90-no-block-limit):
16417 Add support for submodules.
16418
ccf7a5d5
GM
16419 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16420 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16421
11fdef7d 164222011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16423
16424 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16425 buffer-file-type before setting its value, to avoid disastrous
eefff499 16426 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16427
74f53697
JB
164282011-06-25 Juanma Barranquero <lekktu@gmail.com>
16429
16430 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16431
16432 * ses.el (ses-unload-function):
16433 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16434
16435 * proced.el (proced-unload-function):
16436 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16437
18a4ce5e
AR
164382011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16439
16440 * server.el (server-create-window-system-frame): Add parameters arg.
16441 (server-process-filter): Doc fix. Handle frame-parameters.
16442
519d22cc
JB
164432011-06-25 Juanma Barranquero <lekktu@gmail.com>
16444
16445 Fix bug#8730, bug#8781.
16446
16447 * loadhist.el (unload--set-major-mode): New function.
16448 (unload-feature): Use it.
16449
16450 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16451 (python-unload-function): New function.
16452
c206f5b0
SM
164532011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16454
16455 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16456
f9ad64f3
GS
164572011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16458
16459 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16460 the candidates list.
16461
7d0da90e
JB
164622011-06-24 Juanma Barranquero <lekktu@gmail.com>
16463
16464 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16465
14b4e83d
RS
164662011-06-23 Richard Stallman <rms@gnu.org>
16467
16468 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16469 (rmail-variables): Set next-error-move-function.
16470 (rmail-what-message): Take argument POS.
16471 (rmail-next-error-move): New function.
16472
273d2baf
SM
164732011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16474
16475 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16476 messages for adjacent non-terminals.
16477
56c2cc9a
RS
164782011-06-23 Richard Stallman <rms@gnu.org>
16479
16480 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16481 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16482 (rmail-start-mail): Don't specify use of rmail-mail-return;
16483 that's done by mail-bury now.
16484 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16485
d59eb518
MA
164862011-06-23 Michael Albinus <michael.albinus@gmx.de>
16487
16488 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16489 SIZE is a number.
16490
02cfc6d6
MR
164912011-06-23 Martin Rudalics <rudalics@gmx.at>
16492
16493 * window.el (get-lru-window, get-mru-window)
16494 (get-largest-window): Never return a minibuffer window.
16495 (display-buffer-pop-up-window): Fix a bug that could lead to
16496 reusing the minibuffer window.
16497 (display-buffer): Pass original specifier argument to
16498 display-buffer-function instead of the normalized one.
16499 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16500
4e323265
LL
165012011-06-22 Leo Liu <sdl.web@gmail.com>
16502
16503 * minibuffer.el (completing-read-function)
1f9f395d 16504 (completing-read-default): Move from minibuf.c.
4e323265 16505
7a70468f
RS
165062011-06-22 Richard Stallman <rms@gnu.org>
16507
50718fc2
RS
16508 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16509 to Rmail even if not started by a special Rmail command.
16510
7a70468f
RS
16511 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16512 Copy the buffer currently showing just one message.
16513
297dde5a
RW
165142011-06-22 Roland Winkler <winkler@gnu.org>
16515
16516 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16517 (bibtex-clean-entry): First delete the old key so that a
16518 customized algorithm for generating the new key does not get
16519 confused by the old key.
16520 (bibtex-url): Obey regexp of first step.
16521 (bibtex-search-entries): Do not use add-to-list with local
16522 list-var.
16523
97bb1093
LMI
165242011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16525
16526 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16527 stored a user name, then query for the password first, instead of
16528 waiting for SMTP to give an error message and the trying again.
16529
1c0f1a19
JD
165302011-06-22 Lawrence Mitchell <wence@gmx.li>
16531
16532 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16533 BUFFER in call-process.
16534
396f7c9d
LMI
165352011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16536
16537 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16538 QUIT twice.
ddb7ffee
LMI
16539 (smtpmail-try-auth-methods): Require user name and password from
16540 auth-source.
396f7c9d 16541
8998d1b3
MR
165422011-06-22 Martin Rudalics <rudalics@gmx.at>
16543
16544 * window.el (display-buffer-default-specifiers)
16545 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16546 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16547 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16548
16549 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16550 (special-display-frame-alist, special-display-popup-frame):
16551 Remove duplicate declarations. These are now in window.el.
16552
4ea31e07
LMI
165532011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16554
c9d29fb8
SM
16555 * mail/smtpmail.el (smtpmail-via-smtp):
16556 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16557 server supports it. SMTP servers that support STARTTLS commonly
16558 require it.
16559
16560 * net/network-stream.el (network-stream-open-starttls): Support
16561 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16562 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16563
95f41d9a
LMI
16564 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16565 upgrades with `open-network-stream', and rely solely on
16566 auth-source for all credentials. Big changes throughout the file,
16567 but in particular:
c9d29fb8
SM
16568 (smtpmail-auth-credentials): Remove.
16569 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16570 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16571 MAIL FROM, too.
95f41d9a 16572
c9d29fb8
SM
16573 * net/network-stream.el (network-stream-open-starttls):
16574 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16575 STARTTLS.
16576 (auth-source): Require.
16577 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16578 (network-stream-certificate): Change cert-cert to cert and
16579 cert-key to key.
4ea31e07 16580
065ec2c7
MA
165812011-06-21 Michael Albinus <michael.albinus@gmx.de>
16582
16583 * net/tramp-cache.el (top): Don't load the persistency file when
16584 "emacs -Q" has been called.
16585
cd93b359
DR
165862011-06-21 Tim Harper <timcharper@gmail.com>
16587
d8e4b68b
JB
16588 * term/ns-win.el (ns-initialize-window-system):
16589 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16590 resource to NO as it is not yet supported by the NS port.
16591
ae9c0411
JB
165922011-06-21 Juanma Barranquero <lekktu@gmail.com>
16593
16594 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16595 (list-dynamic-libraries): ...not here.
16596
7f3f739f
LL
165972011-06-21 Leo Liu <sdl.web@gmail.com>
16598
16599 * subr.el (sha1): Implement sha1 using secure-hash.
16600
327c8fb1
MR
166012011-06-21 Martin Rudalics <rudalics@gmx.at>
16602
16603 * window.el (display-buffer-alist): In default value do not
16604 enforce searching a window on any but the selected frame.
16605 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16606 (display-buffer-select-window): Remove function.
16607 (display-buffer-in-window): When a window on another frame gets
16608 reused, do not select it any more but just raise its frame if
16609 necessary (Bug#8851) and (Bug#8856).
16610 (display-buffer-normalize-options): Handle pop-up-frames related
16611 options more faithfully.
16612 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16613 window if it is on another frame.
c9d29fb8
SM
16614 (display-buffer-alist, display-buffer-default-specifiers):
16615 Don't make new frame unsplittable by default.
9e9de014
MR
16616 (display-buffer-normalize-argument): Fix doc-string typo and use
16617 'same-frame-other-window instead of 'other-window when associating
16618 with display-buffer-macro-specifiers.
327c8fb1 16619
7cf3f556
VB
166202011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16621
16622 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16623 New functions.
16624 (5x5-mode-map, 5x5-mode-menu): Bind them.
16625 (5x5-draw-grid): Tweak the solver's rendering.
16626
60a406cf
SM
166272011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16628
16629 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16630 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16631
d8e4b68b 166322011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16633
16634 * menu-bar.el: Use function variable instead of switch-to-buffer.
16635 (menu-bar-select-buffer-function): New variable.
60a406cf 16636 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16637
478d6f95
SM
166382011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16639
16640 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16641 variable's status.
16642
ca530739
JD
166432011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16644
16645 * x-dnd.el (x-dnd-version-from-flags)
16646 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16647 and long as number (Bug#8899).
16648 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16649
bcd70d97
SM
166502011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16651
60a406cf 16652 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16653 (completion-try-completion, completion-all-completions): Compute the
16654 metadata argument if it's missing; make it optional (bug#8795).
16655
60a406cf 16656 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16657 (widget-complete): Use new :completion-function property.
16658 (widget-completions-at-point): New function.
16659 (default): Use :completion-function instead of :complete.
60a406cf
SM
16660 (widget-default-completions): Rename from widget-default-complete;
16661 Rewrite.
bcd70d97
SM
16662 (widget-string-complete, widget-file-complete, widget-color-complete):
16663 Remove functions.
16664 (file, symbol, function, variable, coding-system, color):
16665 * international/mule-cmds.el (default-input-method, charset)
16666 (language-info-custom-alist):
16667 * cus-edit.el (face): Use new property :completions.
16668
16669 * progmodes/pascal.el (pascal-completions-at-point): New function.
16670 (pascal-mode): Use it.
16671 (pascal-mode-map): Use completion-at-point.
16672 (pascal-toggle-completions): Make obsolete.
16673 (pascal-complete-word, pascal-show-completions):
16674 * progmodes/octave-mod.el (octave-complete-symbol):
16675 Redefine as obsolete alias.
16676 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16677 Signal absence of completion info for old Octave,
16678 (inferior-octave-complete): Redefine as obsolete alias.
16679 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16680 (meta-completions-at-point): Rename from meta-complete-symbol and
16681 adapt it for use on completion-at-point-functions.
16682 (meta-common-mode): Use it.
16683 (meta-looking-at-backward, meta-match-buffer): Remove.
16684 (meta-complete-symbol): Redefine as obsolete alias.
16685 (meta-common-mode-map): Use completion-at-point.
16686 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16687 (makefile-mode-map): Use completion-at-point.
16688 (makefile-completions-at-point): Rename from makefile-complete and
16689 adapt it for use on completion-at-point-functions.
16690 (makefile-mode): Use it.
16691 (makefile-complete): Redefine as obsolete alias.
16692
aebf69c8
DD
166932011-06-20 Deniz Dogan <deniz@dogan.se>
16694
16695 * net/rcirc.el: Delete trailing whitespaces once and for all.
16696
bfbbb27d
DC
166972011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16698
16699 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16700
d264a46b
CY
167012011-06-19 Chong Yidong <cyd@stupidchicken.com>
16702
4ca009e5
CY
16703 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16704
d264a46b
CY
16705 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16706
fbf5b3ce
MR
167072011-06-19 Martin Rudalics <rudalics@gmx.at>
16708
16709 * window.el (display-buffer-other-window-means-other-frame):
16710 Call display-buffer-normalize-alist.
16711 (display-buffer-normalize-specifiers-1): Rename to
16712 display-buffer-normalize-argument. New argument other-frame.
16713 Rewrite.
16714 (display-buffer-normalize-specifiers-2): Rename to
16715 display-buffer-normalize-options.
16716 (display-buffer-normalize-alist-1): New function.
16717 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16718 display-buffer-normalize-alist.
16719 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16720 (display-buffer-normalize-options-inhibit): New variable.
16721 (display-buffer-normalize-specifiers): Rewrite calling
16722 display-buffer-normalize-alist,
16723 display-buffer-normalize-argument, and
16724 display-buffer-normalize-options. Don't call the latter if
16725 display-buffer-normalize-options-inhibit is non-nil.
16726 (frame-auto-delete): New option.
16727 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16728 (window-list-no-nils, window-state-ignored-parameters)
16729 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16730 (window-state-put-1, window-state-put-2, window-state-put):
16731 New functions.
9a028c23
MR
16732 (display-buffer-normalize-options): Move special-display-p group
16733 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16734
6d10d800
CY
167352011-06-18 Chong Yidong <cyd@stupidchicken.com>
16736
6420d28b
CY
16737 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16738 groups (Bug#8776).
16739 (rx-submatch-n): New function.
16740 (rx): Document it.
16741
ddb8b596
CY
16742 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16743 (Bug#8768).
16744
16745 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16746
77080289
CY
16747 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16748
61dfb316
CY
16749 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16750 anytime existing face settings are present (Bug#8889).
16751
6d10d800
CY
16752 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16753 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16754 Remove unused argument.
16755
be3fb2b8
MR
167562011-06-18 Martin Rudalics <rudalics@gmx.at>
16757
bcd70d97
SM
16758 * window.el (display-buffer-default-specifiers):
16759 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16760 pop-up-window-min-width, and another reuse-window specifier
16761 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16762 (display-buffer-normalize-specifiers-2):
16763 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16764 pop-up-windows is unset. Add a reuse-window specifier for the
16765 case popping up a new window fails.
16766 (special-display-popup-frame): Remove double quoting.
28dec25a 16767 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16768
1c6d8c76
SM
167692011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16770
16771 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16772 according to comint-completion-addsuffix.
16773
16774 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16775 (pcomplete-suffix-list): Mark as obsolete.
16776 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16777 pcomplete-seen in the closure.
16778 (pcomplete-comint-setup): Setup completion-at-point as well.
16779 (pcomplete--entries): New function.
16780 (pcomplete--env-regexp): New var.
16781 (pcomplete-entries): Rewrite to work with partial-completion and
16782 without relying on pcomplete-suffix-list.
16783 (pcomplete-pare-list): Remove, unused.
16784
25aef8b8
MR
167852011-06-17 Martin Rudalics <rudalics@gmx.at>
16786
16787 * window.el (display-buffer-alist): Set pop-up-window-min-height
16788 and pop-up-window-min-width in default value. Reported by
16789 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16790 other-window-means-other-frame.
16791 (display-buffer-macro-specifiers): Comment out entry for
16792 other-window specifier.
16793 (display-buffer-other-window-means-other-frame): New function.
16794 (display-buffer-normalize-specifiers-1): New arguments
16795 buffer-name and label. Treat other-window case specially.
16796 (display-buffer-normalize-specifiers-2): Treat other-window case
16797 specially.
16798 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16799 (display-buffer-normalize-specifiers):
16800 Call display-buffer-normalize-specifiers-3.
25aef8b8 16801
dbad4f69
MR
168022011-06-17 Martin Rudalics <rudalics@gmx.at>
16803
16804 * window.el (same-window-p): Fix two typos introduced when
16805 adding with-no-warnings.
d1067961
MR
16806 (display-buffer-normalize-specifiers-1): Don't check
16807 pop-up-frames for 'unset initialization.
16808 (display-buffer-normalize-specifiers-2): Major rewrite using
16809 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16810 (pop-up-frames, display-buffer-reuse-frames)
16811 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16812 Suggested by David Engster <deng@randomsample.de>.
16813 (even-window-heights): Initialize to 'unset.
16814 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16815 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16816 other window case.
dbad4f69 16817
9b9c9e3a
MR
168182011-06-16 Martin Rudalics <rudalics@gmx.at>
16819
bcd70d97
SM
16820 * window.el (display-buffer-normalize-specifiers-1):
16821 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16822 second argument of display-buffer (Bug#8865).
981d5c09
MR
16823 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16824 (switch-to-buffer-other-window-same-frame)
16825 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16826 Adams (Bug#8875).
9c2755e9
MR
16827 (display-buffer): Don't check noninteractive when calling
16828 display-buffer-pop-up-frame.
16829 (display-buffer-pop-up-frame): Never pop up a frame in
16830 noninteractive mode (Bug#8857).
67222e1d
MR
16831 (enlarge-window, shrink-window): Don't report an error when the
16832 window can't be resized as requested (Bug#8862).
9b9c9e3a 16833
2b75be67
SM
168342011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16835
9ffdd3ba
SM
16836 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16837
cb581a67
SM
16838 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16839
2b75be67
SM
16840 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16841
8c0e3589
AM
168422011-06-15 Alan Mackenzie <acm@muc.de>
16843
cb581a67
SM
16844 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16845 for declarators, disable knr checking to speed up for normal files.
16846 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16847
b96e6cde
LMI
168482011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16849
4bba86e6
LMI
16850 * net/network-stream.el (open-network-stream): Add the keyword
16851 :always-query-capabilities for the case where you want to force a
16852 `plain' network connection, but the protocol still requires the
16853 capabilitiy command (i.e., SMTP and EHLO).
16854
2b75be67 16855 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16856 consistency with other `-live-p' functions.
16857
efdcdbf8
SM
168582011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16859
16860 * window.el (same-window-buffer-names, same-window-regexps)
16861 (special-display-frame-alist, special-display-popup-frame)
16862 (special-display-function, special-display-buffer-names)
16863 (special-display-regexps, pop-up-frame-alist)
16864 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16865 (pop-up-windows, split-window-preferred-function)
16866 (split-height-threshold, split-width-threshold, even-window-heights)
16867 (display-buffer-mark-dedicated): Don't encourage the use of
16868 display-buffer-alist from Elisp code.
16869
c5cde042
DN
168702011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16871
16872 * progmodes/python.el (python-mode): Derive from prog-mode.
16873 * progmodes/ps-mode.el (ps-mode):
16874 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16875 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16876 * progmodes/ld-script.el (ld-script-mode): Likewise.
16877
baa1c9ab
MR
168782011-06-15 Martin Rudalics <rudalics@gmx.at>
16879
16880 * window.el (display-buffer-alist): Trim default value to avoid
16881 popping up a new frame (Bug#8857) or reusing an arbitrary window
16882 on another frame.
16883 (display-buffer): Do not fall back on popping up a new frame in
16884 batch mode (Bug#8857).
16885
c5dd5a51
CY
168862011-06-14 Chong Yidong <cyd@stupidchicken.com>
16887
16888 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16889 (custom-theme-summary): New function.
16890 (customize-themes): Use it.
16891
d647b7c4
GM
168922011-06-13 Glenn Morris <rgm@gnu.org>
16893
16894 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16895
9481c002
MR
168962011-06-13 Martin Rudalics <rudalics@gmx.at>
16897
357f93d2
MR
16898 * help.el (help-window): Remove variable.
16899 (help-window-point-marker, temp-buffer-max-height)
16900 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16901 (help-print-return-message): Don't set help-window.
16902 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16903 (help-window-setup-finish): Remove.
16904 (help-window-display-message, help-window-setup)
16905 (with-help-window): Major rewrite based on new
16906 display-buffer-window variable.
16907
16908 * help-mode.el (help-mode-finish): Remove help-window related
16909 code.
16910
16911 * view.el (view-exits-all-viewing-windows): Remove reference to
16912 view-return-to-alist in doc-string.
16913 (view-return-to-alist): Make obsolete.
16914 (view-buffer): Call pop-to-buffer-same-window and remove
16915 undo-window code.
16916 (view-buffer-other-window): Call pop-to-buffer-other-window and
16917 simplify code. Ignore second argument.
16918 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16919 simplify code. Ignore second argument.
16920 (view-return-to-alist-update): Make obsolete.
16921 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16922 Rewrite using quit-restore window parameters.
2b75be67
SM
16923 (view-mode-exit): Rename second argument to EXIT-ONLY.
16924 Rewrite using quit-restore-window.
357f93d2
MR
16925 (View-exit, View-exit-and-edit, View-leave, View-quit)
16926 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16927 appropriate arguments.
16928 (view-end-message): Use quit-restore window parameter.
16929
9481c002
MR
16930 * window.el (display-buffer-function): Rewrite doc-string.
16931 (display-buffer-window, display-buffer-alist): New variables.
16932 (display-buffer-split-specifiers)
16933 (display-buffer-side-specifiers)
16934 (display-buffer-macro-specifiers): New constants.
16935 (display-buffer-even-window-sizes, display-buffer-set-height)
16936 (display-buffer-set-width, display-buffer-select-window)
16937 (display-buffer-in-window, display-buffer-reuse-window)
16938 (display-buffer-split-window-1, display-buffer-split-window)
16939 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16940 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16941 (display-buffer-in-side-window, normalize-buffer-to-display)
16942 (display-buffer-normalize-specifiers-1)
16943 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16944 (display-buffer-normalize-specifiers, display-buffer-frame):
16945 New functions.
9481c002
MR
16946 (display-buffer): Major rewrite.
16947 (display-buffer-other-window, display-buffer-other-frame)
16948 (pop-to-buffer, switch-to-buffer-other-window)
16949 (switch-to-buffer-other-frame): Rewrite.
16950 (display-buffer-same-window, display-buffer-same-frame)
16951 (display-buffer-same-frame-other-window)
16952 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16953 (pop-to-buffer-other-window)
16954 (pop-to-buffer-same-frame-other-window)
16955 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16956 (switch-to-buffer-other-window-same-frame): New functions.
16957 (same-window-p, special-display-p): Rewrite disabling warnings.
16958 Make obsolete.
16959 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16960 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16961 Make obsolete
16962 (same-window-buffer-names, same-window-regexps)
16963 (special-display-frame-alist, special-display-popup-frame)
16964 (special-display-function, special-display-buffer-names)
16965 (special-display-regexps, pop-up-frame-alist)
16966 (pop-up-frame-function, split-window-preferred-function)
16967 (split-height-threshold, split-width-threshold)
16968 (even-window-heights): Make obsolete.
16969
9db51aca
GM
169702011-06-12 Glenn Morris <rgm@gnu.org>
16971
16972 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16973 Misc simplifications.
9db51aca 16974
39cffb44
MR
169752011-06-12 Martin Rudalics <rudalics@gmx.at>
16976
16977 * window.el (window-safely-shrinkable-p): Restore function which
16978 was inadvertently removed in change from 2011-06-11. Declare as
16979 obsolete.
16980
2b75be67
SM
16981 * calendar/calendar.el (calendar-generate-window):
16982 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16983 window-safely-shrinkable-p.
16984
a8955be7
GM
169852011-06-12 Glenn Morris <rgm@gnu.org>
16986
16987 * progmodes/fortran.el (fortran-mode-syntax-table):
16988 * progmodes/f90.el (f90-mode-syntax-table):
16989 Set % to punctuation. (Bug#8820)
16990 (f90-find-tag-default): Remove, no longer needed.
16991
f0d4059d
DC
169922011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16993
16994 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16995
1100a63c
CY
169962011-06-11 Chong Yidong <cyd@stupidchicken.com>
16997
16998 * image.el (image-animated-p): Return animation delay in seconds.
16999 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17000 (image-animate-timeout): Remove DELAY argument. Don't assume
17001 every subimage has the same delay; get it from image-animated-p.
17002 (image-animate): Caller changed.
17003
def722bf
MA
170042011-06-11 Michael Albinus <michael.albinus@gmx.de>
17005
17006 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17007 to ignored backtrace functions.
17008
0a2bb1a9
GM
170092011-06-11 Glenn Morris <rgm@gnu.org>
17010
17011 * calendar/appt.el (appt-disp-window-function): Doc fix.
17012 (appt-check): Handle overlapping appointments. (Bug#8337)
17013
6198ccd0
MR
170142011-06-11 Martin Rudalics <rudalics@gmx.at>
17015
17016 * window.el (window-tree-1, window-tree): New functions, moving
17017 the latter to window.el.
17018 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17019 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17020 (bw-refresh-edges): Remove.
17021 (balance-windows-1, balance-windows-2): New functions.
17022 (balance-windows): Rewrite in terms of window tree functions,
17023 balance-windows-1 and balance-windows-2.
17024 (bw-adjust-window): Remove.
17025 (balance-windows-area-adjust): New function with functionality of
17026 bw-adjust-window but using resize-window.
2b75be67
SM
17027 (set-window-text-height): Rewrite doc-string.
17028 Use normalize-live-window and resize-window.
17029 (enlarge-window-horizontally, shrink-window-horizontally):
17030 Rename argument to DELTA.
6198ccd0
MR
17031 (window-buffer-height): New function.
17032 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17033 Rewrite using new window resize routines.
2b75be67
SM
17034 (kill-buffer-and-window, mouse-autoselect-window-select):
17035 Use ignore-errors instead of condition-case.
6198ccd0
MR
17036 (quit-window): Call delete-frame instead of delete-windows-on
17037 for the only buffer on frame.
17038
9397e56f
MR
170392011-06-10 Martin Rudalics <rudalics@gmx.at>
17040
17041 * loadup.el (top-level): Load window before files for the sake
17042 of replace-buffer-in-windows.
17043
17044 * files.el (read-buffer-to-switch)
17045 (switch-to-buffer-other-window)
2b75be67
SM
17046 (switch-to-buffer-other-frame, display-buffer-other-frame):
17047 Move to window.el.
9397e56f
MR
17048
17049 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17050 (previous-buffer): Move to window.el.
17051
17052 * bindings.el (unbury-buffer): Move to window.el.
17053
17054 * window.el (delete-other-windows-vertically): Move after
17055 definition of delete-other-windows.
17056 (other-window, delete-windows-on, replace-buffer-in-windows):
17057 Move here from window.c.
17058 (record-window-buffer, unrecord-window-buffer)
17059 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17060 (switch-to-next-buffer): New functions.
17061 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17062 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17063 (previous-buffer): Move here from simple.el.
17064 Call switch-to-prev-buffer.
9397e56f
MR
17065 (bury-buffer): Move here from buffer.c. Switch to previous
17066 buffer when window cannot be deleted.
17067 (unbury-buffer): Move here from bindings.el.
17068 (ctl-x-map): Move binding for other-window from window.c to
17069 here.
17070 (read-buffer-to-switch, switch-to-buffer-other-window)
17071 (switch-to-buffer-other-frame): Move here from files.el.
17072 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17073 (switch-to-buffer): Move here from buffer.c.
17074 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17075
562dd5e9
MR
170762011-06-10 Martin Rudalics <rudalics@gmx.at>
17077
17078 * window.el (window-min-height, window-min-width): Move here
17079 from window.c. Add defcustoms and rewrite doc-strings.
17080 (resize-mini-window, resize-window): New functions.
17081 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17082 Move here from window.c.
17083 (maximize-window, minimize-window): New functions.
17084 (delete-window, delete-other-windows, split-window): Move here
17085 from window.c.
17086 (window-split-min-size): New function.
17087 (split-window-keep-point): Mention split-window-above-each-other
17088 instead of split-window-vertically.
2b75be67 17089 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17090 Rename split-window-vertically to split-window-above-each-other
17091 and provide defalias for old definition.
17092 (split-window-side-by-side, split-window-horizontally):
17093 Rename split-window-horizontally to split-window-side-by-side
17094 and provide defalias for the old definition.
562dd5e9
MR
17095 (ctl-x-map): Move bindings for delete-window,
17096 delete-other-windows and enlarge-window here from window.c.
17097 Replace bindings for split-window-vertically and
17098 split-window-horizontally by bindings for
17099 split-window-above-each-other and split-window-side-by-side.
17100
17101 * cus-start.el (all): Remove entries for window-min-height and
17102 window-min-width. Add entries for window-splits and
17103 window-nest.
17104
f0da764a
GM
171052011-06-09 Glenn Morris <rgm@gnu.org>
17106
80675c21
GM
17107 * calendar/appt.el (appt-mode-line): New function.
17108 (appt-check, appt-disp-window): Use it.
17109
f0da764a
GM
17110 * files.el (hack-one-local-variable-eval-safep):
17111 Allow minor-modes with explicit +/-1 arguments.
17112
59f623b7
TZ
171132011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17114
17115 * term/xterm.el (xterm): Add defgroup.
17116 (xterm-extra-capabilities): Add defcustom to supply known xterm
17117 capabilities, skip querying them, or query them (default).
17118 (terminal-init-xterm): Use it.
17119 (terminal-init-xterm-modify-other-keys): New function to set up
17120 modifyOtherKeys support to simplify `terminal-init-xterm'.
17121
9aab8e0d
MR
171222011-06-09 Martin Rudalics <rudalics@gmx.at>
17123
17124 * window.el (resize-window-reset, resize-window-reset-1)
17125 (resize-subwindows-skip-p, resize-subwindows-normal)
17126 (resize-subwindows, resize-other-windows, resize-this-window)
17127 (resize-root-window, resize-root-window-vertically)
17128 (window-deletable-p, window-or-subwindow-p)
17129 (frame-root-window-p): New functions.
17130
e8b08aee
GM
171312011-06-09 Glenn Morris <rgm@gnu.org>
17132
17133 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17134 (ange-ftp-get-files): Use it.
17135
254c37a5
AK
171362011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17137
17138 * mail/sendmail.el (mail-recover-1, mail-recover):
17139 * files.el (recover-file, recover-session):
17140 Handle dired-listing-switches not being just a single short option.
17141
35d7dbd3
GM
171422011-06-09 Glenn Morris <rgm@gnu.org>
17143
17144 * calendar/appt.el (appt-display-message, appt-disp-window):
17145 Handle lists of appointments.
17146
387522b2
MR
171472011-06-08 Martin Rudalics <rudalics@gmx.at>
17148
2b75be67
SM
17149 * window.el (one-window-p): Move down in code.
17150 Rewrite doc-string.
17151 (window-current-scroll-bars): Rewrite doc-string.
17152 Normalize live window argument.
387522b2
MR
17153 (walk-windows, get-window-with-predicate, count-windows):
17154 Rewrite doc-string. Use window-list-1.
17155 (window-in-direction-2, window-in-direction, get-mru-window):
17156 New functions.
17157
d8e4b68b 171582011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17159
17160 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17161 Doc fix (Bug#8713).
17162
171632011-06-08 Chong Yidong <cyd@stupidchicken.com>
17164
17165 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17166
171672011-06-08 Juanma Barranquero <lekktu@gmail.com>
17168
17169 * loadhist.el (unload-feature-special-hooks):
17170 Add `comint-output-filter-functions'.
17171
0de12c52
IK
171722011-06-08 Ivan Kanis <gnu@kanis.fr>
17173
17174 * calendar/appt.el (appt-check): Move some initializations into the let.
17175
f3d1777e
MR
171762011-06-08 Martin Rudalics <rudalics@gmx.at>
17177
17178 * window.el (window-height): Defalias to window-total-height.
17179 (window-width): Defalias to window-body-width.
17180
18af70d0
CY
171812011-06-07 Chong Yidong <cyd@stupidchicken.com>
17182
17183 * image-mode.el (image-toggle-animation): New command.
17184 (image-mode-map): Bind it to RET.
17185 (image-mode): Update message.
17186 (image-toggle-display-image): Avoid a spurious cache flush.
17187 (image-transform-rotation): Doc fix.
17188 (image-transform-properties): Return quickly in the normal case.
17189 (image-animate-loop): Rename from image-animate-max-time.
17190
2b75be67 17191 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17192 (create-animated-image): Remove unnecessary function.
17193 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17194 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17195 (image-animate-timer): Use car-safe.
17196 (image-animate-timeout): Rename argument.
17197
190b47e6
MR
171982011-06-07 Martin Rudalics <rudalics@gmx.at>
17199
17200 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17201 window.c. Rename first argument to ALL-FRAMES.
17202 Rephrase doc-strings.
17203 (get-buffer-window-list): Rewrite using window-list-1.
17204 Rephrase doc-string.
a1511caf
MR
17205 (window-safe-min-height, window-safe-min-width): New constants.
17206 (window-size-ignore, window-min-size, window-min-size-1)
17207 (window-sizable, window-sizable-p, window-size-fixed-1)
17208 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17209 (window-max-delta-1, window-max-delta, window-resizable)
17210 (window-resizable-p, window-total-height, window-total-width)
17211 (window-body-width): New functions.
17212 (window-full-height-p, window-full-width-p): Rewrite using
17213 window-total-size.
17214 (window-body-height): Rewrite using window-body-size.
190b47e6 17215
85cc1f11
MR
172162011-06-06 Martin Rudalics <rudalics@gmx.at>
17217
17218 * window.el (window-right, window-left, window-child)
17219 (window-child-count, window-last-child, window-any-p)
17220 (normalize-live-buffer, normalize-live-frame)
17221 (normalize-any-window, normalize-live-window)
17222 (window-iso-combination-p, window-iso-combined-p)
17223 (window-iso-combinations)
17224 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17225 (windows-with-parameter, window-with-parameter)
17226 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17227 (window-atom-check, window-side-check, window-check):
17228 New functions.
85cc1f11
MR
17229 (ignore-window-parameters, window-sides, window-sides-vertical)
17230 (window-sides-slots): New variables.
17231 (window-size-fixed): Move down in code. Minor doc-string fix.
17232
e7156492
AS
172332011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17234
17235 * comint.el (comint-dynamic-complete-as-filename)
17236 (comint-dynamic-complete-filename): Correctly call
17237 completion-in-region.
17238
7e821d0d
DD
172392011-06-05 Deniz Dogan <deniz@dogan.se>
17240
17241 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17242 in last change.
17243
ac09b8a1
DD
172442011-06-05 Deniz Dogan <deniz@dogan.se>
17245
17246 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17247 (rcirc): Use it to prompt for encryption.
17248
34699b85
RW
172492011-06-05 Roland Winkler <winkler@gnu.org>
17250
17251 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17252 (bibtex-search-entries): New command bound to C-c C-a.
17253 (bibtex-display-entries): New function.
17254
004dedd3
RW
172552011-06-05 Roland Winkler <winkler@gnu.org>
17256
17257 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17258 (bibtex-insert-kill): After yanking insert newline if necessary.
17259 (bibtex-initialize): Call bibtex-string-files-init only once.
17260 (bibtex-mode): Do not call easy-menu-add.
17261 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17262 (bibtex-yank): Set arg properly if nil.
17263
022fe7ce
RW
172642011-06-05 Roland Winkler <winkler@gnu.org>
17265
2b75be67
SM
17266 * textmodes/bibtex.el (bibtex-search-entry-globally):
17267 New variable.
022fe7ce
RW
17268 (bibtex-search-entry): Use it.
17269
b7c3692a
RW
172702011-06-05 Roland Winkler <winkler@gnu.org>
17271
17272 * textmodes/bibtex.el (bibtex-entry-format): New option
17273 sort-fields.
17274 (bibtex-format-entry, bibtex-reformat): Honor this option.
17275 (bibtex-parse-entry): Return fields in proper order.
17276
8eda563d
JB
172772011-06-05 Juanma Barranquero <lekktu@gmail.com>
17278
17279 * doc-view.el (doc-view-remove-if): Move computation of result out
17280 of `dolist' to silence misleading lexical-binding warning.
17281
7dbe3dbc
CY
172822011-06-04 Chong Yidong <cyd@stupidchicken.com>
17283
17284 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17285 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17286
0c33dd17
MA
172872011-06-04 Michael Albinus <michael.albinus@gmx.de>
17288
17289 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17290 "SunOS 5.10".
17291
f8f91c2b
MA
172922011-06-04 Michael Albinus <michael.albinus@gmx.de>
17293
17294 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17295 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17296 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17297 (tramp-parse-putty):
17298 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17299 (tramp-completion-function-alist-ssh)
17300 (tramp-completion-function-alist-telnet)
17301 (tramp-completion-function-alist-su)
17302 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17303 cookie.
17304
17305 * net/tramp-ftp.el:
17306 * net/tramp-sh.el:
17307 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17308 load "tramp.el" `tramp-set-completion-function'.
17309
e17d9003
SM
173102011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17311
17312 * shell.el: Require and use pcomplete.
17313 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17314 (shell-completion-vars): Set pcomplete-default-completion-function.
17315
6c4cab03
DD
173162011-06-04 Deniz Dogan <deniz@dogan.se>
17317
17318 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17319 `memq' (Bug#8799).
17320
ea9fafe0
SM
173212011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17322
17323 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17324
b3e945d3
JB
173252011-06-02 Juanma Barranquero <lekktu@gmail.com>
17326
17327 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17328 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17329 * vc/log-view.el (log-view-beginning-of-defun):
17330 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17331 (smerge-refine-forward, smerge-refine-chopup-region):
17332 Silence warning for unused `dotimes' counter variables.
17333
7d520089
SM
173342011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17335
17336 * net/tramp.el (tramp-with-progress-reporter): Rename from
17337 with-progress-reporter. Use `declare'.
17338 * net/tramp-smb.el:
17339 * net/tramp-sh.el:
17340 * net/tramp-gvfs.el: Update all uses.
17341
a1c2400f
JB
173422011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17343
17344 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17345 buffer isn't killed before making it current.
17346
2403c841
SM
173472011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17348
17349 Silence various byte-compiler warnings.
17350 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17351 `access-type' and new obsolescence format.
17352 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17353 new format.
17354 (byte-compile-check-variable): New `access-type' argument.
17355 Only warn if the access-type is obsolete.
17356 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17357 (byte-compile-variable-set): Adjust callers.
17358 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17359 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17360 setting it as obsolete.
17361 * simple.el (minibuffer-completing-symbol):
17362 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17363 access as obsolete.
17364 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17365 obsolete yet.
17366 * international/quail.el (quail-mouse-choose-completion): Remove unused
17367 code referring to obsolete var.
17368 (quail-choose-completion-string): Remove.
17369 * server.el (server-clients-with, server-kill-buffer-query-function)
17370 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17371 * proced.el (proced-send-signal):
17372 * emacs-lisp/lisp.el (lisp-complete-symbol):
17373 Replace completion-annotate-function with completion-extra-properties.
17374
2462470b
SM
173752011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17376
fb5b2591
SM
17377 * simple.el (goto-line): Use read-number.
17378 (overriding-map-is-bound): Remove.
17379 (saved-overriding-map): Change default.
17380 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17381 Take the map as argument.
17382 (universal-argument, negative-argument, digit-argument): Use it.
17383 (restore-overriding-map): Adjust.
17384 (do-auto-fill): Use fill-forward-paragraph.
17385 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17386
fd6fa53f
SM
17387 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17388 (minibuffer-inactive-mode): New major mode.
17389 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17390 the *Messages* buffer" hack.
17391 (mouse-popup-menubar): Don't burp if the event is a normal key.
17392
2462470b
SM
17393 Miscellaneous tweaks.
17394 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17395 lexical scoping as in subr.el's dolist and dotimes.
17396 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17397 Silence compiler warning.
17398 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17399 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17400 * international/ccl.el (ccl-compile): Trivial simplification.
17401 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17402 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17403 `printflag' argument.
17404 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17405 Purecopy the whole obsolescence data.
17406
108bf785
LL
174072011-06-01 Leo Liu <sdl.web@gmail.com>
17408
17409 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17410 improve doc-string as suggested by Marco Pessotto
17411 <melmothx@gmail.com>.
17412 (rcirc-print): Fix last change.
17413
30a23501
SM
174142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17415
17416 * minibuffer.el (complete-with-action): Return nil for the metadata and
17417 boundaries of non-functional tables.
17418 (completion-table-dynamic): Return nil for the metadata.
17419 (completion-table-with-terminator): Add default case, using
17420 complete-with-action.
17421 (completion--metadata): New function.
17422 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17423 to try and avoid pathological performance problems.
17424 (completion--embedded-envvar-table): Return `category' metadata.
17425
bcd54f83
LMI
174262011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17427
17428 * subr.el (process-alive-p): New tiny convenience function.
17429
e227544d
SM
174302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17431
17432 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17433 content but also its previous major mode.
17434
e8296fdc
HE
174352011-05-31 Helmut Eller <eller.helmut@gmail.com>
17436
4d61f28d 17437 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17438 *Backtrace* buffer when we exit with C-M-c.
17439
620c53a6
SM
174402011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17441
17442 * minibuffer.el: Add metadata method to completion tables.
17443 (completion-category-overrides): New defcustom.
17444 (completion-metadata, completion--field-metadata)
17445 (completion-metadata-get, completion--styles)
17446 (completion--cycle-threshold): New functions.
17447 (completion-try-completion, completion-all-completions):
17448 Add `metadata' argument to choose completion-styles.
17449 (completion--do-completion): Use metadata to choose cycling.
17450 (completion-all-sorted-completions): Use metadata for sorting.
17451 Remove :completion-cycle-penalty which is not needed any more.
17452 (completion--try-word-completion): Add `metadata' argument.
17453 (minibuffer-completion-help): Check metadata for annotation function
17454 and sorting.
17455 (completion-file-name-table): Return `category' metadata.
17456 (minibuffer-completing-file-name): Make obsolete.
17457 * simple.el (minibuffer-completing-symbol): Make obsolete.
17458 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17459 completion-try-completion.
17460
1257e755
SM
174612011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17462
17463 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17464
3767e706
LL
174652011-05-30 Leo Liu <sdl.web@gmail.com>
17466
17467 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17468 (rcirc-print): Decode all incoming messages (bug#8744).
17469 (rcirc-decode-coding-system): Allow value nil for automatic coding
17470 system detection.
3767e706 17471
d1a5d56a
GM
174722011-06-01 Glenn Morris <rgm@gnu.org>
17473
17474 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17475
e8cbec34
CY
174762011-05-29 Chong Yidong <cyd@stupidchicken.com>
17477
17478 * image.el (image-animate-max-time): Allow nil and t values.
17479 Default to nil.
17480 (create-animated-image): Doc fix.
17481 (image-animate-start): Remove second arg; just use
17482 image-animate-max-time.
17483 (image-animate-timeout): Doc fix. Args changed.
17484
17485 * image-mode.el (image-toggle-display-image): Ensure that the
17486 image spec passed to the animate timer is the same object as in
58179cce 17487 the buffer's display property (Bug#6981).
e8cbec34
CY
17488 (image-transform-properties): Doc fix.
17489
17490 * image.el (image-animate-max-time): Default to nil.
17491
159daf87
MR
174922011-05-29 Martin Rudalics <rudalics@gmx.at>
17493
17494 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17495 entire buffer list (Bug#8184).
17496
d66c4c7c
CY
174972011-05-29 Chong Yidong <cyd@stupidchicken.com>
17498
17499 * image.el (imagemagick-types-inhibit)
17500 (imagemagick-register-types): Doc fix.
17501
80aec780
DD
175022011-05-29 Deniz Dogan <deniz@dogan.se>
17503
17504 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17505 default.
17506
1dd3c2d9
CY
175072011-05-29 Chong Yidong <cyd@stupidchicken.com>
17508
17509 * select.el: Don't perform clipboard-manager saving in hooks;
17510 leave the hooks empty.
17511
60e56523
LL
175122011-05-28 Leo Liu <sdl.web@gmail.com>
17513
17514 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17515 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17516 (occur-edit-mode): New major mode (Bug#8463).
17517 (occur-after-change-function): New function.
17518 (occur-engine): Give Occur tags a read-only property.
17519
2b1e1a22
KR
175202011-05-28 Kevin Ryde <user42@zip.com.au>
17521
17522 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17523
5d344e88
CY
175242011-05-28 Chong Yidong <cyd@stupidchicken.com>
17525
8e6ca83d
CY
17526 * bindings.el (help-echo): Make the initial non-indicator dash
17527 empty on graphical terminals (Bug#7295).
17528
5d344e88
CY
17529 * files.el (auto-mode-alist): Move config rule after the
17530 in-stripping one (Bug#8547).
17531
bfbbace7
CY
17532 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17533
fbeba6e2
CY
17534 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17535 setting (Bug#8740).
17536
60ed8c72
AA
175372011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17538
4ac619f0
AA
17539 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17540 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17541 (Bug#8539).
60ed8c72 17542
23db196e
CY
175432011-05-28 Chong Yidong <cyd@stupidchicken.com>
17544
17545 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17546
5012f24c
DK
175472011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17548
17549 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17550 (hs-hide-block-at-point, hs-find-block-beginning)
17551 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17552 (Bug#8279).
17553
6a639b16
GM
175542011-05-28 Glenn Morris <rgm@gnu.org>
17555
17556 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17557
d43eaf2c
CY
175582011-05-28 Chong Yidong <cyd@stupidchicken.com>
17559
5199bde1
CY
17560 * help-fns.el (describe-function-1): If the function is a derived
17561 major mode, print the parent mode.
17562
d43eaf2c
CY
17563 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17564 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17565
423428a8
SM
175662011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17567
0ff8e1ba 17568 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17569 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17570 * progmodes/etags.el (tags-completion-at-point-function):
17571 * info-look.el (info-lookup-completions-at-point): Mark as
17572 non-exclusive.
17573 (info-complete): Adjust accordingly.
17574
423428a8
SM
17575 * info-look.el: Convert to lexical-binding and completion-at-point.
17576 (info-lookup-completions-at-point): New function.
17577 (info-complete): Use it and completion-in-region.
17578
b74aa22b
DA
175792011-05-28 Drew Adams <drew.adams@oracle.com>
17580
17581 * isearch.el: Let M-e start with point at the first mismatched char.
17582 (isearch-fail-pos): New function.
17583 (isearch-edit-string): Use it.
17584
66e2e71d
DK
175852011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17586
17587 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17588
b1890b0f 175892011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17590
17591 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17592 traversal functions for avl-trees.
17593 (avl-tree--stack): New struct.
17594 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17595 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17596 (avl-tree--do-enter): Add optional `updatefun' arg.
17597 Change return value.
eb95d01d 17598 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17599 (avl-tree--do-delete): Add `test' and `nilflag' args.
17600 Change return value.
eb95d01d
TC
17601 (avl-tree-member): Add optional `nilflag'
17602 (avl-tree-member-p): New function.
17603 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17604 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17605 (avl-tree-stack-empty-p): New functions.
17606
3769ddcf
TC
17607 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17608 avl-tree--del-balance1 and make it work both ways.
17609 (avl-tree--del-balance2): Remove.
17610 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17611 make it work both ways.
17612 (avl-tree--enter-balance2): Remove.
17613 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17614 New macros.
17615 (avl-tree--mapc, avl-tree-map): Add direction argument.
17616
eb95d01d 176172011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17618
17619 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17620
a9f737ee
CY
176212011-05-27 Chong Yidong <cyd@stupidchicken.com>
17622
17623 * select.el: Support clipboard managers with built-in function
17624 x-clipboard-manager-save, via delete-frame-functions and
17625 kill-emacs-hook.
17626 (xselect-convert-to-targets): Add MULTIPLE target to list.
17627 (xselect-convert-to-save-targets): New function.
17628
c92a1e54
KH
176292011-05-27 Kenichi Handa <handa@m17n.org>
17630
17631 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17632 let-binding rfc2047-encode-encoded-words to nil.
17633
e145f188
GM
176342011-05-27 Glenn Morris <rgm@gnu.org>
17635
5ec8a862
GM
17636 * mail/emacsbug.el: Don't require url-util.
17637
4b29d9fb
GM
17638 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17639
e145f188
GM
17640 * files.el (set-auto-mode):
17641 Also respect mode: entries at the end of the file. (Bug#8586)
17642
7d15102b
GM
176432011-05-26 Glenn Morris <rgm@gnu.org>
17644
98f593b8
GM
17645 * files.el (hack-local-variables-prop-line, hack-local-variables):
17646 Downcase mode names, as seems to be traditional.
27b48e63 17647 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17648
7d15102b
GM
17649 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17650 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17651
51d5b4ec
JD
176522011-05-25 Julien Danjou <julien@danjou.info>
17653
17654 * textmodes/rst.el (rst-define-level-faces): Do not define face
17655 symbol if it is already defined.
17656
91513f63
VB
176572011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17658
17659 * play/5x5.el (5x5-new-game, 5x5-randomize):
17660 Reset 5x5-solver-output to nil when a new grid is cast.
17661 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17662 these debugging traces, as defmacro breaks the compiled code.
17663
4d90d6d0
DK
176642011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17665
17666 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17667
e1b90ef6
LL
176682011-05-24 Leo Liu <sdl.web@gmail.com>
17669
17670 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17671 (vc-bzr-sha1): Adapt.
17672
d8e4b68b 17673 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17674
17675 * bindings.el: Provide sha1 feature.
17676
db0406bb 176772011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17678
17679 * mail/sendmail.el: Require `rfc2047'.
17680 (mail-insert-from-field): Do not perform RFC2047 encoding.
17681 (mail-encode-header): New function.
17682 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17683 buffer to the return value of select-message-coding-system.
17684 Call mail-encode-header.
b8d747b9
KH
17685
17686 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17687
db0406bb 176882011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17689
4d90d6d0
DK
17690 * mail/supercite.el (sc-default-cite-frame):
17691 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17692
eb8a5e9b
GM
176932011-05-24 Glenn Morris <rgm@gnu.org>
17694
f8630703
GM
17695 * progmodes/python.el (brm-menu): Declare.
17696
8831bbed
GM
17697 * emulation/viper.el (viper-set-hooks): Declare.
17698
eb8a5e9b
GM
17699 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17700 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17701 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17702 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17703 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17704 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17705
a2a25d24
SM
177062011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17707
17708 Add an :exit-function for completion-at-point.
17709
17710 * minibuffer.el (completion--done): New fun.
17711 (completion--do-completion): Use it. New arg `expect-exact'.
17712 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17713 since completion--do-completion does it for us now.
17714 (minibuffer-force-complete): Use completion--done and
17715 completion--replace. Handle sole-completion case with more care.
17716 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17717 (completion-extra-properties): New var.
17718 (completion-annotate-function): Make obsolete.
17719 (minibuffer-completion-help): Adjust accordingly.
17720 Use completion-list-insert-choice-function.
17721 (completion-at-point, completion-help-at-point):
17722 Bind completion-extra-properties.
17723 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17724 * simple.el (completion-list-insert-choice-function): New var.
17725 (completion-setup-function): Preserve it.
17726 (choose-completion): Pay attention to it, shuffle the code a bit.
17727 (choose-completion-string): New arg `insert-function'.
17728
17729 * textmodes/bibtex.el: Convert to lexical binding.
17730 (bibtex-mode-map): Use completion-at-point.
17731 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17732 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17733 (bibtex-complete): Define as obsolete alias.
17734 (bibtex-complete-internal): Remove.
17735 (bibtex-format-entry): Remove unused sub-group in regexp.
17736 * shell.el (shell--command-completion-data)
17737 (shell-environment-variable-completion):
17738 * pcomplete.el (pcomplete-completions-at-point):
17739 * comint.el (comint--complete-file-name-data): Use :exit-function
17740 instead of completion-table-with-terminator so it also works for
17741 choose-completion.
17742
e44e373d
SM
177432011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17744
4f91a816
SM
17745 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17746
782fc819
SM
17747 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17748 (bug#8710).
17749
e44e373d
SM
17750 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17751
381987c3
KM
177522011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17753
17754 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17755 customization variable and implement: If non-nil, auto-fill will
17756 be inhibited while on topic's header line.
17757
b776bc70
VB
177582011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17759
17760 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17761 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17762 always have a solution in grid size = 5 cases.
17763 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17764 (5x5-solver-output, 5x5-log-buffer): New vars.
17765 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17766 Make these variables buffer local to achieve 5x5 multi-session-ness.
17767 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17768 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17769 (5x5-solve-suggest): New funs.
17770 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17771 randomize a grid so that we ensure that there is always a solution.
17772 (5x5-make-random-grid): Allow other movement than flipping.
17773
7de88b6e
KR
177742011-05-23 Kevin Ryde <user42@zip.com.au>
17775
17776 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17777 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17778 advice and passes PREDICATE.
17779
b1ef1257
SM
177802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17781
bbca48fe
SM
17782 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17783 byte-compile-lambda if it's actually a lambda.
17784
b1ef1257
SM
17785 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17786 Fix function quoting. Use backquote better.
17787
92a9cc65
YS
177882011-05-22 Yuanle Song <sylecn@gmail.com>
17789
17790 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17791 matching (Bug#8516).
17792
f0fb8059
JA
177932011-01-22 Jari Aalto <jari.aalto@cante.net>
17794
17795 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17796 different face (Bug#8178).
17797
d5b44c93
CY
177982011-05-22 Chong Yidong <cyd@stupidchicken.com>
17799
17800 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17801 defface (Bug#8144).
17802
79106a44
SM
178032011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17804
9c848d8a
SM
17805 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17806 funcall as well (bug#8712). Warn when performing those conversions.
17807 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17808
79106a44
SM
17809 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17810
88dfa756
GM
178112011-05-22 Glenn Morris <rgm@gnu.org>
17812
17813 * files.el (hack-local-variables-prop-line): Small simplifications.
17814 (hack-local-variables, hack-local-variables-prop-line):
17815 If MODE-ONLY, return the mode, rather than just `t'.
17816
b7cf2c79
SM
178172011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17818
17819 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17820
3f1a8558
GM
178212011-05-21 Glenn Morris <rgm@gnu.org>
17822
7e4ccca3
GM
17823 * files.el (hack-local-variables-prop-line, hack-local-variables):
17824 If only interested in the mode, don't bother doing the other stuff.
17825
637d46ca
GM
17826 * image-mode.el (image-after-revert-hook):
17827 Redraw all frames on which the image is visible. (Bug#8567)
17828
973d955b
GM
17829 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17830
3f1a8558
GM
17831 * wid-edit.el (widget-checklist-match-inline):
17832 Fix 2011-04-19 change. (Bug#8649)
17833
96479927
SM
178342011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17835
1dcf791f
SM
17836 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17837 Also allow singlespace after single-letter capitals followed by a dot.
17838
96479927
SM
17839 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17840 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17841
35fd0881
N
178422011-05-20 Nix <nix@esperi.org.uk>
17843
17844 * files.el (basic-save-buffer-2):
17845 Fix handling of break-hardlink-on-save with non-existent files.
17846
82745640
DD
178472011-05-19 Deniz Dogan <deniz@dogan.se>
17848
17849 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17850 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17851
4a720484
GM
178522011-05-19 Glenn Morris <rgm@gnu.org>
17853
d1f21341
GM
17854 * progmodes/f90.el (f90-type-def-re):
17855 Handle "type, bind(c)". (Bug#8691)
17856
4a720484
GM
17857 * emacs-lisp/autoload.el (batch-update-autoloads):
17858 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17859
2fb0a219
MA
178602011-05-18 Michael Albinus <michael.albinus@gmx.de>
17861
17862 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17863 property for the correct connection in case of multihops.
17864
e565dd37
GM
178652011-05-18 Glenn Morris <rgm@gnu.org>
17866
c2571358 17867 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17868 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17869
e565dd37
GM
17870 Rationalize calendar handling of day and month abbrev-arrays.
17871 * calendar/calendar.el (calendar-customized-p): New function.
17872 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17873 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17874 Add :set function.
17875 (calendar-abbrev-length, calendar-day-abbrev-array)
17876 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17877 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17878 Elements may no longer be nil.
17879 (calendar-day-name, calendar-month-name):
17880 Update for changed nature of abbrev arrays.
17881 * calendar/diary-lib.el (diary-name-pattern):
17882 Update for changed nature of abbrev arrays.
17883 (diary-mark-entries-1): Update calendar-make-alist calls.
17884 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17885 * calendar/cal-html.el (cal-html-day-abbrev-array):
17886 Simply inherit from calendar-day-abbrev-array.
17887
1d99a745
SM
178882011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17889
17890 * progmodes/grep.el (grep-mode): Disable default
17891 compilation-directory-matcher setting (bug#8684).
17892
7c1d9aa0
MA
178932011-05-17 Michael Albinus <michael.albinus@gmx.de>
17894
17895 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17896 instead of "head" and "tail". There were problems with SunOS 5.9,
17897 and it performs better.
17898
3952e9d8
GM
178992011-05-17 Glenn Morris <rgm@gnu.org>
17900
2dd12e7f
GM
17901 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17902
e4157b9c
GM
17903 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17904 Replace obsolete function.
17905
8e249bbd
GM
17906 * shell.el (pcomplete-parse-arguments-function): Declare.
17907
3952e9d8
GM
17908 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17909 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17910 (appt-check): Doc fixes.
17911 (appt-disp-window-function, appt-delete-window-function):
17912 Remove needless special case in custom :type.
17913 (appt-display-count): Default to 0, not nil.
17914 (appt-check): Reset appt-display-count to 0, not nil.
17915
c71a0d48 179162011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17917
c71a0d48
GM
17918 * progmodes/python.el (python-font-lock-keywords):
17919 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17920
31d55be9
SM
179212011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17922
17923 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17924
3bfacb2f
KR
179252011-05-16 Kevin Ryde <user42@zip.com.au>
17926
17927 * info-look.el (makefile-automake-mode): New setups, looking in
17928 automake manual, then makefile-mode.
17929 (makefile-mode): Remove automake manual, have it just in
17930 makefile-automake-mode since there's various things different or
17931 not relevant to plain make.
17932 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17933 believe a hypothetical automake-mode would go to makefile-mode,
17934 not the other way around.
17935
c8e83751
CY
179362011-05-15 Chong Yidong <cyd@stupidchicken.com>
17937
5e9e35cd
CY
17938 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17939 hunk-end tags (Bug#8672).
17940
c8e83751
CY
17941 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17942 vc-annotate-show-diff-revision-at-line (Bug#8671).
17943
50b23e5a
GM
179442011-05-14 Glenn Morris <rgm@gnu.org>
17945
7210a739
GM
17946 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17947 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17948 (change-log-font-lock-keywords): Also handle multiple author lines
17949 with leading tabs. (Bug#8644)
7210a739 17950
4691905a
GM
17951 * calendar/appt.el (appt-check): Rename some local variables.
17952 Some simplification/reordering.
17953
50b23e5a
GM
17954 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17955 (feedmail-sendmail-f-doesnt-sell-me-out)
17956 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17957 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17958 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17959 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17960 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17961 (feedmail-binmail-gnulinuxish-template):
17962 Rename from feedmail-binmail-linuxish-template.
17963 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17964 Use insert-buffer-substring.
17965
215cda7c
BC
179662011-05-14 Bill Carpenter <bill@carpenter.org>
17967
17968 * mail/feedmail.el (feedmail-patch-level): Increase.
17969 (feedmail-debug): New custom group.
17970 (feedmail-confirm-outgoing-timeout)
17971 (feedmail-sendmail-f-doesnt-sell-me-out)
17972 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17973 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17974 (feedmail-sender-line, feedmail-from-line)
17975 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17976 (feedmail-spray-this-address)
215cda7c
BC
17977 (feedmail-spray-address-fiddle-plex-list)
17978 (feedmail-queue-use-send-time-for-date)
17979 (feedmail-queue-use-send-time-for-message-id)
17980 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17981 (feedmail-buffer-eating-function):
17982 Doc fixes.
17983 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17984 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17985 (feedmail-message-action-scroll-down): New functions.
17986 (feedmail-queue-directory, feedmail-queue-draft-directory):
17987 Use expand-file-name.
17988 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17989 Remove C-v help entry.
17990 (feedmail-queue-buffer-file-name): New variable.
17991 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17992 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17993 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17994 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17995 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17996 (feedmail-message-action-toggle-spray)
17997 (feedmail-run-the-queue-no-prompts)
17998 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17999 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18000 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18001 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18002 (feedmail-envelope-deducer, feedmail-fiddle-from)
18003 (feedmail-fiddle-sender, feedmail-default-date-generator)
18004 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18005 (feedmail-fiddle-spray-address)
18006 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18007 (feedmail-fiddle-list-of-fiddle-plexes)
18008 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18009 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18010 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18011 Change default. Doc fix.
18012 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18013 (feedmail-binmail-linuxish-template): New constant.
18014 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18015 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18016 (feedmail-send-it): Add debug call.
18017 Use feedmail-queue-buffer-file-name, and
18018 feedmail-send-it-immediately-wrapper.
18019 (feedmail-message-action-send): Add debug call.
18020 Use feedmail-send-it-immediately-wrapper.
18021 (feedmail-queue-express-to-queue): Add debug call.
18022 Run feedmail-queue-express-hook.
18023 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18024 (feedmail-message-action-help-blat):
18025 Rename from feedmail-queue-send-edit-prompt-help-first.
18026 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18027 Check line-endings. Handle errors better.
18028 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18029 Doc fix. Add debug call.
18030 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18031 Use feedmail-queue-send-edit-prompt-inner.
18032 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18033 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18034 from feedmail-queue-send-edit-prompt.
18035 (feedmail-queue-send-edit-prompt-help)
18036 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18037 (feedmail-tidy-up-slug): Add debug call.
18038 Respect feedmail-queue-slug-suspect-regexp.
18039 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18040 (feedmail-dump-message-to-queue): Add debug call.
18041 Expand queue-directory.
18042 (feedmail-dump-message-to-queue): Change message slightly.
18043 Use feedmail-say-chatter.
18044 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18045 (feedmail-send-it-immediately-wrapper): New function.
18046 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18047 Insert empty string rather than newline. Handle full-frame case.
18048 Use catch/throw. Use feedmail-say-chatter.
18049 (feedmail-fiddle-from): Try mail-host-address.
18050 (feedmail-default-message-id-generator): Doc fix.
18051 Bind system-time-locale. Handle missing end.
18052 (feedmail-fiddle-x-mailer): Add debug call.
18053 Handle feedmail-x-mailer-line being nil.
18054 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18055 Add debug call. Use buffer-substring-no-properties.
18056 (feedmail-say-debug, feedmail-say-chatter): New functions.
18057 (feedmail-find-eoh): Give an explicit error.
18058
42c7e61e
UJ
180592011-05-13 Ulf Jasper <ulf.jasper@web.de>
18060
c2571358 18061 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18062 family from helvetica to sans.
c2571358 18063 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18064 etc/images/newsticker.
18065
c2571358 18066 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18067 family from helvetica to sans.
18068
18069 * net/newst-plainview.el (newsticker-new-item-face)
18070 (newsticker-old-item-face, newsticker-immortal-item-face)
18071 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18072 (newsticker-statistics-face): Change default family from
42c7e61e 18073 helvetica to sans.
c2571358 18074 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18075 etc/images/newsticker.
18076
5d3385a0
JB
18077 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18078 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18079 auto-marking.
18080
8497a297
DV
180812011-05-13 Didier Verna <didier@xemacs.org>
18082
18083 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18084 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18085 TODO entries.
8497a297
DV
18086 (lisp-lambda-list-keyword-parameter-indentation)
18087 (lisp-lambda-list-keyword-parameter-alignment)
18088 (lisp-lambda-list-keyword-alignment): New customizable user options.
18089 (lisp-indent-defun-method): Improve docstring.
18090 (extended-loop-p): Fix comment.
18091 (lisp-indent-lambda-list-keywords-regexp): New variable.
18092 (lisp-indent-lambda-list): New function.
18093 (lisp-indent-259): Use it.
18094 (lisp-indent-defmethod): Support for more than one
18095 method qualifier and properly indent methods lambda-lists.
18096 (defgeneric): Provide a missing common-lisp-indent-function property.
18097
f278f87f
SM
180982011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18099
18100 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18101 bounds for the empty string (bug#8667).
18102
5233edd7
GM
181032011-05-13 Glenn Morris <rgm@gnu.org>
18104
5237a44f
GM
18105 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18106
8340026c 18107 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18108 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18109
5233edd7 18110 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18111 (appt-time-msg-list): Doc fix.
a5464014 18112 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18113
92d10796
AS
181142011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18115
18116 * progmodes/ld-script.el (ld-script-keywords)
18117 (ld-script-builtins): Update keywords list.
18118
914a0ae1
SM
181192011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18120
c89be45f
SM
18121 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18122
914a0ae1
SM
18123 * shell.el (shell-completion-vars): New function.
18124 (shell-mode):
18125 * simple.el (read-shell-command): Use it.
18126 (blink-matching-open): No need for " [...]" in minibuffer-message.
18127
98dc3df3
GM
181282011-05-12 Glenn Morris <rgm@gnu.org>
18129
18130 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18131 (appt-check): Simplify.
18132
d2fc7e3d 181332011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18134
4d61f28d 18135 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18136 literal "/dev/null".
18137
d2fc7e3d 181382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18139
18140 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18141 Fix typo.
18142
d2fc7e3d 181432011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18144
3f254caa
SM
18145 * progmodes/which-func.el (which-function):
18146 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18147 which might not be defined (Bug#8260).
18148
d45885f7
GM
181492011-05-12 Glenn Morris <rgm@gnu.org>
18150
18151 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18152 Let byte-compile-initial-macro-environment always take precedence.
18153
488086f4
SM
181542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18155
18156 * net/rcirc.el: Add support for SSL/TLS connections.
18157 (rcirc-server-alist): New field `encryption'.
18158 (rcirc): Check `encryption' settings.
18159 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18160 Merge make-local-variable into `set'.
18161 (rcirc--connection-open-p): New function.
18162 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18163 the process is not a network process (e.g. running gnutls-cli).
18164 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18165 Make rcirc-(en|de)code-coding-system local here.
18166 (rcirc-mode): Merge make-local-variable into `set'.
18167 (rcirc-parent-buffer): Make permanent buffer-local.
18168 (rcirc-multiline-minor-mode): Don't do it here.
18169 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18170 there's no server buffer.
18171
7d3b9d44
GM
181722011-05-11 Glenn Morris <rgm@gnu.org>
18173
f64049c6
GM
18174 * newcomment.el (comment-kill): Prefix "unused" local.
18175
93c9df73
GM
18176 * term/w32console.el (get-screen-color): Declare.
18177
7d3b9d44
GM
18178 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18179 Handle symbol elements of byte-compile-initial-macro-environment.
18180
9e2dd53f
LL
181812011-05-10 Leo Liu <sdl.web@gmail.com>
18182
488086f4
SM
18183 * bookmark.el (bookmark-bmenu-mode-map):
18184 Bind bookmark-bmenu-search to `/'.
8b340240 18185
9e2dd53f 18186 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18187 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18188 (Footnote-unicode): New function.
18189 (footnote-style-alist): Add unicode style to the list.
18190 (footnote-style): Doc fix.
9e2dd53f 18191
79b70037
GM
181922011-05-10 Jim Meyering <meyering@redhat.com>
18193
18194 Fix doubled-word typos.
18195 * international/quail.el (quail-insert-kbd-layout): and and -> and
18196 * kermit.el: and and -> and
18197 * net/ldap.el (ldap-search-internal): to to -> to
18198 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18199 * progmodes/js.el (js-mode): and and -> and
18200 * textmodes/artist.el (artist-move-to-xy): at at -> at
18201 (artist-draw-region-trim-line-endings): if if -> if
18202 And Safetyc -> Safety.
18203 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18204
b8f82dc1 182052011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18206 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18207
18208 * files.el (hack-one-local-variable-eval-safep):
18209 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18210
4f99f44b
GM
182112011-05-10 Glenn Morris <rgm@gnu.org>
18212
18213 * calendar/diary-lib.el (diary-list-entries-hook)
18214 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18215 (diary-nongregorian-marking-hook, diary-list-entries)
18216 (diary-include-other-diary-files, diary-mark-entries)
18217 (diary-mark-included-diary-files): Doc fixes.
18218
84f29e6b
JB
182192011-05-09 Juanma Barranquero <lekktu@gmail.com>
18220
18221 * misc.el: Require tabulated-list.el during compilation.
18222
9bedd73a
CY
182232011-05-09 Chong Yidong <cyd@stupidchicken.com>
18224
488086f4
SM
18225 * progmodes/compile.el (compilation-start):
18226 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18227 (compilation-filter-hook): Doc fix.
18228
797c735c
DD
182292011-05-09 Deniz Dogan <deniz@dogan.se>
18230
18231 * wdired.el: Remove outdated installation comment. Fix usage
18232 comment.
18233
5f4b1dfe
JB
182342011-05-09 Juanma Barranquero <lekktu@gmail.com>
18235
18236 * misc.el: Implement new command `list-dynamic-libraries'.
18237 (list-dynamic-libraries--loaded-only-p): New variable.
18238 (list-dynamic-libraries--refresh): New function.
18239 (list-dynamic-libraries): New command.
18240
4c44026c
CY
182412011-05-09 Chong Yidong <cyd@stupidchicken.com>
18242
488086f4
SM
18243 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18244 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18245 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18246 higher priority to avoid clobbering by gnu.
18247
027f966d
CY
182482011-05-08 Chong Yidong <cyd@stupidchicken.com>
18249
18250 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18251 if the face has existing theme settings (Bug#8454).
18252
085f5d7d
CY
182532011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18254
488086f4
SM
18255 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18256 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18257
2a86a00c
RS
18258 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18259 special file names `.' and `..' (Bug#8259).
18260
d9c54a06
CY
182612011-05-08 Chong Yidong <cyd@stupidchicken.com>
18262
488086f4
SM
18263 * progmodes/grep.el (grep-mode-font-lock-keywords):
18264 Remove buffer-changing entries.
d9c54a06
CY
18265 (grep-filter): New function.
18266 (grep-mode): Add it to compilation-filter-hook.
18267
18268 * progmodes/compile.el (compilation-filter-hook)
18269 (compilation-filter-start): New defvars.
18270 (compilation-filter): Call compilation-filter-hook prior to
18271 updating the process mark.
18272
c4662635
SM
182732011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18274
18275 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18276
b0512a1d
EZ
182772011-05-07 Eli Zaretskii <eliz@gnu.org>
18278
605c9376
EZ
18279 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18280 mailclient-send-it even if window-system is nil. (Bug#8595)
18281
c4662635
SM
18282 * term/w32console.el (terminal-init-w32console):
18283 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18284 background-mode. (Bug#8597)
18285
d1dc2cc2
SM
182862011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18287
18288 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18289 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18290 New functions.
18291 (defgeneric, eieio--defmethod): Use them.
18292 (eieio-defgeneric): Remove.
18293 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18294
915d1300
GM
182952011-05-07 Glenn Morris <rgm@gnu.org>
18296
a3961c3e
GM
18297 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18298 Use let rather than let*.
18299 (timeclock-find-discrep): Remove unused local.
18300
314347b9
GM
18301 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18302
915d1300
GM
18303 * calendar/appt.el (appt-time-msg-list): Doc fix.
18304
275b59b0
NF
183052011-05-06 Noah Friedman <friedman@splode.com>
18306
18307 * apropos.el (apropos-print-doc): Only use
18308 emacs-lisp-docstring-fill-column when it is bound to an integer,
18309 per that variable's documentation.
18310
6c19f744
SM
183112011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18312
18313 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18314 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18315
60f884b2
GM
183162011-05-06 Glenn Morris <rgm@gnu.org>
18317
5006e634
GM
18318 * calendar/appt.el (appt-message-warning-time): Doc fix.
18319 (appt-warning-time-regexp): New option.
18320 (appt-make-list): Respect appt-message-warning-time.
18321
548d0a63
GM
18322 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18323 New options.
18324 (diary-add-to-list): Strip comments from the displayed string.
18325 (diary-mode): Set comment-start and comment-end.
18326
60f884b2
GM
18327 * vc/diff-mode.el (smerge-refine-subst): Declare.
18328 (diff-refine-hunk): Don't require smerge-mode when compiling.
18329
989681bb
JB
183302011-05-06 Juanma Barranquero <lekktu@gmail.com>
18331
18332 * simple.el (list-processes): Return nil as the docstring says.
18333
a6bc05e1
MA
183342011-05-05 Michael Albinus <michael.albinus@gmx.de>
18335
18336 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18337 to "".
18338 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18339 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18340 determining of binary transfer. (Bug#7383)
18341
23c22e9a
MA
183422011-05-05 Michael Albinus <michael.albinus@gmx.de>
18343
c4662635
SM
18344 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18345 Fix port computation bug. (Bug#8618)
23c22e9a 18346
0bff894f
GM
183472011-05-05 Glenn Morris <rgm@gnu.org>
18348
b8296902
GM
18349 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18350
1f522ce8
GM
18351 * simple.el (shell-dynamic-complete-functions)
18352 (comint-dynamic-complete-functions): Declare.
18353
cf5bee67
GM
18354 * net/network-stream.el (gnutls-negotiate):
18355 * simple.el (tabulated-list-print): Fix declarations.
18356
18357 * progmodes/gud.el (syntax-symbol, syntax-point):
18358 Remove unnecessary and incorrect declarations.
18359
0bff894f 18360 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18361 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18362
9869b3ae
SM
183632011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18364
18365 Fix earlier half-done eieio-defmethod change (bug#8338).
18366 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18367 Streamline and change calling convention.
18368 (defmethod): Adjust accordingly and simplify.
18369 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18370 new eieio--defmethod.
18371 (slot-boundp): Minor CSE simplification.
18372
9c1d5ac5
MZ
183732011-05-05 Milan Zamazal <pdm@zamazal.org>
18374
18375 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18376 (glasses-make-readable): Use glasses-separate-capital-groups.
18377
455c834e
JB
183782011-05-05 Juanma Barranquero <lekktu@gmail.com>
18379
18380 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18381 (warning-series): Doc fix.
18382 (display-warning): Don't try to create the buffer if we just found it.
18383
9ed7c8cb
CY
183842011-05-04 Chong Yidong <cyd@stupidchicken.com>
18385
18386 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18387 (autoload-find-generated-file): New function.
18388 (generate-file-autoloads): Bind generated-autoload-file to
18389 buffer-file-name.
9869b3ae
SM
18390 (update-file-autoloads, update-directory-autoloads):
18391 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18392 output file (Bug#7989).
18393 (batch-update-autoloads): Doc fix.
18394
0898ca10
JB
183952011-05-04 Juanma Barranquero <lekktu@gmail.com>
18396
18397 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18398
31dfb76c
GM
183992011-05-04 Glenn Morris <rgm@gnu.org>
18400
f330b642
GM
18401 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18402 function, so it follows changes in calendar-date-style.
18403 (diary-fancy-date-matcher): New function.
18404 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18405 (diary-fancy-font-lock-fontify-region-function):
18406 Use diary-fancy-date-pattern as a function.
18407
31dfb76c
GM
18408 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18409 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18410
48e79d6a
TZ
184112011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18412
18413 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18414 instead of positional arguments. Allow :keylist and :crlfiles
18415 arguments.
18416 (open-gnutls-stream): Call it.
18417
18418 * net/network-stream.el (network-stream-open-starttls): Adjust to
18419 call `gnutls-negotiate' with :process and :hostname arguments.
18420
dd5a5ee0
SM
184212011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18422
ef80fc09
SM
18423 * minibuffer.el (completion--message): New function.
18424 (completion--do-completion, minibuffer-complete)
18425 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18426 (completion--do-completion): Don't ignore completion-auto-help when in
18427 icomplete-mode.
18428
dd5a5ee0
SM
18429 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18430 internal encoding (e.g. tibetan zero is not whitespace).
18431 (global-whitespace-mode): Prefer save-current-buffer.
18432 (whitespace-trailing-regexp): Remove useless save-match-data.
18433 (whitespace-empty-at-bob-regexp): Minor simplification.
18434
b7d22a83
CY
184352011-05-03 Chong Yidong <cyd@stupidchicken.com>
18436
18437 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18438
5192af46
AM
184392011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18440
18441 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18442 Use `concat' to create string for insertion.
5192af46 18443
5767d190
SM
184442011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18445
18446 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18447 Avoid open-line which runs post-self-insert-hook.
18448 (bibtex-fill-entry): Remove unused `end' var.
18449
bf242939
AM
184502011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18451
5767d190
SM
18452 * textmodes/ispell.el (ispell-add-per-file-word-list):
18453 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18454
25666126
LL
184552011-05-03 Leo Liu <sdl.web@gmail.com>
18456
18457 * isearch.el (isearch-yank-pop): New command.
5767d190 18458 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18459 (isearch-forward): Mention it.
18460
52d3c2d0
SM
184612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18462
1bcace58
SM
18463 * simple.el (minibuffer-complete-shell-command): Remove.
18464 (minibuffer-local-shell-command-map): Use completion-at-point.
18465 (read-shell-command): Setup completion vars here instead.
18466 (read-expression-map): Bind TAB to symbol completion.
18467
52d3c2d0
SM
18468 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18469 error directly rather via storing it into `results'.
18470
35813471
LL
184712011-05-02 Leo Liu <sdl.web@gmail.com>
18472
18473 * vc/diff.el: Fix description.
18474
e793a940
LMI
184752011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18476
18477 * server.el (server-eval-at): New function.
18478
8de66e05
LMI
184792011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18480
18481 * net/network-stream.el (open-network-stream): Take a :nowait
18482 parameter and pass it on to `make-network-process'.
18483 (network-stream-open-plain): Ditto.
18484
dcb79f20
AS
184852011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18486
18487 * faces.el (face-spec-set-match-display): Don't match toolkit
18488 options on terminal frames.
18489
14a7fbd8
SM
184902011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18491
7eabc1be
SM
18492 * progmodes/pascal.el: Use lexical binding.
18493 (pascal-mode-map): Remove author preferences.
18494
14a7fbd8
SM
18495 * pcomplete.el (pcomplete-std-complete): Don't abuse
18496 completion-at-point.
18497
50f84510
JB
184982011-04-28 Juanma Barranquero <lekktu@gmail.com>
18499
6e087a44
JB
18500 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18501 removing code that has been dead since 1991 or so.
18502
50f84510
JB
18503 * startup.el (command-line): When warning about "_emacs", use a
18504 delayed warning to allow the user to filter it out.
18505
0ba690bd
DD
185062011-04-28 Deniz Dogan <deniz@dogan.se>
18507
18508 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18509 user has not joined.
18510
08abfaad
SM
185112011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18512
18513 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18514 aren't any completions at point.
18515
638f053a
JB
185162011-04-28 Juanma Barranquero <lekktu@gmail.com>
18517
18518 * subr.el (display-delayed-warnings): New function.
18519 (delayed-warnings-hook): New variable.
18520
8fff8daa
SM
185212011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18522
08abfaad
SM
18523 * minibuffer.el (completion-at-point, completion-help-at-point):
18524 Don't presume that a given completion-at-point-function will always
18525 use the same calling convention.
18526
8fff8daa
SM
18527 * pcomplete.el (pcomplete-completions-at-point):
18528 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18529 pcomplete-seen is non-nil.
18530 (pcomplete-comint-setup): Also recognize the new comint/shell
18531 completion functions.
18532 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18533 pcomplete-seen is non-nil.
18534
841a1577 185352011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18536
841a1577 18537 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18538 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18539 the first character in the entry. This allows for code to add its
211ec907
UJ
18540 own uid to the entry.
18541 (icalendar--convert-float-to-ical): Add export of
18542 `diary-float'-entries save for those with the optional DAY
18543 argument.
18544
2a782793
DC
185452011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18546
18547 * subr.el (shell-quote-argument): Use alternate escaping strategy
18548 when we spot a variable reference in a string.
18549
0438ce91
DC
185502011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18551
18552 * cus-start.el (all): Define customization for debug-on-event.
18553
841a1577 185542011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18555
18556 * subr.el (shell-quote-argument): Escape correctly under Windows.
18557
d090ed6c
SM
185582011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18559
18560 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18561
bfd31217
MA
185622011-04-25 Michael Albinus <michael.albinus@gmx.de>
18563
d090ed6c
SM
18564 * net/tramp.el (tramp-process-actions): Add POS argument.
18565 Delete region between POS and (pos).
bfd31217 18566
d090ed6c
SM
18567 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18568 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18569 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18570
18571 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18572 position in `tramp-process-actions' call.
18573
18574 * net/trampver.el: Update release number.
18575
e92f3bd3
SM
185762011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18577
850256b5
SM
18578 * custom.el (defcustom): Obey lexical-binding.
18579
e92f3bd3
SM
18580 Fix octave-inf completion problems reported by Alexander Klimov.
18581 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18582 Inherit from octave-mode-syntax-table.
18583 (inferior-octave-mode): Set info-lookup-mode.
18584 (inferior-octave-completion-at-point): New function.
18585 (inferior-octave-complete): Use it and completion-in-region.
18586 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18587 comint-filename-completion.
18588 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18589 symbol elements which shouldn't be word elements.
18590 (octave-font-lock-keywords, octave-beginning-of-defun)
18591 (octave-function-header-regexp): Adjust regexps accordingly.
18592 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18593
cd22b309
JB
185942011-04-25 Juanma Barranquero <lekktu@gmail.com>
18595
18596 * net/gnutls.el (gnutls-errorp): Declare before first use.
18597
8b492194
TZ
185982011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18599
18600 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18601 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18602 default trustfile exists before going to use it. Add missing
5a5fa834 18603 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18604 Reported by Claudio Bley <claudio.bley@gmail.com>.
18605 (open-gnutls-stream): Add usage example.
18606
18607 * net/network-stream.el (network-stream-open-starttls): Give host
18608 parameter to `gnutls-negotiate'.
18609 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18610 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18611
841a1577 186122011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18613
cd22b309
JB
18614 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18615 Use correct match group (bug#8438).
05842630 18616
3ba7869c
CY
186172011-04-24 Chong Yidong <cyd@stupidchicken.com>
18618
512e3ae1
CY
18619 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18620 (package-menu--generate): New arg specifying packages to show.
18621 (package-menu-refresh, package-menu-execute, list-packages):
18622 Callers changed.
18623 (package-show-package-list): New function, replacing deleted
18624 package--list-packages (renamed because it is non-internal).
18625
18626 * finder.el (finder-list-matches): Use package-show-package-list
18627 instead of deleted package--list-packages.
18628
e92f3bd3
SM
18629 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18630 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18631 (vc-annotate-mode-map): Bind it to RET.
18632
7031be6d
UR
186332011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18634
18635 * progmodes/etags.el (next-file): Don't use set-buffer to change
18636 buffers (Bug#8478).
18637
4ef177aa
CY
186382011-04-24 Chong Yidong <cyd@stupidchicken.com>
18639
c8d173eb
CY
18640 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18641
4ef177aa
CY
18642 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18643 (apropos-accumulator): Doc fix.
18644 (apropos-function, apropos-macro, apropos-command)
18645 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18646 (apropos-plist): Add face property.
18647 (apropos-symbols-internal): Fix indentation.
18648 (apropos-print): Simplify help, and recognize apropos-multi-type.
18649 (apropos-print-doc): Use button-type-get to extract the button's
18650 face property. Fill docstring (Bug#8352).
18651
4ffd0d6b 186522011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18653
18654 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18655
c6c32125 18656 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18657 (mpuz-mode-map): Use mapc.
c6c32125
JB
18658 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18659 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18660 Fix typos in docstrings.
18661
58d468b4
JB
18662 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18663 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18664
6470c3c6
JB
18665 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18666
4ffd0d6b 186672011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18668
18669 * minibuffer.el (completion--do-completion): Avoid the "Next char
18670 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18671
3ad8bad0
CY
18672 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18673 mouse-2 into unread-command-events, it is interpreted correctly.
18674
71d73c9c 18675 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18676 (image-toggle-display): Doc fix.
71d73c9c 18677
841a1577 186782011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18679
4ffd0d6b
GM
18680 * textmodes/page.el (what-page): Use line-number-at-pos to
18681 calculate line number (Bug#6825).
6e1dbaa9 18682
c2fb1b60
JB
186832011-04-22 Juanma Barranquero <lekktu@gmail.com>
18684
18685 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18686 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18687 Pass argument NO-DEFAULT to `find-tag-interactive'.
18688
e02f48d7
JB
186892011-04-22 Juanma Barranquero <lekktu@gmail.com>
18690
18691 Lexical-binding cleanup.
18692
18693 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18694 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18695 * progmodes/ada-prj.el (ada-prj-initialize-values)
18696 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18697 (ada-prj-show-value):
18698 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18699 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18700 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18701 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18702 * progmodes/bug-reference.el (bug-reference-push-button):
18703 * progmodes/fortran.el (fortran-line-length):
18704 * progmodes/glasses.el (glasses-change):
18705 * progmodes/octave-mod.el (octave-fill-paragraph):
18706 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18707 (python-pdbtrack-grub-for-buffer, python-sentinel):
18708 * progmodes/sql.el (sql-save-connection):
18709 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18710 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18711 Mark unused parameters.
18712
18713 * progmodes/compile.el (compilation--flush-directory-cache)
18714 (compilation--flush-parse, compile-internal): Mark unused parameters.
18715 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18716 (compilation-next-error-function): Remove unused variable `timestamp'.
18717
18718 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18719 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18720
18721 * progmodes/dcl-mode.el (dcl-end-of-command):
18722 Remove unused variable `start'.
18723 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18724 (dcl-option-value-basic, dcl-option-value-offset)
18725 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18726 Mark unused parameters.
18727 (dcl-save-local-variable): Remove unused variable `val'.
18728 (mode): Declare.
18729
18730 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18731 Mark unused parameters.
18732 (delphi-ignore-changes): Move before first use.
18733 (delphi-charset-token-at): Remove unused variable `start'.
18734 (delphi-else-start): Remove unused variable `if-count'.
18735 (delphi-comment-block-start, delphi-comment-block-end):
18736 Remove unused variable `kind'.
18737 (delphi-indent-line): Remove unused variable `new-point'.
18738
18739 * progmodes/ebrowse.el (ebrowse-files-list)
18740 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18741 Mark unused parameters. Don't quote `lambda'.
18742 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18743 Don't quote `lambda'.
18744 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18745 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18746 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18747 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18748 Use `ignore-errors'.
18749 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18750 (ebrowse-view/find-file-and-search-pattern)
18751 (ebrowse-view/find-member-declaration/definition):
18752 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18753 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18754 Rename parameter PREFIX-ARG to PREFIX.
18755 (ebrowse-tags-read-name): Remove unused variables `start' and
18756 `member-info'.
18757 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18758 to `tags-file'.
18759
18760 * progmodes/etags.el (local-find-tag-hook): Declare.
18761 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18762 Mark unused parameters.
18763
18764 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18765 (executable-interpret): Mark unused parameter.
18766
18767 * progmodes/flymake.el (flymake-process-sentinel)
18768 (flymake-after-change-function)
18769 (flymake-create-temp-with-folder-structure)
18770 (flymake-get-include-dirs-dot): Mark unused parameters.
18771 (flymake-safe-delete-directory): Remove unused variable `err'.
18772
18773 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18774 (speedbar-timer-fn, speedbar-line-text)
18775 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18776 (speedbar-center-buffer-smartly): Declare functions.
18777 (gdb-find-watch-expression): Remove unused variable `array'.
18778 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18779 (gdb-starting): Mark unused parameters.
18780 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18781 (gdb-table-string): Remove unused variable `res'.
18782 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18783 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18784 (gdb-display-buffer): Remove unused variable `cur-size'.
18785
18786 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18787 allow lexical-binding compilation.
18788 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18789 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18790 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18791 Mark unused parameters.
18792 (gud-gdb-marker-filter): Remove unused variable `match'.
18793 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18794 lambda expressions and funcall them, instead of using `fset'.
18795
18796 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18797 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18798
18799 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18800 variable `header-beg'; use `let'.
18801
18802 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18803 `restart', `last-sexp' and `at-do'.
18804
18805 * progmodes/js.el (js--debug): Mark unused parameter.
18806 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18807 (js--splice-into-items): Remove unused variable `item'.
18808 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18809
18810 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18811 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18812 (makefile-complete): Remove unused variable `try'.
18813 (makefile-fill-paragraph, makefile-match-function-end):
18814 Mark unused parameters.
18815
18816 * progmodes/octave-inf.el (inferior-octave-complete):
18817 Remove unused variable `proc'.
18818 (inferior-octave-output-digest): Mark unused parameter.
18819
18820 * progmodes/perl-mode.el (perl-calculate-indent):
18821 Remove unused variable `err'.
18822
18823 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18824 (prolog-indent-line): Mark unused parameters.
18825 (prolog-indent-line): Remove unused variable `beg'.
18826
18827 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18828 (reporter-dont-compact-list): Declare.
18829
18830 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18831 Remove unused variable `char'.
18832 (sh-debug): Mark unused parameter.
18833 (sh-get-indent-info): Remove unused variable `start'.
18834 (sh-calculate-indent): Remove unused variable `var'.
18835
18836 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18837 (simula-electric-keyword): Remove unused variable `null'.
18838 (simula-search-backward, simula-search-forward): Remove unused
18839 variables `begin' and `end'.
18840
18841 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18842 Remove unused variable `pos'.
18843 (vera-electric-tab, vera-comment-uncomment-region):
18844 Mark unused parameters.
18845 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18846
7ede3b65
CY
188472011-04-22 Chong Yidong <cyd@stupidchicken.com>
18848
18849 * emacs-lisp/package.el (package--builtins, package-alist)
18850 (package-load-descriptor, package-built-in-p, package-activate)
18851 (define-package, package-installed-p)
18852 (package-compute-transaction, package-buffer-info)
18853 (package--push): Doc fix. Distinguish more clearly between
18854 version strings and version lists.
18855
121656e9
JB
188562011-04-21 Juanma Barranquero <lekktu@gmail.com>
18857
18858 Lexical-binding cleanup.
18859
18860 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18861 (5x5-make-mutate-best):
18862 * play/fortune.el (fortune-in-buffer):
18863 * play/gomoku.el (gomoku-init-display):
18864 * play/solitaire.el (solitaire, solitaire-do-check):
18865 * play/tetris.el (tetris-default-update-speed-function):
18866 Mark unused parameters.
18867
18868 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18869 (bubbles--shift): Remove unused variable `char-org'.
18870 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18871 (bubbles--show-images): Remove unused variable `char'.
18872
18873 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18874 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18875 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18876 (decipher-analyze-buffer): Use ?\s.
18877 (decipher-make-checkpoint): Remove unused variable `mapping'.
18878
18879 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18880
18881 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18882 Remove unused variable `result'; use `let'.
18883
18884 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18885 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18886 (gametree-children-shown-p, gametree-compute-reduced-score):
18887 Use `ignore-errors'.
18888
18889 * play/handwrite.el (ps-lpr-switches): Declare.
18890 (handwrite): Remove unused variables `pmin' and `lastp'.
18891
18892 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18893
18894 * play/landmark.el (landmark-init-display)
18895 (landmark-update-naught-weights): Mark unused parameters.
18896 (landmark-y): Remove unused variable `noise'. Simplify.
18897 (landmark-human-plays): Remove unused variable `score'.
18898
18899 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18900 (mpuz-try-proposal): Remove unused variable `game'.
18901
18902 * play/zone.el (life-patterns): Declare.
18903
80f499c7
JB
189042011-04-20 Juanma Barranquero <lekktu@gmail.com>
18905
18906 * vc/vc.el (ediff-vc-internal): Declare function.
18907
024ff170
SM
189082011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18909
c0a193ea
SM
18910 * shell.el: Use lexical-binding and std completion UI.
18911 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18912 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18913 comint-preoutput-filter-functions rather than on
18914 comint-output-filter-functions.
18915 (shell-command-completion, shell--command-completion-data)
18916 (shell-filename-completion, shell-environment-variable-completion)
18917 (shell-c-a-p-replace-by-expanded-directory): New functions.
18918 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18919 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18920 (shell-dynamic-complete-environment-variable): Use them.
18921 (shell-dynamic-complete-as-environment-variable)
18922 (shell-dynamic-complete-as-command): Remove.
18923 (shell-match-partial-variable): Match past point.
18924 * comint.el: Clean up use of completion-at-point-functions.
18925 (comint-completion-at-point): New function.
18926 (comint-mode): Use it completion-at-point-functions.
18927 (comint-dynamic-complete): Make it obsolete.
18928 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18929 (comint-c-a-p-replace-by-expanded-history): New function.
18930 (comint-dynamic-complete-functions)
18931 (comint-replace-by-expanded-history): Use it.
18932 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18933 termination strings. Try harder to avoid second try-completion.
18934 (completion-in-region-mode-map): Disable bindings that don't work yet.
18935
2dbaa080
SM
18936 * comint.el: Use lexical-binding. Require CL.
18937 (comint-dynamic-complete-functions): Use comint-filename-completion.
18938 (comint-completion-addsuffix): Tweak custom type.
18939 (comint-filename-completion, comint--common-suffix)
18940 (comint--common-quoted-suffix, comint--table-subvert)
18941 (comint--complete-file-name-data): New functions.
18942 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18943 (comint-dynamic-list-filename-completions): Use them.
18944 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18945
2dbaa080
SM
18946 * minibuffer.el (completion-in-region-mode):
18947 Keep completion-in-region-mode--predicate global.
18948 (completion-in-region--postch):
18949 Assume completion-in-region-mode--predicate is not null.
18950
c79a6f38
SM
18951 * progmodes/flymake.el (flymake-start-syntax-check-process):
18952 Obey `dir'. Simplify.
18953
024ff170
SM
18954 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18955 we're in VC after all.
18956
1c6c854e
CS
189572011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18958
18959 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18960 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18961 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18962
bed7f140
SM
189632011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18964
332e62ab
SM
18965 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18966 add sanity check.
18967
bed7f140
SM
18968 * obsolete/erc-hecomplete.el: Make obsolete.
18969 * obsolete/: Standardize obsolescence info in the header.
18970
f195c582
GM
189712011-04-20 Glenn Morris <rgm@gnu.org>
18972
18973 * calendar/solar.el (solar-horizontal-coordinates):
18974 Use the longitude argument rather than `calendar-longitude'.
18975 (solar-date-next-longitude): Remove unused locals.
18976
cb79b8c0
VJL
189772011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18978
18979 * whitespace.el: New version 13.2.1.
18980
189812011-04-20 felix <EmacsWiki> (tiny change)
18982
d8e4b68b 18983 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18984 switching between major modes on a file.
18985
602ea69d
SM
189862011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18987
18988 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18989 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18990 multi-line comments as well.
18991
06b60517
JB
189922011-04-19 Juanma Barranquero <lekktu@gmail.com>
18993
18994 Lexical-binding cleanup.
18995
18996 * arc-mode.el (archive-mode-revert):
18997 * cmuscheme.el (scheme-interactively-start-process):
18998 * custom.el (custom-initialize-delay):
18999 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19000 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19001 * emacs-lock.el (emacs-lock-clear-sentinel):
19002 * ezimage.el (defezimage):
19003 * follow.el (follow-avoid-tail-recenter):
19004 * fringe.el (set-fringe-mode-1):
19005 * generic-x.el (bat-generic-mode-compile):
19006 * help-mode.el (help-info-variable, help-do-xref)
19007 (help-mode-revert-buffer):
19008 * help.el (view-emacs-todo):
19009 * iswitchb.el (iswitchb-completion-help):
19010 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19011 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19012 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19013 * locate.el (locate-update):
19014 * longlines.el (longlines-encode-region)
19015 (longlines-after-change-function):
19016 * outline.el (outline-isearch-open-invisible):
19017 * ps-def.el (declare-function, charset-dimension, char-width)
19018 (encode-char):
19019 * ps-mule.el (ps-mule-plot-string):
19020 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19021 (recentf-edit-list-select, recentf-edit-list-validate)
19022 (recentf-open-files-action):
19023 * rect.el (delete-whitespace-rectangle-line)
19024 (rectangle-number-line-callback):
19025 * register.el (window-configuration-to-register)
19026 (frame-configuration-to-register):
19027 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19028 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19029 (xselect-convert-to-targets, xselect-convert-to-delete)
19030 (xselect-convert-to-filename, xselect-convert-to-charpos)
19031 (xselect-convert-to-lineno, xselect-convert-to-colno)
19032 (xselect-convert-to-os, xselect-convert-to-host)
19033 (xselect-convert-to-user, xselect-convert-to-class)
19034 (xselect-convert-to-name, xselect-convert-to-integer)
19035 (xselect-convert-to-atom, xselect-convert-to-identity):
19036 * subr.el (declare, ignore, process-kill-without-query)
19037 (text-clone-maintain):
19038 * terminal.el (te-get-char, te-tic-sentinel):
19039 * tool-bar.el (tool-bar-make-keymap):
19040 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19041 * type-break.el (type-break-mode, type-break-noninteractive-query):
19042 * view.el (View-back-to-mark):
19043 * wid-browse.el (widget-browse-action, widget-browse-widget)
19044 (widget-browse-widgets, widget-browse-sexp):
19045 * widget.el (define-widget-keywords):
19046 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19047 Mark unused parameters.
19048
19049 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19050 (align-areas): Remove unused variable `look'.
19051 (align-region): Remove unused variables `real-end' and `pos-list'.
19052
19053 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19054
19055 * bindings.el (mode-line-modified, mode-line-remote):
19056 Mark unused parameters.
19057 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19058
19059 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19060 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19061
19062 * comint.el (comint-history-isearch-pop-state)
19063 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19064 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19065 (comint-substitute-in-file-name): Doc fix.
19066
19067 * completion.el (cmpl-statistics-block): Mark unused parameter.
19068 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19069 (save-completions-to-file, load-completions-from-file):
19070 Remove unused local variable `e'.
19071
19072 * composite.el (compose-chars): Remove unused variable `len'.
19073 (lgstring-insert-glyph): Remove unused variable `g'.
19074 (compose-glyph-string): Remove unused variables `ascent',
19075 `descent', `lbearing' and `rbearing'.
19076 (compose-glyph-string-relative): Remove unused variables
19077 `lbearing', `rbearing' and `wadjust'.
19078 (compose-gstring-for-graphic): Remove unused variables `header',
19079 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19080 (compose-gstring-for-terminal): Remove unused variables `header'
19081 and `nchars'. Use `let', not `let*'.
19082
19083 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19084 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19085 (Custom-buffer-done, custom-buffer-create-internal)
19086 (custom-browse-visibility-action, custom-browse-group-tag-action)
19087 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19088 (widget-magic-mouse-down-action, custom-toggle-parent)
19089 (custom-add-parent-links, custom-toggle-hide-variable)
19090 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19091 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19092 (custom-face-menu-create, custom-variable-menu-create, get)
19093 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19094 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19095 (customize-apropos): Remove unused variable `tests'.
19096 (custom-group-value-create): Remove unused variable `hidden-p'.
19097 (sort-fold-case): Declare.
19098
19099 * cus-theme.el (custom-reset-standard-faces-list)
19100 (custom-reset-standard-variables-list): Declare.
19101 (customize-create-theme, custom-theme-revert, custom-theme-write)
19102 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19103 Mark unused parameters.
19104
19105 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19106
19107 * delim-col.el (delimit-columns-max): Move defvar before first use.
19108
19109 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19110 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19111
19112 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19113 (auto-insert): Declare.
19114 (desktop-restore-file-buffer): Rename desktop-* parameters;
19115 mark unused ones.
19116 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19117 (desktop-buffer): Rename desktop-* parameters.
19118
19119 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19120 (dframe-reposition-frame-xemacs, dframe-help-echo)
19121 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19122 Mark unused parameters.
19123
19124 * dired-aux.el (backup-extract-version-start, overwrite-query)
19125 (overwrite-backup-query, rename-regexp-query)
19126 (rename-non-directory-query): Declare.
19127 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19128 (dired-add-entry): Remove unused variable `orig-file-name'.
19129 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19130 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19131 `dired-copy-preserve-time' directly.
19132 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19133 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19134
19135 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19136 (dired-virtual-revert, dired-make-relative-symlink):
19137 Mark unused parameters.
19138 (manual-program): Declare.
19139 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19140 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19141 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19142
19143 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19144
19145 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19146
19147 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19148 Declare.
19149
19150 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19151
19152 * electric.el (Electric-command-loop): Rename parameter
19153 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19154
19155 * expand.el (expand-in-literal): Remove unused variable `here'.
19156
19157 * facemenu.el (facemenu-add-new-color):
19158 Remove unused variable `docstring'.
19159
19160 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19161 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19162 (face-attr-construct): Mark unused parameter. Doc fix.
19163 (read-color): Remove unused variable `hex-string'.
19164
19165 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19166 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19167 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19168 (display-buffer-other-frame): Remove unused variable `old-window'.
19169 (kill-buffer-hook): Declare.
19170 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19171 Mark unused parameters.
19172 (after-find-file): Pass 1 to `auto-save-mode', not t.
19173
19174 * files-x.el (auto-insert): Declare.
19175 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19176
19177 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19178 variable `buf'. Mark unused parameter.
06b60517
JB
19179 (find-lisp-insert-directory): Mark unused parameter.
19180
19181 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19182 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19183 (format-common-tail): Remove, unused.
19184 (format-deannotate-region): Remove unused variable `loc'.
19185 (format-annotate-region): Remove unused variable `p'.
19186 (format-annotate-single-property-change): Remove unused variables
19187 `default' and `tail'.
19188
19189 * forms.el (read-file-filter): Declare.
19190 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19191
19192 * frame.el (frame-creation-function-alist): Mark unused parameter.
19193 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19194
19195 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19196 Remove unused parameters.
19197 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19198 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19199
19200 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19201 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19202 (hfy-prepare-tag-map): Mark unused parameters.
19203 (htmlfontify-buffer): Use `called-interactively-p'.
19204
19205 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19206 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19207 (ibuffer-do-occur): Mark unused parameters.
19208 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19209 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19210
19211 * ibuffer.el: Don't quote `lambda'.
19212 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19213 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19214 Mark unused parameters.
19215
19216 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19217 (ido-completing-read): Mark unused parameters.
19218 (ido-copy-current-word): Mark unused parameters;
19219 remove unused variable `name'.
19220 (ido-sort-merged-list): Remove unused parameter `dirs'.
19221
19222 * ielm.el (ielm-input-sender): Mark unused parameter.
19223 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19224 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19225 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19226 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19227 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19228
19229 * image-dired.el (image-dired-display-thumbs): Remove unused
19230 variables `curr-file' and `count'.
19231 (image-dired-remove-tag): Remove unused variable `start'.
19232 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19233 variable `curr-file'
19234 (image-dired-rotate-original): Remove unused variable `temp-file'.
19235 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19236 Remove unused variable `file'.
19237 (image-dired-gallery-generate): Remove unused variable `curr'.
19238 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19239
19240 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19241
19242 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19243
19244 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19245
19246 * isearch.el (minibuffer-history-symbol): Declare.
19247 (isearch-edit-string): Remove unused variable `err'.
19248 (isearch-message-prefix, isearch-message-suffix):
19249 Mark unused parameters.
19250
19251 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19252
19253 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19254
19255 * makesum.el (double-column): Remove unused variable `cnt'.
19256
19257 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19258 (ido-ignore-item-temp-list): Declare.
19259
19260 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19261 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19262 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19263 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19264 `mouse-col-delta'.
19265
19266 * mouse-sel.el (mouse-extend-internal):
19267 Remove unused variable `orig-window-frame'.
19268
19269 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19270 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19271 Move declarations before first use.
19272 (pcomplete-opt): Mark unused parameters; doc fix.
19273
19274 * proced.el (proced-revert): Mark unused parameter.
19275 (proced-send-signal): Remove unused variable `err'.
19276
19277 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19278 Rename parameter PREFIX-ARG to ARG.
19279 (ps-basic-plot-string, ps-basic-plot-whitespace):
19280 Mark unused parameters.
19281
19282 * replace.el (replace-count): Define.
19283 (occur-revert-function): Mark unused parameters.
19284 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19285 (isearch-case-fold-search, isearch-string): Declare.
19286 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19287 bind `case-fold-search'. Remove unused variables `beg' and `end',
19288 and simplify.
19289 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19290 COUNT and bind `replace-count'.
19291 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19292 to COUNT.
19293
19294 * savehist.el (print-readably, print-string-length): Declare.
19295
19296 * shadowfile.el (shadow-expand-cluster-in-file-name):
19297 Remove unused variable `cluster'.
19298 (shadow-copy-file): Remove unused variable `i'.
19299 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19300 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19301 (shadow-define-literal-group, shadow-define-regexp-group)
19302 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19303
19304 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19305 (shell): Use `called-interactively-p'.
19306 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19307
19308 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19309 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19310 (delete-backward-char): Remove unused variable `ocol'.
19311 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19312 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19313 (event-apply-hyper-modifier, event-apply-shift-modifier)
19314 (event-apply-control-modifier, event-apply-meta-modifier):
19315 Mark unused parameters.
19316 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19317 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19318
19319 * speedbar.el (speedbar-ignored-directory-expressions)
19320 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19321 (speedbar-find-file, speedbar-dir-follow)
19322 (speedbar-directory-buttons-follow, speedbar-tag-find)
19323 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19324 (speedbar-buffers-line-directory, speedbar-buffer-click):
19325 Mark unused parameters.
19326 (speedbar-tag-file): Remove unused variable `mode'.
19327 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19328
19329 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19330
19331 * talk.el (talk): Remove unused variable `display'.
19332
19333 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19334 (tar-write-region-annotate): Mark unused parameter.
19335
19336 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19337 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19338 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19339 warning by another.
19340
19341 * time-stamp.el (time-stamp-string-preprocess):
19342 Remove unused variable `require-padding'.
19343
19344 * tree-widget.el (widget-glyph-enable): Declare.
19345 (tree-widget-action): Mark unused parameter.
19346
19347 * w32-fns.el (x-get-selection): Mark unused parameter.
19348 (autoload-make-program, generated-autoload-file): Declare.
19349
19350 * wdired.el (wdired-revert): Mark unused parameters.
19351 (wdired-xcase-word): Remove unused variable `err'.
19352
19353 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19354 (whitespace-help-scroll): Remove unused variable `data-help'.
19355
19356 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19357 (widget-image-insert, widget-after-change, default)
19358 (widget-default-format-handler, widget-default-notify)
19359 (widget-default-prompt-value, widget-info-link-action)
19360 (widget-url-link-action, widget-function-link-action)
19361 (widget-variable-link-action, widget-file-link-action)
19362 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19363 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19364 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19365 (widget-insert-button-action, widget-delete-button-action, visibility)
19366 (widget-documentation-link-action, widget-documentation-string-action)
19367 (widget-const-prompt-value, widget-regexp-match, symbol)
19368 (widget-coding-system-prompt-value)
19369 (widget-key-sequence-value-to-external, sexp)
19370 (widget-sexp-value-to-internal, character, vector, cons)
19371 (widget-choice-prompt-value, widget-boolean-prompt-value)
19372 (widget-color--choose-action): Mark unused parameters.
19373 (widget-item-match-inline, widget-choice-match-inline)
19374 (widget-checklist-match, widget-checklist-match-inline)
19375 (widget-group-match): Rename parameter VALUES to VALS.
19376 (widget-field-value-set): Remove unused variable `size'.
19377 (widget-color-action): Remove unused variables `value' and `start'.
19378
19379 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19380 variable `dir'. Doc fix.
06b60517
JB
19381 (windmove-find-other-window): Don't pass it.
19382
19383 * window.el (count-windows): Mark unused parameter.
19384 (bw-adjust-window): Remove unused variable `err'.
19385
19386 * woman.el (woman-file-name): Remove unused variable `default'.
19387 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19388 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19389 (global-font-lock-mode): Declare.
19390 (woman-decode-region): Mark unused parameter.
19391 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19392
19393 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19394 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19395 (x-dnd-handle-moz-url): Remove unused variable `title'.
19396 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19397
19398 * xml.el (xml-parse-tag, xml-parse-attlist):
19399 Remove unused variable `pos'.
19400
bc4f7f3d
GM
194012011-04-19 Glenn Morris <rgm@gnu.org>
19402
19403 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19404 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19405 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19406 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19407 * calendar/cal-html.el (cal-html-insert-minical):
19408 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19409 (calendar-mark-date-pattern):
19410 Prefix "unused" locals.
19411
19412 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19413 optional argument `style'.
19414
19415 * calendar/appt.el (appt-make-list):
19416 * calendar/cal-china.el (calendar-chinese-date-string):
19417 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19418 (diary-hebrew-yahrzeit):
19419 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19420 * calendar/calendar.el (calendar-generate-window):
19421 * calendar/time-date.el (time-to-days):
19422 Remove unused local variables.
19423
16a43933
CY
194242011-04-18 Chong Yidong <cyd@stupidchicken.com>
19425
19426 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19427 glyphless-char-display table.
19428 (tabulated-list-glyphless-char-display): New var.
19429
7eed1860
SS
194302011-04-18 Sam Steingold <sds@gnu.org>
19431
19432 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19433 to acknowledgments.
19434
4d2d1ccd
GM
194352011-04-17 Glenn Morris <rgm@gnu.org>
19436
19437 * calendar/diary-lib.el (diary-sexp-entry):
19438 * calendar/holidays.el (holiday-sexp):
19439 Set debug-on-error rather than the removed stack-trace-on-error.
19440
239da61d
GM
194412011-04-16 Glenn Morris <rgm@gnu.org>
19442
19443 * progmodes/f90.el: Use lexical-binding.
19444 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19445
8b05752a
SM
194462011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19447
daca8ba5
SM
19448 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19449 (mail-mode): Setup mailalias completion here instead.
19450 * mail/mailalias.el: Use lexical-binding.
19451 (pattern, mailalias-done): Declare dynamic.
19452 (mail-completion-at-point-function): New function, from mail-complete.
19453 (mail-complete): Use it.
19454 (mail-completion-expand): New function.
19455 (mail-get-names): Use it.
19456 (mail-directory, mail-directory-process, mail-directory-stream):
19457 Don't use `pattern' for lexically bound arg.
19458
6f542485
SM
19459 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19460
037e7c3f
SM
19461 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19462 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19463 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19464
8b05752a
SM
19465 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19466 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19467 (byte-interactive-p): Define them again, for use when inlining
19468 old code.
19469
49093f60
JB
194702011-04-15 Juanma Barranquero <lekktu@gmail.com>
19471
19472 * loadup.el: Use `string-to-number', not `string-to-int'.
19473
b5b8e7de
SM
194742011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19475
19476 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19477 gud-gdb-complete-command.
19478 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19479 (gud-gdb-completion-at-point): New function.
19480 (gud-gdb-completions): Remove.
19481
f42efeb5
MA
194822011-04-14 Michael Albinus <michael.albinus@gmx.de>
19483
49093f60
JB
19484 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19485 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19486 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19487 whether `executable-find' is bound.
f42efeb5
MA
19488
19489 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19490
e240cc21
SM
194912011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19492
19493 * minibuffer.el (completion-in-region-mode-predicate)
19494 (completion-in-region-mode--predicate): New vars.
19495 (completion-in-region, completion-in-region--postch)
19496 (completion-in-region-mode): Use them.
19497 (completion--capf-wrapper): Also return the hook function.
19498 (completion-at-point, completion-help-at-point):
19499 Adjust and provide a predicate.
c2bd2ab0
SM
19500
19501 Preserve arg names for advice of subr and lexical functions (bug#8457).
19502 * help-fns.el (help-function-arglist): Consolidate the subr and
19503 new-byte-code cases. Add argument `preserve-names' to extract names
19504 from the docstring when needed.
19505 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19506 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19507 (ad-arglist): Use help-function-arglist's new arg.
19508 (ad-definition-type): Use cond.
19509
c183f693
JB
195102011-04-13 Juanma Barranquero <lekktu@gmail.com>
19511
06641a47
JB
19512 * autorevert.el (auto-revert-handler):
19513 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19514 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19515 Don't quote lambda.
19516
c183f693
JB
19517 * image-mode.el (image-transform-set-scale):
19518 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19519
1e3b6001
G
195202011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19521
19522 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19523 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19524 Upgrades via gnutls-cli are too slow to be done opportunistically.
19525
2d6af8dd
JB
195262011-04-12 Juanma Barranquero <lekktu@gmail.com>
19527
19528 * dframe.el (dframe-current-frame): Remove spurious quote.
19529
c0749a51
GM
195302011-04-12 Glenn Morris <rgm@gnu.org>
19531
088d0d61
GM
19532 * calendar/cal-tex.el (cal-tex-end-document):
19533 Try to automatically use latin1 input if needed.
19534
c0749a51
GM
19535 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19536 Don't try to cons a mark onto an empty element.
19537
5c90fde0
LL
195382011-04-11 Leo Liu <sdl.web@gmail.com>
19539
19540 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19541 buffers.
19542 (ido-kill-buffer-at-head): Support killing virtual buffers.
19543
369e974d
CY
195442011-04-10 Chong Yidong <cyd@stupidchicken.com>
19545
19546 * minibuffer.el (completion-show-inline-help): New var.
19547 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19548 (minibuffer-force-complete, minibuffer-complete-word):
19549 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19550
19551 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19552 to avoid interference from inline help (Bug#5849).
19553
37f1c930
LL
195542011-04-10 Leo Liu <sdl.web@gmail.com>
19555
099c39a4
JB
19556 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19557 Fix typo.
37f1c930 19558
a32d4040
CY
195592011-04-09 Chong Yidong <cyd@stupidchicken.com>
19560
19561 * image-mode.el (image-toggle-display-image): Signal an error if
19562 not in Image mode.
19563 (image-transform-mode, image-transform-resize)
19564 (image-transform-set-rotation): Doc fix.
daca8ba5 19565 (image-transform-set-resize): Delete.
a32d4040
CY
19566 (image-transform-set-scale, image-transform-fit-to-height)
19567 (image-transform-fit-to-width): Handle image-toggle-display-image
19568 and image-transform-resize directly.
19569
099c39a4 195702011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19571
19572 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19573 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19574 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19575 (doc-view-mode-map): Add bindings for the new functions.
19576
099c39a4 195772011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19578
4d61f28d 19579 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19580 Fix typo in docstring.
19581
3726838a
EZ
195822011-04-08 Eli Zaretskii <eliz@gnu.org>
19583
04f33f1e
EZ
19584 * files.el (file-size-human-readable): Produce one digit after
19585 decimal, like "ls -lh" does.
19586
19587 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19588 the file size representation.
19589
3726838a
EZ
19590 * simple.el (list-processes): If async subprocesses are not
19591 available, error out with a clear error message.
19592
cbb59342
CY
195932011-04-08 Chong Yidong <cyd@stupidchicken.com>
19594
19595 * help.el (help-form-show): New function, to be called from C.
19596 Put help-form output in a buffer named differently than *Help*.
19597
e3971c44
EZ
195982011-04-08 Eli Zaretskii <eliz@gnu.org>
19599
19600 * files.el (file-size-human-readable): New function.
19601
19602 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19603 computing the representation inline. Don't require `cl'.
19604
12544bbe
GM
196052011-04-08 Glenn Morris <rgm@gnu.org>
19606
a1de6c6a
GM
19607 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19608
3c4671f4
GM
19609 * net/browse-url.el (browse-url-firefox):
19610 Test system-type, not system-configuration.
19611
b605679c
GM
19612 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19613 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19614 Use log-edit-empty-buffer-p. (Bug#7598)
19615
56442f0c
GM
19616 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19617 (rlogin-mode-map): Initialize in the defvar.
19618 (rlogin): Use ignore-errors.
19619
12544bbe
GM
19620 * replace.el (occur-mode-map): Some fixes for menu items.
19621
eb237b0f
AH
196222011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19623
19624 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19625
7d668f2c
CY
196262011-04-06 Chong Yidong <cyd@stupidchicken.com>
19627
e67a13ab
CY
19628 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19629 issuing unused warnings.
19630
19631 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19632 macro directly.
19633
7d668f2c
CY
19634 * simple.el: Lisp reimplement of list-processes. Based on an
19635 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19636 (process-menu-mode): New major mode.
19637 (list-processes--refresh, list-processes):
19638 (process-menu-visit-buffer): New functions.
19639
19640 * files.el (save-buffers-kill-emacs): Don't assume any return
19641 value of list-processes, which is undocumented anyway.
19642
a83ec3c9
CY
196432011-04-06 Chong Yidong <cyd@stupidchicken.com>
19644
19645 * emacs-lisp/tabulated-list.el: New file.
19646
e91a96fe
CY
19647 * emacs-lisp/package.el: Use Tabulated List mode.
19648 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19649 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19650 table format using Tabulated List mode variables.
19651 (package--push): New macro, replacing package-list-maybe-add.
19652 (package-menu--generate): Use package--push. Renamed from
19653 package--generate-package-list.
19654 (package-menu-refresh, list-packages): Use it.
daca8ba5 19655 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19656 Return insertion data instead of inserting it directly.
099c39a4
JB
19657 (package-menu-describe-package, package-menu-execute):
19658 Use tabulated-list-get-id.
e91a96fe
CY
19659 (package-menu-mark-delete, package-menu-mark-install)
19660 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19661 (package-menu-mark-obsolete-for-deletion):
19662 Use tabulated-list-put-tag.
e91a96fe
CY
19663 (package--list-packages, package-menu-revert)
19664 (package-menu-get-package, package-menu-get-version)
19665 (package-menu-sort-by-column): Functions deleted.
19666 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19667 (package-menu--status-predicate, package-menu--version-predicate)
19668 (package-menu--name-predicate)
19669 (package-menu--description-predicate): Handle arguments in the
19670 Tabulated List format.
19671 (package-list-packages-no-fetch): Call list-packages.
19672
3e214b50
JB
196732011-04-06 Juanma Barranquero <lekktu@gmail.com>
19674
19675 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19676 (after-find-file): Don't bind it.
3e214b50
JB
19677 (revert-buffer-in-progress-p): New variable.
19678 (revert-buffer): Bind it.
19679 Pass nil for `after-find-file-from-revert-buffer'.
19680
19681 * saveplace.el (save-place-find-file-hook): Use new variable
19682 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19683
3f0f1700
GM
196842011-04-06 Glenn Morris <rgm@gnu.org>
19685
c0274801
GM
19686 * Makefile.in (AUTOGEN_VCS): New variable.
19687 (autoloads): Use $AUTOGEN_VCS.
19688
3f0f1700
GM
19689 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19690 * calendar/calendar.el (calendar-mode-map):
19691 Check for toolkit scroll bars. (Bug#8305)
19692
41ea9e48
CY
196932011-04-05 Chong Yidong <cyd@stupidchicken.com>
19694
19695 * minibuffer.el (completion-in-region--postch)
19696 (completion-in-region-mode): Remove unnecessary messages.
19697
6194c800
JB
196982011-04-05 Juanma Barranquero <lekktu@gmail.com>
19699
33256f14
JB
19700 * font-lock.el (font-lock-refresh-defaults):
19701 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19702 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19703
6194c800
JB
19704 * info.el (Info-directory-list, Info-read-node-name-2)
19705 (Info-split-parameter-string): Doc fixes.
19706 (Info-virtual-nodes): Reflow docstring.
19707 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19708 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19709 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19710 Fix typos in docstrings.
19711 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19712 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19713 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19714 (Info-restore-desktop-buffer): Mark unused parameters.
19715 (Info-directory-find-file, Info-directory-find-node)
19716 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19717 (Info-virtual-index-find-node, Info-apropos-find-file)
19718 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19719 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19720 (Info-virtual-index): Remove unused local variable `nodename'.
19721
b87a8200 197222011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19723
b87a8200
DD
19724 * net/rcirc.el: Update my e-mail address.
19725 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19726
3b2ff876
CY
197272011-04-05 Chong Yidong <cyd@stupidchicken.com>
19728
19729 * startup.el (command-line): Save the cursor's theme-face
19730 directly, instead of using face-override-spec.
19731
19732 * custom.el (load-theme): Minor optimization in assigning faces.
19733
8d17e7ca
JB
197342011-04-04 Juanma Barranquero <lekktu@gmail.com>
19735
19736 * help-fns.el (describe-variable): Complete all variables having
19737 documentation, including keywords.
19738 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19739
2fbc1934
JB
197402011-04-04 Juanma Barranquero <lekktu@gmail.com>
19741
19742 Convert to lexical-binding.
19743
19744 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19745 (bs--get-marked-string, bs--get-modified-string)
19746 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19747 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19748 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19749
19750 * ehelp.el (electric-help-execute-extended)
19751 (electric-help-ctrl-x-prefix):
19752 * hexl.el (hexl-revert-buffer-function):
19753 * linum.el (linum-after-change, linum-after-scroll):
19754 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19755
19756 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19757
74f50695
DU
197582011-04-04 Daiki Ueno <ueno@unixuser.org>
19759
19760 * epa-dired.el:
19761 * epa-mail.el:
19762 * epa-hook.el:
19763 * epa-file.el:
19764 * epa.el:
19765 * epg.el: Use lexical binding.
19766
c11325f7
CY
197672011-04-03 Chong Yidong <cyd@stupidchicken.com>
19768
0d9e9a12
CY
19769 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19770
c11325f7 19771 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19772 dictionary case for flyspell-mark-duplications-exceptions.
19773 Use regexp matching for languages.
c11325f7
CY
19774 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19775 default dictionary (Bug#7926).
19776
da91b5f2
CY
197772011-04-02 Chong Yidong <cyd@stupidchicken.com>
19778
099c39a4
JB
19779 * emacs-lisp/package.el (package--with-work-buffer):
19780 Recognize https URLs.
da91b5f2 19781
099c39a4
JB
19782 * net/network-stream.el: Move from gnus/proto-stream.el.
19783 Change prefix to network-stream throughout.
da91b5f2
CY
19784 (open-protocol-stream): Merge into open-network-stream, leaving
19785 open-protocol-stream as an alias. Handle nil BUFFER args.
19786
19787 * subr.el (open-network-stream): Move to net/network-stream.el.
19788
afa8e9f6
GM
197892011-04-02 Glenn Morris <rgm@gnu.org>
19790
1d2e369d
GM
19791 * find-dired.el (find-exec-terminator): New option.
19792 (find-ls-option): Test for -ls support.
19793 (find-ls-subdir-switches): Test for -b in find-ls-option.
19794 (find-dired, find-grep-dired): Doc fixes.
19795 (find-dired): Use find-exec-terminator.
19796
8abb7da8 19797 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19798 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19799 (find-name-arg): Remove purecopy.
8abb7da8 19800
f3ca7378
GM
19801 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19802 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19803 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19804 accordingly. Don't add the null-device if not needed.
19805
afa8e9f6
GM
19806 * files.el (save-some-buffers): Doc fix.
19807
35eae264
EZ
198082011-04-02 Eli Zaretskii <eliz@gnu.org>
19809
19810 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19811
26b51db5
JB
198122011-04-01 Juanma Barranquero <lekktu@gmail.com>
19813
19814 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19815 Use `dolist' rather than `mapcar'.
19816
7200d79c
SM
198172011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19818
03408648 19819 Add lexical binding.
7200d79c 19820
03408648
SM
19821 * subr.el (apply-partially): Use new closures rather than CL.
19822 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19823 (dolist, dotimes): Use slightly different expansion for lexical code.
19824 (functionp): Move to C.
19825 (letrec): New macro.
19826 (with-wrapper-hook): Use it and apply-partially instead of CL.
19827 (eval-after-load): Preserve lexical-binding.
19828 (save-window-excursion, with-output-to-temp-buffer): Turn them
19829 into macros.
7200d79c 19830
03408648
SM
19831 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19832
19833 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19834 than the arglist.
19835 (help-add-fundoc-usage): Don't add `Not documented'.
19836 (help-function-arglist): Handle closures, subroutines, and new
19837 byte-code-functions.
19838 (help-make-usage): Remove leading underscores.
19839 (describe-function-1): Handle closures.
19840 (describe-variable): Use special-variable-p for completion.
19841
19842 * files.el (lexical-binding): Declare safe.
f488fb65 19843
03408648
SM
19844 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19845 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19846 (pcase): Add `let' pattern.
19847 Change memoization so it actually works.
19848 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19849 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19850 <let>: New case.
f488fb65 19851
03408648
SM
19852 * emacs-lisp/macroexp.el: Use lexical binding.
19853 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19854 Don't convert ' to #' without checking that it's indeed quoting
19855 a lambda.
19856
19857 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19858 Use eval-sexp-add-defvars.
03408648
SM
19859 (eval-sexp-add-defvars): New fun.
19860
19861 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19862
19863 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19864 Don't autoload.
19865 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19866 than the internal `byte-compile-lambda'.
19867 (defmethod): Don't hide code under quotes.
19868 (eieio-defmethod): New `code' argument.
19869
19870 * emacs-lisp/eieio-comp.el: Remove.
19871
19872 * emacs-lisp/edebug.el (edebug-eval-defun)
19873 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19874 (edebug-toggle): Avoid `eval'.
19875
19876 * emacs-lisp/disass.el (disassemble-internal): Handle new
19877 `closure' objects.
19878 (disassemble-1): Handle new byte codes.
19879
19880 * emacs-lisp/cl.el (pushnew): Silence warning.
19881
19882 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19883 (cl-byte-compile-throw): Remove.
19884 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19885
19886 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19887 closures.
19888
19889 * emacs-lisp/cconv.el: New file.
19890
19891 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19892 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19893 (byte-compile-initial-macro-environment):
19894 Handle declare-function here.
19895 (byte-compile--lexical-environment): New var.
19896 (byte-stack-ref, byte-stack-set, byte-discardN)
19897 (byte-discardN-preserve-tos): New lap codes.
19898 (byte-interactive-p): Don't use any more.
19899 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19900 New macros.
19901 (byte-compile-lapcode): Use them and handle new lap codes.
19902 (byte-compile-obsolete): Remove.
19903 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19904 (byte-compile-arglist-warn): Check late def of inlinable funs.
19905 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19906 since they should have been expanded by now.
19907 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19908 (byte-compile-from-buffer): Remove unused second arg.
19909 (byte-compile-preprocess): New function.
19910 (byte-compile-toplevel-file-form): New function to distinguish
19911 file-form calls from outside from file-form calls from hunk-handlers.
19912 (byte-compile-file-form): Simplify.
19913 (byte-compile-file-form-defsubst): Remove.
19914 (byte-compile-file-form-defmumble): Simplify now that
19915 byte-compile-lambda always returns a byte-code-function.
19916 (byte-compile): Preprocess.
19917 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19918 Remove, not used any more.
19919 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19920 (byte-compile-make-args-desc): New funs.
19921 (byte-compile-lambda): Handle lexical functions. Always return
19922 a byte-code-function.
19923 (byte-compile-reserved-constants): New var, to make up room for
19924 closed-over variables.
19925 (byte-compile-constants-vector): Obey it.
19926 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19927 (byte-compile-macroexpand-declare-function): New function.
19928 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19929 byte-code-functions.
19930 (byte-compile-form): Check obsolescence here.
19931 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19932 (byte-compile-variable-ref): Remove.
19933 (byte-compile-dynamic-variable-op): New fun.
19934 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19935 (byte-compile-variable-set): New funs.
19936 (byte-compile-discard): Add 2 args.
19937 (byte-compile-stack-ref, byte-compile-stack-set)
19938 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19939 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19940 macroexpand-all instead.
19941 (byte-compile-quote-form): Remove.
19942 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19943 (byte-compile-bind, byte-compile-unbind): New funs.
19944 (byte-compile-let): Handle let* and lexical binding.
19945 (byte-compile-let*): Remove.
19946 (byte-compile-catch, byte-compile-unwind-protect)
19947 (byte-compile-track-mouse, byte-compile-condition-case):
19948 Handle a new :fun-body form, used for lexical scoping.
19949 (byte-compile-save-window-excursion)
19950 (byte-compile-with-output-to-temp-buffer): Remove.
19951 (byte-compile-defun): Simplify.
19952 (byte-compile-stack-adjustment): New fun.
19953 (byte-compile-out): Use it.
19954 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19955
19956 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19957 handler any more.
19958
19959 * emacs-lisp/byte-opt.el: Use lexical binding.
19960 (byte-inline-lapcode): Remove (to bytecomp).
19961 (byte-compile-inline-expand): Pay attention to inlining to/from
19962 lexically bound code.
19963 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19964 any more.
19965 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19966 any more and don't call compiler-macros.
19967 (byte-compile-splice-in-already-compiled-code): Remove.
19968 (byte-code): Don't inline any more.
19969 (disassemble-offset): Receive `bytes' as argument rather than via
19970 dynamic scoping.
19971 (byte-compile-tag-number): Declare before first use.
19972 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19973 `return' even if make-spliceable.
19974 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19975 obsolete interactive-p.
19976 (byte-optimize-lapcode): Optimize new lap-codes.
19977 Don't trip up on new form of `byte-constant' lap code.
19978
19979 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19980
19981 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19982
19983 * custom.el (custom-initialize-default, custom-declare-variable):
19984 Use `defvar'.
19985
19986 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19987 New variables.
19988 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19989 (COMPILE_FIRST): Add macroexp and cconv.
19990 * makefile.w32-in: Mirror changes in Makefile.in.
19991
19992 * vc/cvs-status.el:
19993 * vc/diff-mode.el:
19994 * vc/log-edit.el:
19995 * vc/log-view.el:
19996 * vc/smerge-mode.el:
19997 * textmodes/bibtex-style.el:
090bd7cb 19998 * textmodes/css-mode.el:
03408648
SM
19999 * startup.el:
20000 * uniquify.el:
da91b5f2
CY
20001 * minibuffer.el:
20002 * newcomment.el:
20003 * reveal.el:
20004 * server.el:
20005 * mpc.el:
20006 * emacs-lisp/smie.el:
20007 * doc-view.el:
20008 * dired.el:
03408648
SM
20009 * abbrev.el: Use lexical binding.
20010
0f0c1f27
EZ
200112011-04-01 Eli Zaretskii <eliz@gnu.org>
20012
20013 * info.el (info-display-manual): New function.
20014
c82b2579
SM
200152011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20016
20017 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20018
221ddf68
TH
200192011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20020
20021 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20022 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20023
cba6e77e
GM
200242011-03-31 Glenn Morris <rgm@gnu.org>
20025
e040639f
GM
20026 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20027
cba6e77e
GM
20028 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20029
6d0f1c9e
CS
200302011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20031
20032 * progmodes/python.el (python-default-interpreter)
20033 (python-python-command-args, python-jython-command-args)
20034 (python-which-shell, python-which-args, python-which-bufname)
20035 (python-file-queue, python-comint-output-filter-function)
20036 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20037 variables and functions.
20038
3e2d70fd
SM
200392011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20040
20041 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20042 (completion-in-region-mode): New minor mode.
20043 (completion-in-region): Use it.
20044 (completion-in-region--data, completion-in-region-mode-map): New vars.
20045 (completion-in-region--postch): New function.
20046 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20047 New vars.
20048 (completion--capf-wrapper): New function.
20049 (completion-at-point): Use it to track well-behavedness of
20050 hook functions.
20051 (completion-help-at-point): New command.
20052
f3e4086c
JM
200532011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20054
20055 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20056 syntax class to search for whitespace on a single line
20057 (Message-ID: <4D938140.4030905@redhat.com>).
20058
eb7ffc14
LL
200592011-03-30 Leo Liu <sdl.web@gmail.com>
20060
20061 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20062 New commands.
20063 (edit-abbrevs-map): Bind them here.
20064 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20065
d806ab68
KM
200662011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20067
20068 * allout.el (allout-hide-by-annotation, allout-flag-region):
20069 Reduce possibility of overlay leakage by making them volatile.
20070
20071 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20072 hash is not shared between buffers. Mode initialization is
20073 responsible for giving it a useful starting value.
20074 (allout-item-span): Reduce possibility of overlay leakage by
20075 making them volatile.
20076 (allout-widgets-count-buttons-in-region): Add diagnostic function
20077 for tracking down button overlay leaks.
20078
ea622834
LL
200792011-03-29 Leo Liu <sdl.web@gmail.com>
20080
20081 * ido.el (ido-read-internal): Use the default history var
20082 minibuffer-history if no HISTORY is specified.
20083
b62f8267
G
200842011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20085
03408648
SM
20086 * net/imap.el (imap-shell-open, imap-process-connection-type):
20087 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20088 Kerberos, SSL, other subprocesses.
20089
947b6566
LL
200902011-03-28 Leo Liu <sdl.web@gmail.com>
20091
20092 * abbrev.el (abbrev-table-empty-p): New function.
20093 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20094 nonempty ones. (Bug#5937)
20095
5ffb62aa
JD
200962011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20097
20098 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20099
7a097943
LL
201002011-03-27 Leo Liu <sdl.web@gmail.com>
20101
20102 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20103 for foreground and background colors.
20104 (ansi-color-make-color-map): Adapt.
20105
c5b40130
LL
201062011-03-25 Leo Liu <sdl.web@gmail.com>
20107
1f48f7d2
LL
20108 * midnight.el (midnight-time-float): Remove. Note it calculates
20109 the microsecond component incorrectly and seconds-to-time does the
20110 same job.
625897ec 20111 Remove redundant (require 'timer).
1f48f7d2 20112
c5b40130
LL
20113 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20114 (ido-completions): Remove unused arguments. (Bug#8329)
20115
d86d2721
SM
201162011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20117
20118 * minibuffer.el (completion--flush-all-sorted-completions):
20119 Remove itself from hook.
20120 (completion-at-point): Let the functions perform the completion
20121 immediately and return nil or t.
20122 * comint.el (comint-dynamic-complete-functions): Now identical to
20123 completion-at-point-functions.
20124 (comint-dynamic-list-input-ring): Remove unused var `index'.
20125 (comint--match-partial-filename, comint--unquote&expand-filename):
20126 New funs, split from comint-match-partial-filename.
20127 (comint-dynamic-complete): Use completion-at-point.
20128 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20129
e8974c48
DA
201302011-03-24 Drew Adams <drew.adams@oracle.com>
20131
20132 * thingatpt.el: Support `defun'.
20133
def71b5e
LL
201342011-03-23 Leo Liu <sdl.web@gmail.com>
20135
cb5af48e
LL
20136 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20137
def71b5e
LL
20138 * help-mode.el (help-mode-finish): Tweak regexp.
20139
927c53e7
GM
201402011-03-23 Glenn Morris <rgm@gnu.org>
20141
18d05bed
GM
20142 * eshell/esh-opt.el (eshell-eval-using-options):
20143 Do not bind unused local variable `eshell-option-stub'.
20144
927c53e7
GM
20145 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20146
9d0da923
JB
201472011-03-22 Juanma Barranquero <lekktu@gmail.com>
20148
20149 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20150 keymap variable in `with-no-warnings' to avoid a warning when the
20151 keymap has been already `defconst'ed.
20152
4b978a67
LL
201532011-03-22 Leo Liu <sdl.web@gmail.com>
20154
20155 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20156 encode all chars in abbrevs; otherwise use emacs-mule or
20157 utf-8-emacs. (Bug#8308)
20158
5fd62452
JB
201592011-03-22 Juanma Barranquero <lekktu@gmail.com>
20160
0b1596c6
JB
20161 * simple.el (backward-delete-char-untabify):
20162 Avoid warning about using `delete-backward-char'.
20163
5fd62452
JB
20164 * image.el (image-type-file-name-regexps): Make it variable.
20165 `imagemagick-register-types' modifies it, and the user may want
20166 to add new extensions for known image types.
20167 (imagemagick-register-types): Throw error if not using ImageMagick.
20168
0b4e93f1
LL
201692011-03-22 Leo Liu <sdl.web@gmail.com>
20170
20171 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20172 located before rcirc-prompt-end-marker.
20173 (rcirc-complete): Error if point is not after rcirc prompt.
20174 Handle the case when table is nil.
9882e214 20175 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20176
fccee4ab
CY
201772011-03-22 Chong Yidong <cyd@stupidchicken.com>
20178
20179 * custom.el (custom--inhibit-theme-enable): Make it affect only
20180 custom-theme-set-variables and custom-theme-set-faces.
20181 (provide-theme): Ignore custom--inhibit-theme-enable.
20182 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20183 (custom-enabling-themes): Delete variable.
d86d2721
SM
20184 (enable-theme): Accept only loaded themes as arguments.
20185 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20186 (custom-enabled-themes): Forbid themes from setting this.
20187 Eliminate use of custom-enabling-themes.
20188 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20189
af896da6
LL
201902011-03-21 Leo Liu <sdl.web@gmail.com>
20191
20192 * ido.el (ido-read-internal): Add ido-selected to history instead
20193 of user input.
20194
78f64af0
SM
201952011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20196
20197 * subr.el (deferred-action-list, deferred-action-function):
20198 Mark obsolete.
20199
b16ac1ec
LL
202002011-03-21 Leo Liu <sdl.web@gmail.com>
20201
810f7698
LL
20202 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20203 change on 2011-02-13 (bug#8309).
20204
b16ac1ec
LL
20205 * minibuffer.el (read-file-name-function): Change default value.
20206 (read-file-name--defaults): Rename from read-file-name-defaults.
20207 (read-file-name-default): Rename from read-file-name.
20208 (read-file-name): Call read-file-name-function.
20209
4e05e67e
GM
202102011-03-21 Glenn Morris <rgm@gnu.org>
20211
20212 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20213 Doc fixes.
20214
4359915b
CY
202152011-03-21 Chong Yidong <cyd@stupidchicken.com>
20216
20217 * cus-theme.el: Add missing provide statement.
20218 (customize-create-theme): Extract theme value correctly.
20219 (custom-theme-visit-theme): Autoload.
20220 (customize-create-theme): Prompt before inserting default faces.
20221
1fe275ee
JB
202222011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20223
20224 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20225 units and musical notes.
20226
cd394be1 202272011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20228
20229 * ido.el (ido-read-internal): Use completing-read-default.
20230 (ido-completing-read): Fix compatibility with completing-read.
20231
7d476bde
CO
202322011-03-20 Christian Ohler <ohler@gnu.org>
20233
20234 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20235 (ert-delete-all-tests): Use `called-interactively-p' rather than
20236 `interactive-p'.
20237 (ert--make-xrefs-region): Respect END.
20238
fe0fb33e
CY
202392011-03-19 Chong Yidong <cyd@stupidchicken.com>
20240
ff854b0b
CY
20241 * dired-aux.el (dired-create-directory): Signal an error if the
20242 directory already exists (Bug#8246).
20243
fe0fb33e
CY
20244 * facemenu.el (list-colors-display): Call list-faces-display
20245 inside with-help-window.
20246 (list-colors-print): Use display property to align the final
20247 column, instead of checking window-width.
20248
576bce32
EZ
202492011-03-19 Eli Zaretskii <eliz@gnu.org>
20250
4d61f28d 20251 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20252 windows-nt systems.
20253 (emerge-protect-metachars): Quote correctly for ms-dos and
20254 windows-nt systems.
20255
89c41d68 202562011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20257
20258 * info.el (info-initialize): Replace all uses of `:' with
20259 path-separator for compatibility with non-Unix systems.
20260 Cache quoting of path-separator. (Bug#8258)
20261
b14e3e21 202622011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20263
20264 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20265 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20266 (mouse-avoidance-mode): Fix typos in docstrings.
20267
4525ce3e
CY
202682011-03-19 Chong Yidong <cyd@stupidchicken.com>
20269
20270 * startup.el (package-subdirectory-regexp): Move from package.el.
20271 Omit \\` and \\', and let callers add them.
20272
20273 * emacs-lisp/package.el (package-strip-version)
20274 (package-load-all-descriptors): Add \\` and \\' to
20275 package-subdirectory-regexp before using it.
20276 (package-untar-buffer): New arg DIR; ensure that file untars only
20277 into this expected directory. Remove superfluous delete-region.
20278 (package-unpack): Caller changed.
20279 (package-tar-file-info): Use package-subdirectory-regexp.
20280
a904a09a 202812011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20282
a904a09a
SM
20283 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20284 diff-mode-shared-map (bug#8284).
20285 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20286
202872011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20288
20289 * calendar/time-date.el (format-seconds): Use assoc instead of
20290 assoc-string, since assoc-string doesn't exist in XEmacs.
20291
171fc304
JB
202922011-03-17 Juanma Barranquero <lekktu@gmail.com>
20293
20294 * custom.el (custom-known-themes): Reflow docstring.
20295 (custom-theme-load-path): Fix typo in docstring.
20296 (load-theme): Fix typo in error message.
20297 (custom-available-themes, custom-variable-theme-value):
20298 Use `let', not `let*'.
20299
d71990a1
JB
203002011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20301
20302 * calc/README: Mention inclusion of musical notes.
20303
20304 * calc/calc-units.el (calc-lu-quant): Rename from
20305 `calc-logunits-quantity'.
20306 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20307 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20308 (calc-db): Rename from `calc-dblevel'.
20309 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20310 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20311 (calc-np): Rename from `calc-nplevel'.
20312 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20313 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20314 (calc-lu-plus): Rename from `calc-logunits-add'.
20315 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20316 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20317 (calc-lu-minus): Rename from `calc-logunits-sub'.
20318 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20319 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20320 (calc-lu-times): Rename from `calc-logunits-mul'.
20321 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20322 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20323 (calc-lu-divide): Rename from `calc-logunits-div'.
20324 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20325 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20326
20327 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20328 functions being autoloaded.
20329
20330 * calc/calc.el (calc-lu-power-reference): Rename from
20331 `calc-logunits-power-reference'.
20332 (calc-lu-field-reference): Rename from
20333 `calc-logunits-field-reference'.
20334
7a71b18d
GM
20335 * calc/calc-help.el (calc-l-prefix-help):
20336 Mention musical note functions.
d71990a1 20337
40c2934b
SM
203382011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20339
20340 * minibuffer.el (completion-all-sorted-completions):
20341 Use :completion-cycle-penalty text property if present.
20342
b0911414
KM
203432011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20344
20345 * allout.el (allout-yank-processing): Adjust for new rebulleting
20346 regime so bullet being yanked is used without prompting the user
20347 for a choice.
20348
8a05b668
JB
203492011-03-16 Juanma Barranquero <lekktu@gmail.com>
20350
20351 * startup.el (command-line): Warn the user that _emacs is deprecated.
20352
5ba5fb81
JB
203532011-03-16 Juanma Barranquero <lekktu@gmail.com>
20354
20355 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20356 (delphi-verbose, delphi-comment-face, delphi-string-face)
20357 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20358 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20359 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20360 (delphi-new-comment-line, delphi-font-lock-defaults)
20361 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20362 Fix typos in docstrings.
20363
2dab465b
KM
203642011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20365
5ba5fb81 20366 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20367 Invert the roles of character and string values for INSTEAD, so a
20368 string is used for the more common case of a defaulting prompt.
20369
0adf5618
SM
203702011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20371
20372 * progmodes/ruby-mode.el (ruby-backward-sexp):
20373 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20374 * play/gamegrid.el (gamegrid-make-face):
20375 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20376 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20377 * notifications.el (notifications-notify):
20378 * net/xesam.el (xesam-search-engines):
20379 * net/quickurl.el (quickurl-list-insert):
20380 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20381
d72700e5
CY
203822011-03-15 Chong Yidong <cyd@stupidchicken.com>
20383
20384 * startup.el (command-line): Update package subdirectory regexp.
20385
49c5410a
SM
203862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20387
c6eee9aa
SM
20388 * allout.el (allout-abbreviate-flattened-numbering)
20389 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20390
49c5410a
SM
20391 * subr.el (read-char-choice): Only show the cursor after the prompt,
20392 not after the answer.
20393
047b2bb9
KR
203942011-03-15 Kevin Ryde <user42@zip.com.au>
20395
20396 * help-fns.el (variable-at-point): Skip leading quotes, if any
20397 (bug#8253).
20398
0a57d256
SM
203992011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20400
20401 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20402 warning message.
20403
77c992bc
MA
204042011-03-14 Michael Albinus <michael.albinus@gmx.de>
20405
20406 * shell.el (shell): When called interactively, offer to change the
20407 shell file name on remote hosts.
20408
eebc475d
TZ
204092011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20410
20411 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20412 integration for LDAP parameters. The host, base, user or binddn,
20413 and secret tokens can be specified in a netrc file, for instance.
20414 This is optional because an `auth-source' parameter must be
20415 specified in the search attributes.
20416
9d05d1ba
JB
204172011-03-13 Juanma Barranquero <lekktu@gmail.com>
20418
20419 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20420
09d9db2c
GM
204212011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20422
20423 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20424 into declaration. Remove redundant and harmful binding.
20425
204262011-03-12 Eli Zaretskii <eliz@gnu.org>
20427
20428 * files.el (file-ownership-preserved-p): Pass `integer' as an
20429 explicit 2nd argument to `file-attributes'. If the file's owner
20430 is the Administrators group on Windows, and the current user is
20431 Administrator, consider that a match.
20432
20433 * server.el (server-ensure-safe-dir): Consider server directory
20434 safe on MS-Windows if its owner is the Administrators group while
20435 the current Emacs user is Administrator. Use `=' to compare
20436 numerical UIDs, since they could be integers or floats.
20437
219bd536
JB
204382011-03-12 Juanma Barranquero <lekktu@gmail.com>
20439
20440 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20441
f3afd36b
MA
204422011-03-12 Michael Albinus <michael.albinus@gmx.de>
20443
20444 Sync with Tramp 2.2.1.
20445
20446 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20447
20448 * net/trampver.el: Update release number.
20449
3aaaa6f1
SM
204502011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20451
94642599
SM
20452 * progmodes/compile.el (compilation--previous-directory): Fix up
20453 various nil/dead-marker mismatches (bug#8014).
20454 (compilation-directory-properties, compilation-error-properties):
20455 Don't call it at a position past the one we're about to change.
20456
3aaaa6f1
SM
20457 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20458 Disable obsolescence warnings in the file that declares it.
20459
14239447
KM
204602011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20461
099c39a4
JB
20462 * allout-widgets.el (allout-widgets-tally):
20463 Initialize allout-widgets-tally as a hash table rather than nil to
20464 prevent mode-line redisplay warnings. Also, clarify the module
20465 description and fix a comment typo.
14239447 20466
135e287c
JB
204672011-03-11 Juanma Barranquero <lekktu@gmail.com>
20468
20469 * help-fns.el (describe-variable): Don't complete keywords.
20470 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20471
ffbf300e
CY
204722011-03-10 Chong Yidong <cyd@stupidchicken.com>
20473
ba08b241
CY
20474 * emacs-lisp/package.el (package-version-join): Impose a standard
20475 string representation for pre/alpha/beta version lists.
20476 (package-unpack-single): Standardize the directory name by passing
20477 it through package-version-join.
20478 (package-strip-rcs-id): Accept any version string that does not
20479 signal an error in version-to-list.
ffbf300e 20480
f346fd6b
MA
204812011-03-10 Michael Albinus <michael.albinus@gmx.de>
20482
20483 * simple.el (delete-trailing-whitespace): Return nil for the
20484 benefit of `write-file-functions'.
20485
ccb55d27
GM
204862011-03-10 Glenn Morris <rgm@gnu.org>
20487
5ceaac0c
GM
20488 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20489
02da65ff
GM
20490 * vc/vc-git.el (vc-git-program): New option.
20491 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20492 (vc-git--call): Use it.
20493
b2f603cc
GM
20494 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20495
5772caab
GM
20496 * cus-edit.el (Custom-newline): If no button at point, look
20497 for a subgroup button at start-of-line. (Bug#2298)
20498
ccb55d27
GM
20499 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20500
ec6ecaed
JD
205012011-03-10 Julien Danjou <julien@danjou.info>
20502
20503 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20504 `cursor-type' is nil.
20505
9d5aa01d
JB
205062011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20507
20508 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20509
b6a5875b
KM
205102011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20511
7a71b18d 20512 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20513 preserves the existing header prefix, rebulleting it if necessary,
20514 rather than replacing it. This is necessary for proper operation
20515 of cooperative addons like allout-widgets.
1154d12e
JB
20516 (allout-make-topic-prefix, allout-rebullet-heading):
20517 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20518 value as alternate bullet to be used, instead of prompting the user
20519 for a bullet character.
b6a5875b 20520
ee545c35
MA
205212011-03-09 Michael Albinus <michael.albinus@gmx.de>
20522
d86d2721
SM
20523 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20524 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20525 `tramp-default-port'.
20526
c47971d7
DD
205272011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20528
20529 * net/rcirc.el (rcirc-handler-001): Remove useless
20530 with-rcirc-process-buffer.
20531 (rcirc-check-auth-status): Swap arguments to string-match.
20532
13522cb4
GM
205332011-03-09 Glenn Morris <rgm@gnu.org>
20534
0be6f4f1
GM
20535 * shell.el (shell-mode):
20536 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20537
13522cb4
GM
20538 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20539 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20540
515de2e3
CY
205412011-03-08 Chong Yidong <cyd@stupidchicken.com>
20542
20543 * emacs-lisp/package.el (package-refresh-contents)
20544 (package-menu-execute): Use condition-case-no-debug.
20545
b511b994
MA
205462011-03-08 Michael Albinus <michael.albinus@gmx.de>
20547
20548 * simple.el (shell-command-to-string): Use `process-file'.
20549
20550 * emacs-lisp/package.el (package-tar-file-info): Handle also
20551 remote files.
20552
d86d2721
SM
20553 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20554 Use `equal' for upload base check.
b511b994 20555
25bbfb31
AM
205562011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20557
20558 * textmodes/texinfo.el (texinfo-environments):
20559 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20560
be996521
GM
205612011-03-08 Glenn Morris <rgm@gnu.org>
20562
e9c8529f
GM
20563 * cus-start.el (cursor-in-non-selected-windows):
20564 Fix :set quoting oddness. (Bug#8192)
20565
be996521
GM
20566 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20567 in some setf expressions. (Bug#2159)
20568
2bb5649e
CY
205692011-03-08 Chong Yidong <cyd@stupidchicken.com>
20570
20571 * custom.el (custom-available-themes): Return themes in
20572 alphabetical order.
20573
33383987 20574See ChangeLog.15 for earlier changes.
e3d51b27
MR
20575
20576;; Local Variables:
20577;; coding: utf-8
e3d51b27
MR
20578;; End:
20579
acaf905b 20580 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20581
20582 This file is part of GNU Emacs.
20583
20584 GNU Emacs is free software: you can redistribute it and/or modify
20585 it under the terms of the GNU General Public License as published by
20586 the Free Software Foundation, either version 3 of the License, or
20587 (at your option) any later version.
20588
20589 GNU Emacs is distributed in the hope that it will be useful,
20590 but WITHOUT ANY WARRANTY; without even the implied warranty of
20591 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20592 GNU General Public License for more details.
20593
20594 You should have received a copy of the GNU General Public License
20595 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.