* lisp/vc/diff-mode.el (diff-hunk): `save-excursion' while refining.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9c3e39f3
SM
12012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4 (bug#12671).
5
a6709bc7
GM
62012-10-23 Glenn Morris <rgm@gnu.org>
7
8 * progmodes/gud.el (gud-menu-map):
9 Check gdb-active-process is bound. (Bug#12358)
10
d1069532
SM
112012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
12
d20d69c0
SM
13 * repeat.el (repeat): Set real-this-command (bug#12232).
14
d1069532
SM
15 * htmlfontify.el (hfy-post-html-hook):
16 * filesets.el (filesets-cache-fill-content-hook):
17 * arc-mode.el (archive-extract-hook):
18 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
19 * net/rcirc.el (rcirc-sentinel-functions)
20 (rcirc-receive-message-functions, rcirc-activity-functions)
21 (rcirc-print-functions):
22 * net/dbus.el (dbus-event-error-functions):
23 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
24 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
25 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
26 * term/sun.el (sun-raw-prefix-hooks):
27 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
28
f7eac6d8
MA
292012-10-23 Michael Albinus <michael.albinus@gmx.de>
30
d1069532
SM
31 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
32 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
33 (tramp-smb-wait-for-output): Add timeout to
34 `tramp-accept-process-output' calls.
35
608d9d7c
CY
362012-10-23 Chong Yidong <cyd@gnu.org>
37
49238e7f
CY
38 * faces.el (font-list-limit): Define as an obsolete variable.
39
40 * startup.el (command-line):
41 * cus-start.el: Don't refer to font-list-limit.
42
608d9d7c
CY
43 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
44
4ff5b1b2
SM
452012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * subr.el (internal-temp-output-buffer-show): Rename from
48 temp-output-buffer-show, since previously compiled files expect this name.
49
ea1d4aac
GM
502012-10-23 Glenn Morris <rgm@gnu.org>
51
52 * image.el (image-type-from-file-name): If multiple types match,
53 return the first one that is supported. (Bug#9045)
54
eda82a31
GM
552012-10-22 Glenn Morris <rgm@gnu.org>
56
57 * image.el (imagemagick-enabled-types): Doc fix.
58
4f020bec
TA
592012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
60
61 * progmodes/which-func.el (which-func-current): The hash-table may have
62 an explicit nil (bug#12338).
63
c77d37e2
SM
642012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * electric.el (electric-pair-delete-selection-self-insert-function):
67 Rename to electric-pair-will-use-region, return a boolean.
68 (electric-pair-mode): Adjust accordingly. Don't require delsel.
69
70 * delsel.el (delete-selection-helper): Use a function instead of a hook.
71 (delete-selection-pre-hook): Use use-region-p.
72 (delete-selection-self-insert-function): Remove.
73 (self-insert-command): Obey self-insert-uses-region-functions.
74 (self-insert-iso): Revert to previous setting, since we don't actually
75 know what that command does.
76 (delete-selection-self-insert-hooks): Remove.
77
b1d39ccc
SL
782012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
79
80 * delsel.el (delete-selection-helper): New function, extracted from
81 delete-selection-pre-hook.
82 (delete-selection-pre-hook): Use it.
83 (delete-selection-self-insert-function): New function.
84 (delete-selection-self-insert-hooks): New hook.
85 (self-insert-command, self-insert-iso): Use it.
86 * electric.el (electric-pair-syntax): New function, extracted from
87 electric-pair-post-self-insert-function.
88 (electric-pair-post-self-insert-function): Use it.
89 (electric-pair-delete-selection-self-insert-function): New function.
90 (electric-pair-mode): Require delsel and setup
91 delete-selection-self-insert-hooks (bug#11520).
92
045ef729
CY
932012-10-20 Chong Yidong <cyd@gnu.org>
94
4c5d08a8
CY
95 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
96 no changes to show (Bug#12586).
97
045ef729
CY
98 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
99 list explicitly (Bug#12571).
100
3503c798 1012012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 102
b1d39ccc
SL
103 * progmodes/flymake.el (flymake-create-temp-inplace):
104 Use file-truename.
79e1997a 105
2068905b
EZ
1062012-10-20 Eli Zaretskii <eliz@gnu.org>
107
108 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
109
4c9e9550
JB
1102012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
111
112 * calc/calc-units.el (math-extract-units): Properly extract powers
113 of units.
114
1a6e7e38
DC
1152012-10-20 Daniel Colascione <dancol@dancol.org>
116
117 * frame.el (make-frame): Set x-display-name as we used to in order
118 to unbreak creating an X11 frame from an Emacs daemon started
119 without a display.
120
8e808318
SM
1212012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * minibuffer.el (minibuffer-force-complete): Make the next completion use
124 the same completion-field (bug@12221).
125
fb0104da
MR
1262012-10-19 Martin Rudalics <rudalics@gmx.at>
127
128 * emacs-lisp/debug.el (debug): Record height of debugger window
129 also when debugger will be back (Bug#8789).
130
8c27235e
CY
1312012-10-18 Chong Yidong <cyd@gnu.org>
132
133 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
134 Convert to defcustom.
135 (gdb-get-source-file): Don't bind pop-up-windows.
136
137 * progmodes/gud.el (gud-display-line): Don't specially re-use
138 other frames for the gdb-mi case (Bug#12648).
139
90eacf99
SM
1402012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
141
aaf0c300
SM
142 * emacs-lisp/advice.el: Clean up commentary a bit.
143 (ad-do-advised-functions, ad-with-originals): Use `declare'.
144 (byte-code-function-p): Never redefine.
145
90eacf99
SM
146 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
147
281c9d2b
GM
1482012-10-18 Glenn Morris <rgm@gnu.org>
149
40714e3d
GM
150 * dired.el (dired-sort-toggle): Some ls implementations only allow
151 a single option string. (Bug#12666)
152
281c9d2b
GM
153 * minibuffer.el (completion-cycle-threshold): Doc fix.
154
b278604e
KH
1552012-10-17 Kenichi Handa <handa@gnu.org>
156
90eacf99
SM
157 * international/mule.el (set-keyboard-coding-system):
158 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
159 Supply TERMINAL arg to set-input-meta-mode.
160
7ebc5f5a
MH
1612012-10-17 Michael Heerdegen <michael_heerdegen@web.de> (tiny change)
162
163 * wdired.el (wdired-old-marks): New variable.
164 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
165 (wdired-do-renames): Move point with renamed file and don't lose
166 mark status (Bug#11795).
167
e5a94ec4
JL
1682012-10-16 Juri Linkov <juri@jurta.org>
169
170 * replace.el (query-replace-help): Mention multi-buffer replacement
171 keys in the Help message. (Bug#12655)
172
d18a0d24
CY
1732012-10-15 Chong Yidong <cyd@gnu.org>
174
175 * emacs-lisp/byte-run.el (defsubst): Doc fix.
176
8111f5e6
EZ
1772012-10-14 Eli Zaretskii <eliz@gnu.org>
178
7b9abf24
EZ
179 * window.el (display-buffer): Doc fix.
180
8111f5e6
EZ
181 * progmodes/compile.el (compilation-error-regexp-alist-alist):
182 Adjust the msft regexp to the output of Studio 2010, and move msft
183 before edg-1. See the discussion on emacs-devel,
184 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
185 for the details.
186
5046ef67
SM
1872012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
188
9760c73c
SM
189 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
190 (oset): Move uses of object-class-fast macro after its definition.
191
5046ef67
SM
192 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
193
0d11ff1c
CY
1942012-10-13 Chong Yidong <cyd@gnu.org>
195
196 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
197 enabled, re-enable it (Bug#11963).
198
88ded8ac
MR
1992012-10-13 Martin Rudalics <rudalics@gmx.at>
200
201 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
202 non-nil, restore window configuration (Bug#12623).
203
bd0ffffd
SM
2042012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
205
06485aa8
SM
206 * help-fns.el (describe-variable, describe-function-1):
207 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
208
bd0ffffd
SM
209 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
210
3a989246
GM
2112012-10-12 Glenn Morris <rgm@gnu.org>
212
213 * mail/rmailsum.el (rmail-header-summary):
214 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
215
55cd00c8
FEG
2162012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
217
bd0ffffd
SM
218 * progmodes/python.el (python-mode-map):
219 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
220 (python-nav--up-list): Fix behavior for blocks on the same level.
221
ac9fc2c7
SM
2222012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
223
d8cc4c00 224 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 225
5253a5fd
SM
226 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
227 changes to the format of load-history.
228
ac9fc2c7
SM
229 * international/mule-cmds.el (read-char-by-name): Move let-binding of
230 completion-ignore-case in case that var is buffer-local (bug#12615).
231
cde44a77
KH
2322012-10-11 Kenichi Handa <handa@gnu.org>
233
234 * international/eucjp-ms.el: Re-generated.
235
4ef4a10d
KH
2362012-10-10 Kenichi Handa <handa@gnu.org>
237
238 * select.el (xselect--encode-string): If a coding is specified for
239 selection, and that is compatible with COMPOUND_TEXT, use it.
240
9d7f027b
MR
2412012-10-10 Martin Rudalics <rudalics@gmx.at>
242
243 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
244 (switch-to-buffer):
245 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 246
238f3a58
SM
2472012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
248
249 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
250 Don't document nil as a useful value (bug#12583).
251
1d51f99c
MA
2522012-10-09 Michael Albinus <michael.albinus@gmx.de>
253
238f3a58
SM
254 * net/tramp.el (tramp-debug-message):
255 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
256 (with-tramp-progress-reporter): Rename from
257 `tramp-with-progress-reporter'.
238f3a58
SM
258 (with-tramp-file-property, with-tramp-connection-property):
259 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
260 `with-connection-property', respectively.
261
262 * net/tramp-cache.el: Remove `with-file-property' and
263 `with-connection-property'.
264
265 * net/tramp.el:
266 * net/tramp-gvfs.el:
267 * net/tramp-sh.el:
268 * net/tramp-smb.el: Adapt callees.
269
270 * net/trampver.el: Update release number.
271
26b77251
GM
2722012-10-09 Glenn Morris <rgm@gnu.org>
273
9a5f296f
GM
274 * w32-fns.el (set-message-beep):
275 * term/w32-win.el (set-message-beep): Update declarations.
276
94c66ce5
SM
2772012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
278
10766e9e
SM
279 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
280 (mode-line-widen, mode-line-input-method-map)
281 (mode-line-coding-system-map, mode-line-remote)
282 (mode-line-unbury-buffer, mode-line-bury-buffer)
283 (mode-line-next-buffer, mode-line-previous-buffer):
284 Replace save-selected-window+select-window => with-selected-window.
285
f754db08
SM
286 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
287 * progmodes/cc-vars.el (bq-process): Remove, unused.
288
94c66ce5
SM
289 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
290
a4ff7fe1
FEG
2912012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
292
293 Implemented `backward-up-list'-like navigation.
294 * progmodes/python.el (python-nav-up-list)
295 (python-nav-backward-up-list): New functions.
296 (python-mode-map): Define substitute key for backward-up-list to
297 python-nav-backward-up-list.
298
24517d82
FEG
2992012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
300
301 * progmodes/python.el (python-fill-paragraph): Rename from
302 python-fill-paragraph-function. Fixed fill-paragraph for
303 decorators (Bug#12605).
304
51867ae2
FEG
3052012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
306
307 * progmodes/python.el (python-shell-output-filter): Handle extra
308 carriage return in OSX (Bug#12409).
309
a5b773c4
FEG
3102012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
311
312 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 313 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
314 (python-syntax-propertize-function): Use it.
315 (python-shell-output-syntax-table): New var.
316 (inferior-python-mode): Prevent unbalanced parens/quotes from
317 previous output mess with current input context.
318
13373538
JB
3192012-10-08 Juanma Barranquero <lekktu@gmail.com>
320
321 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
322 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
323
775a132d
MA
3242012-10-08 Michael Albinus <michael.albinus@gmx.de>
325
326 * ffap.el (ffap-replace-file-component): Support Tramp file name
327 syntax, not only ange-ftp's one.
328
3ab44929
GM
3292012-10-08 Glenn Morris <rgm@gnu.org>
330
57f1dee4
GM
331 * cus-start.el (message-log-max): Set :version.
332
3ab44929
GM
333 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
334
6a088630
MR
3352012-10-08 Martin Rudalics <rudalics@gmx.at>
336
337 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
338 the minibuffer window (Bug#10851).
339
8dbce54c
FEG
3402012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
341
342 Enhancements on forward-sexp movement.
343 * progmodes/python.el (python-nav-beginning-of-statement)
344 (python-nav-end-of-statement): Return point-marker.
345 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
346 (python-info-current-symbol)
347 (python-info-statement-starts-block-p): Rename from
348 python-info-beginning-of-block-p.
349 (python-info-statement-ends-block-p): Rename from
350 python-info-end-of-block-p.
351 (python-info-beginning-of-statement-p)
352 (python-info-end-of-statement-p)
353 (python-info-beginning-of-block-p, python-info-end-of-block-p):
354 New functions.
355
5acd2b3e
SM
3562012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
359 frame-selected-windows.
360
e08348a0
DC
3612012-10-08 Daniel Colascione <dancol@dancol.org>
362
363 * battery.el (battery-status-function): Check for
364 w32-battery-status itself, not system-time windows-nt.
365
366 * frame.el: Require cl-lib.
367 (display-format-alist): New variable mapping frame types to
368 functions that initialize them.
369 (window-system-for-display): New function: interprets
370 display-format-alist.
371 (make-frame-on-display): Remove existing display-selection logic
372 and just forward to make-frame, which will now DTRT.
373 (make-frame): Restructure to use window-system-for-display to
374 figure out how to create a frame on a given display.
375 (display-mouse-p): Look for frame-type w32, not a particular
376 system-type.
377
378 * loadup.el: Load w32 lisp code when we have the w32 feature.
379
380 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
381 system-type windows-nt.
382
383 * server.el (server-create-window-system-frame): Look for window
384 type.
385 (server-proces-filter): Only force a window system when windows-nt
386 _and_ w32. Explain why.
387
388 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
389 of window systems we configure for the mode.
390
391 * startup.el (command-line): Mark window system is initialized
392 after we've done it.
393
394 * common-win.el (x-select-text): Look for w32, not windows-nt.
395
396 * ns-win.el: Require cl-lib. Add ourselves to
397 display-format-alist.
398 (ns-initialize-window-system): Assert we're not initialized twice.
399
400 * w32-win.el: Enable lexical binding; require cl-lib; add
401 ourselves to display-format-alist.
402 (w32-handle-dropped-file): Convert incoming dropped files from
403 Windows paths to Cygwin ones before passing them on to the rest of
404 Emacs.
405 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
406 (w32-initialize-window-system): Assert we're not initialized twice.
407
408 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
409 (x-initialize-window-system): Assert we're not initialized twice.
410
411 * w32-common-fns.el: New File.
412 (w32-version, w32-using-nt, w32-get-clipboard-data)
413 (w32-set-clipboard-data, x-set-selection, x-get-selection)
414 (w32-charset-info-alist, x-last-selected, text)
415 (x-get-selection-value, x-selection-value): Move here.
416
417 * w32-fns.el: Require w32-common-fns.
418 (w32-version, w32-using-nt, w32-get-clipboard-data)
419 (w32-set-clipboard-data, x-set-selection, x-get-selection)
420 (w32-charset-info-alist, x-last-selected, text)
421 (x-get-selection-value, x-selection-value): Move to
422 w32-common-fns.
423
424 * w32-vars.el:
425 (w32-allow-system-shell, w32-system-shells): Define only in
426 non-cygwin case.
427
795b1482
SM
4282012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
431 (read-passwd): Remove a few more potential sources of leaks.
432
f27c99dc
FEG
4332012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
434
435 * progmodes/python.el (inferior-python-mode)
795b1482 436 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
437 variables copied from parent buffer.
438
fcacb558
JD
4392012-10-07 Jan Djärv <jan.h.d@swipnet.se>
440
441 * term/ns-win.el (ns-read-file-name): Update declaration to match
442 nsfns.m.
443 (ns-respond-to-change-font): Change fontsize separatly so we are sure
444 it is set when font is acted upon.
445
be0d5bae
FEG
4462012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
447
448 Enhancements to indentation.
449 * progmodes/python.el (python-indent-context): Give priority to
450 inside-string context. Make comments indentation markers.
451 (python-indent-region): Do not mess with strings, unless it's the
452 enclosing set of quotes.
453
13af0d10
SM
4542012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
455
662a9d0e
SM
456 * window.el (internal--before-save-selected-window)
457 (internal--after-save-selected-window): New functions extracted from
458 save-selected-window. Make sure we return the `alist' we construct.
459 (save-selected-window): Use them.
460
461 * textmodes/tex-mode.el (tex-recenter-output-buffer):
462 Use with-selected-window.
463
13af0d10
SM
464 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
465 forms that define macros (bug#12593).
466
6aa75fb6
KH
4672012-10-07 Kenichi Handa <handa@gnu.org>
468
13af0d10
SM
469 * international/mule-conf.el (compound-text-with-extensions):
470 Add :mime-charset property as x-ctext.
6aa75fb6 471
78d876b9
SM
4722012-10-07 Stefan Merten <smerten@oekonux.de>
473
474 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
475 (rst-indent-literal-normal, rst-indent-literal-minimized)
476 (rst-indent-comment): Correct :version tag.
557337e9 477 (rst-official-cvs-rev): Correct version string.
78d876b9 478
99a1e701
GM
4792012-10-07 Glenn Morris <rgm@gnu.org>
480
481 * mail/rmailmm.el (rmail-mime-process-multipart):
482 Do not confuse a multipart message with an epilogue
483 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
484
08f18c3d
FEG
4852012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
486
487 Fix shell output retrieval and comint-prompt-regexp init.
488 * progmodes/python.el (inferior-python-mode):
489 (python-shell-make-comint): Fix initialization of
490 comint-prompt-regexp from copied file local variables.
491 (python-shell-fetched-lines): Remove var.
492 (python-shell-output-filter-in-progress): Rename from
493 python-shell-fetch-lines-in-progress.
494 (python-shell-output-filter-buffer): Rename from
495 python-shell-fetch-lines-string.
496 (python-shell-fetch-lines-filter): Delete function.
497 (python-shell-output-filter): New function.
498 (python-shell-send-string-no-output): Use them.
499
82ed3ab4
GM
5002012-10-07 Glenn Morris <rgm@gnu.org>
501
1595ecfa
GM
502 * hi-lock.el (hi-lock-process-phrase):
503 Try to make it less fragile. (Bug#7161)
504
82ed3ab4
GM
505 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
506
f1f4dba0
GM
5072012-10-06 Glenn Morris <rgm@gnu.org>
508
addc11ed 509 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
510 non-existent mode `help'.
511 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 512
460042b8
GM
513 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
514 (reftex-create-bibtex-footer): Fix custom types.
515
67667c70
GM
516 * progmodes/sh-script.el (sh-indent-after-continuation):
517 Add explicit :group.
518
18dec750
GM
519 * textmodes/rst.el (rst-preferred-decorations)
520 (rst-shift-basic-offset): Clarify obsolescence versions.
521
d1a1c7e6
GM
522 * profiler.el (profiler): Add missing group :version tag.
523 * avoid.el (mouse-avoidance-banish-position):
524 * proced.el (proced-renice-command):
525 * calc/calc.el (calc-ensure-consistent-units):
526 * calendar/icalendar.el (icalendar-import-format-uid):
527 * net/tramp.el (tramp-save-ad-hoc-proxies):
528 * progmodes/bug-reference.el (bug-reference-bug-regexp):
529 * progmodes/flymake.el (flymake-error-bitmap)
530 (flymake-warning-bitmap, flymake-fringe-indicator-position):
531 * progmodes/sh-script.el (sh-indent-after-continuation):
532 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
533 (verilog-before-save-font-hook, verilog-after-save-font-hook):
534 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
535 (vhdl-array-index-record-field-in-sensitivity-list)
536 (vhdl-indent-comment-like-next-code-line):
537 * textmodes/reftex-vars.el (reftex-ref-style-alist)
538 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
539 (reftex-cite-key-separator, reftex-create-bibtex-header)
540 (reftex-create-bibtex-footer):
541 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
542 (rst-indent-literal-normal, rst-indent-literal-minimized)
543 (rst-indent-comment): Add missing custom :version tags.
544
ef35abb4
GM
545 * calendar/timeclock.el (timeclock-modeline-display):
546 Add missing obsolete alias for renamed user option.
547
d1aae614
GM
548 * strokes.el (strokes-modeline-string):
549 * emulation/crisp.el (crisp-mode-modeline-string):
550 * eshell/esh-mode.el (eshell-status-in-modeline):
551 Aliases to defcustoms must come before the defcustom.
552
f1f4dba0
GM
553 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
554 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
555 (cal-tex-cursor-week-monday): Doc fixes.
556 (cal-tex-cursor-week2-summary): Doc fix.
557 Rename from cal-tex-cursor-week-at-a-glance.
558
559 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
560 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
561
562 * calendar/calendar.el (calendar-mode-map):
563 Add cal-tex-cursor-week2-summary.
564
d39109c3
SM
5652012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
566
685f87b0
SM
567 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
568
d39109c3
SM
569 * subr.el (read-passwd-map): New var.
570 (read-passwd): Use `read-string' again.
571 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
572
5694896d
J
5732012-10-06 Jambunathan K <kjambunathan@gmail.com>
574
575 * register.el (append-to-register, prepend-to-register):
576 Deactivate mark, as does `copy-to-register' (bug#12389).
577
9414dd8d
CY
5782012-10-06 Chong Yidong <cyd@gnu.org>
579
580 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
581
2b89bca4
KH
5822012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
583
584 * international/characters.el: Fix simple mistake ((car chars) ->
585 elt), delete duplicated code.
586
d5acb99a
GM
5872012-10-06 Glenn Morris <rgm@gnu.org>
588
589 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
590
123ec157
JS
5912012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
592
593 * color.el (color-hsl-to-rgb): Fix incorrect results for
594 small and large hue values. (Bug#12559)
595
7fa36ccb
FEG
5962012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
597
598 Enhancements to docstring formatting when filling paragraphs.
599 * progmodes/python.el (python-fill-docstring-style): Rename from
600 python-fill-string-style. Added new style.
601 (python-fill-string): Use new style. Better checks for
602 docstrings.
603
d8788e1e
GM
6042012-10-05 Glenn Morris <rgm@gnu.org>
605
204f3953
GM
606 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
607
d8788e1e
GM
608 * color.el (color-name-to-rgb, color-rgb-to-hex)
609 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
610 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
611 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
612 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
613
8d956cef
GM
614 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
615
e8757f09 6162012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
617
618 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
619 to get the correct size across symlinks.
620
e8757f09
GM
621 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
622
0e2ae83d
JL
6232012-10-04 Juri Linkov <juri@jurta.org>
624
625 * replace.el (query-replace-interactive): Declare obsolete.
626 (query-replace-read-from): Add the last incremental search string
627 to the list of default values accessible via M-n.
628 (map-query-replace-regexp): Use `read-regexp'.
629 (query-replace, query-replace-regexp, query-replace-regexp-eval)
630 (map-query-replace-regexp, replace-string, replace-regexp):
631 Fix docstrings to replace mentions of `query-replace-interactive'
632 with alternatives. (Bug#12526)
633
93cacb6d
JL
6342012-10-04 Juri Linkov <juri@jurta.org>
635
636 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
637 (dired-pop-to-buffer): Declare obsolete.
638 (dired-mark-pop-up): Doc fix.
639
fc345011
FEG
6402012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
641
642 Allow user to set docstring style for fill-paragraph.
643 * progmodes/python.el
644 (python-fill-comment-function, python-fill-string-function)
645 (python-fill-decorator-function, python-fill-paren-function):
646 Remove :safe for defcustoms.
647 (python-fill-string-style): New defcustom
5694896d 648 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
649 (python-fill-string): Honor python-fill-string-style settings.
650
6bab5d8b
MR
6512012-10-04 Martin Rudalics <rudalics@gmx.at>
652
653 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
654 after setting its buffer (Bug#10805).
655
a1a9f411
FEG
6562012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
657
658 Fix cornercase for string syntax.
659 * progmodes/python.el (python-syntax-propertize-function):
660 Simplify and enhance the regexp for unescaped quotes. Now it also
661 matches quotes in weird situations like the single quote in
662 "something\"'".
663 (python-syntax-stringify): Simplify num-quotes detecting code.
664
05e153a6
GM
6652012-10-03 Glenn Morris <rgm@gnu.org>
666
667 * help-macro.el (three-step-help):
668 Revert 2012-09-29 change. (Bug#12567)
669
2e566ecb
MR
6702012-10-03 Martin Rudalics <rudalics@gmx.at>
671
96ef9ccd
MR
672 * menu-bar.el (kill-this-buffer): Don't do anything when
673 `menu-frame' is not alive or visible (Bug#8184).
674
2e566ecb
MR
675 * emacs-lisp/debug.el (debug): When quitting the debugger window
676 restore current buffer (Bug#12502).
677
a96e1cb7
CY
6782012-10-02 Chong Yidong <cyd@gnu.org>
679
5694896d
J
680 * progmodes/hideif.el (hif-lookup, hif-defined):
681 Handle semantic-c-takeover-hideif.
a96e1cb7 682
b3ecad33
PE
6832012-10-02 Paul Eggert <eggert@cs.ucla.edu>
684
685 Change sampling interval units from ms to ns.
686 * profiler.el (profiler-sampling-interval): Change units
687 from ms to ns, multiplying the default by 1000000 so that
688 it remains 1 ms.
689 (profiler-report-cpu-line-format): Give enough room for
690 the maximum counters on 64-bit hosts.
691 (profiler-report-render-calltree-1): Call them "CPU samples",
692 not "Time (ms)", since they are not milliseconds now (and
693 never really were).
694
8cb51b66 6952012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 696
5694896d
J
697 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
698 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 699
fd795bf4
CY
7002012-10-02 Chong Yidong <cyd@gnu.org>
701
702 * emacs-lisp/eieio.el: Restore Version header.
703
fe0a74f9
SM
7042012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
705
6be9197e
SM
706 * vc/diff-mode.el (diff--auto-refine-data): New var.
707 (diff-hunk): Use it to delay refinement.
708 (diff-mode): Remove overlays when we turn off font-lock.
709
18486139
SM
710 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
711 (table-initialize-table-fixed-width-mode)
712 (table-set-table-fixed-width-mode): Remove functions.
713 (table-command-list): Move initialization into declaration.
714 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
715 (table-with-cache-buffer): Use `declare'.
716 (table-span-cell): Simplify via CSE.
717 (table-fixed-width-mode): Use define-minor-mode.
718 (table-call-interactively, table-funcall, table-apply): Remove.
719 (table-function): New function, to replace them.
720
d83ef976
SM
721 * bookmark.el (bookmark-search-pattern): Remove var.
722 (bookmark-read-search-input): Remove function.
723 (bookmark-bmenu-search): Reimplement using a minibuffer.
724
cd386662
SM
725 * faces.el (modeline): Remove obsolete face name.
726
fe0a74f9
SM
727 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
728 and give a non-nil default value.
729 (add-change-log-entry): Simplify accordingly.
730
9f7b98f8
DG
7312012-10-01 Dmitry Gutov <dgutov@yandex.ru>
732
733 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
734 (vc-git-log-edit-toggle-amend): New function.
735 (vc-git-log-edit-toggle-signoff): New function.
736 (vc-git-log-edit-mode): New major mode.
737 (vc-git-log-edit-mode-map): Keymap for it.
738 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
739
740 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
741 header names.
742 (log-edit-toggle-header): New function.
743 (log-edit-extract-headers): Accept function values in HEADERS alist.
744
62a81506
CY
7452012-10-01 David Engster <deng@randomsample.de>
746
747 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
748 from symbol property and change message to be more consistent with
749 Emacs proper.
750 (eieio-describe-generic): Add filename for each implementation.
751 Fix indices for generic and normal methods.
752 (eieio-method-def, eieio-class-def): New buttons.
753 (eieio-help-find-method-definition)
754 (eieio-help-find-class-definition): New functions.
755 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
756 class, constructor and method definitions.
757
758 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
759 information in symbol property.
760 (scoped-class): Remove.
761 (eieio-slot-name-index, call-next-method): Check if it is bound.
762
7632012-10-01 Leo P. White <lpw25@cam.ac.uk>
764
765 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
766 (eieio-custom-mode): New major mode.
767 (eieio-customize-object): Use it.
768
7692012-10-01 Eric Ludlam <zappo@gnu.org>
770
771 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
772 specifying the expected class, and whether subclassing is allowed.
773 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
774 (eieio-persistent-validate/fix-slot-value)
775 (eieio-persistent-slot-type-is-class-p): New functions.
776 (eieio-named::slot-missing): Doc fix.
62a81506
CY
777
778 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
779 Stop using unused publd variable.
780
781 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
782 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
783 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
784 (eieio-speedbar-handle-click): Do not specify a class for the
785 method. Fixes method invocation order problems with EDE.
786
375e49d4
SM
7872012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
790 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
791
16ce6ccd
KF
7922012-10-01 Karl Fogel <kfogel@red-bean.com>
793
794 * bookmark.el (bookmark-version-control): Give tags in the
795 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
796 (bookmark-write-file): Bind `print-circle' to `t' to allow
797 circular custom bookmark types. (Bug#12503)
16ce6ccd 798
19e54a4d
PE
7992012-10-01 Paul Eggert <eggert@cs.ucla.edu>
800
86ec63ba
PE
801 Revert the FOLLOW-SYMLINKS change for file-attributes.
802 * files.el (remote-file-name-inhibit-cache, after-find-file):
803 * time.el (display-time-file-nonempty-p): Undo last change.
804
19e54a4d
PE
805 * profiler.el (profiler-sampling-interval): Change default back to 1.
806 See Stefan Monnier in
807 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
808
0478776b
FEG
8092012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
810
811 Shell output catching a la gud-gdb.
812 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
813 (python-shell-fetch-lines-string, python-shell-fetched-lines):
814 New Vars.
0478776b
FEG
815 (python-shell-fetch-lines-filter): New function.
816 (python-shell-send-string-no-output): Use them.
817
c22bac2c
TM
8182012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
819
820 * profiler.el (profiler-sampling-interval): Rename from
821 profiler-sample-interval.
822 (profiler-sampling-interval): Default to 10.
823 (profiler-find-profile): New command (was profiler-find-log).
824 (profiler-find-profile-other-window): New command.
825 (profiler-find-profile-other-frame): New command.
826 (profiler-profile): Introduce API-level data structure.
827
e7a2937b
PE
8282012-09-30 Paul Eggert <eggert@cs.ucla.edu>
829
830 file-attributes has a new optional arg FOLLOW-SYMLINKS.
831 * files.el (remote-file-name-inhibit-cache):
832 * time.el (display-time-file-nonempty-p): Use it.
833 * files.el (after-find-file): Don't chase links before calling
834 file-exists-p, as file-exists-p already does the right thing.
835
4f595e15
RA
8362012-09-30 Ralf Angeli <angeli@caeruleus.net>
837
838 Merge from standalone RefTeX repository.
839
840 The following ChangeLog entries are shortened versions of the
841 original ones with file paths adapted. A not so strongly edited
842 version of the original ChangeLog can be found in the commit log.
843
844 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
845 (reftex-arg-cite): Use `reftex-cite-key-separator'.
846 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
847
848 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
849 that entries with whitespace at various places are found.
850 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
851 Include @String definitions in the resulting bib file. Add header
852 and footer defined in `reftex-create-bibtex-header' and
853 `reftex-create-bibtex-footer'.
854 (reftex-do-citation): Make it possible again to insert
855 non-existent entries. Save match data when asking for optional
856 arguments. Return all keys, not just the first one.
857 (reftex-all-used-citation-keys): Fix regexp to correctly extract
858 all citations in the same line.
859 (reftex-parse-bibtex-entry): Accept additional optional argument
860 `raw' and keep quotes or braces if it is non-nil. Match fields
861 containing hyphens besides word constituents.
862 (reftex-get-string-refs): New function.
863 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
864 and ask if it should be reread in case it did.
865 (reftex-pop-to-bibtex-entry)
866 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
867 entries with spaces or tabs in front of arguments.
868 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
869 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
870 Match entries containing numbers and symbol constituents.
871 (reftex-do-citation, reftex-figure-out-cite-format):
872 Use `reftex-cite-key-separator'.
4f595e15
RA
873
874 * textmodes/reftex-dcr.el: Move provide statement to end of file.
875 (reftex-mouse-view-crossref): Explain why point is set.
876
877 * textmodes/reftex-global.el: Whitespace changes.
878
879 * textmodes/reftex-index.el: Move provide statement to end of
880 file.
881 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
882 (reftex-index-visit-phrases-buffer): Set marker when visiting
883 buffer. This allows for returning from the phrases file to the
884 file one was just editing instead of the file where the last
885 phrases was added from.
886 (reftex-index-phrases-syntax-table): New variable. Give ?\"
887 punctuation syntax as it usually is not used as string quote in
888 TeX-related modes and may occur unmatched. The change also
889 prevents fontification of quoted content.
890 (reftex-index-phrases-mode): Use it.
891
375e49d4
SM
892 * textmodes/reftex-parse.el (reftex-parse-from-file):
893 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
894 (reftex-parse-from-file): Use beginning of match instead of end as
895 bound.
896
897 * textmodes/reftex-ref.el: Adapt creation of
898 `reftex-<package>-<macro>' functions to new structure of
899 `reftex-ref-style-alist'.
375e49d4
SM
900 (reftex-reference): Use `reftex-ref-style-list' function.
901 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
902 reference macro if `reftex-ref-macro-prompt' is non-nil.
903 (reftex-reference): Pass refstyle to `reftex-format-special'.
904 Determine reference macro by looking at
375e49d4
SM
905 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
906 Use only one special format function.
4f595e15
RA
907 (reftex-varioref-vref, reftex-fancyref-fref)
908 (reftex-fancyref-Fref): Remove definitions. The functions are now
909 generated from `reftex-ref-style-alist'.
910 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
911 Remove.
912 (reftex-format-special): New function.
913
914 * textmodes/reftex-sel.el
915 (reftex-select-cycle-ref-style-internal): Adapt to new structure
916 of `reftex-ref-style-alist'. Remove code for testing macro type.
917 (reftex-select-toggle-varioref)
918 (reftex-select-toggle-fancyref): Remove.
919 (reftex-select-cycle-ref-style-internal)
920 (reftex-select-cycle-ref-style-forward)
921 (reftex-select-cycle-ref-style-backward): New functions.
922 (reftex-select-label-map): Use `v' and `V' for general cycling
923 through reference styles. Add `p' for switching between number
924 and page reference types.
925
375e49d4
SM
926 * textmodes/reftex-toc.el (reftex-re-enlarge):
927 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
928 the horizontal version throws an error even if the parameter is 0.
929
930 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
931 (reftex-plug-into-AUCTeX): Doc fix.
932 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
933 string. Adapt to new name.
934 (reftex-ref-style-alist): Change structure so that it is not
935 possible to use multiple different package names within a style.
375e49d4
SM
936 Remove the symbols for symbols for macro type distinction.
937 Add characters for macro selection.
4f595e15
RA
938 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
939 (reftex-create-bibtex-footer): New variables.
940 (reftex-format-ref-function): Mention third argument of special
941 format function.
375e49d4
SM
942 (reftex-ref-style-alist, reftex-ref-style-default-list):
943 New variables.
4f595e15
RA
944 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
945 to new implementation. Mark as obsolete. Add compatibility code
946 for honoring the variable values in case they are set.
375e49d4
SM
947 (reftex-cite-format-builtin, reftex-bibliography-commands):
948 Add support for ConTeXt.
949 (reftex-format-ref-function, reftex-format-cite-function):
950 Fix custom type.
4f595e15
RA
951 (reftex-cite-key-separator): New variable.
952
953 * textmodes/reftex.el (reftex-syntax-table-for-bib)
954 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
955 `reftex-syntax-table' because parens have to retain their paren
956 syntax in order for parsing of BibTeX entries like @book(...) to
957 work.
958 (reftex-in-comment): Do not error out if `comment-start-skip' is
959 not set. Deal correctly with escaped comment characters.
375e49d4
SM
960 (reftex-tie-multifile-symbols): Add doc string.
961 Initialize `reftex-ref-style-list'.
4f595e15
RA
962 (reftex-untie-multifile-symbols): Add doc string.
963 (reftex-add-index-macros): Doc fix.
964 (reftex-ref-style-activate, reftex-ref-style-toggle)
965 (reftex-ref-style-list): New functions.
966 (reftex-mode-menu): Use them. Adapt to new structure of
967 `reftex-ref-style-alist'.
968 (reftex-select-with-char): Kill the RefTeX Select buffer when
969 done.
970 (reftex-remove-if): New function.
971 (reftex-erase-all-selection-and-index-buffers)
972 (reftex-mode-menu): Reference styles are now computed from
973 `reftex-ref-style-alist'. Fix typo.
974 (reftex-report-bug): New function.
975 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
976 algorithms with O(n log n). Introduce optional argument SORT (not
977 yet used).
978
440ba395
FEG
9792012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
980
981 Enhancements for triple-quote string syntax.
375e49d4
SM
982 * progmodes/python.el (python-syntax-propertize-function):
983 Match both quote cases in one regexp.
440ba395
FEG
984 (python-syntax-stringify): Handle matches properly.
985
4c478e6b
JL
9862012-09-30 Juri Linkov <juri@jurta.org>
987
988 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 989 to nil around the call to `insert' to prevent
4c478e6b
JL
990 directory time modification by lock_file. (Bug#2295)
991 * tar-mode.el (tar-summarize-buffer): Idem.
992
d80d54b2
JL
9932012-09-30 Juri Linkov <juri@jurta.org>
994
995 * facemenu.el (list-colors-sort): Add option "Luminance".
996 (list-colors-sort-key): Implement it.
997
998 * vc/diff-mode.el (diff-refine-removed):
999 * vc/ediff-init.el (ediff-fine-diff-A):
1000 * vc/smerge-mode.el (smerge-refined-removed):
1001 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1002
d7e642cc
JD
10032012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1004
1005 * term/ns-win.el (x-file-dialog): New function.
1006
ee41332b
JB
10072012-09-30 Juanma Barranquero <lekktu@gmail.com>
1008
1009 * ido.el (ido-max-directory-size): Default to nil; the current
1010 default is small for POSIX systems, and impractical on Windows 7
1011 now that lstat returns directory sizes for NTFS.
1012
5938d519
MR
10132012-09-30 Martin Rudalics <rudalics@gmx.at>
1014
1015 In buffer display functions handle window-height/window-width
1016 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1017 * window.el (window--display-buffer): New argument ALIST.
1018 Obey window-height and window-width alist entries.
1019 (window--try-to-split-window): New argument ALIST.
1020 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1021 changed and window-combination-limit equals `window-size'.
1022 (display-buffer-in-atom-window)
1023 (display-buffer-in-major-side-window)
1024 (display-buffer-in-side-window, display-buffer-same-window)
1025 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1026 (display-buffer-pop-up-window, display-buffer-below-selected)
1027 (display-buffer-at-bottom, display-buffer-in-previous-window)
1028 (display-buffer-use-some-window): Adjust all callers of
1029 window--display-buffer and window--try-to-split-window.
1030 (fit-frame-to-buffer): New option.
1031 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1032 is non-nil.
1033 (display-buffer-in-major-side-window): Evaluate window-height /
1034 window-width alist entries.
1035
1036 * help.el (temp-buffer-resize-frames)
1037 (temp-buffer-resize-regexps): Remove options.
1038 (temp-buffer-resize-mode): Adjust doc-string.
1039 (resize-temp-buffer-window): Don't consult
1040 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1041 temp-buffer-resize-frames.
1042
375e49d4
SM
1043 * dired.el (dired-mark-pop-up):
1044 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1045 entry.
1046
c4c0c2df
CY
10472012-09-30 Chong Yidong <cyd@gnu.org>
1048
48de8b12
CY
1049 * server.el (server-host): Document the security implications.
1050 (server-auth-key): Doc fix.
1051
1052 * startup.el (initial-buffer-choice): Doc fix.
1053
1054 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1055
a97dc380
CY
1056 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1057 restriction change.
1058
d39d3c8e
CY
1059 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1060
c4c0c2df
CY
1061 * help-fns.el (help-fns--obsolete): Fix last change.
1062
98a5e33b
SM
10632012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1064
34cf6f39
SM
1065 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1066 (minor-mode-map-alist): Remove redundant code.
1067
e01c13fe
SM
1068 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1069 visited in a buffer.
1070 (cvs-insert-visited-file): New function.
1071 (find-file-hook): Use it.
1072
1073 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1074
02661b3a
SM
1075 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1076 chose face.
1077 (log-edit-empty-buffer-p): Don't require a space after a header.
1078
43711d4b
SM
1079 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1080
38a30d64
SM
1081 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1082
4ffb41a9
SM
1083 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1084 a proper minor-mode.
1085
98a5e33b
SM
1086 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1087
de82e29b
GM
10882012-09-29 Glenn Morris <rgm@gnu.org>
1089
5cc2e639
GM
1090 * winner.el (winner-mode): Remove variable (let define-minor-mode
1091 handle it).
1092 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1093 Doc fixes.
1094 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1095 (winner-mode): Use define-minor-mode.
1096
7bd302eb
GM
1097 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1098 the full definition in loaddefs, rather than duplicating it.
1099
2923922f 1100 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1101
0e3e4156
GM
1102 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1103 (inferior-lisp-program, inferior-lisp-load-command)
1104 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1105 No need to autoload defcustoms.
0e3e4156 1106
de82e29b
GM
1107 * hippie-exp.el (hippie-expand-try-functions-list)
1108 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1109 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1110 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1111 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1112 * progmodes/vhdl-mode.el (vhdl-line-expand):
1113 Explicitly load hippie-exp, so it does not get autoloaded
1114 while hippie-expand-try-functions-list is let-bound.
1115
e60b51ab
GM
11162012-09-28 Glenn Morris <rgm@gnu.org>
1117
277f0cfa
GM
1118 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1119
e60b51ab
GM
1120 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1121 Only "cl.el" counts as cl these days.
1122
53baf48a
JL
11232012-09-28 Juri Linkov <juri@jurta.org>
1124
1125 Display archive errors in the echo area instead of inserting
1126 to the file buffer.
1127
1128 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1129 to STDERR-TEST that can be a regexp matching a successful output.
1130 Create a temporary file and redirect stderr to it. Search for
1131 STDERR-TEST in the stderr output and display it in the echo area
1132 if no match is found.
1133 (archive-extract-by-file): New function like
1134 `archive-extract-by-stdout' but extracting archives to files
1135 and looking for successful matches in stdout. Function body is
1136 mostly copied from `archive-rar-extract'.
1137 (archive-rar-extract): Use `archive-extract-by-file'.
1138 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1139
9c1228c3
LL
11402012-09-28 Leo Liu <sdl.web@gmail.com>
1141
375e49d4
SM
1142 * pcomplete.el (pcomplete-show-completions):
1143 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1144
9c1228c3
LL
1145 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1146
7f457c06
SM
11472012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1148
3df749b0
SM
1149 * type-break.el: Use lexical-binding.
1150 (type-break-mode): Use define-minor-mode.
1151
7f457c06
SM
1152 * emacs-lisp/pcase.el (pcase--mark-used): New.
1153 (pcase--u1): Use it (bug#12512).
1154
1155 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1156 in load-history with the right file name.
1157
c00ebc98
TH
11582012-09-28 Tassilo Horn <tsdh@gnu.org>
1159
1160 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1161 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1162 (doc-view-get-bounding-box): Make bounding box slicing work for
1163 ODF and DVI documents.
1164
96fb7170
GM
11652012-09-28 Glenn Morris <rgm@gnu.org>
1166
1167 * type-break.el (type-break-mode, type-break-interval)
1168 (type-break-good-rest-interval, type-break-keystroke-threshold):
1169 No need to autoload.
1170 (type-break-good-rest-interval, type-break-keystroke-threshold):
1171 Add :set-after.
1172
5bc93c67
CY
11732012-09-28 Chong Yidong <cyd@gnu.org>
1174
1175 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1176 Add :version tag.
1177
9cad61d6
SM
11782012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1179
e28e67b3 1180 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1181
daee954c
GM
11822012-09-27 Glenn Morris <rgm@gnu.org>
1183
a88324d4
GM
1184 * faces.el (x-display-name): Declare (for without-x builds).
1185
8e5064e5
GM
1186 * linum.el (linum-format): Don't autoload it. Improve :type.
1187
cc1783c2
GM
1188 * progmodes/tcl.el: Don't require outline when compiling.
1189 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1190 * textmodes/sgml-mode.el: Don't require outline when compiling.
1191 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1192
48c339f2
GM
1193 * term.el (term-ansi-reset):
1194 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1195
daee954c
GM
1196 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1197 files for RCS and SCCS. (Bug#9781)
1198
b7f42161
CY
11992012-09-27 Chong Yidong <cyd@gnu.org>
1200
1201 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1202 change; value should be t.
1203
a2e770db
SM
12042012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1205
83600dc8
SM
1206 * image-mode.el: Use lexical-binding.
1207 (image-mode-winprops): Use t to stand for the window of
1208 a buffer that's not displayed.
1209 * doc-view.el (doc-view-new-window-function): Handle the new
1210 t in winprops.
1211 (doc-view-enlarge): Make it a real nop if the size is not changed.
1212 (doc-view-display): Handle the case where the buffer is not (yet?)
1213 displayed in any window.
1214 (doc-view-saved-settings): New var.
1215 (doc-view-mode): Use it.
1216 (doc-view-fallback-mode): Set it.
1217
a2e770db
SM
1218 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1219 Set lexical-binding.
1220 (minibuffer-eldef-shorten-default): New var.
1221 (minibuffer-default-in-prompt-regexps): Use it for new default.
1222 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1223
e3b60857
JB
12242012-09-26 Juanma Barranquero <lekktu@gmail.com>
1225
1226 * international/uni-bidi.el:
1227 * international/uni-category.el:
1228 * international/uni-name.el:
1229 * international/uni-numeric.el: Regenerate.
1230
3a880af4
SM
12312012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1232 Stefan Monnier <monnier@iro.umontreal.ca>
1233
1234 * profiler.el: New file.
1235
07b1a5fb
SM
12362012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1239 (testcover-reinstrument): Simplify with CSE.
1240
42019c2e
JB
12412012-09-26 Juanma Barranquero <lekktu@gmail.com>
1242
1243 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1244
179f044b
WS
12452012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1246
1247 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1248 (verilog-auto-input, verilog-auto-insert-lisp)
1249 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1250 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1251 (verilog-auto-unused, verilog-auto-wire)
1252 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1253 newline. Reported by Andrew Jones.
1254 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1255 Reported by Brad Dobbie.
07b1a5fb
SM
1256 (verilog-batch-delete-trailing-whitespace):
1257 Create verilog-batch-delete-trailing-whitespace.
1258 Reported by Brad Dobbie.
179f044b
WS
1259 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1260 parameters from another module. Reported by Dan Katz.
1261 (verilog-auto, verilog-auto-assign-modport)
1262 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1263 AUTOINOUTMODPORT for UVM interface module shell generation.
1264 Reported by Brad Dobbie.
1265 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1266 standard behavior.
1267 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1268 Reported by Matt Martin.
1269
9c52dd5a
MR
12702012-09-25 Martin Rudalics <rudalics@gmx.at>
1271
1272 * window.el (window--resize-child-windows): When resizing child
1273 windows proportionally, process them in reverse order to
1274 preserve the "when splitting a window the new one gets the odd
1275 line" behavior.
1276 (window--resize-root-window-vertically): When resizing the
1277 minibuffer window try to affect only windows at the bottom of the
1278 frame. (Bug#12419)
1279
863666eb
CY
12802012-09-25 Chong Yidong <cyd@gnu.org>
1281
1282 * subr.el (declare): Doc fix.
1283
1284 * help-fns.el (help-fns--obsolete): Handle macros properly.
1285
59f7af81
CY
12862012-09-25 Chong Yidong <cyd@gnu.org>
1287
1288 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1289 this function obsolete.
1290
1291 * calendar/cal-x.el (calendar-two-frame-setup)
1292 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1293 * calendar/calendar.el (american-calendar, european-calendar)
1294 (calendar-for-loop):
1295 * comint.el (comint-dynamic-simple-complete)
1296 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1297 * desktop.el (desktop-load-default):
1298 * dired-x.el (dired-omit-here-always)
1299 (dired-hack-local-variables, dired-default-directory):
1300 * emacs-lisp/derived.el (derived-mode-class):
1301 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1302 * emacs-lock.el (toggle-emacs-lock):
1303 * epa.el (epa-display-verify-result):
1304 * epg.el (epg-sign-keys, epg-start-sign-keys)
1305 (epg-passphrase-callback-function):
1306 * eshell/esh-util.el (eshell-for):
1307 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1308 (eshell-add-to-window-buffer-names):
1309 * files.el (locate-file-completion):
1310 * imenu.el (imenu-example--create-c-index)
1311 (imenu-example--create-lisp-index)
1312 (imenu-example--lisp-extract-index-name)
1313 (imenu-example--name-and-position):
1314 * international/mule-cmds.el (princ-list):
1315 * international/mule-diag.el (decode-codepage-char):
1316 * international/mule-util.el (detect-coding-with-priority):
1317 * iswitchb.el (iswitchb-read-buffer):
1318 * mail/mailalias.el (mail-complete):
1319 * mail/sendmail.el (mail-sent-via):
1320 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1321 (mouse-major-mode-menu):
1322 * password-cache.el (password-read-and-add):
1323 * pcomplete.el (pcomplete-parse-comint-arguments):
1324 * progmodes/sh-script.el (sh-maybe-here-document):
1325 * replace.el (query-replace-regexp-eval):
1326 * savehist.el (savehist-load):
1327 * simple.el (choose-completion-delete-max-match):
1328 * term.el (term-dynamic-simple-complete):
1329 * vc/ediff-init.el (ediff-check-version):
1330 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1331 * vc/vc.el (vc-diff-switches-list):
1332 * view.el (view-return-to-alist-update): Likewise.
1333
1334 * subr.el (eval-next-after-load, makehash, insert-string)
1335 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1336 mark obsolete.
1337 (mode-line-inverse-video): Variable deleted.
1338
1339 * international/mule-util.el (string-to-sequence): Remove.
1340
1341 * calendar/calendar.el (calendar-version):
1342 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1343 (icalendar-convert-diary-to-ical):
1344 * cus-edit.el (custom-mode):
1345 * ansi-color.el (ansi-color-unfontify-region):
1346 * international/latin1-disp.el (latin1-char-displayable-p):
1347 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1348 * progmodes/which-func.el (which-func-update-1):
1349 Use define-obsolete-function-alias.
59f7af81
CY
1350
1351 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1352 * net/newst-treeview.el (newsticker-groups-filename):
1353 Fix incorrect obsolescence declaration.
59f7af81
CY
1354
1355 * allout.el (allout-passphrase-hint-string): Likewise.
1356 (allout-init): Use a declare form to mark obsolete.
1357
1358 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1359 this applies to functions.
1360
1361 * iswitchb.el (iswitchb-read-buffer): Move code of
1362 iswitchb-define-mode-map here, and delete that obsolete function.
1363
1364 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1365 font-lock-reference-face.
1366
cca96c97
GM
13672012-09-25 Glenn Morris <rgm@gnu.org>
1368
b06eeda8
GM
1369 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1370 Doc fixes.
1371
cca96c97
GM
1372 * eshell/em-term.el (eshell-term-name):
1373 Default to term-term-name. (Bug#12485)
1374
dc4f818b
FEG
13752012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1376
cca96c97
GM
1377 * progmodes/python.el (python-shell-send-buffer): Better handling
1378 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1379
289c24bd
GM
13802012-09-24 Glenn Morris <rgm@gnu.org>
1381
1382 * eshell/esh-cmd.el (eshell-find-alias-function):
1383 Tighten up file-name regexp. (Bug#12499)
1384
8fb8b88f
FEG
13852012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1386
1387 Enhancements for triple-quote string syntax.
1388 * progmodes/python.el (python-quote-syntax): Remove.
1389 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1390 (python-syntax-count-quotes, python-syntax-stringify):
1391 New functions.
8fb8b88f 1392
6c27f0f8
CY
13932012-09-24 Chong Yidong <cyd@gnu.org>
1394
a5f2b6ec
CY
1395 * mail/supercite.el (sc-version): Remove obsolete function.
1396 (sc-describe): Don't mark as obsolete, since it is bound.
1397 (sc-submit-bug-report): Remove.
1398
1399 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1400 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1401 (log-edit-require-final-newline)
1402 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1403
1404 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1405 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1406 * vc/vc.el (vc-checkout-carefully): Likewise.
1407
1408 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1409 (emerge-version): Remove.
1410
1411 * progmodes/compile.el (compile-internal): Remove.
1412 (compilation-parse-errors-function): Fix typo.
1413
1414 * international/mule.el (set-char-table-default): Remove.
1415 (set-coding-priority, make-coding-system, generic-char-p)
1416 (charset-list, charset-bytes, charset-id): Use declare to mark
1417 functions as obsolete.
1418
1419 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1420 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1421 * vc/vc-hooks.el (vc-default-registered): Don't use
1422 vc-master-templates.
1423
07b1a5fb
SM
1424 * font-lock.el (font-lock-reference-face):
1425 Use define-obsolete-variable-alias.
6c27f0f8
CY
1426
1427 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1428 * calendar/calendar.el (calendar-font-lock-keywords):
1429 * calendar/diary-lib.el (diary-font-lock-keywords)
1430 (diary-fancy-font-lock-keywords):
1431 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1432 * textmodes/reftex-index.el (reftex-insert-index):
1433 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1434 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1435 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1436 * progmodes/prolog.el (prolog-font-lock-keywords):
1437 * progmodes/idlwave.el (idlwave-idl-keywords):
1438 * progmodes/ada-mode.el (ada-font-lock-keywords):
1439 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1440
bcc0adbf
GM
14412012-09-24 Glenn Morris <rgm@gnu.org>
1442
1443 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1444
095bb823
FEG
14452012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1446
1447 * progmodes/python.el (python-indent-line): More consistent cursor
1448 movement behavior.
1449
70efc5c9
SM
14502012-09-23 Stefan Merten <smerten@oekonux.de>
1451
1452 * textmodes/rst.el: Fix compiler warning.
1453
2f438239
RW
14542012-09-23 Roland Winkler <winkler@gnu.org>
1455
07b1a5fb
SM
1456 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1457 Transcribe also LaTeX hyphenation.
2f438239
RW
1458 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1459 bibtex-reformat-previous-options.
1460
936ad041
RW
14612012-09-23 Roland Winkler <winkler@gnu.org>
1462
1463 * proced.el (proced-renice-command): New variable.
1464 (proced-marked-processes): New function.
1465 (proced-with-processes-buffer): New macro.
1466 (proced-send-signal): Use them.
1467 (proced-renice): New command bound to r.
1468
6fab0274
RW
14692012-09-23 Roland Winkler <winkler@gnu.org>
1470
1471 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1472 ibuffer-saved-filter-groups has one element, shortcut the call of
1473 completing-read. (Bug#12331)
1474
9a930676
CY
14752012-09-23 Chong Yidong <cyd@gnu.org>
1476
1477 * bindings.el (mode-line-toggle-read-only):
1478 * bs.el (bs-toggle-readonly):
1479 * buff-menu.el (Buffer-menu-toggle-read-only):
1480 * dired.el (dired-toggle-read-only):
1481 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1482
d07ff9db
CY
14832012-09-23 Chong Yidong <cyd@gnu.org>
1484
1485 * image.el (image-type-available-p): Adapt to init-image-library
1486 argument changes.
1487
51c4474e
JL
14882012-09-22 Juri Linkov <juri@jurta.org>
1489
1490 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1491 `dired-toggle-read-only'. (Bug#12462)
1492
43bf5e8e
MR
14932012-09-22 Martin Rudalics <rudalics@gmx.at>
1494
1495 * subr.el (temp-output-buffer-show): New function.
1496 (with-output-to-temp-buffer): Call temp-output-buffer-show
1497 instead of internal-temp-output-buffer-show.
1498
c88b867f
CY
14992012-09-22 Chong Yidong <cyd@gnu.org>
1500
3df47cd5
CY
1501 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1502 (Bug#12462).
1503
c88b867f
CY
1504 * repeat.el (repeat): Doc fix (Bug#12348).
1505
1506 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1507 (Bug#10909).
1508
1509 * simple.el (shell-command-on-region): Doc fix.
3171e303 1510 (read-only-mode): Doc fix.
c88b867f 1511
df9685f3
EZ
15122012-09-22 Eli Zaretskii <eliz@gnu.org>
1513
1514 * emacs-lisp/timer.el (run-with-idle-timer)
1515 (timer-activate-when-idle): Warn against reinvoking an idle timer
1516 from within its own timer action. (Bug#12447)
1517
8e17c9ba
MR
15182012-09-22 Martin Rudalics <rudalics@gmx.at>
1519
1520 * cus-start.el (window-combination-limit): Add new optional
1521 values.
1522 * window.el (temp-buffer-window-show)
1523 (window--try-to-split-window): Handle new values of
1524 window-combination-limit (Bug#1806).
1525 (split-window): Test window-combination-limit for t instead of
1526 non-nil.
1527 (display-buffer-at-bottom): New buffer display action function.
1528 * help.el (temp-buffer-resize-regexps): New option.
1529 (temp-buffer-resize-mode): Rewrite doc-string.
1530 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1531 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1532
48a24920
SM
15332012-09-22 Stefan Merten <smerten@oekonux.de>
1534
70efc5c9 1535 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1536 (rst-official-version)
1537 (rst-package-emacs-version-alist): Sync with official version
1538 V1.4.0.
1539 (rst-faces-defaults, rst-set-level-default)
1540 (rst-level-face-max, rst-level-face-base-color)
1541 (rst-level-face-base-light, rst-level-face-format-light)
1542 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1543 (rst-adornment-faces-alist): Match new setup.
1544 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1545 (rst-level-5, rst-level-6): New faces.
1546
82f8cd94
CY
15472012-09-22 Chong Yidong <cyd@gnu.org>
1548
1549 * simple.el (undo): Handle indirect buffers (Bug#8207).
1550
acfa068f 15512012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1552
1553 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1554 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1555 (ido-set-matches-1): Use it. (Bug#2042)
1556
acfa068f 15572012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
1558
1559 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1560 Fix 2011-05-17 change. (Bug#12418)
1561
acfa068f 15622012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
1563
1564 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1565
acfa068f 15662012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
1567
1568 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1569 Be more robust about locating simple.el.
1570
acfa068f 15712012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
1572
1573 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1574
acfa068f
CY
15752012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
1576
1577 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
1578
41a97e6f
JL
15792012-09-20 Juri Linkov <juri@jurta.org>
1580
eb2deaff
JL
1581 * replace.el (query-replace-read-from): Use `read-regexp' instead
1582 of `read-from-minibuffer' when `regexp-flag' is non-nil.
1583 (occur-read-primary-args): Use `read-regexp' instead of
1584 `read-string'.
1585 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1586 `read-from-minibuffer'.
1587 * isearch.el (isearch-occur): Use `read-regexp' instead of
1588 `read-string'.
1589 * dired.el (dired-read-regexp): Use `read-regexp' instead of
1590 `read-from-minibuffer'.
1591 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1592 of `read-string'. (Bug#7567)
1593
5825610b
JL
1594 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1595 and allow accepting a list of strings prepended to a list of
1596 standard default values. Doc fix. (Bug#12321)
1597
eebbf404
JL
1598 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
1599
41a97e6f
JL
1600 * replace.el (read-regexp): Don't add ": " when PROMPT already
1601 ends with a colon and space. (Bug#12321)
1602
c9e452d3
TH
16032012-09-20 Tassilo Horn <tsdh@gnu.org>
1604
1605 * doc-view.el (doc-view-display): Better fix for the cl-assertion
1606 error.
1607
ee97deee
SM
16082012-09-20 Stefan Merten <smerten@oekonux.de>
1609
70efc5c9 1610 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
1611 Fixes feature request bug#11711.
1612 (rst-mode): Create `imenu-create-index-function'.
1613 (rst-get-stripped-line): Delete after refactoring.
1614 (rst-section-tree, rst-section-tree-rec)
1615 (rst-section-tree-point): Refactor and document properly.
1616 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
1617 (rst-imenu-convert-cell, rst-imenu-create-index):
1618 New function.
ee97deee 1619
f490dab9
SM
16202012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1621
95b9712e
SM
1622 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1623 (macroexp--expand-all): Use it.
1624 (macroexp--funcall-and-return): Remove by folding it into its sole
1625 caller (macroexp--warn-and-return).
1626 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1627 Use macroexp--obsolete-warning.
1628
f490dab9
SM
1629 * calc/calc.el: Fix last change by removing the whole chunk, since it
1630 was only needed back when Calc was not bundled.
1631
96e8d411
MR
16322012-09-20 Martin Rudalics <rudalics@gmx.at>
1633
1634 * emacs-lisp/debug.el (debug): Restore assignment to
1635 debugger-old-buffer removed on 2012-09-08.
1636
0876a82d
JL
16372012-09-20 Juri Linkov <juri@jurta.org>
1638
1639 * dired-aux.el (dired-diff): Remove (require 'diff) since
1640 `diff-latest-backup-file' is now autoloaded.
1641
9f7c28f0
CY
16422012-09-20 Chong Yidong <cyd@gnu.org>
1643
1644 * vc/diff.el (diff-latest-backup-file): Autoload.
1645
7a04bee9
SM
16462012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1647
e6f0a80d
SM
1648 * calc/calc.el: Remove redundant autoload shape check.
1649 (sel-mode): Don't defvar.
1650 (calc-get-stack-element): Add `sel-mode' arg instead.
1651 (calc-top, calc-top-list): Pass it this additional argument.
1652 * calc/calc-store.el (calc-store-map):
1653 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1654 (calc-map-equation, calc-outer-product, calc-inner-product):
1655 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1656
7a04bee9
SM
1657 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1658
12734222
JL
16592012-09-19 Juri Linkov <juri@jurta.org>
1660
1661 * dired-aux.el (dired-diff): Add (require 'diff) because
1662 `diff-latest-backup-file' is not autoloaded.
1663 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1664 of `dired-get-filename' to t to not report error when there is
1665 no default file on the current line.
1666
46624b4f
SM
16672012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1668
ce97595b
SM
1669 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1670 macroexp--eval-if-compile.
1671 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1672 (macroexp--expand-all): Use them (bug#12371).
1673
46624b4f
SM
1674 * doc-view.el (doc-view-guess-paper-size)
1675 (doc-view-scale-bounding-box): Fix unbound `caddr'.
1676
db8a5a18
TH
16772012-09-19 Tassilo Horn <tsdh@gnu.org>
1678
1679 New feature: set optimal slice from BoundingBox information.
1680 * doc-view.el (doc-view-mode-map): Add keybinding.
1681 (doc-view-menu): Add menu entry.
1682 (doc-view-set-slice): Adapt docstring.
1683 (doc-view-get-bounding-box, doc-view-guess-paper-size)
1684 (doc-view-scale-bounding-box)
1685 (doc-view-set-slice-from-bounding-box): New functions.
1686 (doc-view-paper-sizes): New defvar.
1687
69f6644c
GM
16882012-09-19 Glenn Morris <rgm@gnu.org>
1689
35f5b19d
GM
1690 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1691 (byte-compile-log-warning): Autoload. (Bug#12371)
1692
69f6644c
GM
1693 * calendar/calendar.el (calendar-american-month-header)
1694 (calendar-european-month-header, calendar-iso-month-header)
1695 (calendar-month-header): New options.
1696 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
1697 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
1698
e543ae91
JD
16992012-09-19 Jan Djärv <jan.h.d@swipnet.se>
1700
1701 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1702
2fd5e67d
JL
17032012-09-18 Juri Linkov <juri@jurta.org>
1704
1705 * dired-aux.el (dired-diff): Restore original functionality of
1706 getting the default value, but keep new feature of using the
1707 latest existing backup file (`diff-latest-backup-file').
1708
42917e79
JL
17092012-09-18 Juri Linkov <juri@jurta.org>
1710
1711 * dired.el (dired-mark): If the region is active in Transient Mark
1712 mode, mark all files in the active region. Doc fix.
1713 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1714 Doc fix. (Bug#10624)
1715
20f70ede
JL
17162012-09-18 Juri Linkov <juri@jurta.org>
1717
1718 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1719 attributes for M-n are pulled from the file at point.
1720 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1721 Suggested by Drew Adams. (Bug#10624)
1722
32fb8162
DG
17232012-09-18 Dmitry Gutov <dgutov@yandex.ru>
1724
1725 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1726 whitespace after "end".
1727 (ruby-do-end-to-brace): Collapse block to one line if it fits
1728 within fill-column.
1729
37ab5092
MR
17302012-09-18 Martin Rudalics <rudalics@gmx.at>
1731
1732 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1733 value.
1734 (debug): Don't remove debugger window when debugger is expected
1735 to be back.
1736
ed1f0bd3
CY
17372012-09-18 Chong Yidong <cyd@gnu.org>
1738
1739 * custom.el (defface): Doc fix.
1740
1741 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1742
a11035b8
MB
17432012-09-18 Martin Blais <blais@furius.ca> (tiny change)
1744
1745 * progmodes/compile.el (compilation-start): Use compilation-always-kill
1746 to initialize query-on-exit; then test that instead (bug#12288).
1747
64f6a736
SM
17482012-09-17 Stefan Merten <smerten@oekonux.de>
1749
70efc5c9 1750 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
1751 (rst-defcustom-testcover, rst-testcover-add-compose)
1752 (rst-testcover-add-1value): New functions.
1753 (rst-portable-mark-active-p): Replace by `use-region-p'.
1754 (rst-update-section, rst-classify-adornment)
1755 (rst-find-title-line): Mark `1value' forms.
1756 (rst-classify-adornment): Remove superfluous form.
1757 (rst-update-section, rst-get-adornments-around)
1758 (rst-adornment-complete-p, rst-get-next-adornment)
1759 (rst-adjust, rst-promote-region)
1760 (rst-display-adornments-hierarchy, rst-straighten-adornments)
1761 (rst-find-pfx-in-region, rst-section-tree-rec)
1762 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1763 (rst-toc-node, rst-toc, rst-forward-section)
1764 (rst-iterate-leftmost-paragraphs)
1765 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1766 (rst-bullet-list-region)
1767 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1768 (rst-compile-find-conf, rst-compile)
1769 (rst-repeat-last-character): Fix style.
1770
580bd868
CY
17712012-09-17 Chong Yidong <cyd@gnu.org>
1772
1773 * comint.el (comint--complete-file-name-data): Don't add a space
1774 if the status is `sole'; that adds a gratuitous space in the
1775 completion-cycling case (Bug#12092).
1776
1777 * pcomplete.el (pcomplete-completions-at-point): Likewise.
1778
69de3ec6
RS
17792012-09-17 Richard Stallman <rms@gnu.org>
1780
0dee970c
RS
1781 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1782 only in the mime-shown mode, not in raw mode.
1783 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 1784 mime processing. (Bug#12305)
0dee970c 1785
6b250df6
GM
1786 * mail/rmail.el (rmail-retry-failure):
1787 Turn off mime processing first. (Bug#12037)
acb1c47b 1788
69de3ec6
RS
1789 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1790
d079ee5f
CY
17912012-09-17 Chong Yidong <cyd@gnu.org>
1792
1793 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1794 (shell-dynamic-complete-functions): Convert to defcustom.
1795 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1796
865fe16f
CY
1797 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1798 * comint.el (comint-prompt-read-only):
1799 * custom.el (defcustom):
1800 * hi-lock.el (hi-lock-mode):
1801 * ibuffer.el (ibuffer-formats):
1802 * ielm.el (ielm-prompt-read-only):
1803 * novice.el (disable-command):
1804 * saveplace.el (toggle-save-place):
1805 * speedbar.el (speedbar-supported-extension-expressions):
1806 * startup.el (auto-save-list-file-prefix, init-file-user)
1807 (after-init-hook, inhibit-startup-echo-area-message):
1808 * strokes.el (strokes-help):
1809 * time-stamp.el (time-stamp):
1810 * calendar/calendar.el (calendar, diary-file):
1811 * calendar/diary-lib.el (diary-mail-entries, diary)
1812 (diary-list-entries-hook):
1813 * calendar/holidays.el (holidays, calendar-holidays):
1814 * calendar/lunar.el (lunar-phases):
1815 * calendar/solar.el (sunrise-sunset):
1816 * emulation/edt.el (edt-load-keys):
1817 * emulation/viper.el (viper-mode):
1818 * eshell/em-alias.el (eshell-command-aliases-list):
1819 * eshell/esh-util.el (eshell-convert-numeric-arguments):
1820 * international/ogonek.el (ogonek-information):
1821 * net/tramp-cmds.el (tramp-bug):
1822 * net/quickurl.el (quickurl-reread-hook-postfix):
1823 * play/decipher.el (decipher-font-lock-keywords):
1824 * progmodes/cc-styles.el (c-set-style):
1825 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1826 * progmodes/inf-lisp.el (inferior-lisp-prompt):
1827 * progmodes/octave-mod.el (octave-mode):
1828 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1829 * progmodes/verilog-mode.el (verilog-read-defines):
1830 * textmodes/two-column.el (2C-mode): Likewise.
1831
48093eb9
KY
18322012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
1833
1834 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1835 that holds many addresses.
1836
c584eaf9
CY
18372012-09-16 Chong Yidong <cyd@gnu.org>
1838
40d70ecb
CY
1839 * align.el (align-areas): Call the indication function with
1840 positions instead of markers for arguments (Bug#12343).
1841
1667e065
CY
1842 * files.el (parse-colon-path): Use split-string (Bug#12351).
1843
fdc2806d 1844 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 1845 (display-buffer-function): Mark as obsolete.
fdc2806d 1846
f1be615c 1847 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
1848 values similar to font-lock-keywords (Bug#12136).
1849 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
1850 (compilation-error-regexp-alist): Doc fix.
1851
f40a9709
GM
18522012-09-15 Glenn Morris <rgm@gnu.org>
1853
72aa16e1
GM
1854 * version.el (emacs-bzr-version-bzr): New function.
1855 (emacs-bzr-get-version): Add optional EXTERNAL argument.
1856
82375160
GM
1857 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1858 checkouts, check the parent dirstate matches the branch.
1859 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
1860 empty string.
1861
f40a9709
GM
1862 * version.el (emacs-bzr-version): Doc fix.
1863 (emacs-bzr-version-dirstate): New function.
1864 (emacs-bzr-get-version): For lightweight checkouts, if the parent
1865 is local try and check that it matches the branch. If not, just
1866 use dirstate information. (Bug#12441)
1867
cb26b7f5
JL
18682012-09-14 Juri Linkov <juri@jurta.org>
1869
1870 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1871 (Bug#12399)
1872
2de39f08
SM
18732012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1874
0fb3cb7c
SM
1875 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1876
2de39f08
SM
1877 * emacs-lisp/edebug.el: Miscellaneous cleanup.
1878 Remove obsolete byte-compiler hack that tried to silence some warnings.
1879 (edebug-submit-bug-report): Remove.
1880 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1881 Remove aliases, use the un-prefixed name instead.
1882 (edebug-pop-to-buffer): Consider other frames.
1883 (edebug-original-read):: Make it more obvious that it's always defined.
1884 (edebug--make-form-data-entry, edebug--form-data-name)
1885 (edebug--form-data-begin, edebug--form-data-end): Rename from the
1886 single-dashed name, and implement with cl-defstruct.
1887 (edebug-set-form-data-entry): Use the standard accessors.
1888 (edebug-make-top-form-data-entry): Use push.
1889 (edebug-no-match): Drop useless `funcall'.
1890 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1891 to functions.
1892 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1893 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1894 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1895 (easy-menu-define, with-custom-print): Remove redundant specs.
1896 (edebug-outside-overriding-local-map)
1897 (edebug-outside-overriding-terminal-local-map): Remove, unused.
1898 (edebug--display): Bind unread-command-events directly to nil rather
1899 than binding it to unread-command-events and later setting it to nil.
1900 (edebug--display): Kill edebug-eval-buffer here...
1901 (edebug--recursive-edit): ...rather than here.
1902 Bind standard-output and standard-input.
1903 (edebug-eval): Check cl-macroexpand-all is fboundp.
1904 (edebug-temp-display-freq-count): Fix last change.
1905
1906 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1907 * subr.el (noreturn, 1value): Add `debug' spec.
1908 * emacs-lisp/advice.el: Require cl-lib.
1909 (ad-copy-tree): Remove, use copy-tree instead.
1910 (ad-dolist): Remove use dolist or cl-dolist instead.
1911 (ad-do-return): Remove, use cl-return instead.
1912 (defadvice): Add `debug' spec.
1913
5b68b333
JL
19142012-09-13 Juri Linkov <juri@jurta.org>
1915
1916 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1917 (Bug#12399)
1918
b9800ec4
GM
19192012-09-13 Glenn Morris <rgm@gnu.org>
1920
6a2e6868
GM
1921 * calc/calc.el (math-compose-expr):
1922 * calc/calc-ext.el (math-compose-expr):
1923 * progmodes/cc-defs.el (cl-macroexpand-all):
1924 * progmodes/cc-langs.el (delete-duplicates, mapcan)
1925 (cl-macroexpand-all): Update declarations.
1926
b9800ec4
GM
1927 * vc/vc.el: No need to require ediff.
1928 (ediff-load-version-control): Declare.
1929 (ediff-vc-internal): Fix declaration.
1930 (vc-version-ediff): Require ediff.
1931
c18e885b
PE
19322012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1933
1934 Use a more backwards-compatible timer format (Bug#12430).
1935 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1936 being right after USECS, as that better supports old code that
1937 inadvisedly looked directly at the timer vector.
1938
d607d303
KH
19392012-09-13 Kenichi Handa <handa@gnu.org>
1940
1941 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1942 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1943 `coding-priority' property of these language environment.
1944
72eac303
PE
19452012-09-13 Paul Eggert <eggert@cs.ucla.edu>
1946
1947 Fix glitches caused by addition of psec to timers (Bug#12430).
1948 * image.el (image-animate-timer):
1949 * time.el (display-time-world-timer):
1950 Use timer--function and timer--args rather than raw access to
1951 timer vector.
1952
2168fe4f
GM
19532012-09-13 Glenn Morris <rgm@gnu.org>
1954
1955 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1956 If not compiling a file, try using load-file-name.
1957
bd8d6108
SM
19582012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1959
c0c54fbd
SM
1960 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1961 Fix last change.
1962 (edebug-update-eval-list): Use `push'.
1963
bd8d6108
SM
1964 * emacs-lisp/edebug.el: Use lexical-binding.
1965 Remove the "edebug-" prefix from non-dynamically-scoped variables.
1966 Mark unused args with underscore.
1967 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1968 (edebug-form-data): Use defvar-local.
1969 (edebug-make-before-and-after-form, edebug-make-after-form):
1970 Use backquote.
1971 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1972 Not dynamically scoped any more.
1973 (edebug--enter-trace): Add arguments `function' and `args'.
1974 Rename from edebug-enter-trace.
1975 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
1976 (edebug--update-coverage): Add `after-index' and `value' args.
1977 Rename from edebug-update-coverage.
1978 (edebug-slow-after): Call it accordingly.
1979 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
1980 edebug-recursive-edit.
1981 (edebug--display): Call it accordingly. Add args `value',
1982 `offset-index', and `arg-mode'. Rename from edebug-display.
1983 (edebug-debugger, edebug): Call it accordingly.
1984 (edebug-eval-display-list): Use dolist.
1985
a9f9d9de
JL
19862012-09-12 Juri Linkov <juri@jurta.org>
1987
1988 * info.el (Info-search): Don't check for isearch-mode and
1989 isearch-regexp before let-binding search-spaces-regexp to
1990 Info-search-whitespace-regexp.
1991 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1992 search-whitespace-regexp if isearch-lax-whitespace or
1993 isearch-regexp-lax-whitespace is non-nil.
1994 (Info-mode): Don't set local variable search-whitespace-regexp.
1995 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1996
bfeae2cf
SM
19972012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2000 (debugger-env-macro): Remove support for unread-command-char.
2001
2002 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2003 the temporary map re-appearing on emulation-mode-map-alists.
2004
2005 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2006 since 22.1.
2007
2008 * ehelp.el (with-electric-help): Accept functions in
2009 electric-help-form-to-execute.
2010 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2011 And replace unread-command-char -> unread-command-events.
2012
fbbcaf1b
MA
20132012-09-12 Michael Albinus <michael.albinus@gmx.de>
2014
2015 Sync with Tramp 2.2.6.
2016
2017 * net/tramp.el (tramp-accept-process-output): Don't use
2018 JUST-THIS-ONE in the XEmacs case.
2019
2020 * net/trampver.el: Update release number.
2021
4dece104
MR
20222012-09-12 Martin Rudalics <rudalics@gmx.at>
2023
bfeae2cf
SM
2024 * emacs-lisp/debug.el (debugger-previous-window-height):
2025 New variable.
4dece104
MR
2026 (debug): When debugger-jumping-flag is non-nil try to restore
2027 height of debugger window. (Bug#8789)
2028
45b82ad0
SM
20292012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2030
60c49c0f
SM
2031 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2032 overriding-local-map and pre/post-command-hook here.
2033 (edebug-recursive-edit): Do it here instead (bug#12345).
2034 (edebug-outside-unread-command-char): Remove all uses of
2035 unread-command-char.
2036
45b82ad0
SM
2037 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2038 inhibit-debugger is bound instead.
2039
baa26ea0
BG
20402012-09-11 Bastien Guerry <bzg@gnu.org>
2041
2042 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2043 (Bug#12346)
baa26ea0 2044
04e8abfa
BG
20452012-09-11 Bastien Guerry <bzg@gnu.org>
2046
96d03571 2047 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2048 (Bug#12347)
96d03571
BG
2049
20502012-09-11 Bastien Guerry <bzg@gnu.org>
2051
fc0c31f8 2052 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2053
04e082b0
MM
20542012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2055
2056 * progmodes/sql.el: Version 3.1
2057 (sql-db2-escape-newlines): New variable.
2058 (sql-escape-newlines-filter): Use it.
2059
399a361b
JB
20602012-09-10 Juanma Barranquero <lekktu@gmail.com>
2061
2062 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2063
0780c517
DN
20642012-09-10 Dan Nicolaescu <dann@gnu.org>
2065
45b82ad0
SM
2066 * vc/diff-mode.el (diff-mode-menu):
2067 Bind diff-remove-trailing-whitespace.
0780c517 2068
9b851e25
SM
20692012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2072 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2073 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2074 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2075 (eval-defun-2): Remove bogus interactive spec.
2076 (lisp-indent-line): Remove redundant whole-exp code, now done in
2077 indent-according-to-mode.
2078 (save-match-data): Remove redundant indent data.
2079
2080 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2081 Use `declare'.
2082
3231d532
JL
20832012-09-09 Juri Linkov <juri@jurta.org>
2084
2085 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2086 (replace-lax-whitespace, query-replace-regexp)
2087 (query-replace-regexp-eval, replace-regexp): Doc fix.
2088 (perform-replace, replace-highlight): Let-bind
2089 isearch-lax-whitespace to replace-lax-whitespace and
2090 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2091
2092 * isearch.el (isearch-query-replace): Let-bind
2093 replace-lax-whitespace to isearch-lax-whitespace and
2094 replace-regexp-lax-whitespace to
2095 isearch-regexp-lax-whitespace. (Bug#10885)
2096
70fe8236
SM
20972012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2100
8ed43f15
AM
21012012-09-09 Alan Mackenzie <acm@muc.de>
2102
70fe8236
SM
2103 * progmodes/cc-engine.el (c-state-cache-init):
2104 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2105 (c-record-parse-state-state):
2106 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2107
bfabf70a
AS
21082012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2109
2110 * register.el (register-separator): Rename from
2111 separator-register. All uses changed. Doc fix.
2112 (register): Fix version.
2113
011474aa
CY
21142012-09-09 Chong Yidong <cyd@gnu.org>
2115
2116 * replace.el (query-replace-map): Bind four new symbols for
2117 requesting window scrolling.
2118
2119 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2120 query-replace-map (Bug#8948).
2121
2122 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2123
2124 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2125 since they are now in query-replace-map.
2126
2127 * window.el (scroll-other-window-down): Make the arg optional.
2128
a8b7cd8d
CY
21292012-09-09 Chong Yidong <cyd@gnu.org>
2130
2131 * files.el (hack-local-variables-confirm): Use quit-window to kill
2132 the *Local Variables* buffer.
2133
c3268831
DG
21342012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2135
2136 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2137 not just expect to be at its beginning. Adjust callees.
2138 Succeed when do-end block has no space before the pipe character.
2139 (ruby-brace-to-do-end): When the original block is one-liner,
2140 convert to multiline. Reindent the result.
2141
0979429b
J
21422012-09-08 Jambunathan K <kjambunathan@gmail.com>
2143
2144 * register.el (register): New group.
27359e99 2145 (separator-register): New user option.
0979429b
J
2146 (increment-register): Route it to `append-to-register', if
2147 register contains text. Implication is that `C-x r +' can now be
2148 used for appending to a text register (bug#12217).
2149 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2150 `separator-register'.
0979429b 2151
ace2989a
AM
21522012-09-08 Alan Mackenzie <acm@muc.de>
2153
2154 AWK Mode: make auto-newline work when there's "==" in the pattern.
2155 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2156 correctly.
0979429b
J
2157 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2158 Test more rigorously for "=" token.
ace2989a 2159
616c6c36
DG
21602012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2161
0979429b
J
2162 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2163 Only fail when reached LIMIT.
616c6c36 2164
35d98877
CY
21652012-09-08 Chong Yidong <cyd@gnu.org>
2166
2167 * dired.el (dired-mode-map): Don't bind M-=.
2168
2169 * dired-aux.el (dired-diff): Use backup file as default.
2170
1715f2db
DA
21712012-09-08 Drew Adams <drew.adams@oracle.com>
2172
2173 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2174
6dcef6ec
CY
21752012-09-08 Chong Yidong <cyd@gnu.org>
2176
2177 * subr.el (syntax-after, syntax-class): Doc fix.
2178
fa2bcf43
MR
21792012-09-08 Martin Rudalics <rudalics@gmx.at>
2180
2181 * window.el (display-buffer-in-previous-window): New buffer
2182 display action function.
2183
2184 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2185 (debugger-previous-window): New variable.
2186 (debug): Rewrite using display-buffer-in-previous-window,
2187 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2188
daac280a
SM
21892012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2190
2191 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2192
9dd40b00
MM
21932012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2194
daac280a
SM
2195 * progmodes/python.el (python-shell-send-string):
2196 When default-directory is remote, create temp file on remote
9dd40b00
MM
2197 filesystem.
2198 (python-shell-send-file): When file is remote, pass local view of
2199 file paths to remote Python interpreter. (Bug#12340)
2200
145823ec
CY
22012012-09-07 Chong Yidong <cyd@gnu.org>
2202
cee2e90d
CY
2203 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2204
0d7eb2ea
CY
2205 * files.el (after-find-file): Don't fail on a read-only buffer if
2206 require-final-newline is `visit' or `visit-save' (Bug#11156).
2207
145823ec
CY
2208 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2209
daac280a
SM
2210 * userlock.el (ask-user-about-supersession-threat):
2211 Use read-char-choice (Bug#12093).
145823ec 2212
74c582e6
CY
22132012-09-07 Chong Yidong <cyd@gnu.org>
2214
e5c2edf7
CY
2215 * subr.el (buffer-narrowed-p): New function.
2216
2217 * ses.el (ses-widen):
2218 * simple.el (count-words--buffer-message):
1f9f395d 2219 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2220
2221 * simple.el (count-words-region): Don't signal an error if there
2222 is a non-nil prefix arg and the mark is not set.
c640e87d 2223
74c582e6
CY
2224 * help.el (describe-key-briefly): Allow the message to be seen
2225 when invoked from the minibuffer (Bug#7014).
2226
d81ceaaf
DG
22272012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2228
2229 * progmodes/ruby-mode.el (ruby-end-of-defun)
2230 (ruby-beginning-of-defun): Simplify, allow indentation before
2231 block beginning and end keywords.
8f06acce
DG
2232 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2233 (ruby-end-of-defun): Expect that the point is at the beginning of
2234 the defun.
d81ceaaf 2235
d458ef98
SM
22362012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2237
2238 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2239 (bug#12367).
2240 (cl--make-usage-args): Strip _ from argument names.
2241
20367d28
RS
22422012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2243
2244 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2245 obsolete alias speedbar-key-map.
2246 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2247 (vhdl-index-menu-init): Don't use obsolete variable
2248 font-lock-maximum-size.
2249
3424a4f6
CY
22502012-09-06 Chong Yidong <cyd@gnu.org>
2251
2252 * frame.el (window-system-version): Mark as obsolete.
2253
fcbfbdea
CY
2254 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2255 of obsolete variable speedbar-key-map.
2256
826b3235
JL
22572012-09-06 Juri Linkov <juri@jurta.org>
2258
2259 * replace.el (replace-lax-whitespace): New defcustom.
2260 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2261 (replace-string, replace-regexp): Mention it in docstrings.
2262 (perform-replace, replace-highlight): Let-bind
2263 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2264 to the values of replace-lax-whitespace and regexp-flag.
2265 Don't let-bind search-whitespace-regexp. (Bug#10885)
2266
2267 * isearch.el (isearch-query-replace): Let-bind
2268 replace-lax-whitespace instead of let-binding
2269 replace-search-function and replace-re-search-function.
2270 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2271 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2272 (isearch-toggle-symbol): Set isearch-regexp to nil
2273 in isearch-word mode (like in isearch-toggle-word).
2274
1ec5e41d
JL
22752012-09-06 Juri Linkov <juri@jurta.org>
2276
2277 * replace.el (replace-search-function)
2278 (replace-re-search-function): Set default values to nil.
2279 (perform-replace): Let-bind isearch-related variables based on
2280 replace-related values, call `isearch-search-fun' and let-bind
2281 the result to `search-function'. Remove code that sets
2282 `search-function' and `search-string' separately for
2283 `delimited-flag'.
2284 (replace-highlight): Add new argument `delimited-flag' and
2285 rename other arguments to the names used in `perform-replace'.
2286 Let-bind `isearch-word' to the argument `delimited-flag'.
2287 (Bug#10885, bug#10887)
2288
0ba2d4b6
DG
22892012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2290
2291 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2292 ruby-beginning-of-indent, simplify, allow all keywords to have
2293 indentation before them.
2294 (ruby-beginning-of-indent): Adjust for above. Search until the
2295 found point is not inside a string or comment.
2296 (ruby-font-lock-keywords): Allow symbols to start with "@"
2297 character, give them higher priority than variables.
2298 (ruby-syntax-propertize-function)
2299 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2300 matchers. Expression expansions are not comments when inside a
2301 string, and there comment syntax status is irrelevant.
2302 (ruby-match-expression-expansion): New function. Check that
2303 expression expansion is inside a string, and it's not escaped.
2304 (ruby-font-lock-keywords): Use it.
2305
ef654460
MR
23062012-09-05 Martin Rudalics <rudalics@gmx.at>
2307
2308 * help.el (temp-buffer-max-height): New default value.
2309 (temp-buffer-resize-frames): New option.
2310 (resize-temp-buffer-window): Optionally resize frame.
2311
2312 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2313 (fit-frame-to-buffer): New function.
2314
7e570fbf 23152012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2316
2317 * emulation/cua-rect.el (cua--init-rectangles):
2318 * textmodes/picture.el (picture-mode-map):
2319 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2320 like forward-char and backward-char. (Bug#12317)
2321
7e570fbf 23222012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2323
2324 * progmodes/flymake.el (flymake-warning-re): New variable.
2325 (flymake-parse-line): Use it.
2326
7e570fbf 23272012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2328
2329 * calendar/holidays.el (holiday-christian-holidays):
2330 Rename an entry. (Bug#12289)
2331
7e570fbf 23322012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2333
2334 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2335 (bug#12222).
2336
972debf2
SM
23372012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * loadup.el: Load macroexp. Remove hack.
2340 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2341 (macroexp--expand-all): Use it to get better warnings.
2342 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2343 (internal-macroexpand-for-load): New functions.
2344 (macroexp--pending-eager-loads): New var.
2345 (emacs-startup-hook): New hack to replace one in loadup.el.
2346 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2347 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2348 (cl-psetf): Simplify.
2349 (cl-defstruct): Add indent rule.
2350
8ce192e3
LI
23512012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2352
2353 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2354 over `user-mail-address' for the SMTP MAIL FROM envelope.
2355 (smtpmail-via-smtp): Ditto.
2356
6578b4d8
DG
23572012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2358
2359 * progmodes/ruby-mode.el: Clean up keybindings.
2360 (ruby-mode-map): Don't bind ruby-electric-brace,
2361 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2362 backward-kill-word, reindent-then-newline-and-indent.
2363 (ruby-mark-defun): Remove.
2364 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2365 (ruby-mode): Set local beginning-of-defun-function and
2366 end-of-defun-function values.
2367
c5e28e39
MR
23682012-09-03 Martin Rudalics <rudalics@gmx.at>
2369
2370 * window.el (temp-buffer-window-setup-hook)
2371 (temp-buffer-window-show-hook): New hooks.
2372 (temp-buffer-window-setup, temp-buffer-window-show)
2373 (with-temp-buffer-window): New functions.
972debf2
SM
2374 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2375 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2376
2377 * help.el (temp-buffer-resize-mode): Fix doc-string.
2378 (resize-temp-buffer-window): New optional argument WINDOW.
2379
2380 * files.el (recover-file, save-buffers-kill-emacs):
2381 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2382
73406194
MA
23832012-09-02 Michael Albinus <michael.albinus@gmx.de>
2384
2385 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2386 remote definition of `default-directory', ensure we can connect.
2387
63dd1c6f
JL
23882012-09-02 Juri Linkov <juri@jurta.org>
2389
2390 Toggle whitespace matching mode with M-s SPC.
2391 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2392
2393 * isearch.el (search-whitespace-regexp): Doc fix.
2394 Remove cons cell customization.
2395 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2396 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2397 New variables.
2398 (isearch-forward, isearch-forward-regexp): Doc fix.
2399 (isearch-toggle-lax-whitespace): New command.
2400 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2401 (re-search-forward-lax-whitespace)
2402 (re-search-backward-lax-whitespace): New functions.
2403 (isearch-whitespace-regexp): Remove function.
2404 (isearch-query-replace): Let-bind replace-search-function and
2405 replace-re-search-function.
2406 (isearch-occur): Let-bind search-spaces-regexp according to the
2407 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2408 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2409 condition for C-q SPC.
2410 (isearch-search-fun-default): Use new functions mentioned above.
2411 (isearch-search-forward, isearch-search-backward): Remove functions.
2412 (isearch-search): Don't let-bind search-spaces-regexp.
2413 (isearch-lazy-highlight-space-regexp): Remove variable.
2414 (isearch-lazy-highlight-lax-whitespace)
2415 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2416 (isearch-lazy-highlight-new-loop): Use them.
2417 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2418
af7dda05
CY
24192012-09-02 Chong Yidong <cyd@gnu.org>
2420
2421 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2422
d67d3afd
GM
24232012-09-02 Glenn Morris <rgm@gnu.org>
2424
2425 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2426
69678719
GM
24272012-09-01 Glenn Morris <rgm@gnu.org>
2428
2429 * term.el: Tidy up menu definitions.
2430 (term-mode-map): Use easymenu for In/Out, Complete menus.
2431 (term-pager-break-map): Initialize in the defvar.
2432 (term-terminal-menu, term-signals-menu): Define with easymenu.
2433 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2434 (term-pager-menu): New, extracted from term-process-pager.
2435 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2436 (term-update-mode-line): Propertize line/char and page items.
2437 (term-process-pager): Move keymap initialization elsewhere.
2438
78dd6ab1
MR
24392012-09-01 Martin Rudalics <rudalics@gmx.at>
2440
2441 * window.el (switch-to-prev-buffer): Handle additional values of
2442 BURY-OR-KILL argument. Don't switch in minibuffer window.
2443 (switch-to-next-buffer): Don't switch in minibuffer window.
2444 (quit-restore-window): New function based on quit-window.
2445 Handle additional values of former KILL argument.
2446 (quit-window): Call quit-restore-window with appropriate
2447 interpretation of KILL argument.
2448 (display-buffer-below-selected): New buffer display action
2449 function.
2450
3d10e134
SM
24512012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2452
2453 * minibuffer.el (completion-at-point-functions): Complete docstring
2454 (bug#12254).
2455
0e23ef9d
PE
24562012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2457
2458 Better seed support for (random).
2459 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2460 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2461 * play/mpuz.el, play/tetris.el, play/zone.el:
2462 * calc/calc-comb.el (math-init-random-base):
2463 * play/blackbox.el (bb-init-board):
2464 * play/life.el (life):
2465 * server.el (server-use-tcp):
2466 * type-break.el (type-break):
2467 Remove unnecessary call to (random t).
2468 * net/sasl.el (sasl-unique-id-function):
2469 Change (random t) to (random), now that the latter is more random.
2470 * play/life.el (life-initialized): Remove no-longer-needed var.
2471
862382df
MR
24722012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2473
2474 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2475 Consider frame's buffer predicate when choosing the buffer.
2476 (Bug#12081)
2477
262a66e1
RS
24782012-08-30 Richard Stallman <rms@gnu.org>
2479
2480 * simple.el (special-mode-map): Delete binding for `z'.
2481
f17e1d00
AS
24822012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2483
2484 * progmodes/compile.el (compilation-always-kill): Doc fix.
2485
24777832
CY
24862012-08-30 Chong Yidong <cyd@gnu.org>
2487
2488 * window.el (display-buffer-reuse-frames): Make the obsolescence
2489 message more informative.
2490
69ba1f04
GM
24912012-08-30 Glenn Morris <rgm@gnu.org>
2492
2493 * paren.el (show-paren-delay):
2494 Add a :set function. Doc fix. (Bug#12297)
2495
f0019ede
MB
24962012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2497
2498 * progmodes/compile.el (compilation-always-kill): New var.
2499 (compilation-start): Use it.
2500
35e62fc9
SM
25012012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2502
af070a1c
SM
2503 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2504 * files.el (read-only-mode): Move to simple.el.
2505
35e62fc9
SM
2506 * files.el (read-only-mode): New minor mode.
2507 (toggle-read-only): Use it and mark obsolete.
2508 (find-file--read-only):
2509 * vc/vc.el (vc-next-action, vc-checkout):
2510 * vc/vc-cvs.el (vc-cvs-checkout):
2511 * obsolete/vc-mcvs.el (vc-mcvs-update):
2512 * ffap.el (ffap--toggle-read-only): Update callers.
2513
c2c43c23
MA
25142012-08-29 Michael Albinus <michael.albinus@gmx.de>
2515
2516 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2517 remote shell scripts.
2518 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2519
2520 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2521 "/usr/local/sbin".
2522
9fba804b
SM
25232012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2526
eada0861 25272012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2528
806f0cc7
LL
2529 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2530 completion-at-point. (Bug#12220)
2531
3bb213b9
LL
2532 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2533
22ab32ef
LL
2534 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2535
eada0861 25362012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2537
19c17fc1
CY
2538 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2539 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2540
eada0861 25412012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2542
2543 * progmodes/hideif.el (hif-compress-define-list):
2544 Fix typo. (Bug#11951)
2545
eada0861 25462012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2547
2548 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2549 buffer local setting.
2550
27d6c5a8
LL
2551 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2552 rcirc-encode-coding-system.
2553
eada0861 25542012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2555
2556 * net/rcirc.el (rcirc-split-message): New function.
2557 (rcirc-send-message): Use it. (Bug#12051)
2558
d44688e4
JL
25592012-08-28 Juri Linkov <juri@jurta.org>
2560
2561 * info.el (Info-fontify-node): Hide empty lines at the end of
2562 the node. (Bug#12272)
2563
34f10d41
MR
25642012-08-27 Drew Adams <drew.adams@oracle.com>
2565
2566 * dired.el (dired-pop-to-buffer): Make window start at beginning
2567 of buffer (Bug#12281).
2568
77f1f99c
CY
25692012-08-26 Chong Yidong <cyd@gnu.org>
2570
2571 * window.el (special-display-regexps, special-display-frame-alist)
2572 (special-display-buffer-names, special-display-function)
2573 (display-buffer-reuse-frames): Mark as obsolete.
2574
2575 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2576
2577 * help.el (help-print-return-message): Don't treat
2578 display-buffer-reuse-frames specially.
2579
d97af5a0
CY
25802012-08-26 Chong Yidong <cyd@gnu.org>
2581
9fba804b
SM
2582 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2583 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
2584 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2585 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2586 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2587 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2588 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
2589 the functions directly with gdb-display-buffer-other-frame-action.
2590 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2591 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2592 (gdb-display-stack-buffer, gdb-display-locals-buffer)
2593 (gdb-display-registers-buffer): Define directly.
2594 (def-gdb-display-buffer): Macro deleted.
2595 (gdb-display-buffer): Remove second and third args, callers don't
2596 use them. Defer to the default display-buffer behavior, apart
2597 from making windows dedicated.
2598 (gdb-setup-windows): Don't call display-buffer unnecessarily.
2599
2600 * progmodes/gud.el (gud-display-line): Just use display-buffer.
2601
2602 * window.el (display-buffer-pop-up-frame): Handle a
2603 pop-up-frame-parameters alist entry.
2604 (display-buffer): Document it.
2605
dd7ffad6
CY
26062012-08-26 Chong Yidong <cyd@gnu.org>
2607
2608 * isearch.el (search-whitespace-regexp): Make string and nil
2609 values apply to both ordinary and regexp search. Allow a cons
2610 cell value to distinguish between the two.
2611 (isearch-whitespace-regexp, isearch-search-forward)
2612 (isearch-search-backward): New functions.
2613 (isearch-occur, isearch-search-fun-default, isearch-search)
2614 (isearch-lazy-highlight-new-loop): Use them.
2615 (isearch-forward, isearch-forward-regexp): Doc fix.
2616
4c47bd1e
CY
26172012-08-26 Chong Yidong <cyd@gnu.org>
2618
2619 * faces.el (help-argument-name): Always inherit from italic
2620 (Bug#12213).
2621
9aba119d
MR
26222012-08-25 Martin Rudalics <rudalics@gmx.at>
2623
2624 * window.el (window--even-window-heights): Even heights when
2625 WINDOW and the selected window form a vertical combination.
2626 (display-buffer-use-some-window): Provide that window used gets
2627 sized back by quit-window. (Bug#11880) and (Bug#12091)
2628
ca5256ad
PE
26292012-08-24 Paul Eggert <eggert@cs.ucla.edu>
2630
2631 Fix file time stamp problem with bzr and CVS (Bug#12001).
2632 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2633 in the file's time stamp, since the version control system loses
2634 that information.
2635
d1c0d176
JL
26362012-08-22 Juri Linkov <juri@jurta.org>
2637
2638 * info.el (Info-fontify-node): Hide the suffix of the
2639 Info file name in the header line. (Bug#12187)
2640
141562ff
GM
26412012-08-22 Glenn Morris <rgm@gnu.org>
2642
2643 * calendar/cal-tex.el (cal-tex-weekly-common):
2644 Restore leading blank page.
2645
61a48e19 26462012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
2647
2648 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
2649 the region under `shift-select-mode'. (Bug#12231)
2650
26512012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
2652
2653 * progmodes/executable.el (executable-prefix): Set to "#!" instead
2654 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
2655 gives details on why the space is never needed.
2656
ea95074e
MR
26572012-08-22 Martin Rudalics <rudalics@gmx.at>
2658
9fba804b
SM
2659 * window.el (walk-window-tree, window-with-parameter):
2660 New optional argument MINIBUF to control whether these functions
ea95074e
MR
2661 should run on the minibuffer window.
2662 (window-at-side-list): Don't operate on minibuffer window.
2663 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
2664 (window--size-ignore): Rename to window--size-ignore-p.
2665 Update callers.
caceae25
MR
2666 (display-buffer-in-atom-window, window--major-non-side-window)
2667 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
2668 (delete-side-window, display-buffer-in-side-window):
2669 New functions.
caceae25
MR
2670 (window--side-check, window-deletable-p, delete-window)
2671 (delete-other-windows, split-window): Handle side windows and
2672 atomic windows appropriately.
2673 (window--display-buffer): Call display-buffer-record-window also
2674 when the window buffer did not change.
ea95074e 2675
80a51fa0
CS
26762012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
2677
2678 * help-fns.el (help-fns--key-bindings):
2679 Abbreviate non-symbol remap targets. (Bug#12174)
2680
fbb6300b
MR
26812012-08-22 Martin Rudalics <rudalics@gmx.at>
2682
2683 * dired.el (dired-mark-remembered): Don't clobber point.
2684 (Bug#11795)
2685
2b2c0794
GM
26862012-08-22 Glenn Morris <rgm@gnu.org>
2687
2688 * progmodes/bug-reference.el (bug-reference): New custom group.
2689 (bug-reference-bug-regexp): Make it a defcustom.
2690
37219830
DU
26912012-08-22 Daiki Ueno <ueno@unixuser.org>
2692
2693 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2694 (js-paren-indent-offset, js-square-indent-offset)
2695 (js-curly-indent-offset): Add :safe (Bug#12257).
2696
94e0e559
EC
26972012-08-22 Edward O'Connor <hober0@gmail.com>
2698
2699 * json.el (json-key-format): Add error properties.
2700 (json-encode-key): New function.
2701 (json-encode-hash-table, json-encode-alist, json-encode-plist):
2702 Use json-encode-key.
2703
da485f5e
GM
27042012-08-22 Glenn Morris <rgm@gnu.org>
2705
2706 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2707 (cal-tex-leftday, cal-tex-rightday): Remove functions.
2708 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2709 Update for above change.
2710
c6cc78b8
AS
27112012-08-21 Andreas Schwab <schwab@linux-m68k.org>
2712
2713 * cus-face.el (custom-face-attributes): Fix customize type for the
2714 :underline attribute. (Bug#11805)
2715
5481664a
MR
27162012-08-21 Martin Rudalics <rudalics@gmx.at>
2717
2718 * window.el (window-point-1, set-window-point-1): Remove.
2719 (window-in-direction, record-window-buffer)
2720 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
2721 (window--state-get-1, display-buffer-record-window):
2722 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
2723 window-point and set-window-point respectively.
2724
6d74698e
GM
27252012-08-21 Glenn Morris <rgm@gnu.org>
2726
b7fa2691
GM
2727 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2728 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2729 Use it.
2730
52f56d5a
GM
2731 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2732 (cal-tex-shortday): New function.
2733 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2734 (cal-tex-cursor-filofax-daily): Use the above.
2735
9f1ee09e
GM
2736 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2737 New functions.
2738 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2739 (cal-tex-cursor-filofax-week): Use them.
2740
79858159
GM
2741 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2742 New constants.
2743 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2744 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2745
d346b2b4
GM
2746 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2747 (cal-tex-end-document): Don't rely on buffer name.
2748
b2403709
GM
2749 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2750 Use cal-tex-vspace.
2751 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2752 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
2753 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2754 Use cal-tex-arg.
b2403709 2755
1cebb5c0
GM
2756 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2757 (cal-tex-cursor-week, cal-tex-cursor-week2)
2758 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2759 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2760 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2761 (cal-tex-insert-preamble, cal-tex-b-document)
2762 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2763 Improve cal-tex-cmd usage.
2764
c68cd5d4
GM
2765 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2766 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2767 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2768 (cal-tex-weekly-paper): New function.
2769 (cal-tex-cursor-week, cal-tex-cursor-week2)
2770 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2771 (cal-tex-cursor-day): Use it.
2772
9dca4801
GM
2773 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2774 (cal-tex-cursor-filofax-week): Remove leading blank page.
2775
1941e134
GM
2776 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2777 Add autoload cookie. For now at least, don't use color, since
2778 no other cal-tex function does.
2779
6d74698e
GM
2780 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2781 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2782 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2783
64cde199
JL
27842012-08-21 Juri Linkov <juri@jurta.org>
2785
2786 * info.el (Info-file-attributes): New variable.
2787 (info-insert-file-contents): Add file attributes to
2788 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
2789 `Info-toc-nodes' when previous modtime of the Info file is less
2790 than new modtime.
2791 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2792 of info.el. (Bug#12230)
2793
32757648
GM
27942012-08-20 Glenn Morris <rgm@gnu.org>
2795
2796 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2797 * calendar/holidays.el (calendar-holiday-list):
2798 Report errors with display-warning rather than beep'n'sleep.
2799
a32fbbcf
MA
28002012-08-20 Michael Albinus <michael.albinus@gmx.de>
2801
2802 * net/tramp.el (tramp-accept-process-output): Accept only output
2803 from PROC. Otherwise, process filters and sentinels might be
2804 confused. (Bug#12145)
2805
a05731a0
CY
28062012-08-20 Chong Yidong <cyd@gnu.org>
2807
2808 * descr-text.el (describe-text-properties-1): Use overlays-in to
2809 report on empty overlays (Bug#3322).
2810
36e8d1eb
GM
28112012-08-20 Glenn Morris <rgm@gnu.org>
2812
3d300447
GM
2813 * mail/rmailout.el (rmail-output-read-file-name):
2814 Trap and report errors in rmail-output-file-alist elements.
2815
36e8d1eb
GM
2816 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2817 since most non-font-lock faces are not also variables).
2818
b96e5814
ER
28192012-08-20 Edward Reingold <reingold@iit.edu>
2820
2821 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2822 New function. (Bug12160)
2823
7cef3569
GM
28242012-08-19 Glenn Morris <rgm@gnu.org>
2825
2826 * mail/rmailout.el (rmail-output-read-file-name):
2827 Fix previous change (when the alist is nil or does not match).
2828
17975d7f
CY
28292012-08-19 Chong Yidong <cyd@gnu.org>
2830
2831 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2832 (Bug#12228).
2833
2170b1bd
CY
28342012-08-18 Chong Yidong <cyd@gnu.org>
2835
2836 * simple.el (yank-handled-properties): New defcustom.
2837 (yank-excluded-properties): Add font-lock-face and category.
2838 (yank): Doc fix.
2839
9fba804b
SM
2840 * subr.el (remove-yank-excluded-properties):
2841 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
2842 and category is now done this way, instead of being hard-coded.
2843 (insert-for-yank-1): Remove font-lock-face handling.
2844 (yank-handle-font-lock-face-property)
2845 (yank-handle-category-property): New function.
2846
ee218151
GM
28472012-08-17 Glenn Morris <rgm@gnu.org>
2848
2849 * mail/rmailout.el (rmail-output-read-file-name):
2850 Check rmail-output-file-alist against the full message body
2851 in the correct rmail buffer. (Bug#12214)
2852
4a6bc3fd
MA
28532012-08-17 Michael Albinus <michael.albinus@gmx.de>
2854
9fba804b
SM
2855 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2856 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 2857
383dcbf9
CY
28582012-08-17 Chong Yidong <cyd@gnu.org>
2859
2860 * mouse.el (mouse-appearance-menu): If x-select-font returns a
2861 font spec, set the font directly (Bug#3228).
2862
998c4a6a
MR
28632012-08-17 Martin Rudalics <rudalics@gmx.at>
2864
2865 * window.el (delete-window): Fix last fix.
2866
52162052
MR
28672012-08-16 Martin Rudalics <rudalics@gmx.at>
2868
2869 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
2870 (window-child, window-child-count, window-last-child)
2871 (window-normalize-window, window-combined-p)
2872 (window-combinations, window-atom-root, window-min-size)
2873 (window-sizable, window-sizable-p, window-size-fixed-p)
2874 (window-min-delta, window-max-delta, window--resizable)
2875 (window--resizable-p, window-resizable, window-total-size)
2876 (window-full-height-p, window-full-width-p, window-body-size)
2877 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2878 (minimize-window, window-deletable-p, delete-window)
2879 (delete-other-windows, set-window-buffer-start-and-point)
2880 (next-buffer, previous-buffer, split-window, balance-windows-2)
2881 (set-window-text-height, window-buffer-height)
2882 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
2883 (truncated-partial-width-window-p): Minor code adjustments.
2884 In doc-strings state whether the argument window has to denote a
85c2386b 2885 live, valid or any window.
52162052 2886
1c308380
PS
28872012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
2888
2889 * progmodes/subword.el (subword-forward-function)
2890 (subword-backward-function, subword-forward-regexp)
2891 (subword-backward-regexp): New variables.
2892 (subword-forward, subword-forward-internal, subword-backward-internal):
2893 Use new variables, eg so that different "word" definitions
2894 can be easily used. (Bug#11411)
2895
94c9ece1
SM
28962012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2897
2898 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2899 for composite selectors.
2900 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2901 operation just because we can't find a previous revision.
2902
f2045622
CY
29032012-08-15 Chong Yidong <cyd@gnu.org>
2904
2905 * frame.el (set-frame-font): Accept font objects.
2906
582db660
SM
29072012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2910
2f29c200
WJ
29112012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2912
456e62c2
WJ
2913 * man.el (Man-overstrike-face, Man-underline-face)
2914 (Man-reverse-face): Remove variables.
2915 (Man-overstrike, Man-underline, Man-reverse): New faces.
2916 (Man-fontify-manpage): Use them instead of the variables.
2917 (Man-cleanup-manpage): Comment change.
2918 (Man-ansi-color-map): New variable.
2919 (Man-fontify-manpage): Use it.
2920 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2921
2f29c200
WJ
2922 Implement ANSI SGR parameters 22-27 (bug#12146).
2923 * ansi-color.el (ansi-colors): Doc fix.
2924 (ansi-color-context, ansi-color-context-region): Doc fix.
2925 (ansi-color--find-face): New function.
2926 (ansi-color-apply, ansi-color-apply-on-region): Use it.
2927 Rename the local variable `face' to `codes' since it is now a list of
2928 ansi codes. Doc fix.
2929 (ansi-color-get-face): Remove.
2930 (ansi-color-parse-sequence): New function, derived from
2931 ansi-color-get-face.
2932 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
2933 codes 22-27.
2934
b4f5e9df
SM
29352012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
2936
2937 * subr.el (read-passwd): Allow use from a minibuffer.
2938
ba025fbd
EZ
29392012-08-14 Eli Zaretskii <eliz@gnu.org>
2940
2941 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2942 inside comments and strings as identifiers.
2943
2944 * progmodes/gud.el (gud-tooltip-print-command): Quote the
2945 expression to evaluate. This allows to evaluate expressions with
2946 embedded whitespace.
2947 (gud-tooltip-tips): Add a blank before the newline in the
2948 message-box text, for the benefit of message-box emulation on
2949 MS-Windows.
2950
2951 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2952 messages from GDB, pop them up in a tooltip to give feedback to
2953 user.
b4f5e9df
SM
2954 (gdb-tooltip-print-1): Quote the expression to evaluate.
2955 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
2956 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2957 if the TTY name is nil or empty (which happens when communicating
2958 with the inferior via pipes, e.g. on MS-Windows).
2959 (gdb-internals): If GDB sends a "&\n" empty debugging message,
2960 don't send that to the GUD buffer.
2961
c548f821
GM
29622012-08-14 Glenn Morris <rgm@gnu.org>
2963
2964 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2965 Optimize away setq-default with no args, as for setq. (Bug#12195)
2966
55802e4a
CY
29672012-08-14 Chong Yidong <cyd@gnu.org>
2968
4abcdac8
CY
2969 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2970
55802e4a
CY
2971 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2972 (Bug#12085).
2973
3c3cda1a
GM
29742012-08-14 Glenn Morris <rgm@gnu.org>
2975
2976 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2977
e1873bd0
MA
29782012-08-14 Michael Albinus <michael.albinus@gmx.de>
2979
2980 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2981 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2982 Use cached shell name.
2983
925411b4
FEG
29842012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
2985
2986 * progmodes/python.el (python-shell-send-string):
3c3cda1a 2987 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 2988
e636fafe
DG
29892012-08-14 Dmitry Gutov <dgutov@yandex.ru>
2990
2991 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2992 (ruby-percent-literal-beg-re): New constant.
2993 (ruby-syntax-general-delimiters-goto-beg): Rename to
2994 `ruby-syntax-enclosing-percent-literal', improve literal type check.
2995 (ruby-syntax-propertize-general-delimiters): Rename to
2996 `ruby-syntax-propertize-percent-literal', it's a shorter and more
2997 popular term. Adjust comments everywhere.
2998 (ruby-syntax-propertize-percent-literal): Only propertize when not
2999 inside a simple string or comment. When the literal is unclosed,
3000 leave the text after it unpropertized.
f063063a
DG
3001 (ruby-syntax-methods-before-regexp): New constant.
3002 (ruby-syntax-propertize-function): Use it to recognize regexps.
3003 Don't look at the text after regexp, just use the whitelist.
e636fafe 3004
e5b19827
AS
30052012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3006
3007 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3008 non-nil always load the compiled file if it exists. (Bug#12197)
3009
a9f6f311
CY
30102012-08-14 Chong Yidong <cyd@gnu.org>
3011
3012 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3013 (hi-lock-set-pattern): When deciding whether to use font lock or
3014 overlays, look at font-lock-mode instead of font-lock-fontified
3015 (Bug#12168).
3016 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3017 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3018
7d806b1e
DU
30192012-08-14 Daiki Ueno <ueno@unixuser.org>
3020
3021 * subr.el (internal--after-with-selected-window): Fix typo
3022 (Bug#12193).
3023
5beed586
FEG
30242012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3025
3026 Use `completion-table-dynamic' for completion functions.
3027 * progmodes/python.el
3028 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3029 (python-shell-completion--get-completions):
3030 Remove functions.
5beed586
FEG
3031 (python-shell-completion-complete-at-point): New function.
3032 (python-completion-complete-at-point): Use it.
3033
92cb3b04
J
30342012-08-13 Jambunathan K <kjambunathan@gmail.com>
3035
3036 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3037 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3038
89660017
SM
30392012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3040
3c98c962
SM
3041 * subr.el (function-get): Refine `autoload' arg so it can also
3042 autoload functions for gv.el (bug#12191).
3043 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3044 autoloads macros.
3045
aa7c6dbe
SM
3046 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3047 Prefer pcase-let over destructuring-bind.
3048 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3049 Also, remove whitespace as we go, rather than after accumulating the
3050 various places.
3051
89660017
SM
3052 * subr.el (internal--before-with-selected-window)
3053 (internal--after-with-selected-window): Fix typo seleted->selected.
3054 (with-selected-window): Adjust callers.
3055 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3056
31cd32c9
BG
30572012-08-13 Bastien Guerry <bzg@gnu.org>
3058
0fcd3d9f 3059 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3060 enhancement. (Bug#12172)
3061
1b15d8ad
AS
30622012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3063
31e54db0
AS
3064 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3065 type 1-6.
3066 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3067 extended headers.
3068
1b15d8ad
AS
3069 * files.el (hack-local-variables-filter): Remove useless eval.
3070
35cb9c06
MR
30712012-08-13 Martin Rudalics <rudalics@gmx.at>
3072
3073 * subr.el (with-selected-window): Fix last change.
3074
1439443b
SM
30752012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * subr.el (internal--before-with-seleted-window)
3078 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3079 (with-selected-window): Use them, to replace dependency on
3080 tty-top-frame.
1439443b 3081
0d9e2599
NN
30822012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3083
3084 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3085 binding for `newline'.
3086 (ruby-move-to-block): When moving backward, stop at block opening,
3087 not indentation.
3088 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3089 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3090 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3091 `ruby-toggle-block'.
3092
ba10c48c
SM
30932012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * ibuffer.el (ibuffer-do-toggle-read-only):
3096 * dired.el (dired-toggle-read-only):
3097 * buff-menu.el (Buffer-menu-toggle-read-only):
3098 * bindings.el (mode-line-toggle-read-only):
3099 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3100
9229c658
AS
31012012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3102
3103 * descr-text.el (describe-char): Put the overlays over the
3104 "displayed as" character.
3105
0fd09128
JB
31062012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3107
3108 * calc/calc-units.el (math-default-units-table): Give an
3109 initial value.
3110 (math-put-default-units): Add options to put composite units and
3111 unit systems in the default units table.
3112 (calc-convert-units): Send composite units to
3113 `math-put-default-units' when appropriate.
3114
9ff9402d 31152012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3116
fbb5e336
GM
3117 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3118
7aacaf15
GM
3119 * tutorial.el (help-with-tutorial):
3120 * emacs-lisp/copyright.el (copyright-update-directory):
3121 * emacs-lisp/autoload.el (autoload-find-generated-file)
3122 (autoload-find-file): Disable local eval: (for insurance).
3123
f40b9f10
GM
3124 * files.el (hack-local-variables-filter): If an eval: form is not
3125 known to be safe, and enable-local-variables is :safe, then ignore
3126 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3127 This is CVE-2012-3479.
f40b9f10 3128
daa9f1a6
SM
31292012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3130
3131 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3132 (rx-form): Simplify.
3133
9cd80478
DG
31342012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3135
0d9e2599
NN
3136 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3137 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3138 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3139 (ruby-syntax-propertize-function): Adjust for changes in
3140 `ruby-syntax-propertize-heredoc'.
3141
31422012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3143
9cd80478
DG
3144 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3145 binding (use `M-;' instead).
9cd80478 3146 (ruby-singleton-class-p): New function.
0d9e2599 3147 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3148
d301b413
SM
31492012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3152
1530c98e
CY
31532012-08-10 Chong Yidong <cyd@gnu.org>
3154
3155 * progmodes/python.el (python-shell-get-process-name): Don't mess
3156 with same-window-buffer-names.
3157
3158 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3159 (eshell-remove-from-window-buffer-names): Make obsolete.
3160 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3161 (eshell): Just use pop-to-buffer-same-window instead.
3162
e1293765
CY
31632012-08-10 Chong Yidong <cyd@gnu.org>
3164
3165 * bindings.el: Bind M-= back to count-words-region.
3166
3167 * simple.el (count-words-region): Accept a prefix arg for acting
3168 on the entire buffer.
3169 (count-words--buffer-message): New helper function.
3170
e1894109
SM
31712012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3172
3173 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3174 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3175 (event-start, event-end): Use posn-at-point to return a more
3176 informative posn.
3177 (posnp): New function.
3178 * mouse.el (popup-menu-normalize-position): Use it.
3179
c69f56a2
MY
31802012-08-10 Masatake YAMATO <yamato@redhat.com>
3181
3182 * mouse.el (popup-menu-normalize-position): New function.
3183 (popup-menu): Use `popup-menu-normalize-position' to normalize
3184 the form for POSITION argument.
3185
3186 * term/x-win.el (x-menu-bar-open):
3187 Use the value returend from (posn-at-point) as position
3188 passed to `popup-menu'.
3189
31673780
JB
31902012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3191
3192 * calc/calccomp.el (math-compose-expr): Add extra argument
3193 indicating that parentheses should be put around products in
3194 denominators. Give multiplication precedence over division during
3195 composition.
3196
dab7711b
CY
31972012-08-09 Chong Yidong <cyd@gnu.org>
3198
dee4ef93
CY
3199 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3200 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3201 (Man-untabify-command, manual-program): Convert to defcustom
3202 (Bug#10429).
3203
73e2bbc5
CY
3204 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3205
3e861c8a
CY
3206 * descr-text.el (describe-char): Don't insert extra newlines
3207 (Bug#10127).
3208
a9f5a649
CY
3209 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3210 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3211
dab7711b
CY
3212 * align.el (align-region): Delete temporary markers (Bug#10047).
3213 Plus some code cleanups.
3214
e0cc4efa
FEG
32152012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3216
3217 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3218 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3219 (python-shell-internal-last-output): Use make-local-variable
3220 instead of make-variable-buffer-local.
3221
489af14f
FEG
32222012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3223
3224 * progmodes/python.el: Enhancements to forward-sexp.
3225 (python-nav-forward-sexp): Rename from
3226 python-nav-forward-sexp-function.
c69f56a2
MY
3227 (python-nav--forward-sexp, python-nav--backward-sexp):
3228 New functions.
489af14f 3229
0fc50303
JB
32302012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3231
3232 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3233 modes and simplification modes.
3234
5d65606a
SM
32352012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * delsel.el (delete-selection-pre-hook): Don't propagate the
3238 file-supersession signals (bug#12161).
3239
4250fdf5
SM
32402012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3241
3242 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3243 (cl-map-extents): Add compatibility aliases (bug#12135).
3244
d9f9b465
MA
32452012-08-08 Michael Albinus <michael.albinus@gmx.de>
3246
3247 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3248 tests by `ignore-error'.
3249 (tramp-find-shell): Open also a new shell, when cache is already
3250 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3251
ce0fcefa
JL
32522012-08-08 Juri Linkov <juri@jurta.org>
3253
3254 * bookmark.el: Add `defaults' property to the bookmark record.
3255 (bookmark-current-buffer): Doc fix.
3256 (bookmark-make-record): Add `defaults' property with default values
3257 to the bookmark record.
3258 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3259 with `bookmark-insert-current-bookmark'.
3260 (bookmark-set): Get `defaults' property from the bookmark record
3261 and use it in `read-from-minibuffer'.
3262 (bookmark-insert-current-bookmark): Remove function.
3263
3264 * info.el (Info-bookmark-make-record): Add `defaults' property
3265 with values of canonical Info node name, the current Info file
3266 name and the current Info node name. (Bug#12107)
3267
53fa8652
JL
32682012-08-08 Juri Linkov <juri@jurta.org>
3269
3270 * files.el (basic-save-buffer): Use `buffer-name' as the default
3271 of `read-file-name' when buffer is not visiting a file (bug#12128).
3272
242c0a95
JL
32732012-08-08 Juri Linkov <juri@jurta.org>
3274
3275 * info.el (Info-isearch-search): Doc fix.
3276 (Info-search): Change search-failed message from "initial node" to
3277 "end of node" (bug#12078).
3278 (Info-isearch-search): Change `isearch-string-state' to
3279 `isearch--state-string'.
3280
32ac3a6b
GM
32812012-08-08 Glenn Morris <rgm@gnu.org>
3282
3283 * language/persian.el: Remove file.
f8c1afd5 3284 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3285 * loadup.el: Remove language/persian.
3286
2c2d9c9c
OF
32872012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3288
3289 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3290
2d79ec42
FEG
32912012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3292
3293 * progmodes/python.el Fixed defsubst warning.
3294 (python-syntax-context) Rename from python-info-ppss-context.
3295 (python-syntax-context-type): Rename from
3296 python-info-ppss-context-type.
3297 (python-syntax-comment-or-string-p): Rename from
3298 python-info-ppss-comment-or-string-p.
3299
2bd255dd
JB
33002012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3301
3302 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3303
c395097f
AS
33042012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3305
6125983e
AS
3306 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3307 a defcustom that is quoted with backquote.
3308
4250fdf5
SM
3309 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3310 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3311 (math-do-arg-check, math-define-function-body): Use backquote forms.
3312 * calc/calc-ext.el (math-defcache): Likewise.
3313 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3314 * allout.el (allout-new-exposure): Likewise.
3315 * calc/calcalg2.el (math-tracing-integral): Likewise.
3316 * info.el (Info-last-menu-item): Likewise.
3317 * emulation/vip.el (vip-loop): Likewise.
3318 * textmodes/artist.el (artist-funcall): Likewise.
3319 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3320 Construct menu-item directly.
3321
4250fdf5
SM
3322 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3323 Don't declare.
c395097f 3324
5fb50dd3
CY
33252012-08-07 Chong Yidong <cyd@gnu.org>
3326
3327 * simple.el (deactivate-mark): Preserve text properties when
3328 saving the primary selection (Bug#8384).
3329
54eea618
KR
33302012-08-07 Kevin Ryde <user42@zip.com.au>
3331
3332 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3333 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3334 and continue processing (Bug#12110).
3335
638eaeb9
SM
33362012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3337
3338 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3339 syntax-propertize-function (bug#10095).
3340
ea376861
SM
33412012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3342
f91b35be
SM
3343 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3344 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3345 describe-function-1.
3346 (describe-function-1): Use them. Move compiler macro after sig.
3347 (help-fns--compiler-macro): Use function-get. Assume we're already in
3348 standard-output. Adjust layout to new call order.
3349
ea376861
SM
3350 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3351 re-binding a symbol that has a symbol-macro (bug#12119).
3352
d5be7bd0
MB
33532012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3354
3355 * language/persian.el: New file. (Bug#11812)
3356 * loadup.el: Add language/persian.el.
3357
90749b53
CY
33582012-08-06 Chong Yidong <cyd@gnu.org>
3359
3360 * window.el (window--maybe-raise-frame): New function.
3361 (window--display-buffer): Split off from here.
3362 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3363 (display-buffer-pop-up-window, display-buffer-use-some-window):
3364 Obey an inhibit-switch-frame action alist entry.
3365 (display-buffer): Update doc.
3366
3367 * replace.el (occur-after-change-function): Avoid losing focus by
3368 using the inhibit-switch-frame display parameter (Bug#12139).
3369
ba7b0154
FEG
33702012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3371
3372 Make internal shell process buffer names start with space.
3373 * progmodes/python.el (python-shell-make-comint): Add optional
3374 argument INTERNAL.
3375 (run-python-internal): Use it.
3376 (python-shell-internal-get-or-create-process): Check for new
3377 internal buffer names.
3378
5eaeacb5
GM
33792012-08-06 Glenn Morris <rgm@gnu.org>
3380
e296d94b 3381 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3382 Do less getting and setting of environment variables.
3383
b7ccbdc2
CY
33842012-08-05 Chong Yidong <cyd@gnu.org>
3385
777fe95e
CY
3386 * proced.el (proced): Add substitution string to docstring to
3387 trigger autoloading of the proced library on C-h f (Bug#1768).
3388
4250fdf5
SM
3389 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3390 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3391
3392 * imenu.el (imenu-generic-expression): Move documentation here
3393 from imenu--generic-function.
3394 (imenu--generic-function): Refer to imenu-generic-expression.
3395
9e3b7800 33962012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3397
3398 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3399 indentation declaration.
3400 (viper-loop): Add indentation declaration (Bug#7025).
3401
e5d9c0d1
CY
34022012-08-05 Chong Yidong <cyd@gnu.org>
3403
f0422feb
CY
3404 * help-fns.el (describe-variable): Add hyperlink for
3405 directory-local variables files. Improve buffer-local and
3406 permanent-local reporting; suggested by MON KEY (Bug#6644).
3407
3408 * help-mode.el (help-dir-local-var-def): New button type.
3409
e5d9c0d1
CY
3410 * files.el (kill-buffer-hook): Provide a defvar.
3411
a4f2deaa
GM
34122012-08-05 Glenn Morris <rgm@gnu.org>
3413
3414 * eshell/esh-ext.el (eshell/addpath):
3415 Also update eshell-path-env. (Bug#12013)
3416
a9dd5754
CY
34172012-08-05 Chong Yidong <cyd@gnu.org>
3418
a4f2deaa 3419 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3420
d014c740
CY
3421 * fringe.el (fringe-styles): Add docstring.
3422 (fringe--check-mode): New function.
3423 (set-fringe-mode, set-fringe-style): Use it.
3424 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3425
a9dd5754
CY
3426 * files.el (set-auto-mode): Fix invalid setq call.
3427
7c2dc8bd
SM
34282012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * isearch.el: Misc simplification; use defstruct.
3431 (isearch-mode-map): Dense maps now work like sparse ones.
3432 (isearch--state): New defstruct.
3433 (isearch-string-state, isearch-message-state, isearch-point-state)
3434 (isearch-success-state, isearch-forward-state)
3435 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3436 (isearch-wrapped-state, isearch-barrier-state)
3437 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3438 replaced by defstruct's accessors.
3439 (isearch--set-state): Rename from isearch-top-state and change
3440 calling convention.
3441 (isearch-push-state): Use new isearch--get-state.
3442 (isearch-toggle-word): Disable regexp when enabling word.
3443 (isearch-message-prefix): Remove unused arg _c-q-hack.
3444 (isearch-message-suffix): Remove unused arg _ellipsis.
3445
7fcc0070
AS
34462012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3447
3448 * simple.el (list-processes--refresh): For a server use :host or
3449 :local as the address.
97ad0769 3450 (list-processes): Doc fix.
7fcc0070 3451
a11035b8 34522012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3453
3454 * lisp/mpc.el: Support password in host argument.
3455 (mpc--proc-connect): Parse and use new password element.
3456 Set mpc-proc variable instead of returning process.
3457 (mpc-proc): Adjust accordingly.
3458
6dad7178
EZ
34592012-08-03 Eli Zaretskii <eliz@gnu.org>
3460
18949c2f
EZ
3461 * whitespace.el (whitespace-display-mappings): Use Unicode
3462 codepoints, instead of emacs-mule codepoints. See
3463 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3464 for the details.
3465
6dad7178
EZ
3466 * files.el (file-truename): Don't skip symlink-chasing part on
3467 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3468 Windows into the loop that recursively chases symlinks.
3469 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3470 MS-DOS.
3471
385b0198
CY
34722012-08-03 Chong Yidong <cyd@gnu.org>
3473
6200f3c4
CY
3474 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3475
385b0198
CY
3476 * sort.el (sort-regexp-fields): Doc fix.
3477
b9e74744
TH
34782012-08-03 Tassilo Horn <tsdh@gnu.org>
3479
3480 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3481 labels regex position point at the expected place.
3482
41013cb4
MK
34832012-08-03 MON KEY <monkey@sandpframing.com>
3484
3485 * net/imap.el (imap-interactive-login, imap-authenticate)
3486 (imap-mailbox-lsub, imap-mailbox-list)
3487 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3488 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3489 (imap-parse-response): Doc fix.
3490
0ffee616
JT
34912012-08-03 João Távora <joaotavora@gmail.com>
3492
3493 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3494 if sexp scanning does not move point (Bug#5734).
3495
cfcc9cc8
TH
34962012-08-02 Tassilo Horn <tsdh@gnu.org>
3497
3498 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3499 Add listings, minted, and ctable packages.
3500 (reftex-label-alist-builtin): Move listings, minted, and ctable
3501 entries before LaTeX.
a01bbb84 3502 (reftex-label-alist): Docfix.
cfcc9cc8 3503
66ec2442
BG
35042012-08-02 Bastien Guerry <bzg@gnu.org>
3505
3506 * replace.el (occur): Fix docstring (bug#12122).
3507
837b365b
GM
35082012-08-02 Glenn Morris <rgm@gnu.org>
3509
3510 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3511
e098de97
PE
35122012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3513
3514 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3515 * international/mule-cmds.el: Create
3516 inactivate-current-input-method-function as an obsolete alias for
3517 deactivate-current-input-method-function. See Katsumi Yamaoka in
3518 <http://bugs.gnu.org/10150#46>.
3519
a0f95636
JB
35202012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3521
3522 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3523 of nested `if's.
3524
0d26d7c4
GM
35252012-08-01 Glenn Morris <rgm@gnu.org>
3526
3527 * progmodes/autoconf.el (autoconf-definition-regexp):
3528 Add AH_TEMPLATE, adjust submatch numbering.
3529 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3530 (autoconf-current-defun-function): Update for above change.
3531 (autoconf-current-defun-function): First skip to end of current word.
3532
b686ba06
RS
35332012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3534
3535 * calendar/cal-html.el (cal-html-insert-agenda-days):
3536 Fix typo. (Bug#12018)
3537
0d49da68
FEG
35382012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3539
3540 Shell processes: enhancements to startup and CEDET compatibility.
3541 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3542 (python-shell-make-comint): accept-process-output at startup.
3543 (run-python-internal): Set inferior-python-mode-hook to nil.
3544 (python-shell-internal-get-or-create-process): call sit-for.
3545 (python-preoutput-result): Add obsolete alias.
3546 (python-shell-internal-send-string): Use it.
3547 (python-shell-send-setup-code): Remove call to
3548 accept-process-output.
3549
f1a71c6e
AS
35502012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3551
3552 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3553 (Bug#12108)
3554
d2605269
JB
35552012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
3556
3557 * calc-mode.el (calc-basic-simplification-mode): Rename from
3558 `calc-limited-simplification-mode'.
3559 (calc-alg-simplification-mode): New function.
fc0c31f8 3560 (calc-set-simplify-mode): Adjust message.
f1a71c6e 3561
d2605269
JB
3562 * calc.el (calc-set-mode-line): Adjust mode line display for
3563 basic simplification mode.
3564
3565 * calc-help.el (calc-m-prefix-help): Update help message.
3566
3567 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3568 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3569
a3827a43
BG
35702012-07-31 Bastien Guerry <bzg@gnu.org>
3571
3572 * man.el (man): Fix comment. (bug#12101)
3573
502e3f89
MR
35742012-07-31 Martin Rudalics <rudalics@gmx.at>
3575
3576 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3577 Don't return a non-nil value when no suitable buffer was found.
3578
d7714961
FEG
35792012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3580
3581 * progmodes/python.el (run-python-internal): Disable font lock for
3582 internal shells.
3583
1f45e27e
SM
35842012-07-30 Stefan Merten <smerten@oekonux.de>
3585
70efc5c9 3586 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
3587 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3588 (rst-official-version, rst-official-cvs-rev)
3589 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3590 (rst-mode-map): New key binding.
3591
0aee6912
PE
35922012-07-30 Paul Eggert <eggert@cs.ucla.edu>
3593
3594 Update .PHONY listings in makefiles.
3595 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3596 autoloads, update-subdirs, updates, bzr-update, update-authors,
3597 compile-onefile, compile-calc, backup-compiled-files,
3598 compile-after-backup, compile-one-process, mh-autoloads,
3599 bootstrap-clean, distclean, maintainer-clean.
3600
9052f9f0
JB
36012012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3602
1823ac5a
JB
3603 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3604 (calc-set-mode-line): Don't display "AlgSimp ".
3605
3606 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3607 (calc-lim-simplify-mode): New function.
3608 (calc-set-simplify-mode): Default to 'alg.
3609 (calc-default-simplify-mode): Make algebraic simplifications
3610 the default.
3611
3612 * calc/calc-ext.el (calc-init-extensions): Remove binding for
3613 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
3614
8d7c7eed 3615 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
3616 indicate new simplification modes.
3617
1823ac5a
JB
3618 * calc/README: Mention new default simplification mode.
3619
9052f9f0
JB
3620 * calc/calc.el (math-normalize-error): New variable.
3621 (math-normalize): Set `math-normalize-error' to t
3622 when there's an error.
3623
3624 * calc/calc-alg.el (math-simplify): Don't simplify when
3625 `math-normalize' returns an error.
3626
20ba0cb4
EZ
36272012-07-29 Eli Zaretskii <eliz@gnu.org>
3628
3629 * international/mule-cmds.el (set-locale-environment): Revert last
3630 change, since display-graphic-p returns nil when this function is
3631 called during startup. Instead...
3632
3633 * term/w32console.el (terminal-init-w32console): ...setup the
3634 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
3635
a5dcc929
JL
36362012-07-29 Juri Linkov <juri@jurta.org>
3637
3638 * simple.el (goto-line): Don't display default line number in the
3639 prompt because it should be displayed by `read-number' (bug#9952).
3640 Add the current line number to the defaults of `goto-line' to
3641 allow its easier modification by users with `M-n' (bug#9201).
3642
3643 * subr.el (read-number): Support multiple default values like in
3644 other minibuffer reading functions. Replace `read' with
3645 `string-to-number' for consistency with `number-to-string'.
3646
72b255c7
PE
36472012-07-29 Paul Eggert <eggert@cs.ucla.edu>
3648
3649 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3650 * emulation/viper-init.el (viper-deactivate-input-method-action):
3651 Rename from viper-inactivate-input-method-action.
3652 (viper-deactivate-input-method):
3653 Rename from viper-inactivate-input-method.
3654 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3655 * international/mule-cmds.el (deactivate-input-method):
3656 Rename from inactivate-input-method.
3657 Also run input-method-deactivate-hook.
3658 (deactivate-current-input-method-function):
3659 Rename from inactivate-current-input-method-function.
3660 (input-method-deactivate-hook): New hook.
3661 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
3662 (inactivate-input-method): Mark obsolete.
3663
72b255c7
PE
3664 * international/quail.el (quail-activate):
3665 Also run quail-deactivate-hook.
3666 (quail-deactivate): Rename from quail-inactivate.
3667 * international/robin.el (robin-activate):
3668 Also run robin-deactivate-hook.
3669 (robin-deactivate): Rename from robin-inactivate.
3670
2549c068
CY
36712012-07-29 Chong Yidong <cyd@gnu.org>
3672
3673 * simple.el (indicate-copied-region): New function.
3674 (kill-ring-save): Split off from here.
3675
3676 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3677 (kill-rectangle): Set deactivate-mark to t on read-only error.
3678
3679 * register.el (copy-to-register, copy-rectangle-to-register):
3680 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
3681 (append-to-register, prepend-to-register): Call indicate-copied-region.
3682
36832012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
3684
3685 * simple.el (async-shell-command-buffer): New defcustom.
3686 (shell-command): Use it. (Bug#4719)
3687
01bd1b0d
EZ
36882012-07-28 Eli Zaretskii <eliz@gnu.org>
3689
3690 * international/mule-cmds.el (set-locale-environment): In a
3691 console session on MS-Windows, set up keyboard and terminal
3692 encoding from the OEM codepage, not the ANSI codepage.
3693 (Bug#12055)
3694
a55739d3
CY
36952012-07-28 Chong Yidong <cyd@gnu.org>
3696
3697 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3698 gdb-get-location.
3699
0e1a094f 37002012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
3701
3702 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3703 the alist (bug#12029).
3704
20329d73
EZ
37052012-07-28 Eli Zaretskii <eliz@gnu.org>
3706
3707 * makefile.w32-in (custom-deps, finder-data, updates, compile)
3708 (compile-always, compile-first)
3709 ($(lisp)/calendar/cal-loaddefs.el)
3710 ($(lisp)/calendar/diary-loaddefs.el)
3711 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3712 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3713 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3714 instead of on update-subdirs.
3715 (bootstrap-clean): Delete $(lisp)/subdirs.el.
3716
345a2258
CY
37172012-07-28 Chong Yidong <cyd@gnu.org>
3718
1eee6341
CY
3719 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3720 directory if vc-deduce-backend returns nil (Bug#7350).
3721
345a2258
CY
3722 * simple.el (delete-trailing-lines): New option.
3723 (delete-trailing-whitespace): Obey it (Bug#11879).
3724
049a0936
DE
37252012-07-28 David Engster <deng@randomsample.de>
3726
3727 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3728 Explanation of new 'symbol-qnames feature in doc-strings.
3729 (xml-maybe-do-ns): Return expanded names as plain symbols if
3730 'symbol-qnames was provided in XML-NS argument (Bug#11916).
3731 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3732
aa81af71
FEG
37332012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3734
3735 Consistent completion in inferior python with emacs -nw.
3736 * progmodes/python.el (inferior-python-mode): replace "<tab>"
3737 binding in inferior-python-mode-map with "\t".
3738 (python-shell-completion-complete-at-point)
3739 (python-completion-complete-at-point): Remove interactive spec.
3740
e827b1eb
JB
37412012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3742
3743 * calc/calccomp.el (math-compose-expr): Undo previous change.
3744
a90dfb95
FEG
37452012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
3746
4250fdf5 3747 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
3748 run-python.
3749 (python-shell-make-comint): Fix pop-to-buffer call.
3750 (run-python): Autoload. New arg SHOW.
3751 (python-shell-get-or-create-process): Do not pop python process
3752 buffer.
3753
32770973 37542012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
3755
3756 * notifications.el (notifications-on-action-signal)
3757 (notifications-on-closed-signal): Use also the bus address for the map.
3758 (notifications-notify, notifications-close-notification)
fc0c31f8 3759 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 3760
86332df2
TH
37612012-07-27 Tassilo Horn <tsdh@gnu.org>
3762
4250fdf5
SM
3763 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3764 Add support for the lstlisting and minted environments, and for the
86332df2
TH
3765 ctable macro.
3766 * textmodes/reftex.el (reftex-compile-variables): Also recognize
3767 labels written in keyvals syntax.
3768
ca1302a4
JB
37692012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
3770
3771 * calc/calccomp.el (math-compose-expr): Use parentheses when
3772 there is a product in the denominator of a fraction.
3773
f8b91036
EZ
37742012-07-26 Eli Zaretskii <eliz@gnu.org>
3775
3776 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3777 ($(lisp)/calendar/diary-loaddefs.el)
3778 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
3779 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3780 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
3781 rewritten while the autoload files are built at the same time,
3782 which needs to load subdirs.el.
3783
c8e5a42c
MR
37842012-07-26 Martin Rudalics <rudalics@gmx.at>
3785
3786 * mouse.el (popup-menu): Fix doc-string and re-indent code.
3787 (mouse-drag-line): Don't exit tracking when a switch-frame or
3788 switch-window event occurs (Bug#12006).
3789
670d85ea
SM
37902012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * mouse.el (popup-menu): Fix last change.
3793
7abaf5cc
SM
37942012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3795
3796 Autoload from Lisp with more care. Follow aliases when looking for
3797 function properties.
3798 * subr.el (autoloadp): New function.
3799 (symbol-file): Use it.
3800 (function-get): New function.
3801 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3802 autoload-do-load.
3803 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3804 (lisp-indent-function):
3805 * emacs-lisp/gv.el (gv-get):
3806 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3807 * emacs-lisp/byte-opt.el (byte-optimize-form):
3808 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3809 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3810 Use function-get.
3811 * emacs-lisp/cl.el: Don't propagate function properties any more.
3812
3813 * speedbar.el (speedbar-add-localized-speedbar-support):
3814 * emacs-lisp/disass.el (disassemble-internal):
3815 * desktop.el (desktop-load-file):
3816 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3817 (describe-function-1):
3818 * emacs-lisp/find-func.el (find-function-noselect):
3819 * emacs-lisp/elp.el (elp-instrument-function):
3820 * emacs-lisp/advice.el (ad-has-proper-definition):
3821 * apropos.el (apropos-safe-documentation, apropos-macrop):
3822 * emacs-lisp/debug.el (debug-on-entry):
3823 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3824 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3825 * calc/calc.el (name): Use autoloadp & autoload-do-load.
3826
b1364986
AA
38272012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
3828
3829 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3830 function, not an obsolete variable (Bug#12046).
3831
67ada220
AS
38322012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3833
3834 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
3835
f08088e3
CS
38362012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
3837
3838 * emacs-lisp/pp.el (pp-display-expression): Select old selected
3839 window only if it is still live (Bug#12034).
3840
8137e7b3
MR
38412012-07-25 Martin Rudalics <rudalics@gmx.at>
3842
3843 * subr.el (redirect-frame-focus): Add advertised calling
3844 convention (Bug#12030).
3845
09ae5da1
PE
38462012-07-25 Paul Eggert <eggert@cs.ucla.edu>
3847
3848 Prefer typical American spelling for "acknowledgment".
3849 * vc/add-log.el (change-log-acknowledgment): Rename from
3850 change-log-acknowledgement, with an alias for the old name.
3851
3cc5a3a8
JB
38522012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
3853
3854 * calc-alg.el (math-simplify-divide): Don't cross multiply
3855 in an equation when the lhs is a variable.
3856
b7af7f62
JD
38572012-07-24 Julien Danjou <julien@danjou.info>
3858
3859 * net/netrc.el (netrc-find-service-number, netrc-store-data):
3860 Remove, unused.
3861
ec1b09b1
EZ
38622012-07-23 Eli Zaretskii <eliz@gnu.org>
3863
3864 * startup.el (command-line): Don't display an empty user name in
3865 the error message about non-existent home directory, when
3866 init-file-user was set to an empty string. See
3867 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3868 for the details and context.
3869
b525fd8a
VB
38702012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
3871
3872 * ses.el (ses-cell-formula-aset): New macro.
3873 (ses-cell-references-aset): New macro.
3874 (ses-cell-p): New function.
3875 (ses-rename-cell): Do no longer rely on complex operations like
3876 ses-cell-set-formula or ses-set-cell to change the cell and handle
3877 the undo at the same time, but rather use lower level new macros
3878 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 3879 the undo directly. Refresh the mode line.
b525fd8a 3880
2c73e345
LL
38812012-07-21 Leo Liu <sdl.web@gmail.com>
3882
670d85ea
SM
3883 * progmodes/cc-cmds.el (c-defun-name):
3884 Use match-string-no-properties instead for consistency.
2c73e345 3885
542dfbde
LL
38862012-07-20 Leo Liu <sdl.web@gmail.com>
3887
3646bcd6
LL
3888 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3889 (Bug#7879)
3890
542dfbde
LL
3891 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3892
25721031
CY
38932012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
3894
3895 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3896 * progmodes/bug-reference.el, misearch.el: Provide themselves
3897 (bug#11915).
3898
3899 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3900 of narrowed buffer (bug#11966).
3901
316e68a7
VB
39022012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
3903
3904 * ses.el (ses-rename-cell): Set new name also in reference list of
3905 cells of which the renamed cell depends.
3906
bbf0e7d9
MY
39072012-07-20 Masatake YAMATO <yamato@redhat.com>
3908
3909 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3910 to check whether menu-bar is shown or not. If not shown,
3911 show the menu-bar as a popup menu instead of using tmm.
3912 * mouse.el (popup-menu): Accept `point' as `position' argument.
3913
c28662a8
DG
39142012-07-20 Dmitry Gutov <dgutov@yandex.ru>
3915
3916 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3917 up inside string symbol literal (bug#11923).
3918
87ab808f
EZ
39192012-07-20 Eli Zaretskii <eliz@gnu.org>
3920
3921 * startup.el (fancy-startup-text): Read the whole tutorial, not
3922 just its first 256 bytes. Prevents gibberish in display of the
3923 tutorial title.
3924
89dea803
DA
39252012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
3926
3927 Drop idle buffer compaction due to an absence of the
3928 proved efficiency.
3929 * compact.el: Remove.
3930
8a4e6db8
SS
39312012-07-19 Sam Steingold <sds@gnu.org>
3932
3933 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3934 vc-bzr-pull & vc-bzr-merge-branch.
3935 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3936 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3937 for consistency with compilation-error-regexp-alist.
3938 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3939 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3940 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3941 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3942
5db81e33
SM
39432012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3944
3945 * emacs-lisp/chart.el: Use lexical-binding.
3946 (chart-emacs-storage): Don't hardcode the list of entries.
3947
5b835e1d
DA
39482012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3949
3950 Next round of tweaks caused by Fgarbage_collect changes.
3951 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3952
9cd47b72
DA
39532012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
3954
3955 Compact buffers when idle.
3956 * compact.el: New file.
3957
1d6fc0df
SM
39582012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * subr.el (eventp): Presume that if it looks vaguely like an event,
3961 it's an event (bug#10190).
3962
1d29cc7d
FEG
39632012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
3964
3965 Enhancements to ppss related code (thanks Stefan).
3966 * progmodes/python.el (python-indent-context)
3967 (python-indent-calculate-indentation, python-indent-dedent-line)
3968 (python-indent-electric-colon, python-nav-forward-block)
3969 (python-mode-abbrev-table)
1d6fc0df 3970 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
3971 for ppss context.
3972 (python-info-continuation-line-p): Cleanup.
3973 (python-info-ppss-context): Do not catch 'quote.
3974 (python-info-ppss-context-type)
3975 (python-info-ppss-comment-or-string-p): Simplify.
3976
d583cbe6
FEG
39772012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
3978
3979 * progmodes/python.el: Enhancements to eldoc support.
3980 (python-info-current-symbol): New function.
3981 (python-eldoc-at-point): Use python-info-current-symbol.
3982 (python-info-current-defun): Fix cornercase on first defun scan.
3983 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3984 and signal error when no inferior python process is available.
3985
eceb6feb
DG
39862012-07-18 Dmitry Gutov <dgutov@yandex.ru>
3987
3988 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3989 assume it's always t.
3990 (vc-git-registered): Remove caching, the function is only called
3991 once.
3992 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3993
4c8ff0fe
CY
39942012-07-18 Chong Yidong <cyd@gnu.org>
3995
19fb7186
CY
3996 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3997
9587c688
CY
3998 * simple.el (count-words): Report on narrowing (Bug#9959).
3999
0fe776a1
CY
4000 * bindings.el: Bind M-= to count-words.
4001
4c8ff0fe
CY
4002 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4003
7f5331cc
MY
40042012-07-18 Masatake YAMATO <yamato@redhat.com>
4005
4006 * progmodes/sh-script.el (sh-imenu-generic-expression):
4007 Capture a function with `function' keyword and without parentheses
4008 like "function FOO" (bug#11856).
4009
2dc2a609
TH
40102012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4011
4012 * window.el (split-window-sensibly): Make WINDOW argument
4013 optional.
4014
439f7677
CY
40152012-07-18 Chong Yidong <cyd@gnu.org>
4016
9aeb25a6
CY
4017 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4018
439f7677
CY
4019 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4020 and make C-x 8 RET exit isearch (Bug#11439).
4021
4022 * international/iso-transl.el: Move isearch-mode-map key
4023 definitions to isearch.el.
4024
12999ea8
SM
40252012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4026
4027 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4028 (eieio-defclass): Use gv-define-setter when possible.
4029
3ab6e069
DA
40302012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4031
4032 Reflect recent changes in Fgarbage_collect.
4033 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4034 reflect new format of data returned by Fgarbage_collect.
4035
0a60bc10
FEG
40362012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4037
4038 New utility functions + python-info-ppss-context fix (Bug#11910).
4039 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4040 (python-info-ppss-comment-or-string-p): New functions.
4041 (python-info-ppss-context): Small fix for string check.
4042
6dafa0d5
JL
40432012-07-17 Juri Linkov <juri@jurta.org>
4044
4045 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4046 (dired-do-async-shell-command): Don't add `*' at the end of the
4047 command (Bug#11815).
4048 (dired-do-shell-command): Doc fix.
4049 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4050 Join the individual commands using either "&" or ";" as the
4051 separator depending on the values of these trailing characters.
4052 At the end re-add the trailing "&". (Bug#10598)
4053
4054 * simple.el (async-shell-command): Sync the interactive spec with
4055 `shell-command'. Doc fix.
4056 (shell-command): Doc fix.
4057
b19dd9d1
JL
40582012-07-17 Juri Linkov <juri@jurta.org>
4059
4060 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4061
bcdc27d7 40622012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4063
bcdc27d7 4064 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4065 * progmodes/python.el (python-nav-beginning-of-statement):
4066 Rename from python-nav-statement-start.
bcdc27d7
FEG
4067 (python-nav-end-of-statement): Rename from
4068 python-nav-statement-end.
4069 (python-nav-beginning-of-block): Rename from
4070 python-nav-block-start.
4071 (python-nav-end-of-block): Rename from python-nav-block-end.
4072
191da00e
FEG
40732012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4074
7f5331cc
MY
4075 * progmodes/python.el (python-shell-send-string-no-output):
4076 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4077 future interactions (Bug#11868).
4078
4dc7c8d5 40792012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4080
88ecaf8f
SM
4081 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4082
ef501ef0
SM
4083 * emacs-lisp/elint.el (elint-find-args-in-code):
4084 Use help-function-arglist, so as to handle lexical byte-code.
4085
aa7aaf8f
SM
4086 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4087 change (bug#11826).
4088
45fd731c
SM
40892012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4090
2143fa32
SM
4091 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4092 Avoid spuriously marking the buffer as modified because of c-is-sws.
4093
efc26dbe
SM
4094 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4095 as not-a-comment (bug#11946).
4096
f5695c9a
SM
4097 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4098 for uninterned vars.
4099
4100 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4101 Use read-event since we don't really want to read chars but bytes.
4102
45fd731c
SM
4103 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4104 $$..$$ but also $..$ using regexps (bug#11953).
4105 Use tex-verbatim for \url and \path.
4106 (tex-font-lock-keywords): Define as defconst like the others.
4107 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4108
ddfc8813
RK
41092012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4110
4111 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4112 alias for insert-char.
4113
758e556a
FEG
41142012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4115
4116 * progmodes/python.el: Simplified imenu implementation.
4117 (python-nav-jump-to-defun): Remove command.
4118 (python-mode-map): Use `imenu' instead.
4119 (python-nav-list-defun-positions-cache)
4120 (python-imenu-include-defun-type, python-imenu-make-tree)
4121 (python-imenu-subtree-root-label, python-imenu-index-alist):
4122 Remove vars.
4123 (python-nav-list-defun-positions, python-nav-read-defun)
4124 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4125 (python-imenu-make-tree, python-imenu-create-index):
4126 Remove functions.
758e556a
FEG
4127 (python-mode): Update to interact with imenu by setting
4128 `imenu-extract-index-name-function' only.
4129
032d23ab
FEG
41302012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4131
4132 * progmodes/python.el: Enhancements to navigation commands.
4133 (python-nav-backward-sentence)
4134 (python-nav-forward-sentence): Remove.
4135 (python-nav-backward-statement, python-nav-forward-statement)
4136 (python-nav-statement-start, python-nav-statement-end)
4137 (python-nav-backward-block, python-nav-forward-block)
4138 (python-nav-block-start, python-nav-block-end)
4139 (python-nav-forward-sexp-function)
4140 (python-info-current-line-comment-p)
4141 (python-info-current-line-empty-p): New functions.
4142 (python-indent-context): Use `python-nav-statement-start'.
4143
01795a1b
MA
41442012-07-16 Michael Albinus <michael.albinus@gmx.de>
4145
9328d9aa
MA
4146 * eshell/em-ls.el (eshell/ls): Use `apply'.
4147
4148 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4149 multi-hops, instead of Tramp internals.
4150
01795a1b
MA
4151 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4152
4153 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4154 when F1 and F2 are located on different hosts.
4155
63408057
CY
41562012-07-14 Chong Yidong <cyd@gnu.org>
4157
4158 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4159 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4160 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4161 (xterm-mouse--read-event-sequence-1000)
4162 (xterm-mouse--read-event-sequence-1006): New functions. For old
4163 mouse protocol, handle M-mouse-X events correctly.
4164 (xterm-mouse-event): New arg specifying mouse protocol.
4165 (turn-on-xterm-mouse-tracking-on-terminal)
4166 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4167 sequence to toggle extended coordinates on newer XTerms.
4168 This appears to be harmless on terminals which do not support this.
63408057 4169
cd276f6e
LL
41702012-07-14 Leo Liu <sdl.web@gmail.com>
4171
28ca98ac
LL
4172 Add fringe bitmap indicators for flymake. (Bug#11253)
4173 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4174 (flymake-make-overlay): New arg BITMAP.
4175 (flymake-error-bitmap, flymake-warning-bitmap)
4176 (flymake-fringe-indicator-position): New user variables.
4177
cd276f6e
LL
4178 * fringe.el: New bitmap exclamation-mark.
4179
04408072
JD
41802012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4181
4182 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4183 also (Bug#7879).
4184
b5cf7fc4
CY
41852012-07-14 Chong Yidong <cyd@gnu.org>
4186
4187 * electric.el (electric-pair-post-self-insert-function): Fix pair
4188 insertion in empty-region case (Bug#11520).
4189
be755c79
RT
41902012-07-14 Chong Yidong <cyd@gnu.org>
4191
45fd731c
SM
4192 * bindings.el: Consolidate ctl-x-r-map bindings.
4193 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4194
4195 * rect.el, register.el: Move bindings to bindings.el.
4196
41972012-07-14 Reuben Thomas <rrt@sc3d.org>
4198
4199 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4200
7f5b3198
AS
42012012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4202
4203 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4204
97662200
JB
42052012-07-13 Juanma Barranquero <lekktu@gmail.com>
4206
80185fed
JB
4207 * bindings.el (top): Use `mapc' instead of `mapcar'.
4208
97662200
JB
4209 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4210
2bb1ae55
MA
42112012-07-13 Michael Albinus <michael.albinus@gmx.de>
4212
4213 * progmodes/sql.el (sql-comint): Suppress the check for program on
4214 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4215 (Bug#11908)
4216
dea31bd3
CY
42172012-07-13 Chong Yidong <cyd@gnu.org>
4218
4219 * bindings.el: Assign a non-nil permanent-local property to
4220 per-buffer variables which lack a default value (Bug#11930).
4221
4222 * help-fns.el (describe-variable): In the "automatically becomes
4223 local" notice, take note of permanent-local variables.
4224
b68b3337
CY
42252012-07-13 Chong Yidong <cyd@gnu.org>
4226
4227 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4228 to allow printing the message when called from Lisp.
4229
4230 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4231 Remove toggle-read-only.
4232
4233 * bs.el (bs-toggle-readonly):
45fd731c
SM
4234 * buff-menu.el (Buffer-menu-toggle-read-only):
4235 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4236
4237 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4238 Remove with-no-warnings around toggle-read-only.
4239 (ffap-read-only, ffap-read-only-other-window)
4240 (ffap-read-only-other-frame): Callers changed.
4241
4242 * help-mode.el: Don't require view package.
4243 (help-mode-finish): Set buffer-read-only instead of calling
4244 toggle-read-only.
4245
4246 * bindings.el (mode-line-toggle-read-only):
4247 * dired.el (dired-toggle-read-only):
4248 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4249 with non-nil second arg.
4250
4251 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4252 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4253 directly.
4254
56bc1586
EZ
42552012-07-12 Eli Zaretskii <eliz@gnu.org>
4256
4257 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4258 not incf.
4259
a464a6c7
SM
42602012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4261
4262 More CL cleanups and reduction of use of cl.el.
4263 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4264 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4265 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4266 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4267 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4268 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4269 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4270 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4271 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4272 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4273 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4274 * eshell/em-cmpl.el, eshell/em-banner.el:
4275 * calendar/parse-time.el: Use cl-lib.
4276 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4277 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4278 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4279 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4280 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4281 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4282 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4283 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4284 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4285 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4286 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4287 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4288 `lambda' rather than with `quote'.
4289 (eshell-do-opt): Adjust accordingly.
4290 (eshell-process-option): Simplify.
4291 * eshell/esh-var.el:
4292 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4293 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4294 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4295 to `pcase--dontcare'.
4296 * emacs-lisp/cl.el (labels): Mark obsolete.
4297 (cl--letf, letf): Move to cl-lib.
4298 (cl--letf*, letf*): Remove.
4299 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4300 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4301 (cl-progv): Rewrite.
4302 (cl--letf, cl-letf): Move from cl.el.
4303 (cl-letf*): New macro.
4304 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4305
7ad4afe1
MA
43062012-07-11 Michael Albinus <michael.albinus@gmx.de>
4307
4308 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4309
9af57756
CY
43102012-07-11 Chong Yidong <cyd@gnu.org>
4311
4312 * vc/log-edit.el (log-edit-vc-backend): New variable.
4313 (log-edit): Doc fix.
4314
4315 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4316 argument of log-edit to set up all local variables.
4317 (vc-start-logentry): New optional arg specifying VC backend.
4318
4319 * vc/vc.el (vc-checkin): Use it.
4320 (vc-deduce-fileset): Handle Log Edit buffers.
4321 (vc-diff): Make first argument optional too.
4322
4323 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4324
8477cc7a
MA
43252012-07-10 Michael Albinus <michael.albinus@gmx.de>
4326
4327 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4328 command, just in case. The function is not needed anymore.
4329 (eshell-external-command): Do not call `eshell-remote-command'.
4330
19faa8e8
SM
43312012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4332
f58e0fd5
SM
4333 Reduce use of (require 'cl).
4334 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4335 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4336 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4337 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4338 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4339 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4340 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4341 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4342 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4343 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4344 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4345 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4346 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4347 (byte-compile-unfold-bcf, byte-compile-check-variable):
4348 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4349 (byte-compile-nilconstp):
4350 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4351 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4352
2519d43a
SM
4353 * emacs-lisp/gv.el (cond): Make it a valid place.
4354 (if): Simplify slightly.
4355
19faa8e8
SM
4356 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4357 (pcase--self-quoting-p): New function.
4358 (pcase--u1): Use it.
4359
c4907a5e
GM
43602012-07-10 Glenn Morris <rgm@gnu.org>
4361
4362 * emacs-lisp/authors.el (authors-fixed-entries):
4363 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4364
c4444d16
PE
43652012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4366
4367 Rename configure.in to configure.ac (Bug#11603).
4368 * emacs-lisp/authors.el (authors-canonical-file-name):
4369 * progmodes/autoconf.el (autoconf-mode):
4370 Prefer configure.ac to configure.in.
4371
d75be97d
CY
43722012-07-08 Chong Yidong <cyd@gnu.org>
4373
01ac65bd
CY
4374 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4375 Implement the mouse-1-click-follows-link handling properly.
4376
4377 * info.el (Info-link-keymap): Use follow-link mechanism for
4378 header-line links (Bug#374).
4379
d75be97d
CY
4380 * simple.el (deactivate-mark): Do not set the primary selection
4381 if another program has acquired it (Bug#11772).
4382
87a92845 43832012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4384
4385 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4386 (woman-decode-region): Replace escaped-escapes without destroying
4387 bold or underline (Bug#11552).
87a92845 4388 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4389
621b9d6c
CY
43902012-07-07 Chong Yidong <cyd@gnu.org>
4391
4392 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4393 (interprogram-cut-function, interprogram-paste-function):
4394 Mention that we typically mean the clipboard.
621b9d6c 4395
133a11fc
GM
43962012-07-06 Glenn Morris <rgm@gnu.org>
4397
0d27a45e
GM
4398 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4399
133a11fc
GM
4400 * files.el (toggle-read-only): Restrict message to interactive use.
4401
07b151f1
MA
44022012-07-06 Michael Albinus <michael.albinus@gmx.de>
4403
4404 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4405
4406 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4407
211b896b
GM
44082012-07-06 Glenn Morris <rgm@gnu.org>
4409
50394322
GM
4410 * Makefile.in (compile-one-process): Rename from "recompile".
4411
211b896b
GM
4412 * Makefile.in (bzr-update): "compile" is the same as "recompile
4413 autoloads", but parallelizable, so use that instead.
4414
4737eec9
DG
44152012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4416
4417 * window.el (quit-window): Always restore window height when
8137e7b3 4418 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4419
226c3633 44202012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4421
4422 * simple.el (kill-whole-line): Doc tweak.
4423
226c3633 44242012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4425
4426 * files.el (file-relative-name): Compare file names
4427 case-insensitively if on MS-Windows or MS-DOS, or if
4428 read-file-name-completion-ignore-case is non-nil. Don't use
4429 case-fold-search for this purpose. (Bug#11827)
4430
4dc7c8d5
SM
44312012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4432
4433 * calendar/cal-dst.el (calendar-current-time-zone):
4434 Return calendar-current-time-zone-cache if non-nil.
4435
44362012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 44372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4438
19faa8e8
SM
4439 * calendar/cal-dst.el (calendar-current-time-zone):
4440 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4441
60198fc9
GM
44422012-07-06 Glenn Morris <rgm@gnu.org>
4443
4444 * Makefile.in (cvs-update): Remove old alias.
4445
957b3189
MA
44462012-07-05 Michael Albinus <michael.albinus@gmx.de>
4447
4448 Sync with Tramp 2.2.6-pre.
4449
4450 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4451 compatible declaration.
4452
19faa8e8
SM
4453 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4454 Protect `list-load-path-shadows' call.
957b3189
MA
4455
4456 * net/tramp-compat.el (top): Require packages, which aren't
4457 autoloaded anymore for XEmacs. Protect call of
4458 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4459 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4460 it hurts at least for SXEmacs.
4461 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4462 standard-value for `temporary-file-directory'.
4463
4464 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4465 Redirect stderr to /dev/null.
4466 (tramp-sh-handle-write-region): uid and gid can be floats.
4467 Reported by Russell Sim <russell.sim@gmail.com>.
4468 (tramp-sh-handle-vc-registered): Hide errors.
4469 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4470 and `start-file-process'.
4471 (tramp-maybe-open-connection): Check also whether `non-essential'
4472 is bound.
4473
566df3fc
CY
44742012-07-04 Chong Yidong <cyd@gnu.org>
4475
4476 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4477 (xml-parse-tag): Likewise, and avoid changing entity tables.
4478 (xml-syntax-table): Define from scratch, making sure not to give
4479 x2000 and other Unicode spaces whitespace syntax, since those are
4480 not spaces in XML.
4481 (xml-parse-fragment): Delete unused function.
4482 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4483 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4484 (xml-entity-ref, xml-pe-reference-re)
4485 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4486 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4487 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4488 (xml-entity-value-re): Use syntax references in regexps where
4489 possible; no need to define inside a let-binding.
4490 (xml-parse-dtd): Use xml-pe-reference-re.
4491 (xml-entity-or-char-ref-re): New defconst.
4492 (xml-parse-string, xml-substitute-special): Use it.
4493
30eabd7a
SM
44942012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4495
0781098a
SM
4496 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4497 (find-file--read-only): New function.
4498 (find-file-read-only, find-file-read-only-other-window)
4499 (find-file-read-only-other-frame): Use it.
4500 (insert-file-contents-literally): Don't `fset'.
4501 (get-free-disk-space): Use locate-dominating-file.
4502
b5771c0d
SM
4503 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4504 function is already compiled.
4505
30eabd7a
SM
4506 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4507
b4886f6e
MA
45082012-07-03 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4511 files on the same host.
4512
b9d82339
AS
45132012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4514
4515 * help-fns.el (describe-function-1): Only call
4516 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4517
a76e6535
CY
45182012-07-03 Chong Yidong <cyd@gnu.org>
4519
4520 * xml.el: Protect parser against XML bombs.
4521 (xml-entity-expansion-limit): New variable.
4522 (xml-parse-string, xml-substitute-special): Use it.
4523 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4524
b544fef2
GM
45252012-07-03 Glenn Morris <rgm@gnu.org>
4526
4527 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4528 Allow linking to specific messages in debbugs reports (eg 123#5).
4529
a7aef6f5
CY
45302012-07-02 Chong Yidong <cyd@gnu.org>
4531
4532 * xml.el: Fix entity and character reference expansion, allowing
4533 them to expand into markup as per XML spec.
4534 (xml-default-ns): New variable.
4535 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4536 (xml-parse-region): Make first two arguments optional.
4537 Discard text properties.
4538 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4539 All callers changed.
a7aef6f5
CY
4540 (xml-parse-tag): Call xml-parse-tag-1. For backward
4541 compatibility, this function should not modify buffer contents.
4542 (xml-parse-tag-1): Fix opening-tag regexp.
4543 (xml-parse-string): Rewrite, handling entity and character
4544 references properly.
4545 (xml--entity-replacement-text): Signal an error if a parameter
4546 entity is undefined.
4547
3df31c9f
SM
45482012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4549
2b5208f1
SM
4550 * comint.el (comint-output-filter): Filter out repeated prompts.
4551
3df31c9f
SM
4552 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4553 and file-name-absolute-p.
4554 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4555 internal calls.
4556
e3ac1281
PE
45572012-07-02 Paul Eggert <eggert@cs.ucla.edu>
4558
4559 Spelling fixes.
4560 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4561 Rename from byte-compile--refiy-function. All uses changed.
4562
fbf2e7ad
CY
45632012-07-01 Chong Yidong <cyd@gnu.org>
4564
4565 * xml.el (xml--parse-buffer): New function. Move most of
4566 xml-parse-region here.
4567 (xml-parse-region): Copy region into a temporary buffer, since
4568 parameter entity substitution requires changing buffer contents.
4569 Use xml--parse-buffer.
4570 (xml-parse-file): Use xml--parse-buffer.
4571 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 4572 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 4573
9bf0aa15
GM
45742012-06-30 Glenn Morris <rgm@gnu.org>
4575
bbce2853
GM
4576 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4577
9bf0aa15
GM
4578 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4579 Remove outdated and unnecessary dbus declarations.
4580
0d23c240
EZ
45812012-06-30 Eli Zaretskii <eliz@gnu.org>
4582
4583 * emacs-lisp/timer.el (timer-until): Subtract results of
4584 float-time, instead of taking float-time of the result of
4585 time-subtract, since float-time signals an error for negative time
4586 arguments.
4587
b3218de1
CY
45882012-06-30 Chong Yidong <cyd@gnu.org>
4589
4590 * xml.el (xml-*-re): Convert defvars into defconsts, and
4591 eval-and-compile them so eval-and-compile works on derivatives.
4592 (xml--entity-replacement-text): Use eval-and-comple.
4593
a40c87a0
MA
45942012-06-30 Michael Albinus <michael.albinus@gmx.de>
4595
4596 * vc/vc-git.el (vc-git-registered): Use cache property
4597 `git-registered'.
4598 (vc-git-mode-line-string): Call `vc-working-revision' instead of
4599 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 4600 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 4601
ac87de97
DG
46022012-06-30 Dmitry Gutov <dgutov@yandex.ru>
4603
4604 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 4605 removed (likely outside Emacs). (Bug#11757)
ac87de97 4606
ac10fe06
SM
46072012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4608
3df31c9f 4609 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 4610
7f3fbd5d
CY
46112012-06-30 Chong Yidong <cyd@gnu.org>
4612
4613 * xml.el: Implement XML parameter entities.
4614 (xml-parameter-entity-alist): New variable.
4615 (xml-parse-region, xml-parse-fragment): Preserve previous values
4616 of xml-entity-alist and xml-parameter-entity-alist, so that
4617 repeated calls on different documents do not change them.
4618 (xml-parse-tag): Fix doctype regexp.
4619 (xml--entity-replacement-text): New function.
4620 (xml-parse-dtd): Use it. Don't handle system entities; doing that
4621 properly requires url retrieval which is unimplemented.
4622 (xml-escape-string): Doc fix.
4623
3cfbebba
SM
46242012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4627
2af3565e
DA
46282012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
4629
4630 * fringe.el (fringe-mode): Doc fix.
4631
929df0e7
MA
46322012-06-29 Michael Albinus <michael.albinus@gmx.de>
4633
4634 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4635 is non-nil.
4636 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4637 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
4638
c8d3a25c 46392012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4640
c8d3a25c
GM
4641 * calendar/cal-dst.el (calendar-current-time-zone):
4642 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4643
c8d3a25c 46442012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
4645
4646 * progmodes/which-func.el (which-func-format):
4647 Add mouse-face. (Bug#11698)
4648
c8d3a25c
GM
46492012-06-29 Leo Liu <sdl.web@gmail.com>
4650
4651 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4652
46532012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * minibuffer.el (minibuffer-confirm-exit-commands):
4656 Add completion-at-point (bug#11725).
4657
46582012-06-29 Glenn Morris <rgm@gnu.org>
4659
4660 * progmodes/f90.el (f90-font-lock-keywords-2):
4661 Add some preprocessor elements. (Bug#10499)
4662
46632012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * progmodes/cperl-mode.el (cperl-update-syntaxification):
4666 Use syntax-propertize (bug#11739).
4667
2badeec4
JB
46682012-06-28 Juanma Barranquero <lekktu@gmail.com>
4669
4670 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4671
ae4969c2
JD
46722012-06-28 Julien Danjou <julien@danjou.info>
4673
4674 * term.el (term-handle-colors-array): Use a set of new faces to
4675 color the terminal. Also uses :inverse-video property.
4676 (term-default-fg-color): Set to nil by default, deprecate in favor
4677 of `term-face'.
4678 (term-default-bg-color): Set to nil by default, deprecate in favor
4679 of `term-face'.
4680 (term-current-face): Use `term-face' by default.
4681 (term-bold-attribute): Variable deleted.
4682
1c9bd870
GM
46832012-06-28 Glenn Morris <rgm@gnu.org>
4684
4685 * simple.el (completion-list-mode-finish):
4686 Don't use toggle-read-only. (Since completion-list-mode has
4687 a special mode-class, it wasn't doing anything extra anyway.)
4688
c207708c
SM
46892012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
4690
4691 Make inlining of other-mode interpreted functions work (bug#11799).
4692 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4693 (byte-compile): Use it to fix compilation of lexical-binding closures.
4694 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4695 function, if needed.
4696
3fd56834
SM
46972012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4698
04901786
SM
4699 * help-mode.el (help-make-xrefs): Don't just withstand
4700 cyclic-variable-indirection but any error in documentation-property.
4701
1ec4b7b2
SM
4702 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4703 memory use.
4704 * bindings.el (bindings--define-key): New function.
4705 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4706 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4707 * bindings.el: Use it to purecopy define-key bindings.
4708
e309e2a5
SM
4709 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4710
d5c6faf9
SM
4711 * emacs-lisp/cl.el (flet): Mark obsolete.
4712 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4713 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4714 * progmodes/js.el (js-c-fill-paragraph):
4715 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4716 (ebrowse-switch-member-buffer-to-derived-class):
4717 * play/5x5.el (5x5-solver): Use cl-flet.
4718
6e9590e2
SM
4719 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
4720 (cl--symbol-function): New macro.
4721 (cl--letf, cl--letf*): Use it.
4722
3fd56834
SM
4723 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4724 Strip "toggle-" if any.
4725
35ff222c
GM
47262012-06-27 Glenn Morris <rgm@gnu.org>
4727
1ba6038a
GM
4728 * info.el (Info-default-directory-list): Move here from paths.el.
4729 * paths.el: Remove file, which is now empty.
4730 * loadup.el: No longer load "paths".
4731
0ea0e51b
GM
4732 * custom.el (custom-initialize-delay): Doc fix.
4733
35ff222c
GM
4734 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4735 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4736 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4737 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4738 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4739 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4740 * eshell/eshell.el (eshell-defgroup): Remove alias.
4741
c89926a5
CY
47422012-06-27 Chong Yidong <cyd@gnu.org>
4743
4744 * help.el (help-enable-auto-load): New variable.
4745
4746 * help-fns.el (help-fns--autoloaded-p): New function.
4747 (describe-function-1): Refer to a function as "autoloaded" if it
4748 was autoloaded at any time in the past. Perform autoloading if
4749 help-enable-auto-load is non-nil.
4750
cc06e7e7
EZ
47512012-06-26 Eli Zaretskii <eliz@gnu.org>
4752
4753 * makefile.w32-in (compile, compile-always): Depend on
4754 update-subdirs, not on subdirs.el. Otherwise, several different
4755 sub-targets of 'bootstrap' running in parallel could
4756 simultaneously write to subdirs.el, producing a garbled file.
4757
d2c32364
SS
47582012-06-26 Sam Steingold <sds@gnu.org>
4759
4760 * files.el (file-name-base): New convenience function.
0d14cc21
GM
4761 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4762 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4763 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4764 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4765 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
4766 * textmodes/tex-mode.el: Use it.
4767 Did not touch cedet and org because they are maintained elsewhere.
4768
5cf983b2
MR
47692012-06-26 Martin Rudalics <rudalics@gmx.at>
4770
4771 * calendar/calendar.el (calendar-exit): Don't try to delete or
4772 iconify last frame. See:
4773 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4774
8c4f2952
JD
47752012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
4776
4777 * server.el (server-process-filter): Remember dir in the
4778 process's `server-client-directory' properties.
4779
772b2e2c
CY
47802012-06-24 Chong Yidong <cyd@gnu.org>
4781
4782 * xml.el (xml-parse-tag): Correctly handle comment embedded in
4783 non-tag text.
4784
711b11e1
JB
47852012-06-23 Juanma Barranquero <lekktu@gmail.com>
4786
4787 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4788
dc5d230c
SM
47892012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4790
4791 * help-fns.el (describe-variable): Don't croak when doc is not found.
4792 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4793 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4794 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4795 * emacs-lisp/smie.el (smie-next-sexp): CSE.
4796 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4797 ((lambda ..) ..).
4798 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4799
136e1c1d
CY
48002012-06-23 Chong Yidong <cyd@gnu.org>
4801
e8c1cabf
CY
4802 * info.el (Info-mouse-follow-link): Accept symbol values of
4803 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
4804 (Info-fontify-node): Use Info-link-keymap for all navigation
4805 buttons, with link-args property to perform the desired action.
4806 (Info-link-keymap): Doc fix.
4807 (Info-next-link-keymap, Info-prev-link-keymap)
4808 (Info-up-link-keymap): Delete now-unused keymaps.
4809
0e9e6c6a
CY
48102012-06-23 Chong Yidong <cyd@gnu.org>
4811
05e89fea
CY
4812 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4813
0e9e6c6a
CY
4814 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4815 system abbrevs.
4816
4817 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4818
e33c6771
SM
48192012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4820
b68581e2
SM
4821 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4822 (bug#11719).
4823
e33c6771
SM
4824 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4825 the requote function doesn't work properly (bug#11714).
4826
7117e105
GM
48272012-06-23 Glenn Morris <rgm@gnu.org>
4828
4829 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4830
36cec983
SM
48312012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4832
4833 Further GV/CL cleanups.
4834 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4835 gv-expander.
4836 (gv--defun-declaration): New function.
4837 (defun-declarations-alist): Use it.
4838 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4839 (gv-place): Autoload.
4840 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4841 original definition of dotimes and dolist.
4842 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4843 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4844 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4845 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4846 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4847 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4848 to the function's definition.
4849 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4850 * window.el:
4851 * files.el:
4852 * faces.el:
4853 * env.el: Don't use CL.
4854
d35af63c
PE
48552012-06-22 Paul Eggert <eggert@cs.ucla.edu>
4856
4857 Support higher-resolution time stamps (Bug#9000).
4858
4859 * calendar/time-date.el (with-decoded-time-value): New arg
4860 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
4861 (encode-time-value): New optional arg PICO. New type 3.
4862 (time-to-seconds) [!float-time]: Support the new picoseconds
4863 component if it's used.
4864 (seconds-to-time, time-subtract, time-add):
4865 Support ps-resolution time stamps as well.
4866
4867 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
4868 (timerp): Timer vectors now have length 9, not 8.
4869 (timer--time): Support new-style (4-part) time stamps.
4870 (timer-next-integral-multiple-of-time): Time stamps now have
4871 picosecond resolution, so take a bit more care about rounding.
4872 (timer-relative-time, timer-inc-time): New optional arg psecs.
4873 (timer-set-time-with-usecs): Set psecs to 0.
4874 (timer--activate): Check psecs component, too.
4875
4876 * proced.el (proced-time-lessp): Support ps-resolution stamps.
4877
ac77b21a
SM
48782012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4879
f143bfe3
SM
4880 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4881 Move the non-essential binding to the post/pre-command-hook where it is
4882 more obviously correct.
4883
ac77b21a
SM
4884 * subr.el (read-passwd): Don't use a history at all.
4885 * savehist.el (savehist-save): Remove password saved accidentally
4886 because of the above bug.
4887
76386c5a
BG
48882012-06-22 Bastien Guerry <bzg@gnu.org>
4889
4890 * files.el (toggle-read-only): Display a message telling whether
4891 the buffer is read-only or not (bug#11726).
4892
2ee3d7f0
SM
48932012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4894
4895 * emacs-lisp/gv.el: New file.
4896 * subr.el (push, pop): Extend to generalized variables.
4897 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4898 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4899 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
4900 gv-define-simple-setter, and gv-define-expander.
4901 Remove setf-methods defined in gv. Rename cl-setf -> setf.
4902 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4903 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4904 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4905 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4906 gv-letplace.
4907 (cl-defstruct): Don't define setf-method any more.
4908 * emacs-lisp/cl.el (flet): Don't autoload.
4909 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4910 (define-setf-expander, defsetf, define-modify-macro)
4911 (cl-struct-setf-expander): Move from cl-lib.el.
4912 * emacs-lisp/syntax.el:
4913 * emacs-lisp/ewoc.el:
4914 * emacs-lisp/smie.el:
4915 * emacs-lisp/cconv.el:
4916 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4917 (timer--time): Use gv-define-simple-setter.
4918 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4919 to avoid coding-system problems in subr.el. Adjust all users.
4920 (macroexp--maxsize, macroexp-small-p): New functions.
4921 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4922 * scroll-bar.el (scroll-bar-mode):
4923 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4924 (normal-erase-is-backspace-mode): Don't use the `eq' place.
4925 * winner.el (winner-configuration, winner-make-point-alist)
4926 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4927 * files.el (locate-file-completion-table): Avoid list*.
4928
c5695d1d
CY
49292012-06-22 Chong Yidong <cyd@gnu.org>
4930
4931 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4932 (dired-create-files): Doc fix (Bug#11329).
4933 (dired-do-copy): Doc fix (Bug#11334).
4934 (dired-mark-read-string): Doc fix (Bug#11553).
4935
2ee3d7f0
SM
4936 * dired.el (dired-recursive-copies, dired-recursive-deletes):
4937 Doc fix (Bug#11326).
c5695d1d
CY
4938 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
4939 (dired-dwim-target): Doc fix.
4940
4941 * wdired.el (wdired-mode): Doc fix.
4942
89b5595a
GM
49432012-06-22 Glenn Morris <rgm@gnu.org>
4944
575db3f1
GM
4945 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4946 (pcmpl-rpm-cache-stamp-file): New constant.
4947 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4948 (pcmpl-rpm-packages): Optionally cache list of packages.
4949
a4c8dd51
GM
4950 * pcmpl-rpm.el (pcmpl-rpm): New group.
4951 (pcmpl-rpm-query-options): New option.
4952 (pcmpl-rpm-packages): No need to inline it.
4953 Use pcmpl-rpm-query-options.
4954
89b5595a
GM
4955 * calendar/calendar.el (calendar-in-read-only-buffer):
4956 Avoid some needless mode changes.
4957
e76f0800
CY
49582012-06-21 Chong Yidong <cyd@gnu.org>
4959
4960 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4961 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 4962 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 4963
297a8f1d
CY
49642012-06-20 Chong Yidong <cyd@gnu.org>
4965
4966 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4967
d34c18b1
DR
49682012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
4969
4970 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4971 (bug#11201).
4972
32f7f28e
CY
49732012-06-20 Chong Yidong <cyd@gnu.org>
4974
4975 * term.el (term-window-width): Handle the case of a missing right
4976 fringe (Bug#8837).
4977 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
4978 (term-mode): Use define-derived-mode. Minor cleanups.
4979 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
4980 (term-move-columns, term-insert-char, term-emulate-terminal)
4981 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 4982
493c6688
MA
49832012-06-20 Michael Albinus <michael.albinus@gmx.de>
4984
d34c18b1
DR
4985 * net/ange-ftp.el (ange-ftp-get-passwd):
4986 Bind `enable-recursive-minibuffers'.
493c6688
MA
4987 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4988
3f06ecf4
DR
49892012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
4990
4991 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4992
68f12411
GM
49932012-06-19 Glenn Morris <rgm@gnu.org>
4994
4995 * progmodes/python.el (python-mode): Derive from prog-mode.
4996
b3820318
KG
49972012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
4998
4999 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5000 (edt-user-menu-bar-update-buffers): New functions.
5001 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5002
c6bf3022
CY
50032012-06-19 Chong Yidong <cyd@gnu.org>
5004
5005 * subr.el (with-selected-window): Preserve the selected window's
5006 terminal's top-frame (Bug#4702).
5007
5008 * window.el (save-selected-window): Likewise.
5009
25f09295
SM
50102012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5011
5012 * progmodes/python.el (python-rx-constituents): Move backquote.
5013 (python-skeleton-define, python-define-auxiliary-skeleton):
5014 Use `declare'.
5015
6b11952a
MA
50162012-06-18 Michael Albinus <michael.albinus@gmx.de>
5017
5018 * minibuffer.el (read-file-name-default): Revert the patch from
5019 2012-06-17.
5020
ee4b1330
SM
50212012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5022
5023 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5024 (pcase--u1, pcase--q1): Don't use apply-partially.
5025
35647f79
GM
50262012-06-18 Glenn Morris <rgm@gnu.org>
5027
5028 * progmodes/python.el (python-proc, python-buffer)
5029 (python-send-receive, python-send-string): Fix obsolete versions.
5030
24b0cff0
MR
50312012-06-18 Martin Rudalics <rudalics@gmx.at>
5032
5033 * window.el (special-display-p): Completely remove stringp
5034 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5035
29855149
MA
50362012-06-17 Michael Albinus <michael.albinus@gmx.de>
5037
5038 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5039
5040 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5041
5042 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5043 * net/tramp-sh.el (tramp-maybe-open-connection):
5044 Throw if `non-essential' is non-nil.
5045
07463363
MR
50462012-06-17 Martin Rudalics <rudalics@gmx.at>
5047
5048 * window.el (special-display-p): Signal an error if BUFFER-NAME
5049 is not a string (Bug#11713).
5050
48d1354e
PE
50512012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5052
5053 * progmodes/python.el (python-info-beginning-of-backslash):
5054 Rename from python-info-beginning-of-backlash, as a spelling fix.
5055
eb4a8a9a
CY
50562012-06-17 Chong Yidong <cyd@gnu.org>
5057
5058 * term.el (term-emulate-terminal): If term-check-size is called,
5059 move point to the process mark without resetting point (Bug#4635).
5060
ddfbf826 50612012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5062
5063 * international/mule-cmds.el (mule-menu-keymap)
5064 (set-language-environment, set-locale-environment): Doc tweaks.
5065
9b0e3eba
AA
50662012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5067
5068 * cus-face.el (custom-face-attributes): Add wave-style underline
5069 attribute.
5070 * faces.el (set-face-attribute): Update docstring to describe
5071 wave-style underline attribute.
5072
771e3eae
CY
50732012-06-16 Chong Yidong <cyd@gnu.org>
5074
5075 * term/xterm.el (terminal-init-xterm): Discard input before
5076 querying background mode (Bug#10959).
5077
7ae2ea10
SM
50782012-06-16 Stefan Merten <smerten@oekonux.de>
5079
5080 * textmodes/rst.el: Added and corrected some comments.
5081 (rst-re-alist-def): Improve symbol syntax.
5082 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5083 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5084 (rst-official-version, rst-official-cvs-rev): Update version
5085 information.
7ae2ea10 5086
b6974efa
JB
50872012-06-15 Juanma Barranquero <lekktu@gmail.com>
5088
5089 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5090 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5091
8826d473
GM
50922012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5093
5094 * progmodes/python.el: New python.el merge.
5095 (python-guess-indent): Obsolete var.
5096 (python-indent-guess-indent-offset): New defcustom.
5097 (python-indent): Obsolete var.
5098 (python-indent-offset): New defcustom.
5099 (python-python-command, python-jython-command): Delete var.
5100 (python-shell-interpreter): New defcustom.
5101 (python-pdbtrack-do-tracking-p): Delete var.
5102 (python-pdbtrack-activate): New defcustom.
5103 (python-use-skeletons): Obsolete var.
5104 (python-skeleton-autoinsert): New defcustom.
5105 (inferior-python-filter-regexp, python-continuation-offset)
5106 (python-honour-comment-indentation, python-indent-string-contents)
5107 (python-jython-packages, python-mode-hook)
5108 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5109 (python-shell-prompt-alist)
5110 (python-source-modes): Delete defcustoms.
5111 (python-check-buffer-name, python-eldoc-setup-code)
5112 (python-eldoc-string-code, python-ffap-setup-code)
5113 (python-ffap-string-code, python-fill-comment-function)
5114 (python-fill-decorator-function, python-fill-paren-function)
5115 (python-fill-string-function, python-imenu-include-defun-type)
5116 (python-imenu-make-tree, python-imenu-subtree-root-label)
5117 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5118 (python-shell-compilation-regexp-alist)
5119 (python-shell-completion-module-string-code)
5120 (python-shell-completion-pdb-string-code)
5121 (python-shell-completion-setup-code)
5122 (python-shell-completion-string-code)
5123 (python-shell-enable-font-lock, python-shell-exec-path)
5124 (python-shell-extra-pythonpaths)
5125 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5126 (python-shell-process-environment)
5127 (python-shell-prompt-block-regexp)
5128 (python-shell-prompt-output-regexp)
5129 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5130 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5131 (python-shell-virtualenv-path): New defcustoms.
5132 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5133 (inferior-python-mode-syntax-table, python--prompt-regexp)
5134 (python-buffer, python-command python-python-command)
5135 (python-default-template, python-imports, python-indent-index)
5136 (python-indent-list, python-indent-list-length)
5137 (python-mode-running, python-pdbtrack-is-tracking-p)
5138 (python-preoutput-continuation, python-preoutput-leftover)
5139 (python-preoutput-result, python-preoutput-skip-next-prompt)
5140 (python-prev-dir/file, python-recursing)
5141 (python-saved-check-command, python-version-checked)
5142 (python-which-func-length-limit)
5143 (view-return-to-alist): Delete vars.
5144 (python-check-custom-command, python-dotty-syntax-table)
5145 (python-imenu-index-alist, python-indent-current-level)
5146 (python-indent-dedenters, python-indent-levels)
5147 (python-nav-beginning-of-defun-regexp)
5148 (python-nav-list-defun-positions-cache)
5149 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5150 (python-shell-internal-buffer)
5151 (python-skeleton-available): New vars.
5152 (def-python-skeleton): Delete macro.
5153 (python-skeleton-define): New macro.
5154 (python-define-auxiliary-skeleton, python-rx): New macros.
5155 (python-insert-class): Delete command.
5156 (python-skeleton-class): New command.
5157 (python-insert-def): Delete command.
5158 (python-skeleton-def): New command.
5159 (python-insert-for): Delete command.
5160 (python-skeleton-for): New command.
5161 (python-insert-if): Delete command.
5162 (python-skeleton-if): New command.
5163 (python-insert-try/except, python-insert-try/finally): Delete commands.
5164 (python-skeleton-try): New command.
5165 (python-insert-while): Delete command.
5166 (python-skeleton-while): New command.
5167 (python-backspace): Delete command.
5168 (python-indent-dedent-line-backspace): New command.
5169 (python-electric-colon): Delete command.
5170 (python-indent-electric-colon): New command.
5171 (python-guess-indent): Delete command.
5172 (python-indent-guess-indent-offset): New command.
5173 (python-shift-left): Delete command.
5174 (python-indent-shift-left): New command.
5175 (python-shift-right): Delete command.
5176 (python-indent-shift-right): New command.
5177 (python-find-function): Delete command.
5178 (python-nav-jump-to-defun): New command.
5179 (python-next-statement): Delete command.
5180 (python-nav-forward-sentence): New command.
5181 (python-previous-statement): Delete command.
5182 (python-nav-backward-sentence): New command.
5183 (python-fill-paragraph): Delete command.
5184 (python-fill-paragraph-function): New command.
5185 (python-send-buffer): Delete command.
5186 (python-shell-send-buffer): New command.
5187 (python-send-defun): Delete command.
5188 (python-shell-send-defun): New command.
5189 (python-send-region, python-send-region-and-go): Delete commands.
5190 (python-shell-send-region)
5191 (python-shell-switch-to-shell): New commands.
5192 (python-send-string): Delete command.
5193 (python-shell-send-string): New command.
5194 (python-switch-to-python): Delete command.
5195 (python-shell-switch-to-shell): New command.
5196 (python-describe-symbol): Delete command.
5197 (python-eldoc-at-point): New command.
5198 (python--set-prompt-regexp, python-args-to-list)
5199 (python-after-info-look, python-check-version)
5200 (python-check-comint-prompt, python-find-imports)
5201 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5202 (python-unload-function, python-expand-template)
5203 (python-maybe-jython, python-preoutput-filter)
5204 (python-pdbtrack-get-source-buffer)
5205 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5206 (python-pdbtrack-toggle-stack-tracking)
5207 (python-pdbtrack-track-stack-file, python-initial-text)
5208 (python-first-word, python-comment-line-p, python-send-command)
5209 (python-setup-brm, python-sentinel, python-set-proc)
5210 (python-skip-out, python-input-filter, python-outdent-p)
5211 (python-outline-level, python-backslash-continuation-line-p)
5212 (python-end-of-block, python-end-of-statement, python-mark-block)
5213 (python-beginning-of-block, python-beginning-of-statement)
5214 (python-blank-line-p, python-beginning-of-string)
5215 (python-open-block-statement-p): Delete functions.
5216 (python-indent-line, python-indent-line-1): Delete functions.
5217 (python-indent-line): New function.
5218 (python-indentation-levels): Delete function.
5219 (python-indent-calculate-levels): New function.
5220 (python-proc): Delete function.
5221 (python-shell-get-process): New function.
5222 (python-send-receive): Delete function.
5223 (python-shell-send-string-no-output): New function.
5224 (python-module-path): Delete function.
5225 (python-ffap-module-path): New function.
5226 (python-completion-at-point)
5227 (python-symbol-completions): Delete functions.
5228 (python-completion-complete-at-point): New function.
5229 (python-load-file): Delete function.
5230 (python-shell-send-file): New function.
5231 (python-calculate-indentation): Delete function.
5232 (python-indent-calculate-indentation): New function.
5233 (python-skip-comments/blanks): Delete function.
5234 (python-util-forward-comment): New function.
5235 (python-continuation-line-p): Delete function.
5236 (python-info-continuation-line-p): New function.
5237 (python-which-func, python-current-defun): Delete function.
5238 (python-info-current-defun): New function.
5239 (python-beginning-of-defun): Delete function.
5240 (python-nav-beginning-of-defun): New function.
5241 (python-close-block-statement-p)
5242 (python-block-end-p): Delete function.
5243 (python-info-closing-block): New function.
5244 (python-comint-output-filter-function)
5245 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5246 (python-fill-comment, python-fill-decorator, python-fill-paren)
5247 (python-fill-string, python-imenu-make-element-tree)
5248 (python-imenu-make-tree, python-imenu-tree-assoc)
5249 (python-indent-context, python-indent-dedent-line)
5250 (python-indent-line-function)
5251 (python-indent-post-self-insert-function)
5252 (python-indent-toggle-levels)
5253 (python-info-assignment-continuation-line-p)
5254 (python-info-beginning-of-backlash)
5255 (python-info-block-continuation-line-p)
5256 (python-info-closing-block-message)
5257 (python-info-line-ends-backslash-p)
5258 (python-info-looking-at-beginning-of-defun)
5259 (python-info-ppss-context, python-info-ppss-context-type)
5260 (python-nav-list-defun-positions, python-nav-read-defun)
5261 (python-nav-sentence-end, python-nav-sentence-start)
5262 (python-pdbtrack-comint-output-filter-function)
5263 (python-pdbtrack-set-tracked-buffer)
5264 (python-shell-calculate-exec-path)
5265 (python-shell-calculate-process-environment)
5266 (python-shell-completion--do-completion-at-point)
5267 (python-shell-completion--get-completions)
5268 (python-shell-completion-complete-at-point)
5269 (python-shell-completion-complete-or-indent)
5270 (python-shell-get-or-create-process)
5271 (python-shell-get-process-name)
5272 (python-shell-internal-get-or-create-process)
5273 (python-shell-internal-get-process-name)
5274 (python-shell-internal-send-string, python-shell-make-comint)
5275 (python-shell-parse-command, python-shell-send-setup-code)
5276 (python-skeleton-add-menu-items)
5277 (python-util-clone-local-variables, python-util-position)
5278 (run-python-internal, python-indentation-levels)
5279 (python-nav-beginning-of-defun)
5280 (python-completion-complete-at-point): New functions.
5281 (run-python): Change arguments. New API requirements.
5282
4302f5ba
SM
52832012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5284
f38ea36d
SM
5285 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5286 (bug#11649).
5287
5288 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5289 (macroexp--expand-all): Use it.
5290
4302f5ba
SM
5291 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5292 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5293 Use `cl-function' instead.
5294
33377562
JB
52952012-06-14 Juanma Barranquero <lekktu@gmail.com>
5296
5297 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5298 Suggested by Stefan Monnier while discussing bug#11657.
5299
54c5ba1a
SS
53002012-06-14 Sam Steingold <sds@gnu.org>
5301
5302 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5303
f9f1b1fe
AS
53042012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5305
5306 * play/doctor.el (doctor-doc): Remove parameter and use
5307 doctor-sent instead of sent.
5308 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5309
a81068ba
SM
53102012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5a315f9c
SM
5312 * files.el: Require cl-lib.
5313 (file-name-non-special): Replace case -> cl-case.
5314
5315 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5316
a81068ba
SM
5317 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5318 mapping from #' to function*.
5319
8cca9703
CY
53202012-06-13 Chong Yidong <cyd@gnu.org>
5321
5322 * mouse.el (mouse-drag-track): Do not set the mark if the user
5323 releases the mouse without selecting anything (Bug#11588).
5324
a12ac9d7
SM
53252012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5326
ccf1dc18
SM
5327 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5328 as well (bug#11646).
5329
ef62b23d
SM
5330 * loadup.el: Count byte-code functions as well.
5331
c4c8444a
SM
5332 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5333 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5334
a12ac9d7
SM
5335 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5336 (bug#11649). Add cl-defun and cl-defmacro.
5337
87e6e64f
DA
53382012-06-13 Drew Adams <drew.adams@oracle.com>
5339
5340 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5341 Fix last change.
5342
682cefaf
MA
53432012-06-13 Michael Albinus <michael.albinus@gmx.de>
5344
5345 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5346 Otherwise, it blocks in batch mode.
5347
773e1f08
JB
53482012-06-13 Juanma Barranquero <lekktu@gmail.com>
5349
5350 * help-mode.el (bookmark-make-record-default): Declare.
5351
60057926
CY
53522012-06-13 Chong Yidong <cyd@gnu.org>
5353
5354 * emacs-lisp/package.el (list-packages): Compute a list of
5355 packages that are newly-available since the last list-packages
5356 invocation.
5357 (package-menu--new-package-list): New var.
5358 (package-menu--generate, package-menu--print-info)
5359 (package-menu--status-predicate, package-menu-mark-install):
5360 Handle new status label "new".
5361
ad4d226c
SM
53622012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5365 conversion to backquotes.
5366
f1a4e679
CY
53672012-06-12 Chong Yidong <cyd@gnu.org>
5368
5369 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5370 Rename from gud-inhibit-global-bindings.
5371
5372 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5373
5374 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5375 hook from nxml-glyph-set-hook.
5376
5377 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5378 declaration.
5379
5380 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5381
5382 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5383 Convert to defcustom.
5384
0c9e42b5
DA
53852012-06-12 Drew Adams <drew.adams@oracle.com>
5386
5387 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5388 New functions.
5389 (help-mode): Use them.
5390
09e06855
GM
53912012-06-11 Glenn Morris <rgm@gnu.org>
5392
5393 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5394 Use preprocessor face for directives.
5395 (fortran-directive-re): Doc fix.
5396
71adb94b
SM
53972012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5398
2eb87922
SM
5399 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5400 conversion to backquotes (bug#11652).
5401
71adb94b
SM
5402 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5403 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5404 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5405 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5406 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5407 (cl-ninth, cl-tenth): Mark them as inlinable.
5408 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5409 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5410 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5411 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5412 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5413 (cl-list*, cl-adjoin): Don't put an autoload manually.
5414 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5415 (cl--compiler-macro-list*): Add autoload cookie.
5416 (cl--compiler-macro-cXXr): New function.
2eb87922 5417
71adb94b
SM
5418 * help-fns.el (help-fns--compiler-macro): New function extracted from
5419 describe-function-1; follow aliases and use `compiler-macro' property.
5420 (describe-function-1): Use it.
5421
a6674402
CY
54222012-06-11 Chong Yidong <cyd@gnu.org>
5423
5424 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5425 is uninstalled, if imagemagick is installed.
5426
bb3faf5b
SM
54272012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * emacs-lisp/cl-lib.el: Use lexical-binding.
5430 (cl-map-extents, cl-maclisp-member): Remove.
5431 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5432 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5433 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5434 * emacs-lisp/cl-extra.el: Use lexical-binding.
5435 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5436 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5437 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5438 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5439 * emacs-lisp/cl-seq.el: Use lexical-binding.
5440 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5441 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5442 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5443 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5444 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5445 CL's internals.
5446
2fe4b125
MA
54472012-06-11 Michael Albinus <michael.albinus@gmx.de>
5448
5449 Sync with Tramp 2.2.6-pre.
5450
5451 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5452 `print-length' and `print-level' to nil, in order to avoid
5453 truncation. Reported by Christopher Schmidt
5454 <christopher@ristopher.com>.
5455
5456 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5457
5458 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5459 New defmacro.
5460 (tramp-compat-copy-directory): Add optional argument
5461 COPY-CONTENTS. It is not handled yet.
5462
5463 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5464 (tramp-ftp-file-name-p): Simplify.
5465
5466 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5467 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5468 connection vector.
5469
5470 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5471 (tramp-methods): Do not use `tramp-password-end-of-line'.
5472 (tramp-completion-function-alist-putty): Handle UNIX case.
5473 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5474 (tramp-do-file-attributes-with-stat)
5475 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5476 gid as real numbers. They could run out of integer range on cygwin.
5477 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5478 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5479 (tramp-open-connection-setup-interactive-shell):
5480 Use `tramp-cleanup'. Move check for busyboxes ...
5481 (tramp-find-shell): ... here. Simplify implementation.
5482 Set "remote-shell" property also for alternative shells.
5483 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5484 If failing, a regular file would be written otherwise.
5485 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5486 (tramp-find-inline-encoding): Cache the coding commands in the
5487 process cache. Apply test command on the remote side, if defined.
5488 (tramp-find-inline-compress): Cache the compress commands in the
5489 process cache.
5490 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5491 when requested. Handle hops.
5492 (tramp-current-connection): New defvar.
87e6e64f
DA
5493 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5494 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5495 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5496 (tramp-get-inline-compress, tramp-get-inline-coding):
5497 Read connection properties from the process cache.
2fe4b125
MA
5498
5499 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5500 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5501 New defconsts.
2fe4b125
MA
5502 (tramp-smb-prompt): Extend for powershell prompt.
5503 (tramp-smb-file-name-handler-alist): Add handlers for
5504 `process-file', `shell-command' and `start-file-process'.
5505 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5506 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5507 (tramp-smb-file-name-p): Simplify.
5508 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5509 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5510 (tramp-smb-shell-quote-argument): New defuns.
5511 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5512 Implement using "tar". By this, time-stamps are preserved.
5513 (tramp-smb-handle-copy-file): Handle also the case of directories.
5514 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5515 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5516 Use `tramp-get-connection-buffer').
2fe4b125
MA
5517 (tramp-smb-handle-rename-file): Use "rename", when source and
5518 target are on the same share.
87e6e64f
DA
5519 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5520 Use `tramp-smb-server-version'.
2fe4b125
MA
5521 (tramp-smb-wait-for-output): Remove prompt.
5522
5523 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5524 (tramp-methods, tramp-rsh-end-of-line):
5525 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5526 (tramp-save-ad-hoc-proxies): New defcustom.
5527 (tramp-completion-function-alist): Adapt docstring.
5528 (tramp-default-password-end-of-line): Remove defcustom.
5529 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5530 (tramp-user-regexp, tramp-file-name-regexp-unified)
5531 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5532 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5533 (tramp-remote-file-name-spec-regexp): New defconst.
5534 (tramp-file-name-structure): Extend structure for hops.
5535 (tramp-get-method-parameter): Move up.
5536 (tramp-file-name-p, tramp-dissect-file-name)
5537 (with-parsed-tramp-file-name): Handle hops.
5538 (tramp-file-name-hop): New defun.
5539 (tramp-make-tramp-file-name): New optional arg HOP.
5540 (tramp-message-show-progress-reporter-message): New defvar.
5541 (tramp-with-progress-reporter): Use it. We cannot use
5542 `tramp-message-show-message' here, because this suppresses also
5543 error buffers.
5544 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5545 `tramp-message-show-message' is nil.
5546 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5547 (tramp-cleanup): New defun.
5548 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5549 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5550 an error unchanged.
5551 (tramp-completion-handle-file-name-all-completions): Handle hops.
5552 Fix an error when called from ido.
5553 (tramp-completion-dissect-file-name): Use better local variable
5554 name. Add hop to the vector.
5555 (tramp-handle-insert-file-contents): Use progress-reporter for the
5556 whole scenario.
5557 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5558 to `t'.
5559 (tramp-check-for-regexp): Simplify search.
5560 (tramp-enter-password): Remove it. Move implementation ...
5561 (tramp-action-password): ... here.
5562 (tramp-mode-string-to-int, tramp-local-host-p)
5563 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
5564 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5565 Set tramp-autoload cookie.
2fe4b125
MA
5566
5567 * net/trampver.el: Update release number.
5568
55692012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5570 Michael Albinus <michael.albinus@gmx.de>
5571
5572 * net/tramp.el (tramp-set-completion-function): Fix docstring.
5573 (tramp-parse-group, tramp-parse-file)
5574 (tramp-parse-shostkeys-sknownhosts): New defuns.
5575 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5576 (tramp-parse-shosts-group, tramp-parse-sconfig)
5577 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5578 (tramp-parse-sknownhosts, tramp-parse-hosts)
5579 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5580 Use them.
5581 (tramp-parse-passwd-group, tramp-parse-netrc-group)
5582 (tramp-parse-putty-group): Don't narrow.
5583 (tramp-parse-putty): Make a loop.
5584 (tramp-file-name-handler): Catch the `suppress' signal.
5585
72834e10
CY
55862012-06-11 Chong Yidong <cyd@gnu.org>
5587
5588 * image.el (imagemagick-register-types): Put the ImageMagick entry
5589 at the end of image-type-file-name-regexps.
5590
a4712e11
JB
55912012-06-11 Johan Bockgård <bojohan@gnu.org>
5592
5593 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5594 (pcase, pcase-let*, pcase-dolist): Use them.
5595
82ad98e3
SM
55962012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * emacs-lisp/pcase.el (pcase--let*): New function.
5599 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
5600 (pcase--expand): Use macroexp-let².
5601
f80efb86
SM
56022012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
5603
5604 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5605 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5606 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5607 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5608 * emacs-lisp/derived.el: Use pcase instead of `cl'.
5609 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5610
31ca4639 56112012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 5612
31ca4639
CY
5613 * mail/rmail.el (rmail-yank-current-message): Leave point at
5614 correct position. (Bug#11660)
94f0aa34 5615
31ca4639 56162012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 5617
31ca4639 5618 * allout-widgets.el: Fix code header.
9e1b8ec4 5619
31ca4639 56202012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 5621
f80efb86
SM
5622 * cus-edit.el (customize-changed-options-previous-release):
5623 Bump to 24.1.
31ca4639 5624
642b6d30
AS
56252012-06-09 Andreas Schwab <schwab@linux-m68k.org>
5626
5627 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5628
4f5d2ba1
CY
56292012-06-09 Chong Yidong <cyd@gnu.org>
5630
5631 * ebuff-menu.el (electric-buffer-list): Preserve header line.
5632
e75852fd
MR
56332012-06-09 Martin Rudalics <rudalics@gmx.at>
5634
5635 * window.el (special-display-popup-frame): Don't use
5636 window--display-buffer (Bug#11651).
5637
1e48e282
EZ
56382012-06-09 Eli Zaretskii <eliz@gnu.org>
5639
8a26b487
EZ
5640 Fix parallel builds: make sure loaddefs.el is not being written
5641 while Lisp files are compiled.
5642 (compile): Don't depend on 'mh-autoloads'.
5643 (compile-CMD, compile-SH): Depend on 'autoloads'.
5644 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5645
1e48e282
EZ
5646 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
5647
6175e34b
CY
56482012-06-09 Chong Yidong <cyd@gnu.org>
5649
5650 * face-remap.el (face-remap-add-relative, face-remap-set-base)
5651 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5652 Doc fixes (Bug#11225).
5653
d9857e53
SM
56542012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5657 a function if there's a clear indication that it has a compiler-macro.
5658 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5659 (macro-declarations-alist): Add arglist to declaration functions.
5660 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5661 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5662 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5663 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5664 Also add autoload to find the compiler macro.
5665 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5666 (cl--compiler-macro-member, cl--compiler-macro-assoc)
5667 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5668 (cl--compiler-macro-get): New functions, replacing calls to
5669 cl-define-compiler-macro.
5670 (cl-typep) [compiler-macro]: Use macroexp-let².
5671
f81298f8 56722012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
5673
5674 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5675 string properly, fixes Bug#11473.
5676
4b56d0fe
CY
56772012-06-08 Chong Yidong <cyd@gnu.org>
5678
5679 * faces.el (set-face-attribute): Doc fix.
5680 (modify-face): Don't use :bold and :italic.
5681 (error, warning, success): Tweak definitions.
5682
5683 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5684 (custom-modified, custom-set, custom-changed, custom-themed)
5685 (custom-saved, custom-button, custom-button-mouse)
5686 (custom-button-pressed, custom-state, custom-comment-tag)
5687 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5688 (custom-group-subtitle): Use new-style face specs.
5689 (custom-invalid-face, custom-rogue-face, custom-modified-face)
5690 (custom-set-face, custom-changed-face, custom-saved-face)
5691 (custom-button-face, custom-button-pressed-face)
5692 (custom-documentation-face, custom-state-face)
5693 (custom-comment-face, custom-comment-tag-face)
5694 (custom-variable-tag-face, custom-variable-button-face)
5695 (custom-face-tag-face, custom-group-tag-face-1)
5696 (custom-group-tag-face): Remove obsolete face alias.
5697
5698 * epa.el (epa-validity-high, epa-validity-medium)
5699 (epa-validity-low, epa-mark, epa-field-name, epa-string)
5700 (epa-field-name, epa-field-body):
5701 * font-lock.el (font-lock-comment-face, font-lock-string-face)
5702 (font-lock-keyword-face, font-lock-builtin-face)
5703 (font-lock-function-name-face, font-lock-variable-name-face)
5704 (font-lock-type-face, font-lock-constant-face):
5705 * ido.el (ido-first-match, ido-only-match, ido-subdir)
5706 (ido-virtual, ido-indicator, ido-incomplete-regexp):
5707 * speedbar.el (speedbar-button-face, speedbar-file-face)
5708 (speedbar-directory-face, speedbar-tag-face)
5709 (speedbar-selected-face, speedbar-highlight-face)
5710 (speedbar-separator-face):
5711 * whitespace.el (whitespace-newline, whitespace-space)
5712 (whitespace-hspace, whitespace-tab, whitespace-trailing)
5713 (whitespace-line, whitespace-space-before-tab)
5714 (whitespace-space-after-tab, whitespace-indentation)
5715 (whitespace-empty):
5716 * emulation/cua-base.el (cua-global-mark):
5717 * eshell/em-prompt.el (eshell-prompt):
5718 * net/newst-plainview.el (newsticker-new-item-face)
5719 (newsticker-old-item-face, newsticker-immortal-item-face)
5720 (newsticker-obsolete-item-face, newsticker-date-face)
5721 (newsticker-statistics-face, newsticker-default-face):
5722 * net/newst-reader.el (newsticker-feed-face)
5723 (newsticker-extra-face, newsticker-enclosure-face):
5724 * net/newst-treeview.el (newsticker-treeview-face)
5725 (newsticker-treeview-new-face, newsticker-treeview-old-face)
5726 (newsticker-treeview-immortal-face)
5727 (newsticker-treeview-obsolete-face)
5728 (newsticker-treeview-selection-face):
5729 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5730 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5731 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5732 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5733 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5734 (nxml-outline-active-indicator, nxml-outline-ellipsis):
5735 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5736 (mpuz-text):
5737 * progmodes/vera-mode.el (vera-font-lock-number)
5738 (vera-font-lock-function, vera-font-lock-interface):
5739 * textmodes/table.el (table-cell): Use new-style face specs, and
5740 don't use the old :bold and :italic attributes.
5741
5742 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5743 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5744 (ebrowse-member-class, ebrowse-progress): Likewise.
5745 (ebrowse-tree-mark-face, ebrowse-root-class-face)
5746 (ebrowse-file-name-face, ebrowse-default-face)
5747 (ebrowse-member-attribute-face, ebrowse-member-class-face)
5748 (ebrowse-progress-face): Remove obsolete faces.
5749
5750 * progmodes/flymake.el (flymake-errline, flymake-warnline):
5751 Inherit from error and warning faces respectively.
5752
5753 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5754 Likewise.
f80efb86
SM
5755 (flyspell-incorrect-face, flyspell-duplicate-face):
5756 Remove obsolete aliases.
4b56d0fe 5757
03310646
MA
57582012-06-08 Michael Albinus <michael.albinus@gmx.de>
5759
5760 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5761 Avoid infloop.
5762
513749ee
SM
57632012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * startup.el (argv, argi): Make lexically scoped.
5766 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5767 * emacs-lisp/cl-macs.el: Use lexical-binding.
5768 Rename cl-bind-* to cl--bind-*.
5769 * files.el: Don't require `cl' since it doesn't use it.
5770 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5771
595ef4ad
JB
57722012-06-08 Juanma Barranquero <lekktu@gmail.com>
5773
5774 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5775 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5776 instead of calling external sort utility.
5777 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5778
e9f66fcb
EZ
57792012-06-08 Eli Zaretskii <eliz@gnu.org>
5780
5781 * descr-text.el (describe-char): Mention how to insert the
5782 character, if the current input method doesn't support it.
5783 See the discussion in this thread for the details:
5784 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5785
3d10db47
SS
57862012-06-08 Sam Steingold <sds@gnu.org>
5787
5788 * bindings.el (global-map): Bind XF86Forward to next-buffer and
5789 XF86Back to previous-buffer.
5790 (minibuffer-local-map): Bind them to next-history-element and
5791 previous-history-element respectively.
5792 * help-mode.el (help-mode-map): Bind them to help-go-forward and
5793 help-go-back respectively.
5794 * info.el (Info-mode-map): Bind them to Info-history-forward and
5795 Info-history-back respectively.
5796 These are the keys next to Up on the ThinkPad keyboard.
5797
de7e2b36
SM
57982012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5801 * emacs-lisp/cl-macs.el: Provide itself.
5802 (cl--labels-convert-cache): New var.
5803 (cl--labels-convert): New function.
5804 (cl-flet, cl-labels): New implementation with new semantics, relying on
5805 lexical-binding.
5806 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5807 (cl-closure-vars, cl--function-convert-cache)
5808 (cl--function-convert): Move from cl-macs.el.
5809 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5810 rename by removing the "cl-" prefix.
5811 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5812
6fa6c4ae
SM
58132012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5816 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5817 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5818 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5819 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5820 (cl-hash-table-count): Add old compatibility aliases.
5821
5822 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5823 Use macroexpand-all-environment instead.
5824 (cl--old-macroexpand): New var.
5825 (cl--sm-macroexpand): New function.
5826 (cl-symbol-macrolet): Use it during macro expansion.
5827 (cl--function-convert-cache): New var.
5828 (cl--function-convert): New function, extracted from
5829 cl-macroexpand-all.
5830 (cl-lexical-let): Use it.
5831
5832 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5833 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5834 (cl-member): Remove old alias.
5835
5836 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5837 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5838 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5839 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5840 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5841 (cl-macroexpand-cmacs): Remove var.
5842 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5843 Use macroexpand-all instead.
5844
4dd1c416
SM
58452012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5846
5847 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5848 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5849 (macroexp-copyable-p): New functions and macros.
5850 * emacs-lisp/edebug.el (edebug-unwrap):
5851 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5852 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5853 (pcase--let*): Remove.
5854 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5855 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
5856 macroexp-const-p instead.
5857 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5858
5859 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5860 instead of "cl-" for internal definitions. Use macroexp-const-p.
5861 (cl-old-bc-file-form): Remove var.
5862 (cl-const-exprs-p): Remove fun.
5863 (cl-labels, cl-macrolet): Use backquote.
5864 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
5865 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5866 (cl-define-setf-expander): Rename from cl-define-setf-method.
5867 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5868
5869 * international/mule-cmds.el: Don't require CL.
5870 (view-hello-file): Don't use `letf'.
5871
ed8bd4d7
SM
58722012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5873
7287f2f3
SM
5874 * tmm.el (tmm-prompt): Use string-prefix-p.
5875 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5876 (tmm-add-prompt): Use minibuffer-completion-help.
5877 (tmm-delete-map): Remove.
5878
ed8bd4d7
SM
5879 * subr.el (kbd): Make it its own function.
5880
7b4cdbf4
SM
58812012-06-07 Stefan Merten <smerten@oekonux.de>
5882
5883 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5884 Silence compiler warnings. Fix versions.
ed8bd4d7 5885 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 5886 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 5887 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
5888 (rst-package-emacs-version-alist): Correct Emacs version to
5889 represent major merge with upstream.
ed8bd4d7 5890 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 5891
2b48d721
GM
58922012-06-06 Glenn Morris <rgm@gnu.org>
5893
5894 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5895 Only print environment variables if set.
5896
fa779ab0
SM
58972012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5900 (macroexp--cons): Rename from maybe-cons.
5901 (macroexp--accumulate): Rename from macroexp-accumulate.
5902 (macroexp--all-forms): Rename from macroexpand-all-forms.
5903 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5904 (macroexp--expand-all): Rename from macroexpand-all-1.
5905
628299e0
SS
59062012-06-06 Sam Steingold <sds@gnu.org>
5907
5908 * calendar/calendar.el (calendar-in-read-only-buffer):
5909 Call `special-mode' to enable the standard read-only keybindings.
5910
b7bb5838
SM
59112012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5914 with "loading" messages (bug#11635).
5915
dfb308ba
MA
59162012-06-06 Michael Albinus <michael.albinus@gmx.de>
5917
5918 * files.el (enable-remote-dir-locals): New option.
5919 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
5920
0372ee92
MA
5921 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5922 Ensure, that the temp directory is local.
5923
5924 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5925 `temporary-file-directory'.
5926
eed0bb91
MA
5927 * progmodes/python.el (python-send-region): Ensure, that the
5928 temporary file is created also in the remote case.
5929
7a58f64d
GM
59302012-06-06 Glenn Morris <rgm@gnu.org>
5931
f7dd4e98
GM
5932 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5933 (vc-rcs-update-changelog): Use it.
5934
090bd7cb 5935 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 5936
7a58f64d
GM
5937 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5938 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5939 (vc-sccs-diff): Replace use of the external vcdiff script.
5940
daed4003
GM
59412012-06-05 Glenn Morris <rgm@gnu.org>
5942
5943 * ledit.el: Move to obsolete/.
5944
48c455c7
SS
59452012-06-05 Sam Steingold <sds@gnu.org>
5946
ed9265fc 5947 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
5948 patch (Bug#11140).
5949
57a7d507
SM
59502012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5951
090bd7cb 5952 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 5953
53aacf21
SM
5954 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5955 compiler-macro expansion.
5956
57a7d507
SM
5957 Add native compiler-macro support.
5958 * emacs-lisp/macroexp.el (macroexpand-all-1):
5959 Support compiler-macros directly. Properly follow aliases and apply
5960 the compiler macros more thoroughly.
5961 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5962 macroexpand now properly follows aliases.
5963 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5964 (cl-compiler-macroexpand): Use new prop.
5965 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5966
5967 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5968
51a5f9d8
MR
59692012-06-05 Martin Rudalics <rudalics@gmx.at>
5970
5971 * window.el (get-lru-window, get-mru-window, get-largest-window):
5972 New argument NOT-SELECTED to avoid picking the selected window.
5973 (window--display-buffer-1, window--display-buffer-2): Replace by
5974 new function window--display-buffer
5975 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
5976 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5977 Use window--display-buffer.
51a5f9d8
MR
5978 (display-buffer-use-some-window): Remove temporary dedication
5979 hack by calling get-lru-window and get-largest-window with
5980 NOT-SELECTED argument non-nil. Call window--display-buffer.
5981
08f9f738
GM
59822012-06-05 Glenn Morris <rgm@gnu.org>
5983
5984 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5985 Replace external vcdiff script.
5986
e364a2b7
SM
59872012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5988
5989 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5990
041df390
CY
59912012-06-04 Chong Yidong <cyd@gnu.org>
5992
e364a2b7
SM
5993 * image.el (imagemagick-types-inhibit): Revert last change.
5994 Add INFO and M.
47b36b94 5995 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 5996
7c1898a7
SM
59972012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * emacs-lisp/cl-lib.el: Rename from cl.el.
6000 * emacs-lisp/cl.el: New compatibility file.
6001 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6002 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6003 to obey the "cl-" prefix.
6004 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6005
0c3461de
GM
60062012-06-03 Glenn Morris <rgm@gnu.org>
6007
1e266c88
GM
6008 * emacs-lisp/authors.el (authors-aliases): Addition.
6009
0c3461de
GM
6010 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6011 Fix :version.
6012
d8a52e15
SM
60132012-06-03 Stefan Merten <smerten@oekonux.de>
6014
6015 * textmodes/rst.el: Add comments.
6016 (rst-transition, rst-adornment): New faces.
6017 (rst-adornment-faces-alist): Make default safe to reevaluate.
6018 Fixes
6019 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6020 Improve customization tags.
6021 (rst-define-level-faces): Clarify meaning.
6022
5205d6f6
CY
60232012-06-03 Chong Yidong <cyd@gnu.org>
6024
6025 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6026 (compilation-mode-line-run, compilation-mode-line-exit):
6027 New faces.
5205d6f6
CY
6028 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6029
757ee657
JD
60302012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6031
7c1898a7
SM
6032 * progmodes/which-func.el (which-func-update-ediff-windows):
6033 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6034
5f2c76c6
CY
60352012-06-03 Chong Yidong <cyd@gnu.org>
6036
6037 * bindings.el: Remove explicit help text from format-mode-line.
6038 It is now supplied by mode-line-default-help-echo.
6039 (mode-line-front-space, mode-line-end-spaces)
6040 (mode-line-misc-info): New variables.
6041 (mode-line-modes, mode-line-position): Move the default value to
6042 the variable definition.
6043 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6044 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6045 (mode-line-modified-help-echo): New functions.
6046 (mode-line-mule-info, mode-line-modified): Use them.
6047 (mode-line-eol-desc, propertized-buffer-identification):
6048 Consistency fixes for help text.
cbe46e5f
CY
6049 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6050 set-buffer-file-coding-system (Bug#289).
6051 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6052
f2d6a3df
SM
60532012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * simple.el (execute-extended-command): Set real-this-command
6056 (bug#11506).
6057
37269466
CY
60582012-06-02 Chong Yidong <cyd@gnu.org>
6059
6060 Remove incorrect uses of "modeline" in comments, docstrings, and
6061 function/variable names (Bug#10329).
6062
6063 * cus-edit.el (mode-line):
6064 * dframe.el (dframe-mouse-hscroll):
6065 * emacs-lisp/re-builder.el:
6066 * emacs-lisp/easy-mmode.el (define-minor-mode):
6067 * frame.el (set-frame-name):
6068 * help.el (lookup-minor-mode-from-indicator):
6069 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6070 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6071 (c-toggle-hungry-state):
6072 * progmodes/antlr-mode.el (antlr-language-alist):
6073 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6074 * progmodes/vhdl-mode.el (vhdl-mode):
6075 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6076 * term/ns-win.el (ns-face-at-pos):
6077 * term/sup-mouse.el (sup-mouse-report):
6078 * textmodes/flyspell.el (flyspell-mode-line-string):
6079 * textmodes/ispell.el (ispell-highlight-face):
6080 * textmodes/reftex-global.el:
6081 * vc/vc-arch.el (vc-arch-mode-line-string):
6082 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6083 * vc/vc-git.el (vc-git-mode-line-string):
6084 * vc/vc-hooks.el (vc-display-status)
6085 (vc-default-mode-line-string):
6086 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6087
6088 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6089
6090 * dired.el (dired-sort-set-mode-line): Rename from
6091 dired-sort-set-modeline. All callers changed.
6092
6093 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6094 eshell-status-in-modeline.
6095
6096 * foldout.el (foldout-mode-line-string): Rename from
6097 foldout-modeline-string. All callers changed.
6098 (foldout-update-mode-line): Rename from foldout-update-modeline.
6099
6100 * subr.el (redraw-modeline): Make into obsolete alias.
6101
6102 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6103 timeclock-modeline-display. Make old name an alias.
6104 (timeclock-update-mode-line): Likewise. All callers changed.
6105 (timeclock-mode-line-display): No need to check before using
6106 add-hook.
6107 (timeclock-relative, timeclock-day-over-hook)
6108 (timeclock-use-elapsed, timeclock-mode-string)
6109 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6110
6111 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6112 crisp-mode-modeline-string.
6113
6114 * play/solitaire.el (solitaire-build-mode-line): Rename from
6115 solitaire-build-modeline. All callers changed.
6116
6117 * play/zone.el (zone-hiding-mode-line): Rename from
6118 zone-hiding-modeline. All callers changed.
6119 (zone): Remove unusued `modeline-hidden-level' property.
6120
6121 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6122 xscheme-modeline-initialize. All callers changed.
6123
6124 * strokes.el (strokes-lighter): Rename from
6125 strokes-modeline-string.
6126
6127 * textmodes/sgml-mode.el (html-face-tag-alist)
6128 (html-tag-face-alist): Use mode-line face instead of obsolete
6129 alias modeline.
6130
42152ee4
SM
61312012-06-02 Stefan Merten <smerten@oekonux.de>
6132
6133 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6134 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6135
95f520b5
CY
61362012-06-02 Chong Yidong <cyd@gnu.org>
6137
6138 * image.el (imagemagick-enabled-types): Rename from
6139 imagemagick-types-enable. Add many more types.
6140 (imagemagick-types-inhibit): Change default to nil.
6141 (imagemagick-filter-types): Caller changed.
6142
4a5f187a
SM
61432012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6144
03fef3e6
SM
6145 * emacs-lisp/cl-macs.el: Use backquotes.
6146 (cl-transform-function-property): Use eval-and-compile rather than
6147 abusing `require'.
6148 (defstruct): Use declare-function instead of with-no-warnings.
6149
4a5f187a
SM
6150 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6151 (byte-compile-output-docform): Re-add the print-circle bindings.
6152 (byte-compile-fix-header): Use #$ just because it's shorter.
6153 (byte-compile-output-file-form): Remove defun/defmacro.
6154
bd56924f
MR
61552012-06-01 Martin Rudalics <rudalics@gmx.at>
6156
6157 * simple.el (choose-completion): Remove now obsolete binding for
6158 owindow.
6159
046e38ce
MA
61602012-06-01 Michael Albinus <michael.albinus@gmx.de>
6161
6162 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6163 in order to avoid "Stack overflow in regexp matcher".
6164
32d72c2f
GM
61652012-05-31 Glenn Morris <rgm@gnu.org>
6166
6167 * image.el: For clarity, call imagemagick-register-types at
6168 top-level, rather than relying on a custom :initialize.
6169 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6170 (imagemagick-filter-types): New function. (Bug#7406)
6171 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6172 If disabling support, remove elements altogether rather
6173 than using an impossible regexp.
6174 (imagemagick-types-inhibit): Give it the default init function.
6175
dd41169b
SM
61762012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6177
4a5f187a
SM
6178 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6179 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6180
efc00ab1 61812012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6182
6183 * desktop.el (desktop-read): Clear previous and next buffers for
6184 all windows and bury *Messages* buffer (bug#11556).
6185
500fcedc
SM
61862012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 Add `declare' for `defun'. Align `defmacro's with it.
6189 * emacs-lisp/easy-mmode.el (define-minor-mode)
6190 (define-globalized-minor-mode): Don't autoload the var definitions.
6191 * emacs-lisp/byte-run.el: Use lexical-binding.
6192 (defun-declarations-alist, macro-declarations-alist): New vars.
6193 (defmacro, defun): Use them.
6194 (make-obsolete, define-obsolete-function-alias)
6195 (make-obsolete-variable, define-obsolete-variable-alias):
6196 Use `declare'.
6197 (macro-declaration-function): Mark obsolete.
6198 * emacs-lisp/autoload.el: Use lexical-binding.
6199 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6200
6e8a1786
AM
62012012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6202
6203 * textmodes/ispell.el (ispell-with-no-warnings):
6204 Define as a macro.
500fcedc
SM
6205 (ispell-kill-ispell, ispell-change-dictionary):
6206 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6207 `interactive-p'.
6208
61b108cc
SM
62092012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6210
6211 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6212 (macro-declaration-function): Move var from C code.
6213 (macro-declaration-function): Define function with defalias.
6214 * emacs-lisp/macroexp.el (macroexpand-all-1):
6215 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6216 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6217 defun/defmacro any more.
6218 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6219 Provide fallback for unknown arglist.
6220 (byte-compile-arglist-warn): Change calling convention.
6221 (byte-compile-output-file-form): Move print-vars binding.
6222 (byte-compile-output-docform): Simplify accordingly.
6223 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6224 (byte-compile-defmacro-declaration): Remove.
6225 (byte-compile-file-form-defmumble): Generalize to defalias.
6226 (byte-compile-output-as-comment): Return byte-positions.
6227 Simplify callers accordingly.
6228 (byte-compile-lambda): Use `assert'.
6229 (byte-compile-defun, byte-compile-defmacro): Remove.
6230 (byte-compile-file-form-defalias):
6231 Use byte-compile-file-form-defmumble.
6232 (byte-compile-defalias-warn): Remove.
6233
6d3f7c2f
SM
62342012-05-29 Stefan Merten <smerten@oekonux.de>
6235
6236 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6237 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6238
6239 (rst-mode-abbrev-table): Merge definition.
6240 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6241 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6242
6dbaa1c7
UJ
62432012-05-29 Ulf Jasper <ulf.jasper@web.de>
6244
6245 * calendar/icalendar.el
6246 (icalendar-export-region): Export UID properly.
6247
d209e2fb 62482012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6249 * calendar/icalendar.el (icalendar-import-format):
6250 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6251 (icalendar-import-format-uid): New.
6252 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6253 Export UID.
6254
6876a58d
SM
62552012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6258 different alternative patterns.
6259 (pcase-codegen): Be more careful to preserve identity.
6260 (pcase--u1): Don't forget to mark vars as used.
6261
6262 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6263 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6264 (byte-compile-from-buffer): ...rather than here.
6265
6266 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6267 functions from byte-compile-function-environment.
6268
46b7967e
TN
62692012-05-29 Troels Nielsen <bn.troels@gmail.com>
6270
6271 * window.el (window-deletable-p): Avoid deleting the root window
6272 of a frame with an active minibuffer.
6273
69d565e2
MR
62742012-05-29 Martin Rudalics <rudalics@gmx.at>
6275
6276 * simple.el (choose-completion): Use quit-window (Bug#11567).
6277
a149fa51
CY
62782012-05-29 Chong Yidong <cyd@gnu.org>
6279
6280 * whitespace.el (whitespace-cleanup): Fix usage of
6281 whitespace-empty-at-bob-regexp (Bug#11492).
6282
2b311310
AH
62832012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6284
6285 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6286 revert (Bug#11488).
6287
b9cb2387
JL
62882012-05-29 Juri Linkov <juri@jurta.org>
6289
6290 * isearch.el (isearch-mode-map): Bind `M-s _' to
6291 `isearch-toggle-symbol'. Bind `M-s c' to
6292 `isearch-toggle-case-fold'.
6293 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6294 (isearch-forward): Add `M-s _' to the docstring.
6295 (isearch-forward-symbol, isearch-toggle-case-fold)
6296 (isearch-symbol-regexp): New functions. (Bug#11381)
6297
d5e61c1c
JL
62982012-05-29 Juri Linkov <juri@jurta.org>
6299
6300 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6301 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6302 a function, call it to get the regexp.
6303 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6304 property `isearch-message-prefix' instead of the string "word ".
6305 (isearch-search-fun-default): For the case of `isearch-word',
6306 return a lambda that calls re-search-forward/re-search-backward
6307 with a regexp returned by `word-search-regexp' or by the function
6308 in `isearch-word'.
6309
8cbd80f7
JL
63102012-05-29 Juri Linkov <juri@jurta.org>
6311
6312 * isearch.el (isearch-search-fun-default): New function.
6313 (isearch-search-fun): Move default part to the new function
6314 `isearch-search-fun-default'.
6315 (isearch-search-fun-function): Set the default value to
6316 `isearch-search-fun-default'. (Bug#11381)
6317
6318 * comint.el (comint-history-isearch-end):
6319 Use `isearch-search-fun-default'.
6320 (comint-history-isearch-search): Use `isearch-search-fun-default'
6321 and remove spacial case for `isearch-word'.
6322 (comint-history-isearch-wrap): Remove spacial case for
6323 `isearch-word'.
6324
6325 * hexl.el (hexl-isearch-search-function):
6326 Use `isearch-search-fun-default'.
6327
6328 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6329 Use `word-search-regexp' for `isearch-word'.
6330
6331 * misearch.el (multi-isearch-search-fun):
6332 Use `isearch-search-fun-default'.
6333
6334 * simple.el (minibuffer-history-isearch-search):
6335 Use `isearch-search-fun-default' and remove spacial case for
6336 `isearch-word'.
6337 (minibuffer-history-isearch-wrap): Remove spacial case for
6338 `isearch-word'.
6339
6340 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6341 Remove spacial case for `isearch-word'.
6342 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6343
85c8c5b6
AM
63442012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6345
6346 Decrease XEmacs incompatibilities.
6347 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6348 Use `string-match'.
6349 (flyspell-delete-region-overlays): Use alternative definition for
6350 XEmacs.
6351 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6352 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6353 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6354 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6355 `define-obsolete-face-alias' under XEmacs, but old method.
6356
6357 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6358 `with-no-warnings' definition or Emacs alias.
6359 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6360 (ispell-word): Do not use `region-p' if XEmacs.
6361
8cab9efc
AM
63622012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6363
6364 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6365 Check for `ispell-dictionary-base-alist' instead of full
6366 `ispell-dictionary-alist'.
6367 (ispell-init-process): Show spellchecker when starting new Ispell
6368 process.
6369
fda91268
RZ
63702012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6373 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6374
694ea8e3
JB
63752012-05-27 Juanma Barranquero <lekktu@gmail.com>
6376
6377 * version.el (motif-version-string, gtk-version-string)
6378 (ns-version-string): Declare.
6379
e4d4f539
JL
63802012-05-27 Juri Linkov <juri@jurta.org>
6381
6382 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6383 after the `eval-defun-1' specialcaseing
6384 like in `edebug-eval-defun' (bug#10181).
6385
6386 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6387 like in `eval-defun-1'.
6388
33017faf 63892012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6390
fda91268
RZ
6391 * mail/sendmail.el (mail-yank-region):
6392 Recognize rmail-yank-current-message in addition to insert-buffer.
6393 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6394 a *mail* buffer created through rmail-start-mail with sendmail as
6395 mail-user-agent.
6396
33017faf
GM
63972012-05-27 Chong Yidong <cyd@gnu.org>
6398
6399 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6400 Default to 256 (Bug#11267).
6401
6402 * help.el (describe-mode): Doc fix.
6403
04188bb9
GM
64042012-05-26 Glenn Morris <rgm@gnu.org>
6405
38264cc9
GM
6406 * w32-fns.el (w32-init-info): Remove.
6407 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6408
eb7afdad
GM
6409 * info.el (info-initialize): For self-contained NS builds, put the
6410 included info/ directory at the front. (Bug#2791)
6411
04188bb9
GM
6412 * paths.el (Info-default-directory-list): Make it a defcustom,
6413 mainly so that we can use custom-initialize-delay.
6414
a179e3f7
SM
64152012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6416
43416392
SM
6417 * subr.el (buffer-has-markers-at): Mark obsolete.
6418
a179e3f7 6419 * subr.el (lambda): Use declare.
43416392 6420
a179e3f7
SM
6421 * emacs-lisp/lisp-mode.el (lambda):
6422 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6423
34a008d9
AH
64242012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6425
6426 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6427
0a3b289f
GM
64282012-05-26 Glenn Morris <rgm@gnu.org>
6429
6430 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6431
758c81e8
GM
64322012-05-25 Glenn Morris <rgm@gnu.org>
6433
f9f334f0
GM
6434 * paths.el: Remove no-byte-compile.
6435 * loadup.el: No need to load paths.el uncompiled.
6436
87eb79c2
GM
6437 * image.el (imagemagick-types-inhibit): Doc fix.
6438
758c81e8
GM
6439 * version.el: Remove no-byte-compile and associated formatting.
6440 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6441 is ancient code from when there was an "inc-vers.el".
6442
e7e85dc0
SM
64432012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * progmodes/gdb-mi.el: Minor style changes.
6446 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6447 Turn into minor modes.
6448 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6449 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6450 (gdb-shell): Remove unneeded let-binding.
6451 (gdb-get-many-fields): Eliminate O(n²) behavior.
6452
f31237a4
EZ
64532012-05-25 Eli Zaretskii <eliz@gnu.org>
6454
6455 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6456 platforms that don't link in fontset.c.
6457
bc1b21bb
JL
64582012-05-25 Juri Linkov <juri@jurta.org>
6459
6460 Use the same diff color scheme as in modern VCSes (bug#10181).
6461
6462 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6463 to avoid confusion with `diff-added' that now uses green colors.
6464 (diff-removed): Use shades of red.
6465 (diff-added): Use shades of green.
6466 (diff-changed): Leave just the yellow color.
6467 (diff-use-changed-face): New variable.
6468 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6469 how to highlight context diff changes.
6470 (diff-refine-change): Use shades of yellow.
6471 (diff-refine-removed): New face that uses shades of red.
6472 (diff-refine-added): New face that uses shades of green.
6473 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6474 `diff-refine-removed' in the call to `smerge-refine-subst'
6475 depending on the value of `diff-use-changed-face'.
6476
6477 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6478 (smerge-other): Use shades of green.
6479 (smerge-base): Use shades of yellow.
6480 (smerge-refined-change): Empty face.
6481 (smerge-refined-removed): New face that uses shades of red.
6482 (smerge-refined-added): New face that uses shades of green.
6483 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6484 args `props-r' and `props-a', and use them. Doc fix.
6485 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6486 on its value use different faces `smerge-refined-change',
6487 `smerge-refined-removed', `smerge-refined-added' in the call to
6488 `smerge-refine-subst'.
6489
6490 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6491 Add face condition `min-colors 88' with shades of red.
6492 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6493 `min-colors 88' with shades of green.
6494 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6495 `min-colors 88' with shades of yellow.
6496
6df9112c
GM
64972012-05-24 Glenn Morris <rgm@gnu.org>
6498
ead5edc0
GM
6499 * paths.el (prune-directory-list, remote-shell-program): Move to...
6500 * files.el (prune-directory-list, remote-shell-program): ...here.
6501 For the latter, delay initialization, prefer ssh, just search PATH.
6502
f18b81e6
GM
6503 * paths.el (term-file-prefix): Move to faces.el (the only user).
6504 * faces.el (term-file-prefix): Move here, make it a defcustom.
6505
ee2f89a6
GM
6506 * paths.el (news-directory, news-path, news-inews-program):
6507 Move to gnus/nnspool.el.
61a583ca 6508
f8815e4c
GM
6509 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6510
c8f3b42c
GM
6511 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6512 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6513 Make the latter a defcustom, with a delayed initialization.
6514
6df9112c
GM
6515 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6516 These were deleted from Gnus itself late 2010.
6517
5dadff36
JB
65182012-05-22 Juanma Barranquero <lekktu@gmail.com>
6519
9e1701c6
JB
6520 * progmodes/which-func.el (which-func-ff-hook):
6521 Check against user-error, not error.
6522
bd7239f5 6523 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6524 cl-specs.el, which no longer exists.
6525
3290526d
GM
65262012-05-22 Glenn Morris <rgm@gnu.org>
6527
6528 * info.el (info-emacs-bug): New command.
6529 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6530 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6531
ff0c3cfb
GM
65322012-05-21 Glenn Morris <rgm@gnu.org>
6533
6534 * makefile.w32-in (update-subdirs-SH):
6535 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6536
5814f126
SM
65372012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6538
a52c0aa0
SM
6539 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6540
5814f126
SM
6541 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6542 Simplify Maven regexp, and make sure the file can't start with a space
6543 (bug#11517).
6544
b847032c
GM
65452012-05-21 Glenn Morris <rgm@gnu.org>
6546
6547 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6548 Scrap superfluous subshells.
6549
3858bfe7
SM
65502012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6553 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6554
d14b0029
JB
65552012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
6556
6557 * calc/calc.el (calc-ensure-consistent-units): New variable.
6558
a52c0aa0
SM
6559 * calc/calc-units.el (math-consistent-units-p)
6560 (math-check-unit-consistency): New functions.
6561 (calc-quick-units, calc-convert-units):
6562 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6563 is non-nil.
d14b0029
JB
6564 (calc-extract-units): Fix typo.
6565
60c4db3a
SM
65662012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6567
77f3b62e
SM
6568 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6569
60c4db3a
SM
6570 * textmodes/flyspell.el: Commenting style, plus code simplifications.
6571 (flyspell-default-deplacement-commands): Don't spell check after
6572 repeated window/frame switches (e.g. triggered by mouse-movement).
6573 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6574 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6575 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6576 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6577 Remove unused vars.
6578 (flyspell-get-casechars, flyspell-get-not-casechars):
6579 Simplify; Don't bother removing a ] just to add it back.
6580 * textmodes/ispell.el (ispell-program-name): Use executable-find.
6581
d209e2fb 65822012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
6583
6584 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6585 New functions.
bd7239f5 6586 (math-function-table): Add support for more C functions.
b1a10716 6587
3f1b25b5
AM
65882012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6589
090bd7cb
JB
6590 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6591 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6592 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 6593
b581bb5c
SM
65942012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
6595
6596 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6597 their respective macro declarations.
6598 * skeleton.el (define-skeleton):
6599 * progmodes/compile.el (define-compilation-mode):
6600 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6601 (define-ibuffer-filter):
6602 * emacs-lisp/generic.el (define-generic-mode):
6603 * emacs-lisp/easy-mmode.el (define-minor-mode)
6604 (define-globalized-minor-mode):
6605 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6606 * emacs-lisp/byte-run.el (defsubst):
6607 * custom.el (deftheme): Add doc-string metadata.
6608
70b8ef8f
SM
66092012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6610
6611 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6612
b1198e17
SM
66132012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6614
9abdc45d
SM
6615 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6616
b1198e17
SM
6617 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6618 * emacs-lisp/cl-macs.el: Idem.
6619 * emacs-lisp/cl-specs.el: Remove.
6620
4735906a
SM
66212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6622
6623 Minor renaming of internal CL functions and variables.
6624 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6625 (cl--position): Rename from cl-position.
6626 (cl--delete-duplicates): Rename from cl-delete-duplicates.
6627 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6628 (cl--random-state): Rename from *random-state*.
6629
ac348012
SM
66302012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6633 parens around the arg list (bug#11499).
6634
a0a79cde
JL
66352012-05-17 Juri Linkov <juri@jurta.org>
6636
6637 * isearch.el (word-search-regexp, word-search-backward)
6638 (word-search-forward, word-search-backward-lax)
6639 (word-search-forward-lax): Move functions from search.c
6640 (bug#10145, bug#11381).
6641
65034a51
AM
66422012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6643
090bd7cb
JB
6644 * textmodes/flyspell.el (flyspell-check-pre-word-p)
6645 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6646 Delay for otherchars as for normal word components.
65034a51 6647
1a72a195
SM
66482012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
6649
6650 * minibuffer.el (completion--sifn-requote): Fix last change.
6651 (minibuffer-local-must-match-filename-map):
6652 Move define-obsolete-variable-alias before its var.
6653
fdb058c2
SM
66542012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
6655
c41045e6
SM
6656 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6657
036dfb8b
SM
6658 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6659 behavior.
6660 (completion--string-equal-p): New function.
6661 (completion--twq-all): Use it to get better assertion failure data.
6662
2473256d
SM
6663 Only handle ".." and '..' quoting in shell-mode (bug#11466).
6664 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6665 (shell--requote-argument): New functions.
6666 (shell-completion-vars): Use them.
6667 (shell--parse-pcomplete-arguments): Rename from
6668 shell-parse-pcomplete-arguments.
6669 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
6670 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6671 Obey comint-file-name-quote-list.
6672
fdb058c2
SM
6673 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6674 (smie-indent-keyword): Use it.
6675
51fa99f1
SM
66762012-05-14 Stefan Merten <smerten@oekonux.de>
6677
6678 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6679
e18afed7 66802012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
6681
6682 * net/rlogin.el (rlogin-mode-map): Fix last change.
6683
e18afed7 66842012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
6685
6686 * mail/smtpmail.el (smtpmail-send-command): Send the command and
6687 the following \r\n using a single `process-send-string', since the
6688 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 6689 with two `process-send-string's (Bug#11444).
8633b1f4 6690
e18afed7 66912012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 6692
fdb058c2
SM
6693 * shell.el (shell-parse-pcomplete-arguments):
6694 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 6695
2d21d7f6
WJ
66962012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6697
e18afed7 6698 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
6699 (image-transform-scale, image-transform-right-angle-fudge): New vars.
6700 (image-transform-width, image-transform-fit-width): New functions.
6701 (image-transform-properties): Use them.
6702 (image-transform-check-size): New function.
6703 (image-toggle-display-image): Use it (for testing).
6704 (image-transform-set-rotation): Reduce angle mod 360.
6705 Delete obsolete comment.
6706
7102e6d0
WJ
67072012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
6708
6709 * image-mode.el: Fix scaling (bug#11399).
6710 (image-transform-resize): Doc fix.
6711 (image-transform-properties): Default scale is 1 and height should
6712 be an integer.
6713
06bc5e6e
SM
67142012-05-13 Johan Bockgård <bojohan@gnu.org>
6715
6716 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6717 than hard-coding `car', to fix misbehavior when moving forward.
6718
0ae03b6a
CY
67192012-05-13 Chong Yidong <cyd@gnu.org>
6720
6721 * emacs-lisp/tabulated-list.el (tabulated-list-format)
6722 (tabulated-list-entries, tabulated-list-padding)
6723 (tabulated-list-sort-key): Make permanent-local.
6724
6725 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6726 (electric-buffer-list): Put electric buffer menu
6727 command descriptions in this docstring, instead of the docstring
6728 of electric-buffer-menu-mode. Code cleanups.
6729 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
6730 Electric-buffer-menu-mode.
6731 (electric-buffer-update-highlight): Minor code cleanup.
6732
205a7391
MA
67332012-05-13 Michael Albinus <michael.albinus@gmx.de>
6734
6735 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6736 (Bug#11447)
6737
e5bd0a28
SM
67382012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
6739
6740 Move define-obsolete-variable-alias before the var's definition.
6741 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6742 * tooltip.el (tooltip-hook):
6743 * textmodes/reftex-toc.el (reftex-toc-map):
6744 * textmodes/reftex-sel.el (reftex-select-label-map)
6745 (reftex-select-bib-map):
6746 * textmodes/reftex-index.el (reftex-index-map)
6747 (reftex-index-phrases-map):
6748 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6749 * progmodes/meta-mode.el (meta-mode-map):
6750 * novice.el (disabled-command-hook):
6751 * loadhist.el (unload-hook-features-list):
6752 * frame.el (blink-cursor):
6753 * files.el (find-file-not-found-hooks, write-file-hooks)
6754 (write-contents-hooks):
6755 * emulation/tpu-edt.el (GOLD-map):
6756 * emacs-lock.el (emacs-lock-from-exiting):
6757 * emacs-lisp/generic.el (generic-font-lock-defaults):
6758 * emacs-lisp/chart.el (chart-map):
6759 * dos-fns.el (register-name-alist):
6760 * dired-x.el (dired-omit-files-p):
6761 * desktop.el (desktop-enable):
6762 * cus-edit.el (custom-mode-hook):
6763 * buff-menu.el (buffer-menu-mode-hook):
6764 * bookmark.el (bookmark-read-annotation-text-func)
6765 (bookmark-exit-hooks):
6766 * allout.el (allout-mode-deactivate-hook)
6767 (allout-exposure-change-hook, allout-structure-added-hook)
6768 (allout-structure-deleted-hook, allout-structure-shifted-hook):
6769 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6770 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6771 comes before the corresponding variable's definition.
6772
ac59c2f6
CY
67732012-05-12 Chong Yidong <cyd@gnu.org>
6774
6775 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
6776 (Buffer-menu-mouse-select): Restore function (Bug#11459).
6777 (Buffer-menu-mode-map): Bind it.
6778 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 6779
dee6c9a3
SM
67802012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
6781
2171cea5
SM
6782 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
6783 (prolog-upper-case-string, prolog-lower-case-string)
6784 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6785 (prolog-use-smie, prolog-smie-grammar): New vars.
6786 (prolog-smie-forward-token, prolog-smie-backward-token)
6787 (prolog-smie-rules): New funs.
6788 (prolog-comment-indent): Remove.
6789 (prolog-mode-variables): Use default comment indentation instead.
6790 Setup SMIE.
6791 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6792 (prolog-mode): Don't call them any more.
6793 (prolog-electric-colon, prolog-electric-dash)
6794 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6795
aa0382bd
SM
6796 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6797
dbacb4bd
SM
6798 * minibuffer.el (completion--twq-all): Again, allow case differences.
6799
13bdd94c
SM
6800 * term.el: Move keymap initialization code to be more idiomatic.
6801 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6802 (term-terminal-menu): Move initialization into declaration.
6803 (term-escape-char): Let the user set it in her .emacs.
6804
ff46c759
SM
6805 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6806 Provide SMIE-based indentation (not enabled by default yet).
6807 (sh-mode-map): Don't bind electric keys.
6808 Use electric-pair-mode instead of skeleton-pair.
6809 (sh-assignment-regexp): Fit within 80 columns.
6810 (sh-indent-supported): Specify actual shell name instead of boolean.
6811 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6812 (sh-maybe-here-document): Use it. Make obsolete.
6813 (sh-electric-here-document-mode) New minor mode.
6814 (sh-mode): Use it. Don't set sh-indent-supported-here here.
6815 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6816 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6817 (sh-smie-rc-grammar, sh-use-smie): New vars.
6818 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6819 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6820 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6821 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6822 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6823 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6824 (sh-set-shell): Use smie-setup if requested.
6825
dee6c9a3
SM
6826 * term.el (term-set-escape-char): Properly set term-escape-char.
6827 See http://stackoverflow.com/questions/10524656.
6828
9f9aa044
CY
68292012-05-10 Chong Yidong <cyd@gnu.org>
6830
6831 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6832 Use url-generic-parse-url, and handle host names and Windows
6833 filenames properly.
6834 (ffap-url-unwrap-remote): Use url-generic-parse-url.
6835 (ffap-url-unwrap-remote): Accept list values, specifying a list of
6836 URL schemes to work on.
6837 (ffap--toggle-read-only): New function.
6838 (ffap-read-only, ffap-read-only-other-window)
6839 (ffap-read-only-other-frame): Use it.
6840 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6841 necessary for ffap-url-unwrap-remote.
6842
836d29b3
DA
68432012-05-10 Dave Abrahams <dave@boostpro.com>
6844
6845 * cus-start.el (create-lockfiles): Add it.
6846
00fd78ed
CY
68472012-05-09 Chong Yidong <cyd@gnu.org>
6848
6849 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6850 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6851
666b903b 68522012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
6853
6854 * shell.el (shell-completion-vars): Fix last change (bug#11348).
6855
666b903b 68562012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
6857
6858 * ansi-color.el (ansi-color-process-output): Check for validity of
6859 comint-last-output-start before using it. This avoids a bad
6860 interaction with gdb-mi's input/output buffer.
6861
666b903b 68622012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
6863
6864 * files.el (dir-locals-read-from-file):
6865 Mention dir-locals in any error message.
6866
666b903b 68672012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
6868
6869 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6870 package (Bug#11410).
6871
f677562b
CY
6872 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6873 variables into description.
6874
666b903b 68752012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
6876
6877 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6878 shell-delimiter-argument-list (bug#11348).
6879 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6880
b499d8d0
JB
68812012-05-09 Juanma Barranquero <lekktu@gmail.com>
6882
8f6b6da8
JB
6883 * textmodes/rst.el: Silence byte-compiler warnings.
6884 (rst-re-alist, rst-reset-section-caches): Move around.
6885 (rst-re): Use `characterp', not `char-valid-p'.
6886 (font-lock-beg, font-lock-end): Declare.
6887
4824146a
JB
6888 * progmodes/idlw-shell.el (specs): Remove reference to deleted
6889 variable `idlwave-shell-activate-alt-keybindings' and simplify.
6890
b499d8d0
JB
6891 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6892
ad89bb83
GM
68932012-05-08 Glenn Morris <rgm@gnu.org>
6894
6895 * files.el (auto-mode-alist): Treat ".make" like ".mk".
6896
8bba5a75
SM
68972012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6898
49ed9c8e
SM
6899 * vc/log-edit.el: Add GNU coding standards highlighting.
6900 (log-edit-font-lock-gnu-style)
6901 (log-edit-font-lock-gnu-keywords): New vars.
6902 (log-edit-font-lock-keywords): New fun.
6903 (log-edit-mode): Don't fold case in font-lock.
6904 (log-edit-font-lock-keywords): Do not assume case-folding.
6905
07d00b56
SM
6906 * imenu.el: Misc cleanup. Make docstrings out of comments.
6907 Use lexical-binding.
6908 (imenu--index-alist, imenu--last-menubar-index-alist)
6909 (imenu-menubar-modified-tick): Use defvar-local.
6910 (imenu--split-menu): Remove unused var.
6911 (imenu--cleanup-seen): Declare as global.
6912 (imenu--cleanup): Use dolist.
6913
8bba5a75
SM
6914 * subr.el (defvar-local): Add debug spec and doc-string position.
6915
5075bdb5
GM
69162012-05-08 Glenn Morris <rgm@gnu.org>
6917
090bd7cb 6918 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
6919 * language/english.el, language/georgian.el, language/greek.el:
6920 * language/japanese.el, language/khmer.el, language/korean.el:
6921 * language/lao.el, language/misc-lang.el, language/romanian.el:
6922 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6923 * language/thai.el, language/utf-8-lang.el:
6924 Remove no-byte-compile setting.
6925
5075bdb5
GM
6926 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
6927
06f679a7
AH
69282012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6929
6930 * progmodes/make-mode.el (makefile-browse):
6931 Remove unnecessary interactive. (Bug#11324)
6932
03794570
GM
69332012-05-07 Glenn Morris <rgm@gnu.org>
6934
af8630f4
GM
6935 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6936
03794570
GM
6937 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6938
f0809a9d
SM
69392012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6940
28be5ce7
SM
6941 * loadup.el: Preload newcomment.el.
6942 * newcomment.el: Move autoload-only code to toplevel.
6943
f0809a9d
SM
6944 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6945 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6946 Handle new :right-align column property.
6947 (tabulated-list-print-col): Idem, plus use `display' text-property to
6948 try and preserve alignment for variable pitch fonts.
6949
1241b724
CY
69502012-05-07 Chong Yidong <cyd@gnu.org>
6951
6952 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6953 (tabulated-list-use-header-line): New var.
6954 (tabulated-list-init-header): Use it.
6955 (tabulated-list-print-fake-header): New function.
6956 (tabulated-list-print): Use it.
6957 (tabulated-list-sort-button-map): Add non-header-line commands.
6958 (tabulated-list-init-header): Add column name property to basic
6959 labels as well.
6960 (tabulated-list-col-sort): Handle non-header-line button case.
6961 (tabulated-list--sort-by-column-name): Fix a corner case.
6962
f0809a9d
SM
6963 * buff-menu.el (list-buffers--refresh):
6964 Handle Buffer-menu-use-header-line.
1241b724 6965
e5f9458f
CY
69662012-05-06 Chong Yidong <cyd@gnu.org>
6967
6968 * buff-menu.el: Convert to Tabulated List mode.
6969 (Buffer-menu-buffer+size-width): Make obsolete.
6970 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6971 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6972 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
6973 documentation into docstring of buffer-menu.
6974 (Buffer-menu-toggle-files-only): Add an informative message.
6975 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6976 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6977 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6978 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6979 (Buffer-menu-execute, Buffer-menu-select)
6980 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6981 (Buffer-menu-bury): Use Tabulated List machinery.
6982 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6983 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 6984 Delete.
e5f9458f
CY
6985 (list-buffers--refresh): New function.
6986 (list-buffers-noselect): Use it.
6987 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6988 (Buffer-menu--pretty-file-name): New helper functions.
6989
6990 * loadup.el: Preload tabulated-list.
6991
6992 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6993 tabulated-list-sort-column.
6994 (tabulated-list-init-header): Add the initial aligning space even
6995 if tabulated-list-padding is zero.
6996
e129292c
CS
69972012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
6998
6999 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7000 whose cdr is not a cons cell correctly (bug#11038).
7001
6632d361
CY
70022012-05-06 Chong Yidong <cyd@gnu.org>
7003
e129292c
CS
7004 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7005 Accept additional plist in column descriptors.
6632d361
CY
7006 (tabulated-list-init-header): Obey it.
7007 (tabulated-list-get-entry): New function.
7008 (tabulated-list-put-tag): Use it. Use string-width instead of
7009 length.
7010 (tabulated-list--column-number): New function.
7011 (tabulated-list-print): Use it.
e129292c
CS
7012 (tabulated-list-print-col): New function.
7013 Set `tabulated-list-column-name' property on each column's text.
6632d361 7014 (tabulated-list-print-entry): Use it.
e129292c
CS
7015 (tabulated-list-delete-entry, tabulated-list-set-col):
7016 New functions.
6632d361
CY
7017 (tabulated-list-sort-column): New command (Bug#11337).
7018
3cc99f68
CY
7019 * buff-menu.el (list-buffers): Move C-x C-b binding from
7020 buff-menu.el to bindings.el.
7021
7022 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7023 :advertised-binding feature.
7024
52b61776
TN
70252012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7026
7027 * progmodes/compile.el (compilation-internal-error-properties):
7028 Calculate start position correctly when end-col is set but
7029 end-line is not (Bug#11382).
7030
ebfe2597
WJ
70312012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7032
7033 * man.el (Man-unindent): Use text-property-default-nonsticky to
7034 prevent untabify from inheriting face properties (Bug#11408).
7035
6d3f7c2f
SM
70362012-05-05 Stefan Merten <smerten@oekonux.de>
7037
7038 * textmodes/rst.el: Major merge with upstream development up to
7039 Docutils SVN r7399 / rst.el V1.2.1.
7040
7041 Clarify maintainership and authors.
7042
7043 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7044 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7045 (rst-official-version, rst-official-cvs-rev, rst-version)
7046 (rst-package-emacs-version-alist): New functions and variables
7047 for version information.
7048
7049 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7050 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7051 (rst-mode-syntax-table, rst-mode): New and corrected functions
7052 and variables representing reStructuredText features.
7053
7054 (rst-re): New function for reStructuredText regexes. Use in
7055 many places.
7056
7057 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7058 (rst-mode-map): Rebind keys.
7059
7060 (rst-mode-lazy, rst-font-lock-keywords)
7061 (rst-font-lock-extend-region)
7062 (rst-font-lock-extend-region-internal)
7063 (rst-font-lock-extend-region-extend)
7064 (rst-font-lock-find-unindented-line-limit)
7065 (rst-font-lock-find-unindented-line-match)
7066 (rst-adornment-level, rst-font-lock-adornment-level)
7067 (rst-font-lock-adornment-match)
7068 (rst-font-lock-handle-adornment-pre-match-form)
7069 (rst-font-lock-handle-adornment-matcher): Major revision of
7070 font-locking. Integrate with other code. Use `jit-lock-mode'.
7071
7072 (rst-preferred-adornments, rst-adjust-hook)
7073 (rst-new-adornment-down, rst-preferred-bullets)
7074 (rst-preferred-bullets, rst-indent, rst-indent-width)
7075 (rst-indent-field, rst-indent-literal-normal)
7076 (rst-indent-literal-minimized, rst-indent-comment): Change,
7077 extend and improve customization.
7078
7079 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7080 (rst-normalize-cursor-position, rst-get-decoration)
7081 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7082 (rst-rstrip, rst-toc-insert-find-delete-contents)
7083 (rst-shift-fill-region, rst-compute-bullet-tabs)
7084 (rst-debug-print-tabs, rst-debug-mark-found)
7085 (rst-shift-region-guts, rst-shift-region-right)
7086 (rst-shift-region-left, rst-use-char-classes)
7087 (rst-font-lock-keywords-function)
7088 (rst-font-lock-indentation-point)
7089 (rst-font-lock-find-unindented-line-begin)
7090 (rst-font-lock-find-unindented-line-end)
7091 (rst-font-lock-find-unindented-line)
7092 (rst-font-lock-adornment-point, rst-font-lock-level)
7093 (rst-adornment-level-alist): Remove functions and variables.
7094
7095 (rst-compare-adornments, rst-get-adornment-match)
7096 (rst-suggest-new-adornment, rst-get-adornments-around)
7097 (rst-adornment-complete-p, rst-get-next-adornment)
7098 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7099 (rst-straighten-adornments): Standardize function names to
7100 use "adornment" instead of "decoration". Correct callers.
7101 Similar standardizing in many places.
7102
7103 (rst-update-section, rst-adjust, rst-promote-region)
7104 (rst-enumerate-region, rst-bullet-list-region)
7105 (rst-repeat-last-character): Correct use of `interactive'.
7106
7107 (rst-classify-adornment, rst-find-all-adornments)
7108 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7109 (rst-find-leftmost-column, rst-repeat-last-character):
7110 Refactor functions.
7111
7112 (rst-find-title-line, rst-reset-section-caches)
7113 (rst-get-adornments-around, rst-adjust-adornment-work)
7114 (rst-arabic-to-roman, rst-roman-to-arabic)
7115 (rst-insert-list-pos, rst-insert-list-new-item)
7116 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7117 New functions.
7118
7119 (rst-all-sections, rst-section-hierarchy)
7120 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7121 New variables.
7122
7123 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7124 configuration instead of only buffer. Change where necessary.
7125
7126 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7127 (rst-shift-region, rst-adaptive-fill): New functions for
7128 indentation and filling.
7129
7130 (rst-comment-line-break, rst-comment-indent)
7131 (rst-comment-insert-comment, rst-comment-region)
7132 (rst-uncomment-region): New functions for handling comments.
7133
7134 (rst-compile): Quote shell arguments.
7135
7136 (rst-compile-pdf-preview, rst-compile-slides-preview):
7137 Delete temporary files after use.
7138
a43f98b3
GM
71392012-05-05 Glenn Morris <rgm@gnu.org>
7140
48176e8b
GM
7141 * calendar/cal-html.el: Optionally include holidays in the output.
7142 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7143 (cal-html-holidays): New option.
7144 (cal-html-css-default): Add holiday entry.
7145 (holiday-in-range): Autoload it.
7146 (cal-html-htmlify-entry): Add optional class argument.
7147 (cal-html-htmlify-list): Add optional holidays argument.
7148 (cal-html-insert-agenda-days): Include holidays in the output.
7149 (cal-html-one-month): Maybe include holidays.
7150
a43f98b3
GM
7151 * calendar/holidays.el (holiday-in-range):
7152 Move here from cal-tex-list-holidays.
7153 * calendar/cal-tex.el (cal-tex-list-holidays):
7154 Make it an obsolete alias for holiday-in-range. Update all callers.
7155
fef9d149 71562012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7157
7158 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7159 Nextstep.
7160
248da2f4
RW
71612012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7162
7163 * files.el (file-auto-mode-skip): New var.
7164 (set-auto-mode-1): Use it.
7165
f95e9344
SM
71662012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7167
df96ab1e
SM
7168 * repeat.el: Use lexical-binding.
7169 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7170 (repeat-undo-count): Remove.
7171 (repeat):
7172 * progmodes/octave-mod.el (octave-abbrev-start):
7173 * progmodes/f90.el (f90-abbrev-start):
7174 * face-remap.el (text-scale-adjust):
7175 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7176
5342bb06
SM
7177 * emacs-lisp/pcase.el (pcase--let*): New function.
7178 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7179 a bit more.
7180 (pcase--split-pred): Be more clever about ruling out overlap between
7181 a predicate and some constant pattern.
7182 (pcase--q1): Use `null' instead of (eq foo nil).
7183
f95e9344
SM
7184 * subr.el (setq-local, defvar-local): New macros.
7185 (kbd): Redefine as an alias.
7186 (with-selected-window): Leave unrelated frames alone.
7187 (set-temporary-overlay-map): New function.
7188
71873e2b
SM
71892012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7190
7191 * subr.el (user-error): New function.
7192 * window.el (switch-to-buffer):
7193 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7194 (smerge-match-conflict):
7195 * simple.el (previous-matching-history-element)
7196 (next-matching-history-element, goto-history-element, undo-more)
7197 (undo-start):
7198 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7199 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7200 (next-file, tags-loop-scan, list-tags, complete-tag):
7201 * progmodes/compile.el (compilation-loop):
7202 * mouse.el (mouse-minibuffer-check):
7203 * man.el (Man-bgproc-sentinel, Man-goto-page):
7204 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7205 (Info-history-forward, Info-follow-reference, Info-menu)
7206 (Info-extract-menu-item, Info-extract-menu-counting)
7207 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7208 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7209 (Info-next-reference, Info-prev-reference, Info-index)
7210 (Info-index-next, Info-follow-nearest-node)
7211 (Info-copy-current-node-name):
7212 * imenu.el (imenu--make-index-alist)
7213 (imenu-default-create-index-function, imenu-add-to-menubar):
7214 * files.el (basic-save-buffer, recover-file):
7215 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7216 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7217 (checkdoc-message-text, checkdoc-defun):
7218 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7219 * cus-edit.el (customize-changed-options, customize-rogue)
7220 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7221 (custom-variable-mark-to-reset-standard)
7222 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7223 (custom-file):
7224 * completion.el (check-completion-length):
7225 * comint.el (comint-search-arg)
7226 (comint-previous-matching-input-string-position)
7227 (comint-previous-matching-input)
7228 (comint-replace-by-expanded-history-before-point, comint-send-input)
7229 (comint-copy-old-input, comint-backward-matching-input)
7230 (comint-goto-process-mark, comint-set-process-mark):
7231 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7232 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7233
8a61ee22
SM
72342012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7235
66408d1e
SM
7236 * dabbrev.el (dabbrev--ignore-case-p): New function.
7237 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7238 Use it.
7239
8a61ee22
SM
7240 * files.el (automount-dir-prefix): Mark as obsolete.
7241
3c74813a
GM
72422012-05-04 Glenn Morris <rgm@gnu.org>
7243
7244 * patcomp.el, play/bruce.el: Move to obsolete/.
7245
0bfcf5c5
PE
72462012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7247
7248 Fix minor Y10k bugs.
7249 * arc-mode.el (archive-unixdate):
7250 * autoinsert.el (auto-insert-alist):
7251 * calc/calc-forms.el (math-this-year):
7252 * emacs-lisp/copyright.el (copyright-current-year)
7253 (copyright-update-year, copyright):
7254 * tar-mode.el (tar-clip-time-string):
7255 * time.el (display-time-update):
7256 Don't assume years have 4 digits.
7257
78f3273a
CY
72582012-05-04 Chong Yidong <cyd@gnu.org>
7259
7260 * dos-w32.el (file-name-buffer-file-type-alist)
7261 (direct-print-region-use-command-dot-com):
7262 * ffap.el (ffap-menu-regexp):
7263 * find-file.el (ff-special-constructs):
7264 * follow.el (follow-debug):
7265 * forms.el (forms--debug):
7266 * iswitchb.el (iswitchb-all-frames):
7267 * ido.el (ido-all-frames):
7268 * emacs-lisp/timer.el (timer-max-repeats):
7269 * mail/feedmail.el (feedmail-mail-send-hook)
7270 (feedmail-mail-send-hook-queued):
7271 * mail/footnote.el (footnote-signature-separator):
7272 * mail/mailabbrev.el (mail-alias-separator-string)
7273 (mail-abbrev-mode-regexp):
7274 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7275 * progmodes/idlwave.el (idlwave-libinfo-file)
7276 (idlwave-default-completion-case-is-down)
7277 (idlwave-library-routines): Convert defvars to defcustoms.
7278
7279 * mail/rmail.el (rmail-decode-mime-charset):
7280 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7281 (idlwave-shell-fix-inserted-breaks)
7282 (idlwave-shell-activate-alt-keybindings)
7283 (idlwave-shell-use-breakpoint-glyph):
7284 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7285
f7ae6719
SM
72862012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7287
7288 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7289
47086495
WS
72902012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7291
7292 * progmodes/verilog-mode.el (font-lock-keywords):
7293 Fix mis-highligting auto. Reported by Craig Barner.
7294 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7295 defines from global name space. Reported by Dan Dever.
47086495
WS
7296 (verilog-auto-reset, verilog-auto-reset-widths)
7297 (verilog-auto-tieoff): Support using unbased numbers for
7298 AUTORESET and AUTOTIEOFF.
7299 (verilog-submit-bug-report): Update variable list.
7300 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7301 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7302 (verilog-auto-template-lint): Fix hash error when linting modules
7303 with no used templates.
7304 (verilog-warn, verilog-warn-error)
7305 (verilog-warn-fatal): When non-interactive report multiple
7306 warnings before exiting. Suggested by Brad Dobbie.
7307 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7308 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7309 to report unused template errors. Reported by Brad Dobbie.
7310 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7311 nets, bug438. Reported by Vns Blore.
47086495
WS
7312 (verilog-auto-inout-module, verilog-auto-reg)
7313 (verilog-read-decls, verilog-read-sub-decls-sig)
7314 (verilog-signals-edit-wire-reg, verilog-signals-with):
7315 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7316 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7317 "reg" for backwards compatibility presuming Verilog 2001.
7318 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7319 (verilog-preprocess): Fix replication of preprocess output.
7320 Reported by Brad Dobbie.
7321 (verilog-auto-inst-interfaced-ports):
7322 Create verilog-auto-inst-interfaced-ports, bug429.
7323 Reported by Julian Gorfajn.
7324 (verilog-after-save-font-hook)
7325 (verilog-before-save-font-hook): New variable.
7326 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7327 (verilog-save-font-mods): Wrap disabling fontification, reported
7328 by David Rogoff.
7329 (verilog-do-indent, verilog-pretty-declarations-auto)
7330 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7331 Reported by Pierre-David Pfister.
7332 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7333 of class declarations, bug292. Reported by Kevin Heilman.
7334 (verilog-read-decls): Fix 'parameter type' not appearing in
7335 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7336 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7337 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7338 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7339 Reported by David Kravitz.
7340
73412012-05-03 Michael McNamara <mac@mail.brushroad.com>
7342
7343 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7344 assignment with tests in ifs and for loops.
7345 (verilog-extended-complete-re, verilog-complete-reg): Change so
7346 that DPI inport functions don't look like fuction declarations.
7347 (verilog-pretty-expr): Don't line up assignment
7348 operations to the test and increment in if and for loops
7349 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7350 that DPI inport functions don't look like fuction declarations.
47086495 7351
2e51d4b5
KH
73522012-05-03 Kenichi Handa <handa@m17n.org>
7353
7354 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7355 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7356 (Bug#11282).
7357
2bd785a2
SM
73582012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7359
7360 * emacs-lisp/bytecomp.el
7361 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7362 since cconv.el might have introduced :fun-body, internal-make-closure,
7363 and friends for bytecomp to handle (bug#11391).
7364 * custom.el (defcustom): Avoid ((λ ..) ..).
7365
99d27583
SM
73662012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7367
7368 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7369
55a71479
JB
73702012-05-02 Juanma Barranquero <lekktu@gmail.com>
7371
7372 * notifications.el (dbus-debug):
7373 * term/linux.el (gpm-mouse-enable):
7374 * term/screen.el (xterm-register-default-colors): Declare.
7375
7b97c764
CY
73762012-05-02 Chong Yidong <cyd@gnu.org>
7377
2bc356d7
CY
7378 * cus-start.el (gc-cons-percentage, exec-suffixes)
7379 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7380 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7381 (make-cursor-line-fully-visible, void-text-area-pointer)
7382 (font-list-limit): Add customization data.
7383
7b97c764
CY
7384 * allout.el (allout-exposure-change-functions)
7385 (allout-structure-added-functions)
7386 (allout-structure-deleted-functions)
7387 (allout-structure-shifted-functions): Rename abnormal hooks from
7388 *-hook, and convert to defcustoms.
5d3385a0
JB
7389 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7390 Convert to defcustoms.
7b97c764
CY
7391 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7392
7393 * allout-widgets.el: Hook callers changed.
7394
90207a15 73952012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7396
7397 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7398 the yanked message in preference to the default value of
7399 buffer-file-coding-system.
7400
90207a15 74012012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7402
5d3385a0
JB
7403 * window.el (display-buffer--action-function-custom-type):
7404 Fix entry.
d9558cad 7405
90207a15 74062012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7407
7408 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7409
d80ac57b
GM
74102012-05-01 Glenn Morris <rgm@gnu.org>
7411
976f7668
GM
7412 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7413
beb83b5a
GM
7414 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7415
d80ac57b
GM
7416 * cus-edit.el (custom-variable-documentation): Simplify with format.
7417
b593d6a9 74182012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7419 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7420
7421 * simple.el (suggest-key-bindings, execute-extended-command):
7422 Move from keyboard.c.
7423
782fbf2a
CY
74242012-05-01 Chong Yidong <cyd@gnu.org>
7425
7426 * follow.el: Eliminate advice.
7427 (set-process-filter, process-filter, sit-for): Advice deleted.
7428 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7429 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7430 Vars deleted.
782fbf2a
CY
7431 (follow-auto): Use a :set function.
7432 (follow-mode): Rewritten. Don't advise process filters.
7433 (follow-switch-to-current-buffer-all, follow-scroll-up)
7434 (follow-scroll-down): Assume follow-mode is bound.
7435 (follow-comint-scroll-to-bottom)
7436 (follow-align-compilation-windows): New functions.
7437 (follow--window-sorter): New function.
7438 (follow-all-followers): Use it to explicitly sort windows by their
7439 positions; don't make assumptions about next-window order.
7440 (follow-windows-start-end, follow-delete-other-windows-and-split)
7441 (follow-calc-win-start): Doc fix.
7442 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7443 vertical-motion unnecessarily.
7444 (follow-adjust-window): New function.
7445 (follow-post-command-hook): Use it.
7446 (follow-call-set-process-filter, follow-call-process-filter)
7447 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7448 (follow-stop-intercept-process-output, follow-generic-filter):
7449 Functions deleted.
7450 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7451 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7452 New functions, replacing advice on scroll-bar-* commands.
87233a14 7453 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7454
7455 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7456 (comint-postoutput-scroll-to-bottom): Use it.
7457 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7458
290af740
GM
74592012-05-01 Glenn Morris <rgm@gnu.org>
7460
7461 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7462 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7463 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7464 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7465 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7466 Remove no-byte-compile setting.
7467
6eac8dc9
SM
74682012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7471 all-completions code to not return a number in the last cdr.
7472
9cc7819c
LL
74732012-04-30 Leo Liu <sdl.web@gmail.com>
7474
7475 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7476 read-only error.
7477
c93b886f
CY
74782012-04-29 Chong Yidong <cyd@gnu.org>
7479
7480 * follow.el (follow-calc-win-end): Rewrite to handle partial
7481 screen lines correctly (Bug#8390).
7482 (follow-avoid-tail-recenter): Minor cleanup.
7483
8b6c19f4
SM
74842012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 Avoid the obsolete `assoc' package.
7487 * speedbar.el (speedbar-refresh): Avoid adelete.
7488 (speedbar-file-lists): Simplify and avoid aput.
7489 * man.el (Man--sections, Man--refpages): New vars, replacing
7490 Man-sections-alist and Man-refpages-alist.
7491 (Man-build-section-alist, Man-build-references-alist):
7492 Use them; avoid aput.
7493 (Man--last-section, Man--last-refpage): New vars.
7494 (Man-follow-manual-reference): Use them.
7495 Use the `default' arg of completing-read.
7496 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7497
c5bb7569
CY
74982012-04-27 Chong Yidong <cyd@gnu.org>
7499
d1d2e2e8
CY
7500 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7501
15cd8efd
CY
7502 * startup.el (x-apply-session-resources): New function.
7503
7504 * term/ns-win.el (ns-initialize-window-system):
7505 * term/w32-win.el (w32-initialize-window-system):
7506 * term/x-win.el (x-initialize-window-system): Use it to properly
7507 set menu-bar-mode and other vars from X resources, even if the
7508 initial frame is not a window-system frame (Bug#2299).
7509
c5bb7569
CY
7510 * subr.el (read-key): Avoid running filter function when setting
7511 up temporary tool bar entries (Bug#9922).
7512
a8e7d6d7 75132012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7514
7515 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7516 (Bug#11344)
7517
a8e7d6d7 75182012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7519
7520 * select.el (xselect--encode-string): New function, split from
7521 xselect-convert-to-string.
7522 (xselect-convert-to-string): Use it.
7523 (xselect-convert-to-filename, xselect-convert-to-os)
7524 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7525 returned strings are properly encoded (Bug#11315).
7526
a8e7d6d7 75272012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7528
7529 * simple.el (delete-active-region): Move to killing custom group.
7530
a8e7d6d7 75312012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7532
7533 * progmodes/which-func.el (which-func-current): Quote %
7534 characters for mode-line processing.
7535
578c1d4b 75362012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7537
7538 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7539 reaching eob (Bug#11286).
7540
a8e7d6d7 75412012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7542
7543 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7544 (gdb): Make it buffer-local and init to zero.
7545 (gdb-control-commands-regexp): New variable.
7546 (gdb-send): Don't wrap in "-interpreter-exec console" if
7547 gdb-control-level is positive. Increment gdb-control-level
7548 whenever the command matches gdb-control-commands-regexp, and
7549 decrement it each time the command is "end". (Bug#11279)
7550
a8e7d6d7 75512012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7552
7553 * window.el (adjust-window-trailing-edge, enlarge-window)
7554 (shrink-window, window-resize):
7555 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7556 windows (Bug#11276).
7557
b3608390
CY
75582012-04-27 Chong Yidong <cyd@gnu.org>
7559
7560 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 7561 fix "missing prefix" warning. All callers changed.
b3608390 7562
797e6e88
SM
75632012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7564
7565 * emacs-lisp/assoc.el: Move to obsolete/.
7566
e95a67dc
SM
75672012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7568
657c21e4 7569 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
7570
7571 * term/ns-win.el (ns-define-service):
7572 * progmodes/pascal.el (pascal-goto-defun):
7573 * progmodes/js.el (js--read-tab):
7574 * progmodes/etags.el (tags-lazy-completion-table):
7575 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7576 * emacs-lisp/ewoc.el (ewoc--wrap):
7577 * emacs-lisp/assoc.el (aput, adelete, amake):
7578 * doc-view.el (doc-view-convert-current-doc):
7579 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7580
cb3e7ae0
CY
75812012-04-26 Chong Yidong <cyd@gnu.org>
7582
dce04f7f
CY
7583 * image.el (image-type-from-buffer): Only return supported image
7584 type (Bug#9045).
7585
cb3e7ae0
CY
7586 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7587 value, for symmetry with diff-end-of-hunk.
7588 (diff-split-hunk, diff-find-source-location)
7589 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7590 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7591 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7592 compute the relevant hunk or file properly (Bug#6005).
7593 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7594
0d42eb3e
SM
75952012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7596
7597 * vc/vc-mtn.el:
7598 * vc/vc-hg.el:
7599 * vc/vc-git.el:
7600 * vc/vc-dir.el:
7601 * vc/vc-cvs.el:
7602 * vc/vc-bzr.el:
7603 * vc/vc-arch.el:
7604 * vc/vc.el: Replace lexical-let by lexical-binding.
7605 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7606 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7607 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7608
f08ae1c9
CY
76092012-04-26 Chong Yidong <cyd@gnu.org>
7610
8b71081d
CY
7611 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7612 (diff-mode-shared-map): Bind it to / and [remap undo].
7613
f08ae1c9
CY
7614 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7615 (ediff-window-setup-function): Use it as the default, to set up
7616 windows based on whether the current frame is graphical (Bug#2138).
7617 (ediff-choose-window-setup-function-automatically): Make obsolete.
7618
7619 * vc/ediff-init.el: Always define ediff-pixel-width/height.
7620
ef24141c
SM
76212012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7622
cc356a5d
SM
7623 * ffap.el: Remove old code for obsolete package.
7624 (ffap-complete-as-file-p): Remove.
7625
b4ff4f1f
SM
7626 Use completion-table-with-quoting for comint and pcomplete.
7627 * comint.el (comint--unquote&requote-argument)
7628 (comint--unquote-argument, comint--requote-argument): New functions.
7629 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7630 (comint-quote-filename): Use regexp-opt-charset.
7631 (comint--common-suffix, comint--common-quoted-suffix)
7632 (comint--table-subvert): Remove.
7633 (comint-unquote-function, comint-requote-function): New vars.
7634 (comint--complete-file-name-data): Use them with
7635 completion-table-with-quoting.
7636 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7637 * pcomplete.el (pcomplete-arg-quote-list)
7638 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7639 (pcomplete-unquote-argument-function): Default to non-nil.
7640 (pcomplete-unquote-argument): Simplify.
7641 (pcomplete--common-quoted-suffix): Remove.
7642 (pcomplete-requote-argument-function): New var.
7643 (pcomplete--common-suffix): New function.
7644 (pcomplete-completions-at-point): Use completion-table-with-quoting
7645 and completion-table-subvert.
7646
79c4eeb4
SM
7647 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7648 (minibuffer--double-dollars): Preserve properties.
7649 (completion--sifn-requote): New function.
7650 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7651
ef24141c
SM
7652 * minibuffer.el: Add support for completion of quoted/escaped data.
7653 (completion-table-with-quoting, completion-table-subvert): New funs.
7654 (completion--twq-try, completion--twq-all): New functions.
7655 (completion--nth-completion): New function.
7656 (completion-try-completion, completion-all-completions): Use it.
7657
784e7d6e
LL
76582012-04-25 Leo Liu <sdl.web@gmail.com>
7659
dd2ac746
SM
7660 * progmodes/python.el (python-pdbtrack-get-source-buffer):
7661 Use compilation-message if available to find real filename.
784e7d6e 7662
07875ee7
CY
76632012-04-25 Chong Yidong <cyd@gnu.org>
7664
7665 * vc/diff-mode.el (diff-setup-whitespace): New function.
7666 (diff-mode): Use it.
7667
7668 * vc/diff.el (diff-sentinel):
7669 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7670 Whitespace mode variables based on diff style (Bug#8612).
7671
5055880d
LL
76722012-04-25 Leo Liu <sdl.web@gmail.com>
7673
daf75653
LL
7674 * progmodes/python.el (python-send-region): Add suffix .py to the
7675 temp file.
7676
5055880d
LL
7677 * files.el (auto-mode-alist): Use javascript-mode instead.
7678
db9b177b
AH
76792012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
7680
ef24141c 7681 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 7682
090bd7cb 7683 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 7684 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 7685 references, see Bug#9.
ef24141c 7686 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 7687 when receiving a fault reply.
ef24141c 7688 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 7689
090bd7cb 7690 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 7691 (soap-inspect-simple-type): New function.
db9b177b 7692
090bd7cb 7693 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 7694 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
7695 (soap-decode-basic-type, soap-encode-basic-type):
7696 support unsignedInt and double basic types.
db9b177b 7697 (soap-resolve-references-for-simple-type)
ef24141c
SM
7698 (soap-parse-simple-type, soap-encode-simple-type): New function.
7699 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 7700
090bd7cb 7701 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
7702 (soap-default-soapenc-types): Add integer, byte and anyURI types.
7703 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7704 the local name of "soapenc:Array".
7705 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
7706 decoding integer, byte and anyURI xsd types.
7707
1fc6097b
CY
77082012-04-25 Chong Yidong <cyd@gnu.org>
7709
7710 * cus-edit.el (custom-buffer-create-internal): Update header text.
7711
afc6df87
EZ
77122012-04-25 Eli Zaretskii <eliz@gnu.org>
7713
7714 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7715 settings on 'system-type', not on 'window-system'. On MS-Windows,
7716 set interactive-mode on in GDB.
7717
dfbd787f
SM
77182012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7719
7720 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7721 (ruby-syntax-propertize-regexp): Remove.
7722 (ruby-syntax-propertize-function): Split regexp into chunks.
7723 Match following code directly.
7724
85222d44
DG
77252012-04-24 Dmitry Gutov <dgutov@yandex.ru>
7726
51a8ea2a
DG
7727 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7728 (ruby-syntax-propertize-regexp): New function.
7729 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7730 by a special keyword.
7731
85222d44
DG
7732 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7733 (ruby-syntax-general-delimiters-goto-beg)
7734 (ruby-syntax-propertize-general-delimiters): New functions.
7735 (ruby-syntax-propertize-function): Use them to handle GDL.
7736 (ruby-font-lock-keywords): Move old handling of GDL...
7737 (ruby-font-lock-syntactic-keywords): .. to here.
7738 (ruby-calculate-indent): Adjust indentation for GDL.
7739
b613912b
MA
77402012-04-24 Michael Albinus <michael.albinus@gmx.de>
7741
b5380639
MA
7742 * notifications.el (top): Remove unneeded declarations.
7743 (notifications-specification-version): Change to "1.2".
e43042fe 7744 (notifications-interface, notifications-notify-method)
b613912b
MA
7745 (notifications-close-notification-method): Fix docstring.
7746 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
7747 (notifications-notify): Add :action-items, :resident and
7748 :transient hints. Change "image_data" to "image-data" and
7749 "image_path" to "image-path".
b613912b
MA
7750 (notifications-get-capabilities): New defun.
7751
257440aa
LL
77522012-04-24 Leo Liu <sdl.web@gmail.com>
7753
7754 * progmodes/python.el: Move hideshow setup to the end.
7755
b1bac16e
MR
77562012-04-24 Martin Rudalics <rudalics@gmx.at>
7757
7758 * window.el (handle-select-window): Clear echo area since this is
7759 no more done by read_char (Bug#11304).
7760
d81bd059
SM
77612012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7762
7763 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7764 and `/ M' to filter-derived-mode.
7765 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7766 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7767 (ibuffer-mark-by-mode): Use default rather than initial-input.
7768 (ibuffer-filter-by-derived-mode): Autoload and require-match.
7769
c4cf6d91
IA
77702012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
7771
7772 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7773 (ibuffer-filter-by-derived-mode): New filter.
7774 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7775
7511ded8
CY
77762012-04-23 Andreas Politz <politza@fh-trier.de>
7777
7778 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7779
775c916b
CY
77802012-04-23 Chong Yidong <cyd@gnu.org>
7781
7782 * cus-edit.el (customize-apropos, customize-apropos-options):
7783 Disable matching of non-option variables (Bug#11176).
7784 (customize-option, customize-option-other-window)
7785 (customize-changed-options): Doc fix.
7786 (customize-apropos-options, customize-apropos-faces)
7787 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7788
7789 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 7790 Fix word list splitting (Bug#11132).
46c71e23
CY
7791 (apropos-symbol, apropos-keybinding, apropos-label)
7792 (apropos-property, apropos-function-button)
7793 (apropos-variable-button, apropos-misc-button): New faces.
7794 (apropos-symbol-face, apropos-keybinding-face)
7795 (apropos-label-face, apropos-property-face, apropos-match-face):
7796 Variables removed (Bug#8396).
7797 (apropos-library-button, apropos-format-plist, apropos-print)
7798 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 7799
2df41f9c
MA
78002012-04-23 Michael Albinus <michael.albinus@gmx.de>
7801
7802 * net/xesam.el (xesam-mode-map): Use let-bound map in
7803 initialization. (Bug#11292)
7804
da00640a
AM
78052012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7806
7807 Preserve ispell session localwords when switching back to
7808 original buffer.
7809
090bd7cb
JB
7810 * textmodes/ispell.el (ispell-buffer-session-localwords):
7811 New buffer-local variable to hold buffer session localwords.
ed9265fc 7812 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
7813 localwords.
7814 (ispell-command-loop, ispell-change-dictionary)
7815 (ispell-buffer-local-words): Preserve session localwords when
7816 needed.
7817
090bd7cb
JB
7818 * textmodes/flyspell.el (flyspell-process-localwords)
7819 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 7820
f621ccf5
AM
78212012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7822
090bd7cb
JB
7823 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7824 using obsolete `translation-table-for-input'.
ef24141c
SM
7825 (ispell-word, ispell-process-line, ispell-complete-word):
7826 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 7827
c2d1019e
CY
78282012-04-22 Chong Yidong <cyd@gnu.org>
7829
7830 * cus-edit.el (custom-variable-menu)
7831 (custom-variable-reset-saved, custom-face-menu)
7832 (custom-face-reset-saved): If there is no saved value, make the
7833 "reset-saved" operation bring back the default (Bug#9509).
7834 (custom-face-state): Properly detect themed faces.
7835
eeddc531
CY
7836 * faces.el (face-spec-set): Stop supporting deprecated form of
7837 third arg.
7838
dcbf5805
MA
78392012-04-22 Michael Albinus <michael.albinus@gmx.de>
7840
7841 Move functions from C to Lisp. Make non-blocking method calls
7842 the default. Implement further D-Bus standard interfaces.
7843
ef24141c
SM
7844 * net/dbus.el (dbus-message-internal): Declare function.
7845 Remove unneeded function declarations.
dcbf5805
MA
7846 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7847 (dbus-message-type-method-return, dbus-message-type-error)
7848 (dbus-message-type-signal): Declare variables. Remove local
7849 definitions.
7850 (dbus-interface-dbus, dbus-interface-peer)
7851 (dbus-interface-introspectable, dbus-interface-properties)
7852 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7853 Adapt docstring.
7854 (dbus-interface-objectmanager): New defconst.
7855 (dbus-call-method, dbus-call-method-asynchronously)
7856 (dbus-send-signal, dbus-method-return-internal)
7857 (dbus-method-error-internal, dbus-register-service)
7858 (dbus-register-signal, dbus-register-method): New defuns, moved
7859 from dbusbind.c
7860 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
7861 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7862 New defuns.
dcbf5805
MA
7863 (dbus-call-method-non-blocking): Make it an obsolete function.
7864 (dbus-unregister-object, dbus-unregister-service)
7865 (dbus-handle-event, dbus-register-property)
7866 (dbus-property-handler): Obey the new structure of
7867 `bus-registered-objects'.
7868 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
7869 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7870 Use `dbus-call-method'.
7871
cf20dee0
CY
78722012-04-22 Chong Yidong <cyd@gnu.org>
7873
7874 * cus-edit.el (custom-commands, custom-reset-menu)
7875 (Custom-reset-standard): Tweak labels.
7876 (custom-reset-button-menu): Change default to t.
7877 (custom-buffer-create-internal): For the custom-reset-button-menu
7878 case, put the revert button first.
7879 (custom-group-subtitle): New face.
7880 (custom-group-value-create): Align docstring to a specific column.
7881
7882 * wid-edit.el (widget-documentation-link-add): Don't handle
7883 indentation in this function.
7884 (widget-documentation-string-indent-to): New function.
7885 (widget-documentation-string-value-create): Use it.
7886
7887 * autorevert.el (auto-revert):
7888 * epg-config.el (epg):
7889 * ibuffer.el (ibuffer):
7890 * mpc.el (mpc):
7891 * ses.el (ses):
7892 * eshell/eshell.el (eshell):
7893 * net/ange-ftp.el (ange-ftp):
7894 * progmodes/ebnf2ps.el (postscript):
7895 * progmodes/flymake.el (flymake):
7896 * progmodes/prolog.el (prolog):
7897 * progmodes/verilog-mode.el (verilog-mode):
7898 * progmodes/which-func.el (which-func):
7899 * term/xterm.el (xterm):
7900 * textmodes/picture.el (picture):
7901 * textmodes/tildify.el (tildify):
7902 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7903 customization buffers.
7904
583e23bd
AM
79052012-04-22 Alan Mackenzie <acm@muc.de>
7906
7907 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7908 Adding a ) can hide the resulting (..) from searches. Fix it.
7909 Bound the backward search to the position of the existing (.
7910
7dd51bf1
JB
79112012-04-21 Juanma Barranquero <lekktu@gmail.com>
7912
7913 * progmodes/verilog-mode.el (verilog-mode): Check whether
7914 which-func-modes is t before adding verilog-mode.
7915 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7916
d64a438f
LL
79172012-04-21 Leo Liu <sdl.web@gmail.com>
7918
7dd51bf1 7919 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 7920
081e8d65
MV
79212012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
7922
7923 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7924 filling of the last column of a table (Bug#5635).
7925 (woman-find-next-control-line): New arg, specifying an additional
7926 regexp component for the control line.
7927 (woman2-roff-buffer): Use it.
7928 (woman-break-table): New function.
7929 (woman2-TS): Use it.
7930
79312012-04-21 Chong Yidong <cyd@gnu.org>
7932
7933 * woman.el (woman-set-buffer-display-table, woman-decode-region)
7934 (woman-horizontal-escapes, woman-negative-vertical-space)
7935 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7936 (WoMan-warn-ignored): Use ?\s instead of ?\ .
7937
ed571ccb
SM
79382012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7939
7940 * minibuffer.el (completion-file-name-table): Complete user names.
7941
39773899
LL
79422012-04-20 Leo Liu <sdl.web@gmail.com>
7943
7944 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7945 and pcase-let*.
7946
de6ff46d
CY
79472012-04-20 Chong Yidong <cyd@gnu.org>
7948
7949 * server.el (server-execute): Respect initial-buffer-choice if it
7950 is a string and there are no files to open (Bug#2825).
7951 (server-create-window-system-frame, server-create-tty-frame):
7952 Don't switch buffers here.
2d0e8e61
CY
7953 (server-process-filter): Only try to open a window system frame if
7954 compiled with graphical support (Bug#8314).
de6ff46d 7955
54071013
DN
79562012-04-20 Dan Nicolaescu <dann@gnu.org>
7957
7958 * battery.el (battery-echo-area-format): Display remaining time
7959 for sysfs backend too (Bug#11269).
7960 (battery-linux-sysfs): Fix conditional for the charge.
7961
f30d612a
CY
79622012-04-20 Chong Yidong <cyd@gnu.org>
7963
c07a4c0b 7964 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
7965 (gdb-inferior-io--init-proc): New function.
7966 (gdb-init-1): Use it.
7967 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7968 responsible for allocating a new pty and hooking it to gdb when
7969 the old pty gets an EIO due to process exit.
7970 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
7971 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7972 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7973
2116e93c
EZ
79742012-04-20 Eli Zaretskii <eliz@gnu.org>
7975
7976 * window.el (window-min-size, window-sizable, window-min-delta)
7977 (window-max-delta, window--resizable, window-resizable)
7978 (window-total-size, window-full-height-p, window-full-width-p)
7979 (window-in-direction, window--resize-mini-window, window-resize)
7980 (window--resize-child-windows-normal)
7981 (window--resize-child-windows, window--resize-siblings)
7982 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 7983 (enlarge-window, shrink-window): Doc fixes.
2116e93c 7984
c07a4c0b 79852012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 7986
ef24141c
SM
7987 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7988 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
7989 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7990 pty process (Bug#11273).
7991 (gdb-update): New arg to suppress talking to the gdb process.
7992 (gdb-done-or-error): Use it.
7993 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7994 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7995 sentinel not being called.
7996
7997 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7998
d02766ab
CY
7999 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8000
c07a4c0b 80012012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8002
8003 * net/network-stream.el (open-network-stream): Doc fix.
8004
c07a4c0b 80052012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8006
8007 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8008
c07a4c0b 80092012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8010
8011 Ensure searching for keywords is case sensitive.
8012
8013 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8014 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8015 (c-defun-name, c-mark-function, c-cpp-define-name)
8016 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8017 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8018
ef24141c
SM
8019 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8020 Bind case-fold-search to nil.
f0f6bc35 8021
c07a4c0b 80222012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8023
8024 * mail/sendmail.el (mail-bury): Call return action with the right
8025 Rmail buffer (Bug#11242).
8026
9a864fa2
CY
8027 * server.el (server-process-filter): Handle corner case where both
8028 tty and nowait options are present (Bug#11102).
8029
539aa513
EZ
80302012-04-20 Eli Zaretskii <eliz@gnu.org>
8031
8032 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8033 (top level): Put into the executable the ident-style '$Id:' tag on
8034 windows-nt as well.
539aa513 8035
cfc7d5da
SM
80362012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8037
8038 * electric.el (electric-indent-post-self-insert-function): Check that
8039 electric-indent-mode is enabled in current buffer.
8040
5b01685c
JB
80412012-04-19 Juanma Barranquero <lekktu@gmail.com>
8042
8043 * imenu.el (imenu-progress-message): Restore; it is "used" in
8044 erc/erc-imenu.el and net/snmp-mode.el.
8045
4d6769e1
JB
80462012-04-19 Juanma Barranquero <lekktu@gmail.com>
8047
8048 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8049 (mouse-avoidance-nudge-mouse): Remove unused binding.
8050
8051 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8052
8053 * descr-text.el (describe-char):
8054 * progmodes/python.el (python-describe-symbol):
8055 Don't call `toggle-read-only', set `buffer-read-only'.
8056
8057 * imenu.el (imenu-default-goto-function): Mark unused args.
8058 (imenu-progress-message): Remove obsolete macro; all callers changed.
8059
8060 * subr.el (keymap-canonicalize): Remove unused binding.
8061 (read-passwd): Mark unused arg.
8062
8063 * tutorial.el (tutorial--display-changes): Remove unused binding.
8064 (tutorial--save-tutorial-to): Remove unused variable.
8065
8066 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8067 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8068 (package-generate-autoloads, package-menu--generate)
8069 (package-menu--find-upgrades): Remove unused bindings.
8070
8071 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8072 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8073 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8074 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8075 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8076 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8077 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8078 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8079 (cua-delete-char-rectangle): Mark unused args.
8080 (cua-align-rectangle): Remove unused binding.
8081
8082 * mail/rmail.el (compilation--message->loc)
8083 (epa--find-coding-system-for-mime-charset): Declare.
8084
8085 * net/dbus.el (dbus-register-service): Declare.
8086 (dbus-name-owner-changed-handler): Remove unused binding.
8087
8088 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8089 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8090 (nxml-scan-backward-within): Mark unused arg.
8091 (nxml-dynamic-markup-word): Remove unused binding.
8092
8093 * mouse.el (mouse-menu-major-mode-map):
8094 * emacs-lisp/authors.el (authors-scan-change-log)
8095 (authors-add-to-author-list):
8096 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8097 * emacs-lisp/smie.el (smie-auto-fill):
8098 * mail/sendmail.el (mail-bury):
8099 * mail/unrmail.el (unrmail):
8100 * net/tls.el (open-tls-stream):
8101 * textmodes/picture.el (picture-mouse-set-point):
8102 Remove unused bindings.
8103
8c8fc5df
MA
81042012-04-19 Michael Albinus <michael.albinus@gmx.de>
8105
8106 * net/tramp.el (tramp-action-password): Let-bind
8107 `enable-recursive-minibuffers' to t.
8108
a77b0ac9
SS
81092012-04-18 Sam Steingold <sds@gnu.org>
8110
8111 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8112 instead of 'string to accommodate values like [f11].
8113 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8114 * progmodes/gdb-mi.el: Likewise.
8115
12a106a9
LL
81162012-04-18 Leo Liu <sdl.web@gmail.com>
8117
8118 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8119 current buffer.
8120 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8121 LOCAL is nil.
8122
bc6494ef
CY
81232012-04-18 Chong Yidong <cyd@gnu.org>
8124
8125 * simple.el (line-move): Use forward-line if in batch mode
8126 (Bug#11053).
8127
c09c46b2
CS
81282012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8129
8130 * files.el (after-find-file): Do not try to add a final newline if
8131 the buffer is read-only (Bug#11156).
8132
5f6530ea
RS
81332012-04-17 Richard Stallman <rms@gnu.org>
8134
8135 * mail/rmail.el (rmail-start-mail):
8136 Pass (rmail-mail-return...) for the return-action.
8137 Pass (rmail-yank-current-message...) for the yank-action.
8138 (rmail-yank-current-message): New function.
8139 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8140 (rmail-reply): Likewise.
8141 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8142
8143 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8144 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8145 buffer, not newbuf.
8146
197b6f3c
JB
81472012-04-17 Juanma Barranquero <lekktu@gmail.com>
8148
8149 * server.el (server-ensure-safe-dir): Simplify.
8150
2311d8e5 81512012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8152
2311d8e5
GM
8153 * emacs-lisp/smie.el: Provide smarter auto-filling.
8154 (smie-auto-fill): New function.
8155 (smie-setup): Use it.
98fb480e 8156
2311d8e5
GM
8157 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8158
81592012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8160
8161 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8162 (comment-indent): Use it.
8163
2311d8e5 81642012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8165
8166 * ses.el: The overall change is to add cell renaming, that is
8167 setting fancy names for cell symbols other than name matching
8168 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8169 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8170 (ses-create-cell-variable): New defun.
2311d8e5 8171 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8172 (ses-relocate-formula): Relocate formulas only for cells the
8173 symbols of which are not renamed, i.e. symbols whose names do not
8174 match regexp "\\`[A-Z]+[0-9]+\\'".
8175 (ses-relocate-all): Relocate values only for cells the symbols of
8176 which are not renamed.
8177 (ses-load): Create cells variables as the (ses-cell ...) are read,
8178 in order to check row col consistency with cell symbol name only
8179 for cells that are not renamed.
8180 (ses-replace-name-in-formula): New defun.
8181 (ses-rename-cell): New defun.
4bdf2ad2 8182
fc72b15c
PO
81832012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8184
8185 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8186 New option (bug#11118).
8187 (perl-calculate-indent): Respect it.
8188
12e10e61
GM
81892012-04-17 Glenn Morris <rgm@gnu.org>
8190
8191 * dired-aux.el (dired-mark-read-string): Doc fix.
8192
30009afd
DA
81932012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8194
8195 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8196 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8197
41f03f4d
GM
81982012-04-17 Glenn Morris <rgm@gnu.org>
8199
8200 * mouse.el (mouse-drag-track):
8201 * speedbar.el (speedbar-frame-mode):
8202 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8203
f45f90f3
LL
82042012-04-16 Leo Liu <sdl.web@gmail.com>
8205
8206 * progmodes/python.el: Trivial cleanup.
8207
94ee8db5
GM
82082012-04-16 Glenn Morris <rgm@gnu.org>
8209
121b8917
GM
8210 * vc/vc.el (vc-string-prefix-p):
8211 * vc/pcvs-util.el (cvs-string-prefix-p):
8212 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8213 * mpc.el (mpc-string-prefix-p):
8214 Make all of these into obsolete aliases for string-prefix-p.
8215 Update callers.
8216 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8217
1197ecfa
GM
8218 * textmodes/two-column.el: Move custom options to the start.
8219 (frame-width): Remove compat definition.
8220 (2C-associate-buffer, 2C-dissociate):
8221 Use with-current-buffer rather than save-excursion.
8222 (2C-dissociate): Force a mode-line update.
8223 (2C-autoscroll): Use ignore-errors.
8224
099e7202
GM
8225 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8226 Autoload trivia.
8227
bf350d6a
GM
8228 * emacs-lisp/cl-extra.el (*random-state*):
8229 Remove unnecessary declaration.
8230
0e829eab
GM
8231 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8232
e3ad7552
GM
8233 * play/cookie1.el (cookie-snarf):
8234 Give an explicit error if input file cannot be read.
8235
68892d27
GM
8236 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8237
20f0c46d
GM
8238 * progmodes/perl-mode.el (c-macro-expand):
8239 Remove unnecessary autoload (it is in loaddefs.el).
8240
5a0978ce
GM
8241 * textmodes/picture.el (picture-desired-column)
8242 (picture-update-desired-column): Convert comments to doc-strings.
8243 (picture-substitute): Remove function.
8244 (picture-mode-map): Initialize in the defvar.
8245
6b955486
GM
8246 * woman.el: Remove eval-after-load for tar-mode.
8247 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8248 (woman-tar-extract-file): Autoload it.
8249
94ee8db5
GM
8250 * frame.el (automatic-hscrolling): Make this alias obsolete.
8251
177eca34
AM
82522012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8253
090bd7cb 8254 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8255 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8256 (ispell-dictionary-base-alist): Revert to original XEmacs
8257 friendly version for default. [:alpha:] will be added in
090bd7cb 8258 `ispell-set-spellchecker-params' if needed.
177eca34 8259
c505aaeb
CY
82602012-04-16 Chong Yidong <cyd@gnu.org>
8261
b19dd9d1 8262 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8263 (imagemagick-register-types): Use it.
8264 (imagemagick-types-inhibit): Add :set function. Allow new value
8265 of t to inhibit all types.
8266
8267 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8268 so we can preload it.
8269
8270 * loadup.el (fboundp): Preload regexp-opt, needed by
8271 imagemagick-register-types.
8272
60efac0f
CY
82732012-04-15 Chong Yidong <cyd@gnu.org>
8274
8275 * frame.el (scrolling): Remove nearly unused customization group.
8276
8277 * scroll-all.el (scroll-all-mode): Move to windows group.
8278
5dd1713e
CY
82792012-04-15 Chong Yidong <cyd@gnu.org>
8280
8281 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8282
e6fd457e
CY
82832012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8284
8285 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8286 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8287
e153c136
GM
82882012-04-15 Glenn Morris <rgm@gnu.org>
8289
8290 * simple.el (process-file-side-effects): Doc fix.
8291
e6fd457e 82922012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8293
8294 * international/mule-cmds.el (set-language-environment): Doc fix.
8295
3603c3b1
JB
82962012-04-14 Juanma Barranquero <lekktu@gmail.com>
8297
8298 * server.el (server-auth-key, server-generate-key): Doc fixes.
8299 (server-get-auth-key): Doc fix. Use `string-match-p'.
8300 (server-start): Reflow docstring.
8301
e6de100c
LI
83022012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8303
8304 * server.el (server-generate-key): `called-interactively-p'
8305 requires a parameter.
8306
29734c21
MN
83072012-04-14 Michal Nazarewicz <mina86@mina86.com>
8308
8309 * server.el (server-auth-key): New variable.
75f1671a 8310 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8311 (server-start): Use the new variable and functions to allow
8312 setting a permanent server key (bug#9423).
8313
d65c9521
LL
83142012-04-14 Leo Liu <sdl.web@gmail.com>
8315
8316 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8317
5ae255c7
PE
83182012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8319
8320 Spelling fixes.
8321 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8322 Emacs uses American spelling.
8323
d5e6342e
JB
83242012-04-14 Juanma Barranquero <lekktu@gmail.com>
8325
8326 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8327 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8328 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8329 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8330
ab036cd7
SM
83312012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8332
8333 * progmodes/which-func.el (which-func-modes): Change default.
8334
35dc09a1 83352012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8336
8337 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8338 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8339
35dc09a1 83402012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8341
8342 * custom.el (custom-theme-set-variables): Doc fix.
8343
35dc09a1 83442012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8345
8346 * international/mule.el (set-auto-coding-for-load): Doc fix.
8347
35dc09a1 83482012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8349
35dc09a1
GM
8350 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8351 imenu work again for Objective C Mode. Correct the *-index values,
8352 these having been disturbed by a previous change in 2011-08.
57f845ee 8353
0de3da9f
AM
8354 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8355 Correct two search limits.
8356
35dc09a1 83572012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8358
8359 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8360
35dc09a1 83612012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8362
8363 * international/characters.el: Fix sorting.
8364
35dc09a1 83652012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8366
8367 * international/characters.el: Add more missing Latin case pairs.
8368
35dc09a1 83692012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8370
8371 * files.el (dir-locals-set-class-variables): Doc fix.
8372
35dc09a1 83732012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8374
3f1b5bf8
EZ
8375 * international/characters.el: Add set-case-syntax-pair call for
8376 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8377 counterpart. (Bug#11209)
8378
9f847f41
EZ
8379 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8380
35dc09a1 83812012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8382
8383 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8384
35dc09a1 83852012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8386
35dc09a1
GM
8387 * textmodes/ispell.el (ispell-dictionary-base-alist):
8388 Add data for Hebrew.
e2627d21 8389
35dc09a1 83902012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8391
35dc09a1
GM
8392 * net/rcirc.el (rcirc-cmd-quit):
8393 Revert 2012-03-18 change (Bug#11192).
5c14e333 8394
35dc09a1 83952012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8396
8397 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8398
35dc09a1 83992012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8400
4517fe3a
SM
8401 * minibuffer.el (completion-in-region-mode-map):
8402 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8403
b472a594
VD
84042012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8405
8406 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8407
09b95ce3
MY
84082012-04-13 Masatake YAMATO <yamato@redhat.com>
8409
8410 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8411 to allow `C-M-f' and `C-M-b' to move to the nearest path
8412 separator (bug#9511).
8413
4b63a9ca
LI
84142012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8415
8416 * avoid.el: Require cl when compiling. And also move the
8417 `provide' to the end.
8418
7b55b8bf
TV
84192012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8420
8421 * avoid.el (mouse-avoidance-banish-position): New variable.
8422 (mouse-avoidance-banish-destination): Use it (bug#10165).
8423
adedaa1f
LL
84242012-04-13 Leo Liu <sdl.web@gmail.com>
8425
8426 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8427
70e74021
KB
84282012-04-13 Ken Brown <kbrown@cornell.edu>
8429
8430 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8431 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8432 (browse-url-filename-alist): For the same reason, don't modify
8433 file:// URLs on Cygwin.
8434
e75e89ba
SM
84352012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8436
8437 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8438 the region on shift if the binding is already shifted (bug#11221).
8439
82f289a4
GM
84402012-04-12 Glenn Morris <rgm@gnu.org>
8441
8442 * mail/mailpost.el: Move to obsolete/.
8443
d333dc4c
DA
84442012-04-12 Drew Adams <drew.adams@oracle.com>
8445
8446 * imenu.el (imenu--generic-function): Ignore invisible definitions
8447 (bug#10123).
8448
0d15b5ba
VD
84492012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8450
8451 * hexl.el (hexl-bits): New variable.
8452 (hexl-options): Mention the variable in the doc string.
75f1671a 8453 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8454 (hexl-mode): Mention the new variable.
75f1671a
JB
8455 (hexl-mode, hexl-current-address, hexl-current-address):
8456 Use the displen.
0d15b5ba
VD
8457 (hexl-ascii-start-column): New function.
8458 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8459 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8460
64a440db
AM
84612012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8462
8463 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8464 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8465 the encoding, as expected by hunspell.
8466
6decb6c2
SM
84672012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8468
8469 * battery.el (battery--linux-sysfs-regexp): New const.
8470 (battery-status-function): Use it. Remove yeeloong special case.
8471 (battery-yeeloong-sysfs): Remove.
8472 (battery-echo-area-format): Remove yeeloong special case.
8473
088be6fb
SM
84742012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8475
6622e416
SM
8476 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8477 Reported by Noah Friedman.
8478
088be6fb
SM
8479 * subr.el (read-passwd): Use read-string.
8480
b49f886e
LMI
84812012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8482
8483 * vcursor.el (vcursor-move): Increase the priority of the overlay
8484 (bug#9663).
8485
a63067fc
DD
84862012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8487
8488 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8489 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8490
ac3cf14a
WS
84912012-04-11 William Stevenson <yhvh2000@gmail.com>
8492
8493 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8494 define-minor-mode (bug#10760).
8495
c4fc691b 84962012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8497
4d6769e1 8498 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8499 that directories matching `grep-find-ignored-files' won't be
8500 pruned (bug#10351).
8501
af23e2e5
CY
85022012-04-11 Chong Yidong <cyd@gnu.org>
8503
8504 * startup.el (command-line): Remove support for long-obsolete
8505 variable font-lock-face-attributes.
8506
ab7ce8c1
GM
85072012-04-11 Glenn Morris <rgm@gnu.org>
8508
8509 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8510
de8c03dc
SM
85112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * window.el (window--state-get-1): Obey window-point-insertion-type.
8514
050cc68b
LB
85152012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8516
8517 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8518 to previous function when point is on the first character of a
75f1671a 8519 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8520
a38c310c
GM
85212012-04-11 Glenn Morris <rgm@gnu.org>
8522
effed0c2
GM
8523 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8524 not just file-errors.
8525
a38c310c
GM
8526 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8527 (vc-bzr-sha1): Use internal sha1.
8528
0221e323
SM
85292012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8530
8531 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8532
43956923
SG
85332012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8534
8535 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8536 that start in the middle of the line (bug#10496).
8537
6a8c9eaf
DN
85382012-04-10 Dan Nicolaescu <dann@gnu.org>
8539
8540 * battery.el (battery-linux-proc-acpi): Only one battery is
8541 discharged at a time, but that seems to confuse battery.el when
8542 computing `rate-type' for the battery not being discharged
8543 (bug#10332).
8544
1930bf5d
SM
85452012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8546
2a718f6f
SM
8547 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8548
599430d0
SM
8549 * international/quail.el: Use dolist and simplify.
8550 (quail-define-package, quail-update-keyboard-layout)
8551 (quail-define-rules): Use dolist.
8552 (quail-insert-kbd-layout, quail-get-translation): CSE.
8553
a2754b6c
SM
8554 * tmm.el: Use dolist, remove left over hook.
8555 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8556 Use dolist.
8557 (calendar-load-hook): Don't mess with it.
8558
1930bf5d
SM
8559 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8560 Use derived-mode-p. Run the diff asynchronously.
8561
9f67961c
LMI
85622012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8563
8564 * obsolete/mouse-sel.el: Add an Obsolete-since header.
8565
2a8ce227
JB
85662012-04-10 Juanma Barranquero <lekktu@gmail.com>
8567
8568 * misc.el: Display absolute path of loaded DLLs (bug#10424).
8569 (list-dynamic-libraries--loaded): New function.
8570 (list-dynamic-libraries--refresh): Use it.
8571
8f33b5f8
NW
85722012-04-10 Nathan Weizenbaum <nweiz@google.com>
8573
1930bf5d
SM
8574 * progmodes/python.el (python-fill-paragraph):
8575 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
8576 disabled (bug#7018).
8577
b12f0439
L
85782012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
8579
1930bf5d 8580 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
8581 DOS/MS Windows for the Baltic languages. There are still plenty
8582 of texts written in this encoding/codepage (bug#6519).
b12f0439 8583
57c3bd01
GM
85842012-04-10 Glenn Morris <rgm@gnu.org>
8585
8586 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8587 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8588
6c3eab30
FA
85892012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
8590
1930bf5d 8591 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
8592 next-line "n" and previous-line "p" in order to make recentf more
8593 consistent with ibuffer, dired or org-mode (bug#9387).
8594
24d78a88
LMI
85952012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8596
bc72b5d9
LMI
8597 * image.el (put-image): Return the overlay created instead of the
8598 optional input string (bug#7834). Note that this may break code
8599 that is (for some reason or other) depending on `put-image'
8600 returning the string.
8601
bd2dba5a
LMI
8602 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8603
74beb59f
LMI
8604 * simple.el (zap-to-char): Allow zapping using input methods
8605 (bug#1580).
8606
24d78a88
LMI
8607 * textmodes/fill.el (fill-region): Leave point and mark where they
8608 were before filling (bug#5399).
8609
263f20cd
GM
86102012-04-09 Glenn Morris <rgm@gnu.org>
8611
8612 * version.el (emacs-bzr-get-version):
8613 Handle lightweight checkouts of local branches.
8614
58d1f797
AS
86152012-04-09 Andreas Schwab <schwab@linux-m68k.org>
8616
263f20cd 8617 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 8618
b4d3bc10
CY
86192012-04-09 Chong Yidong <cyd@gnu.org>
8620
8621 * custom.el (custom-variable-p): Return nil for non-symbol
8622 arguments instead of signaling an error.
8623 (user-variable-p): Obsolete alias for custom-variable-p.
8624
8625 * apropos.el (apropos-variable):
8626 * files-x.el (read-file-local-variable):
8627 * simple.el (set-variable):
8628 * woman.el (woman-mini-help):
8629 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8630
fd06db5d
GM
86312012-04-09 Glenn Morris <rgm@gnu.org>
8632
e5fcdb5e
GM
8633 * startup.el (normal-top-level): Don't look for leim-list.el
8634 in places where it will not be found. (Bug#910)
8635
fd06db5d
GM
8636 * international/mule-cmds.el (set-default-coding-systems):
8637 * files.el (normal-mode):
8638 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
8639 This function was removed with ucs-tables.el in 2008.
8640
b39bb7e1
EZ
86412012-04-08 Eli Zaretskii <eliz@gnu.org>
8642
8643 * textmodes/ispell.el (ispell-check-version): For hunspell, set
8644 ispell-encoding8-command to "-i", without a trailing space.
8645 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8646 separate command-line arguments, to specify the encoding, since
8647 that's how hunspell expects it.
8648
5c5b8e23
GM
86492012-04-08 Glenn Morris <rgm@gnu.org>
8650
8651 * loadup.el: Load bindings before cus-start.
8652 This reduces somewhat the number of "rogue" settings in emacs -Q.
8653
a1ed8b05
GM
86542012-04-07 Glenn Morris <rgm@gnu.org>
8655
8656 * version.el (emacs-bzr-get-version): New function.
dfae128a 8657 (emacs-bzr-version): New variable.
a1ed8b05
GM
8658 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
8659 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8660
b142f158
EZ
86612012-04-07 Eli Zaretskii <eliz@gnu.org>
8662
dfae128a
GM
8663 * international/uni-bidi.el, international/uni-category.el:
8664 * international/uni-combining.el, international/uni-decimal.el:
8665 * international/uni-decomposition.el, international/uni-digit.el:
8666 * international/uni-lowercase.el, international/uni-mirrored.el:
8667 * international/uni-name.el, international/uni-numeric.el:
8668 * international/uni-titlecase.el, international/uni-uppercase.el:
8669 Update for Unicode 6.1.
b142f158 8670
9078ead6
EZ
86712012-04-07 Eli Zaretskii <eliz@gnu.org>
8672
8673 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8674
f23d2c7d
LMI
86752012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
8676
8677 * window.el (shrink-window): Mention the `window-min-height'
8678 variable in the doc string.
8679
0a0a3573
BG
86802012-04-05 Bastien Guerry <bzg@altern.org>
8681
8682 * color.el (color-lighten-name): Fix typo.
8683
e5248ac9
SM
86842012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * server.el (server--on-display-p): New function.
8687 (server--on-display-p): Use it.
8688
b4243e22
GV
86892012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
8690
8691 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8692 (bug#11145).
8693
305d9f44
SM
86942012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * comint.el (comint--common-quoted-suffix): Check string boundary
8697 before comparing (bug#11158).
8698 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8699
3d439cd1
CY
87002012-04-04 Chong Yidong <cyd@gnu.org>
8701
321cc491
CY
8702 * minibuffer.el (completion-extra-properties): Doc fix.
8703
3d439cd1
CY
8704 * subr.el (delayed-warnings-hook): Doc fix.
8705
2d562c0f
DU
87062012-04-04 Daiki Ueno <ueno@unixuser.org>
8707
8708 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8709 selection (Bug#11159).
8710 (epa-insert-keys): Inform that the default public key will be
8711 exported if no key is selected.
8712
4443f204
RS
87132012-04-04 Richard Stallman <rms@gnu.org>
8714
8715 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8716
529c06b6
CY
87172012-04-03 Chong Yidong <cyd@gnu.org>
8718
8719 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8720 mail-insert-file, not its obsolete alias mail-attach-file.
8721
66b907dc
MA
87222012-04-03 Michael Albinus <michael.albinus@gmx.de>
8723
8724 * notifications.el (notifications-notify): Fix docstring.
8725
c0ea195d
GM
87262012-04-02 Glenn Morris <rgm@gnu.org>
8727
8728 * emacs-lisp/authors.el (authors-aliases): Another addition.
8729
5ca64e00
MA
87302012-04-02 Michael Albinus <michael.albinus@gmx.de>
8731
8732 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8733 `tramp-compat-call-process' instead of `tramp-local-call-process'.
8734 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8735
42ee526b
CY
87362012-04-01 Chong Yidong <cyd@gnu.org>
8737
8738 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8739 Handle root directory properly.
8740 (copy-directory): Caller changed.
8741
8742 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8743 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8744
0b021094
GM
87452012-03-31 Glenn Morris <rgm@gnu.org>
8746
40f86458
GM
8747 * term/xterm.el (xterm-extra-capabilities): Doc fix.
8748
7019c177
GM
8749 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
8750
a1daddd6
GM
8751 * calendar/calendar.el (calendar-window-list)
8752 (calendar-hide-window): Restore. (Bug#11140)
8753 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8754
0b021094
GM
8755 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8756
40311efc
TV
87572012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8758
8759 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8760 Check if file is a symlink (Bug#10489).
8761
8762 * files.el (copy-directory): Likewise.
8763
5319014e
CY
87642012-03-30 Chong Yidong <cyd@gnu.org>
8765
8766 * image.el (imagemagick-types-inhibit)
8767 (imagemagick-register-types): Doc fix.
8768
935d1290
AM
87692012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8770
090bd7cb 8771 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 8772 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 8773 and treats ~word as ordinary words in pipe mode.
935d1290 8774
61c6e8fd
GM
87752012-03-30 Glenn Morris <rgm@gnu.org>
8776
8777 * tutorial.el (help-with-tutorial): Ensure local variables don't
8778 happen to make the buffer read-only. (Bug#11127)
8779
81fdff00
SM
87802012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8783 (perl-calculate-indent): Return `noindent' in strings.
8784
6e7a6ec0
SS
87852012-03-28 Sam Steingold <sds@gnu.org>
8786
8787 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8788 instead of the broken adhockery which does not prevent calendar
8789 buffers from being displayed at random after exit.
8790 (calendar-window-list, calendar-hide-window): Remove the broken
8791 adhockery.
8792
fee88ca0
GM
87932012-03-28 Glenn Morris <rgm@gnu.org>
8794
8795 * replace.el (query-replace-map): Doc fix.
8796
38de3354
AS
87972012-03-28 Andreas Schwab <schwab@linux-m68k.org>
8798
8799 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8800 contents. (Bug#11109)
8801
b973155e
SM
88022012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8803
8804 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8805 (bug#11077).
8806 (avl-tree--check, avl-tree--check-node): New funs.
8807
dcb6e7b3
MR
88082012-03-27 Martin Rudalics <rudalics@gmx.at>
8809
8810 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
8811 (switch-to-prev-buffer, switch-to-next-buffer):
8812 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
8813 showing a buffer already is done on the same frame.
8814
b4fa35fa
GM
88152012-03-27 Glenn Morris <rgm@gnu.org>
8816
8817 * startup.el (mail-host-address): Doc fix.
8818
f9210e18
SM
88192012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8820
8821 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8822 than 197 variables.
8823
c0bf7753
AF
88242012-03-26 Ami Fischman <ami@fischman.org>
8825
8826 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8827
33da7b16
GM
88282012-03-26 Glenn Morris <rgm@gnu.org>
8829
02243d9d
GM
8830 * files.el (save-buffers-kill-emacs): Doc fix.
8831
33da7b16
GM
8832 * startup.el (normal-top-level, command-line, command-line-1):
8833 Give them doc strings.
8834
e5a69fd0
EZ
88352012-03-25 Eli Zaretskii <eliz@gnu.org>
8836
8837 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 8838 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 8839
9a69676a
CY
88402012-03-25 Chong Yidong <cyd@gnu.org>
8841
4125cb8b
CY
8842 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8843 theme if it was previously enabled before (Bug#11031).
8844
dd470960
CY
8845 * cus-theme.el (custom-theme-write-faces): Retrieve current face
8846 spec with custom-face-get-current-spec if its :shown-value is not
8847 determined yet (Bug#9337).
4125cb8b 8848 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 8849
9a69676a
CY
8850 * button.el (button-at): Minor addition to docstring.
8851
6e7e90fa
SL
88522012-03-24 Simon Leinen <simon.leinen@gmail.com>
8853
8854 * vc/vc.el (vc-merge): Fix a prompt.
8855
f06e2758
CY
88562012-03-24 Chong Yidong <cyd@gnu.org>
8857
8858 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8859 point (Bug#9623).
8860
6e7e90fa
SL
8861 * button.el (button-at): Minor addition to docstring.
8862
b9d0879b
SM
88632012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
8864
8865 * newcomment.el (comment-choose-indent): No space after BOL.
8866
e71cebb3
SS
88672012-03-22 Sam Steingold <sds@gnu.org>
8868
8869 * window.el (switch-to-prev-buffer): Revert last patch because the
8870 bug turned out to be an advertised feature (Elisp manual 28.14).
8871
335aff35
GM
88722012-03-22 Glenn Morris <rgm@gnu.org>
8873
8874 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
8875 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8876
c676576a
LMI
88772012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
8878
8879 * net/network-stream.el (network-stream-open-starttls): Make error
8880 message under Windows be less misleading.
8881
126f3d39
LW
88822012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
8883
8884 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8885 understands (bug#9942).
8886
64fee311
CY
88872012-03-22 Chong Yidong <cyd@gnu.org>
8888
8889 * simple.el (end-of-visible-line): Handle return value of
8890 next-single-property-change properly (Bug#9371).
8891
a640d29a
KH
88922012-03-22 Kenichi Handa <handa@m17n.org>
8893
8894 * international/quail.el (quail-insert-kbd-layout): Fix previous
8895 change. To avoid unwanted bidi reordering, use
8896 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8897
39675016
DG
88982012-03-21 Dmitry Gutov <dgutov@yandex.ru>
8899
8900 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8901 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8902 (ruby-beginning-of-indent): Be more careful with the difference
8903 between word-boundary and symbol boundary.
8904 (ruby-mode-syntax-table): Make : a symbol constituent.
8905
0a6934fc 89062012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 8907
3d008e4f
SM
8908 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8909
0a6934fc
SM
89102012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8911
af67c9d7
SM
8912 * progmodes/etags.el (tags-completion-at-point-function):
8913 Improve last fix.
8914
1acad97c
SM
8915 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8916
e298b5da
SS
89172012-03-21 Sam Steingold <sds@gnu.org>
8918
8919 * progmodes/etags.el (tags-completion-at-point-function):
8920 Avoid the error when point is inside the pattern.
8921
91d82a70
JY
89222012-03-21 John Yates <john@yates-sheets.org> (tiny change)
8923
8924 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8925 line (Bug#10855).
8926
69188b79
CY
89272012-03-21 Drew Adams <drew.adams@oracle.com>
8928
8929 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8930
99fc91fe
AK
89312012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
8932
8933 * ido.el (ido-set-current-directory, ido-read-internal)
8934 (ido-choose-completion-string, ido-completion-help): Handle nil
8935 value of ido-completion-buffer (Bug#11008).
8936
087bbb4c
SS
89372012-03-21 Sam Steingold <sds@gnu.org>
8938
8939 * window.el (switch-to-prev-buffer): Do not switch to a visible
8940 window previous buffer, just like with the frame previous buffers.
8941
fb5b8aca
CY
89422012-03-21 Chong Yidong <cyd@gnu.org>
8943
8944 * faces.el (make-face, make-empty-face, copy-face):
8945 * face-remap.el (face-remap-add-relative, face-remap-set-base):
8946 Doc fixes.
8947
dc9924b8
SM
89482012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
8949
8950 * wid-edit.el (widget-complete-field): Remove (bug#11051).
8951 (widget-complete): Remove broken use of it.
8952
f0bcceb9
CY
89532012-03-20 Chong Yidong <cyd@gnu.org>
8954
dc9924b8
SM
8955 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8956 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
8957 characters.
8958
ee52ebf3
TH
89592012-03-20 Tassilo Horn <tassilo@member.fsf.org>
8960
8961 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8962 to draw rectangles, not squares. (Regression introduced by revno
8963 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8964
4c5779ab
CY
89652012-03-18 Chong Yidong <cyd@gnu.org>
8966
8967 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8968 it is not yet defined (for temacs).
8969
15360934
LL
89702012-03-18 Leo Liu <sdl.web@gmail.com>
8971
735135f9
PE
8972 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8973 prefix.
15360934 8974
d9a8eb66
EZ
89752012-03-17 Eli Zaretskii <eliz@gnu.org>
8976
8977 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8978 (ispell-choices-win-default-height, ispell-silently-savep)
8979 (ispell-dictionary-alist, ispell-encoding8-command)
8980 (ispell-check-version, ispell-aspell-find-dictionary)
8981 (ispell-valid-dictionary-list, ispell-words-keyword)
8982 (ispell-get-word, ispell-internal-change-dictionary)
8983 (ispell-region, ispell-skip-region-list)
8984 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8985 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8986 (ispell-message-text-end, ispell-message)
8987 (ispell-buffer-local-parsing): Doc fix.
8988
f02ff80d
J
89892012-03-13 Jambunathan K <kjambunathan@gmail.com>
8990
8991 * htmlfontify.el: Add support for code block fontification for ODT
8992 export (Bug #9914).
8993 (hfy-optimisations): Define new option
8994 `body-text-only'
8995 (hfy-fontify-buffer): Honor above setting.
8996 (hfy-begin-span, hfy-end-span): New routines factored out form
8997 `hfy-fontify-buffer'.
8998 (hfy-begin-span-handler, hfy-end-span-handler): New variables
8999 that permit insertion of custom tags.
9000 (hfy-fontify-buffer): Use above handlers.
9001 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9002 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9003 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9004 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9005 bind a special variable `hfy-user-sheet-assoc'.
9006 (htmlfontify-string): New defun.
9007 (hfy-compile-face-map): Make sure that the last char in the
9008 buffer is correctly fontified.
9009 (hfy-face-resolve-face): Whitespace only change.
9010
9ac7a13f
EZ
90112012-03-17 Eli Zaretskii <eliz@gnu.org>
9012
9013 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9014 message more clear.
9015
e2b5bdd7
LL
90162012-03-16 Leo Liu <sdl.web@gmail.com>
9017
9018 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9019
2e492df3
AM
90202012-03-16 Alan Mackenzie <acm@muc.de>
9021
9022 Further optimise the handling of large macros.
9023
9024 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9025 limit to a call of `c-literal-limits'.
9026 (c-determine-+ve-limit): New function.
dc9924b8
SM
9027 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9028 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9029 In CASE 5B, restrict a search limit to 500.
9030 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9031
9032 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9033 Restrict macro bounds to +-500 from after-change's BEG END.
9034
50e94f0c
LL
90352012-03-16 Leo Liu <sdl.web@gmail.com>
9036
9037 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9038
6f09f6ed
AH
90392012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9040
9041 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9042 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9043
c7e73d51
GM
90442012-03-16 Glenn Morris <rgm@gnu.org>
9045
da986230
GM
9046 * view.el (view-buffer, view-buffer-other-window)
9047 (view-buffer-other-frame): Doc fixes re special mode-class.
9048
0835f01e
GM
9049 * subr.el (eval-after-load): If named feature is provided not from
9050 a file, run after-load forms. (Bug#10946)
9051
c7e73d51
GM
9052 * calendar/calendar.el (calendar-insert-at-column):
9053 Handle non-unit-width characters a bit better. (Bug#10978)
9054
3f2eafd1
CY
90552012-03-15 Chong Yidong <cyd@gnu.org>
9056
9057 * emacs-lisp/ring.el (ring-extend): New function.
9058 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9059
9060 * comint.el (comint-read-input-ring)
9061 (comint-add-to-input-history): Grow comint-input-ring lazily.
9062
103af3fe
SM
90632012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9064
663b1677
SM
9065 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9066 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9067
103af3fe
SM
9068 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9069 (imenu-add-to-menubar): Don't add a redundant index.
9070 (imenu-update-menubar): Handle a dynamically composed keymap.
9071
899cb7cb
KY
90722012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9073
9074 * mail/sendmail.el (mail-encode-header):
9075 Bind rfc2047-encode-encoded-words to nil.
9076
3809f91d
GM
90772012-03-13 Glenn Morris <rgm@gnu.org>
9078
9079 * calendar/calendar.el (calendar-string-spread):
9080 Handle non-unit-width characters a bit better. (Bug#10978)
9081
9e345a01
LL
90822012-03-13 Leo Liu <sdl.web@gmail.com>
9083
9084 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9085 directory and file as argument (Bug#10822).
9086
4a07df36
KS
90872012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9088
9089 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9090 For dynamically generated code, follow $PC.
9091 (gdb-disassembly-handler-custom): Handle no function name case.
9092
4aaa9356
TL
90932012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9094
9095 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9096 * emulation/ws-mode.el (ws-query-replace):
9097 * sort.el (sort-regexp-fields):
9098 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9099
225979da
SM
91002012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9101
9102 * dabbrev.el: Fix cycle completion order (bug#10963).
9103 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9104 (dabbrev-completion): Don't use an obarray; provide
9105 a cycle-sort-function.
9106
e2f1fdab
LL
91072012-03-12 Leo Liu <sdl.web@gmail.com>
9108
dc9924b8 9109 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9110 (kill-do-not-save-duplicates): Doc fix.
9111
b19490ed
SM
91122012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9113
9114 * dabbrev.el: Fix cycle completion (bug#10963).
9115 Use lexical binding and wrap to 80 columns.
9116 (dabbrev-completion): Delay computing the list of completions.
9117
4b05d722
KH
91182012-03-12 Kenichi Handa <handa@m17n.org>
9119
9120 * international/quail.el (quail-insert-kbd-layout): Surround each
9121 row by LRO and PDF instead of inserting many LRMs. Pad the left
9122 and right of each non-spacing marks. Insert invisible space
9123 between lower and upper characters to prevent composition.
9124
dbbc2e69
SM
91252012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * minibuffer.el (minibuffer-complete): Don't get confused when the
9128 function is run twice via different commands (bug#10958).
9129 (complete-with-action): Fix docstring.
9130
292112ed
CY
91312012-03-12 Chong Yidong <cyd@gnu.org>
9132
5d1ac394
CY
9133 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9134 (nxml-completion-at-point-function): New function.
9135 (nxml-mode): Use it.
9136 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9137
292112ed
CY
9138 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9139 Load generated autoloads file before byte compiling (Bug#10970).
9140 (package--make-autoloads-and-compile): New helper fun.
9141
4098f8f7
CS
91422012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9143
9144 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9145
8f754691
MA
91462012-03-11 Michael Albinus <michael.albinus@gmx.de>
9147
9148 * autorevert.el (auto-revert-handler): Ensure, that
9149 file-readable-p is applied only for local files or in
9150 auto-revert-tail-mode.
9151
e29ab36b
AS
91522012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9153
dbbc2e69
SM
9154 * server.el (server-eval-at): Handle non-tcp connections.
9155 Decode result string.
ad0bf5b6 9156
e29ab36b
AS
9157 * server.el (server-msg-size): New constant.
9158 (server-reply-print): New function.
9159 (server-eval-and-print): Use it.
9160 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9161 Handle -print-nonl.
9162
de5939ba
CS
91632012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9164
9165 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9166 (Bug#10987).
9167
0c93eabf
CY
91682012-03-11 Chong Yidong <cyd@gnu.org>
9169
397a688f
CY
9170 * simple.el (goto-line): Doc fix (Bug#9938).
9171
2cc775f9
CY
9172 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9173
0c93eabf
CY
9174 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9175 when finished (Bug#10963).
9176
c491fa41
MR
91772012-03-11 Martin Rudalics <rudalics@gmx.at>
9178
9179 * window.el (split-window-below): Fix bug in case where
9180 split-window-keep-point is nil (Bug#10971).
9181
300e8fa5
JL
91822012-03-11 Juri Linkov <juri@jurta.org>
9183
9184 * replace.el (replace-highlight): Set isearch-word to nil
9185 unconditionally. (Bug#10887)
9186
dbf6c5a1
EZ
91872012-03-10 Eli Zaretskii <eliz@gnu.org>
9188
9189 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9190 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9191 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9192 (mairix-widget-create-query): Add usage information about mairix
9193 search forms: negating words, searching for substrings, etc.
9194
b9e501de
JP
91952012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9196
9197 * international/fontset.el (font-encoding-alist): Add an entry for
9198 ksx1001 (Bug#5667).
9199
92795c91
RS
92002012-03-10 Richard Stallman <rms@gnu.org>
9201
1694e6c1
RS
9202 * mail/sendmail.el (mail-encode-header):
9203 Set rfc2047-encode-encoded-words.
9204
607e8555
RS
9205 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9206
de3bc99a
RS
9207 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9208 view buffer means not swapped.
9209 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9210 (rmail-write-region-annotate): Error if real text has disappeared.
9211
92795c91
RS
9212 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9213
699bd04e
CY
92142012-03-10 Chong Yidong <cyd@gnu.org>
9215
9216 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9217 * emulation/cua-base.el (cua--init-keymaps):
9218 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9219
570a1714
MR
92202012-03-10 Martin Rudalics <rudalics@gmx.at>
9221
dbbc2e69
SM
9222 * speedbar.el (speedbar-unhighlight-one-tag-line):
9223 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9224
82dcf4e4
CY
92252012-03-10 Chong Yidong <cyd@gnu.org>
9226
7a2c7ca7
CY
9227 * minibuffer.el (completion-in-region, completion-help-at-point):
9228 Give the completion field overlay a high priority (Bug#6830).
9229
82dcf4e4
CY
9230 * dired.el (dired-goto-file): Recognize absolute file name
9231 listings (Bug#7126).
9232 (dired-goto-file-1): New helper function.
9233 (dired-toggle-read-only): Inhibit warnings.
9234
052e28ac
MA
92352012-03-09 Michael Albinus <michael.albinus@gmx.de>
9236
75f1671a 9237 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9238 there are no properties.
9239
95d5e396
LL
92402012-03-09 Leo Liu <sdl.web@gmail.com>
9241
9242 * savehist.el (savehist-printable): Stricter check for string
9243 value (Bug#10937).
9244
3f018d6d
EZ
92452012-03-09 Eli Zaretskii <eliz@gnu.org>
9246
dbbc2e69
SM
9247 * mail/smtpmail.el (smtpmail-send-it):
9248 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9249 valid mbox format.
9250
f7fd3d79
GM
92512012-03-09 Glenn Morris <rgm@gnu.org>
9252
9253 * files.el (dir-locals-find-file):
9254 Don't check result is regular, readable.
9255 (dir-locals-read-from-file): Demote errors.
9256
6ff6e72f
EZ
92572012-03-08 Eli Zaretskii <eliz@gnu.org>
9258
dbbc2e69
SM
9259 * international/quail.el (quail-insert-kbd-layout):
9260 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9261 layout cell, to prevent their reordering by bidi display engine.
9262 For details, see the discussion in
9263 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9264
9cec7834
AM
92652012-03-08 Alan Mackenzie <acm@muc.de>
9266
9267 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9268 the starting position; make it extend the marked region when
9269 invoked repeatedly - all under appropriate circumstances.
9270 Fixes bugs #5525, #10906.
9271
9a40b8d4
GM
92722012-03-08 Glenn Morris <rgm@gnu.org>
9273
9274 * files.el (locate-dominating-file, dir-locals-find-file):
9275 Undo 2012-03-06 change.
9276
7a08ed35
EZ
92772012-03-07 Eli Zaretskii <eliz@gnu.org>
9278
dbbc2e69
SM
9279 * international/quail.el (quail-help):
9280 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9281 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9282 for the reason.
9283
5aca4f71 92842012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9285
9286 Avoid superfluous registering of signals. (Bug#10807)
9287
9288 * notifications.el (notifications-on-action-object)
9289 (notifications-on-close-object): New defvars.
9290 (notifications-on-action-signal, notifications-on-closed-signal):
9291 Unregister the signal if not needed any longer.
9292 (notifications-notify): Register `notifications-action-signal' or
9293 `notifications-closed-signal', if :on-action or :on-close has been
9294 passed as argument.
9295
78e8b10a
CY
92962012-03-07 Chong Yidong <cyd@gnu.org>
9297
9298 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9299 non-X platforms.
9300
69481eb8
GM
93012012-03-06 Glenn Morris <rgm@gnu.org>
9302
9303 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9304 (x-disown-selection-internal, x-get-selection-internal):
9305 Doc fix (add arglist signatures). (Bug#10783)
9306
133b8e11
KS
93072012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9308
9309 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9310 Handle breakpoints with no "type".
9311
99a83064
GM
93122012-03-06 Glenn Morris <rgm@gnu.org>
9313
9314 * files.el (locate-dominating-file): Add optional predicate argument.
9315 (dir-locals-find-file): Make use of above change.
9316
17798e78
TTN
93172012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9318
9319 * info.el (Info-insert-dir): Also try "dir.gz".
9320
eb182446
GM
93212012-03-06 Glenn Morris <rgm@gnu.org>
9322
8f2114ee
GM
9323 * files.el (dir-locals-find-file):
9324 Ignore non-readable or non-regular files. (Bug#10928)
9325
eb182446
GM
9326 * files.el (locate-dominating-file): Doc fix.
9327
24679323
AS
93282012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9329
9330 * calendar/calendar.el (calendar-set-mode-line):
9331 `getenv' returns a string. (Bug#10951)
9332
01d972a9
LL
93332012-03-05 Leo Liu <sdl.web@gmail.com>
9334
109aa8a9
LL
9335 * simple.el (backward-delete-char-untabify): Constrain point to
9336 field (Bug#10939).
9337
01d972a9
LL
9338 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9339
10607bea
CY
93402012-03-05 Chong Yidong <cyd@gnu.org>
9341
9342 * simple.el (count-words): If called from Lisp, return the word
9343 count, for symmetry with `count-lines'. Arglist changed.
9344 (count-words--message): Args changed. Consolidate counting code
9345 from count-words and count-words-region.
9346 (count-words-region): Caller changed.
9347 (count-lines-region): Make it an obsolete alias.
9348
5dd11cfe
TH
93492012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9350
9351 * saveplace.el (save-place-to-alist)
9352 (save-place-ignore-files-regexp): Allow value nil to disable this
9353 feature.
9354
c349f4e6
CY
93552012-03-04 Chong Yidong <cyd@gnu.org>
9356
9357 * faces.el (face-spec-reset-face): For the default face, reset the
9358 attributes to default values (Bug#10748).
9359
e627be4c
LMI
93602012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9361
9362 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9363 previous patch: Check `message-send-mail-function', and not the
9364 default function (bug#10897).
9365
ebeabff4
MA
93662012-03-04 Michael Albinus <michael.albinus@gmx.de>
9367
a41a6cf4
MA
9368 * notifications.el (notifications-on-action-signal)
9369 (notifications-on-closed-signal): Check for unique service name of
9370 incoming event. Fix error in removing entry.
ebeabff4 9371 (top): Register for signals with wildcard service name.
a41a6cf4 9372 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9373
c1ca42b4
CY
93742012-03-04 Chong Yidong <cyd@gnu.org>
9375
dc9924b8 9376 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9377
ea16568d
GM
93782012-03-04 Glenn Morris <rgm@gnu.org>
9379
9380 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9381 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9382 (expand-abbrev, define-abbrev-table): Doc fixes.
9383
fbae4637
LMI
93842012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9385
9386 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9387 `message-default-send-mail-function' and not `send-mail-function'
9388 when doing the prompting for `sendmail-query-once' before sending
9389 in Message buffers (bug#10897).
9390
a1e7225c
LMI
9391 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9392 This is inconsistent with all the other stream functions, which leave
9393 the setting up to the higher levels (if so wanted) (bug#10931).
9394
56d093a9
AM
93952012-03-02 Alan Mackenzie <acm@muc.de>
9396
9397 Depessimize the handling of very large macros.
9398
9399 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9400 (c-macro-cache-syntactic): New variables to implement a one
9401 element macro cache.
9402 (c-invalidate-macro-cache): New function.
9403 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9404 Adapt to use the new cache.
9405 (c-state-safe-place): Use better the cache of safe positions.
9406 (c-state-semi-nonlit-pos-cache)
9407 (c-state-semi-nonlit-pos-cache-limit):
9408 New variables for...
9409 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9410 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9411 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9412 Use c-state-semi-safe-place.
56d093a9 9413
dbbc2e69
SM
9414 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9415 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9416
817e5c3d
MA
94172012-03-02 Michael Albinus <michael.albinus@gmx.de>
9418
dbbc2e69
SM
9419 * jka-compr.el (jka-compr-call-process):
9420 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9421 not remote.
9422
a032a702
MA
94232012-03-01 Michael Albinus <michael.albinus@gmx.de>
9424
9425 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9426 access of FILE2, if FILE1 does not exist.
9427
99a54f21
MA
9428 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9429 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9430
9431 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9432 Add "PAGER=" to `process-environment'.
9433
f6561e1f
MM
94342012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9435
9436 * progmodes/sql.el: Bug fix
9437 (sql-get-login-ext): Save login values in globals.
9438 (sql-get-login): Use new version of `sql-get-login-ext'.
9439 (sql-interactive-mode): Set global `sql-connection' to nil.
9440 (sql-connect): Set global values for connection.
9441 (sql-product-interactive): Save global values as buffer local.
9442
2d44d9cc
LL
94432012-02-29 Leo Liu <sdl.web@gmail.com>
9444
9445 * abbrev.el (define-abbrevs): Reset sys to nil.
9446
96b49301 94472012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9448
bf7f9bc5
JB
9449 * files.el (file-equal-p): Rename from `files-equal-p'.
9450 Return nil when one or both files don't exist.
96b49301 9451 (file-subdir-of-p): Now only top directory must exists,
9452 return nil if it doesn't.
bf7f9bc5
JB
9453 (copy-directory): No need to test with `file-subdir-of-p' after
9454 creating dir.
9455 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9456 to `file-equal-p'.
96b49301 9457
44e97401
GM
94582012-02-28 Glenn Morris <rgm@gnu.org>
9459
9460 * shell.el (shell-mode):
9461 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9462 * play/landmark.el (landmark-font-lock-face-O):
9463 * play/handwrite.el (handwrite):
9464 * play/gomoku.el (gomoku-O):
9465 * net/browse-url.el (browse-url-browser-display):
9466 * international/mule.el (define-charset):
9467 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9468 * filesets.el (filesets-find-file-delay):
9469 * eshell/em-xtra.el (eshell-xtra):
9470 * eshell/em-unix.el (eshell-grep):
9471 * emulation/viper.el (viper-mode):
9472 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9473 * emacs-lisp/easymenu.el (easy-menu-define):
9474 * calendar/timeclock.el (timeclock-use-display-time):
9475 * bs.el (bs-mode):
9476 * bookmark.el (bookmark-save-flag):
9477 Doc fix (standardize possessive apostrophe usage).
9478
c98c6276
CY
94792012-02-27 Chong Yidong <cyd@gnu.org>
9480
bf7f9bc5
JB
9481 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9482 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9483
c98c6276
CY
9484 * font-lock.el (font-lock-specified-p): Rename from
9485 font-lock-spec-present. Callers changed.
9486
9c62cd04 94872012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9488
bf7f9bc5
JB
9489 * emacs-lisp/package.el (package-compute-transaction):
9490 Handle holding a package version to t in package-load-list.
8ac9e529 9491
530739c9
MA
94922012-02-26 Michael Albinus <michael.albinus@gmx.de>
9493
9494 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9495 (tramp-get-inode, tramp-get-device): Use cached values.
9496
487915d7
AM
94972012-02-26 Alan Mackenzie <acm@muc.de>
9498
9499 Check there is a font-lock specification before doing initial
9500 fontification.
9501
9502 * font-core.el (font-lock-mode): Move the conditional from
9503 :after-hook to font-lock-initial-fontify.
9504 (font-lock-default-function): Move the check for a specification
9505 to font-lock-spec-present.
9506
dc9924b8 9507 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9508 (font-lock-spec-present): New function.
9509
4fd96557
JB
95102012-02-26 Jim Blandy <jimb@red-bean.com>
9511
9512 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9513 (gdb-send): Apply it to the operand of the '-interpreter-exec
9514 console' command, so that we can pass arguments with (say) quotes
9515 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9516
9a4888c0
CY
95172012-02-26 Chong Yidong <cyd@gnu.org>
9518
07498861
CY
9519 * help-fns.el (describe-function-1): Clarify description of
9520 remapping (Bug#10844).
9521
9a4888c0
CY
9522 * files.el (files-equal-p): Doc fix.
9523 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9524 and quit the loop once a mismatch is found.
9525
ea8fb88d
JB
95262012-02-25 Juanma Barranquero <lekktu@gmail.com>
9527
9528 * bs.el (bs--show-with-configuration): Don't throw an error
9529 if the window cannot be split; otherwise, subsequent calls to
9530 bs-show fail, restoring a stale window config. (Bug#10882)
9531
525795c1
JD
95322012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9533
9534 * term/ns-win.el (global-map): Bind ns-drag-file to
9535 ns-find-file (Bug#5855, Bug#10050).
9536
f008086f
AS
95372012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9538
9539 * calendar/parse-time.el (parse-time-string): Allow extractor to
9540 return nil.
9541
a3fcfa99
MA
95422012-02-25 Michael Albinus <michael.albinus@gmx.de>
9543
91027d08
JB
9544 * net/tramp.el (tramp-file-name-for-operation):
9545 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9546
9547 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9548 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9549 Add COPY-CONTENTS argument.
a3fcfa99 9550
67b0de11
CY
95512012-02-25 Chong Yidong <cyd@gnu.org>
9552
9553 Add custom groups for VC backends, for consistency with vc-bzr.
9554
9555 * vc/vc-arch.el (vc-arch):
9556 * vc/vc-cvs.el (vc-cvs):
9557 * vc/vc-git.el (vc-git):
9558 * vc/vc-hg.el (vc-hg):
9559 * vc/vc-mtn.el (vc-mtn):
9560 * vc/vc-rcs.el (vc-rcs):
9561 * vc/vc-sccs.el (vc-sccs):
9562 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9563 All relevant defcustoms reassigned.
9564
3c9dfce6
CY
95652012-02-25 Chong Yidong <cyd@gnu.org>
9566
1339bf43
CY
9567 * newcomment.el (comment-styles): Add autoload (Bug#10868).
9568
3c9dfce6
CY
9569 * term/x-win.el (x-initialize-window-system): Reduce default for
9570 x-selection-timeout to 5 seconds (Bug#8869).
9571
25b2e303 95722012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9573
ec70a47d
GM
9574 * files.el (files-equal-p, file-subdir-of-p): New functions.
9575 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 9576 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
9577 * dired-aux.el (dired-copy-file-recursive): Same.
9578 (dired-create-files): Modify destination when source is equal to
9579 dest when copying files.
53a46cd0 9580 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 9581
914260cd
MA
95822012-02-24 Michael Albinus <michael.albinus@gmx.de>
9583
9584 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9585 (Bug#10874)
9586
2cb228f7
AM
95872012-02-23 Alan Mackenzie <acm@muc.de>
9588
9589 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9590 parameter "after-hook:" to allow the expansion to run code after
9591 the execution of the mode hooks.
9592
9593 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 9594 from font-lock-mode-internal.
2cb228f7 9595
91027d08 9596 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
9597 :after-hook.
9598
8f0fde21
SM
95992012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9600
3e88618b
SM
9601 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9602 (completion--cache-all-sorted-completions): New function.
9603 (completion-all-sorted-completions): Use it.
9604 (completion--do-completion, minibuffer-force-complete):
9605 Use it to re-instate the flush hook.
9606
8f0fde21
SM
9607 * icomplete.el (icomplete-completions): Replace last fix with a better
9608 one (bug#10850).
9609
8e911f6f
DG
96102012-02-23 Dmitry Gutov <dgutov@yandex.ru>
9611
9612 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9613 when it might call us back infinitely (bug#10797).
9614
49fe4321
GM
96152012-02-23 Glenn Morris <rgm@gnu.org>
9616
9617 * minibuffer.el (completion-category-overrides): Doc fix.
9618
b291b572
SM
96192012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
9620
9621 * minibuffer.el (completion-table-with-context): Fix inf-loop.
9622 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9623
31a9ef2e
GM
96242012-02-23 Glenn Morris <rgm@gnu.org>
9625
5e6e6794 9626 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
9627 (authors-obsolete-files-regexps, authors-ignored-files)
9628 (authors-ambiguous-files, authors-renamed-files-alist):
9629 Add more entries.
9630
0bd1e074
JL
96312012-02-23 Juri Linkov <juri@jurta.org>
9632
9633 * isearch.el (isearch-occur): Sync interactive spec with occur's
9634 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
9635
b617673c
JL
9636 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9637
19e9789e
JL
96382012-02-22 Juri Linkov <juri@jurta.org>
9639
9640 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9641 (ucs-insert): Doc fix. Check for hex digits in the string.
9642 Don't display `nil' in the error message. (Bug#10857)
9643
f41ce09d
AM
96442012-02-22 Alan Mackenzie <acm@muc.de>
9645
7a71b18d 9646 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 9647
ac2eceee
GM
96482012-02-22 Glenn Morris <rgm@gnu.org>
9649
9650 * ffap.el (ffap-c-path):
9651 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
9652
abd1f678
CY
96532012-02-22 Chong Yidong <cyd@gnu.org>
9654
9655 * custom.el (load-theme): Doc fix.
9656
f25aef2e
GM
96572012-02-22 Glenn Morris <rgm@gnu.org>
9658
9659 * dired-x.el (dired-guess-shell-alist-default):
9660 Remove escape sequences from nroff output. (Bug#172)
9661
5f8dc2ca
GM
96622012-02-21 Glenn Morris <rgm@gnu.org>
9663
6ff86ec4
GM
9664 * vc/emerge.el (emerge-defvar-local):
9665 Set `permanent-local' property rather than unused `preserved'.
9666
be3223a3 9667 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
9668 (picture-mode-map): Use it. (Bug#10860)
9669 (picture-mode): Doc fix.
9670
3fe58f4f
JB
96712012-02-21 Juanma Barranquero <lekktu@gmail.com>
9672
9673 * newcomment.el (uncomment-region-default): Remove unused binding.
9674
f9a998c3
GM
96752012-02-21 Glenn Morris <rgm@gnu.org>
9676
9677 * textmodes/picture.el (picture-motion, picture-motion-reverse)
9678 (picture-self-insert, picture-tab-chars): Doc fix.
9679 (picture-mode-map): Fix C-a, C-e.
9680
c6029348
GM
96812012-02-20 Glenn Morris <rgm@gnu.org>
9682
9683 * emacs-lisp/authors.el (authors-aliases): Add another entry.
9684
ab1ce9d7
LL
96852012-02-20 Leo Liu <sdl.web@gmail.com>
9686
9687 * icomplete.el (icomplete-completions): Check FROM arg before
9688 passing to substring (Bug#10850).
9689
0fd40f89
CY
96902012-02-19 Chong Yidong <cyd@gnu.org>
9691
9692 * comint.el: Require ansi-color.
9693 (comint-output-filter-functions): Add ansi-color-process-output.
9694
9695 * ansi-color.el: Don't set comint-output-filter-functions; it is
9696 now in the initial value defined in comint.el.
9697 (ansi-color-apply-face-function): New variable.
9698 (ansi-color-apply-on-region): Use it.
9699 (ansi-color-apply-overlay-face): New function.
9700
9701 * shell.el (shell): No need to require ansi-color.
9702 (shell-mode): Use ansi-color-apply-face-function to highlight
9703 color escapes using font-lock-face property (Bug#10835).
9704
20af2394
CY
97052012-02-19 Chong Yidong <cyd@gnu.org>
9706
9707 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9708 mode-line formats (Bug#10839).
9709
e23a3fbe
GM
97102012-02-18 Glenn Morris <rgm@gnu.org>
9711
b474519e
GM
9712 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9713
9714 * mail/undigest.el (unforward-rmail-message): Doc fix.
9715
e23a3fbe
GM
9716 * saveplace.el (save-place-ignore-files-regexp): Add :version.
9717
57939ff4
EZ
97182012-02-18 Eli Zaretskii <eliz@gnu.org>
9719
9720 * international/characters.el (script-list): Sync with the latest
9721 Unicode Character Database.
9722
0c23686e
AS
97232012-02-18 Andreas Schwab <schwab@linux-m68k.org>
9724
9725 * international/titdic-cnv.el: Remove duplicate coding tag.
9726 * language/cham.el: Likewise.
9727 * language/tai-viet.el: Likewise.
9728
6818b449
GM
97292012-02-18 Glenn Morris <rgm@gnu.org>
9730
9731 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9732 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9733 (calendar-bahai-all-holidays-flag, calendar-other-dates):
9734 * calendar/diary-lib.el (diary-abbreviated-year-flag):
9735 * calendar/holidays.el (holiday-bahai-holidays)
9736 (calendar-holidays, list-holidays):
9737 Use utf-8 Bahá'í in doc-strings, menus, etc.
9738
0311a3fc
TH
97392012-02-17 Tassilo Horn <tassilo@member.fsf.org>
9740
9741 * saveplace.el (save-place-ignore-files-regexp): New variable
9742 allowing for excluding files from saving their location of point.
9743 The default value matches the temporary commit message editing
9744 files from Git, SVN, Bazaar, and Mercurial.
9745 (save-place-to-alist): Use it.
9746
d209e2fb 97472012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 9748 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
9749
9750 * newcomment.el (uncomment-region-default): Don't leave extra space
9751 when an arg is provided (bug#8150).
9752
ee0ce425
TZ
97532012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
9754
eb864a71 9755 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 9756
95ddf442
GM
97572012-02-17 Glenn Morris <rgm@gnu.org>
9758
9759 * net/socks.el: Require network-stream. (Bug#10599)
9760
48dd1e39 97612012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
9762
9763 * international/charprop.el:
9764 * international/uni-name.el:
9765 * international/uni-old-name.el:
9766 * international/uni-comment.el: Regenerate.
9767
d68cd087
GM
97682012-02-16 Glenn Morris <rgm@gnu.org>
9769
9770 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9771 Interactively in calendar buffer, give an error if not on a date.
9772
13932042
GM
97732012-02-15 Glenn Morris <rgm@gnu.org>
9774
9775 * shell.el (shell-delimiter-argument-list):
9776 Revert 2011-02-17 change. (Bug#8027)
9777
c3a70e2b
CY
97782012-02-15 Chong Yidong <cyd@gnu.org>
9779
60236b0d
CY
9780 * minibuffer.el (completion-at-point-functions): Doc fix.
9781
c3a70e2b
CY
9782 * custom.el (defcustom): Doc fix; note use of defvar.
9783
9f26dc24
GM
97842012-02-15 Glenn Morris <rgm@gnu.org>
9785
9786 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9787 Doc fixes.
9788
6546b134
GM
97892012-02-14 Glenn Morris <rgm@gnu.org>
9790
9791 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9792
d29b2b4c
LI
97932012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
9794
9795 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9796 way the ports list is computed.
835bdcba
LI
9797 (smtpmail-query-smtp-server): Prompt the user for a port number if
9798 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 9799
08dcdbc9
TZ
98002012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
9801
9802 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9803
2605051a
GM
98042012-02-13 Glenn Morris <rgm@gnu.org>
9805
9806 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
9807
7ee99f32
TZ
98082012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
9809
9810 * net/gnutls.el (gnutls-trustfiles): New variable.
9811 (gnutls-negotiate): Use it.
9812
5f0af64f
LI
98132012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
9814
9815 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9816 does its stuff if Gnus is running.
9817
c14fcc95
AM
98182012-02-13 Alan Mackenzie <acm@muc.de>
9819
9820 Fix a loop in c-set-fl-decl-start.
9821
7a71b18d 9822 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
9823 c-backward-syntactic-ws actually moves backwards.
9824
142b4d90
LL
98252012-02-13 Leo Liu <sdl.web@gmail.com>
9826
9827 * net/rcirc.el (rcirc-markup-attributes): Move point to the
9828 beginning so that all \C-o chars are removed.
9829
fa9958a6
TZ
98302012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
9831
dc9924b8 9832 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 9833
0bc5886a
AM
98342012-02-12 Alan Mackenzie <acm@muc.de>
9835
9836 Fix infinite loop with long macros.
4d6769e1 9837 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 9838
d4bd55e7
CY
98392012-02-12 Chong Yidong <cyd@gnu.org>
9840
9841 * window.el (display-buffer): Doc fix (Bug#10785).
9842
66f3fe22
GM
98432012-02-12 Glenn Morris <rgm@gnu.org>
9844
bd7da63e
GM
9845 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9846 (x-disown-selection-internal, x-get-selection-internal):
9847 Sync docs with the xselect.c versions.
9848
66f3fe22
GM
9849 * allout-widgets.el: Add missing license notice.
9850
3e0d2fa7
GM
98512012-02-11 Glenn Morris <rgm@gnu.org>
9852
cfecdf09
GM
9853 * select.el (x-get-selection-internal, x-own-selection-internal)
9854 (x-disown-selection-internal):
9855 * x-dnd.el (x-get-selection-internal): Update declarations.
9856
6d216d7f
GM
9857 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9858
2bed3f04
GM
9859 * window.el (window-sides-slots):
9860 * tool-bar.el (tool-bar-position):
9861 * term/xterm.el (xterm-extra-capabilities):
9862 * ses.el (ses-self-reference-early-detection):
9863 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9864 (verilog-auto-wire-type)
9865 (verilog-auto-delete-trailing-whitespace)
9866 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9867 (verilog-auto-tieoff-declaration):
9868 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9869 (sql-oracle-statement-starters, sql-oracle-scan-on):
9870 * progmodes/prolog.el (prolog-align-comments-flag)
9871 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9872 (prolog-left-indent-regexp, prolog-paren-indent-p)
9873 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9874 (prolog-types, prolog-mode-specificators)
9875 (prolog-determinism-specificators, prolog-directives)
9876 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9877 (prolog-electric-dot-flag)
9878 (prolog-electric-dot-full-predicate-template)
9879 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9880 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9881 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9882 (prolog-program-switches, prolog-prompt-regexp)
9883 (prolog-debug-on-string, prolog-debug-off-string)
9884 (prolog-trace-on-string, prolog-trace-off-string)
9885 (prolog-zip-on-string, prolog-zip-off-string)
9886 (prolog-use-standard-consult-compile-method-flag)
9887 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9888 (prolog-imenu-max-lines, prolog-info-predicate-index)
9889 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9890 (prolog-char-quote-workaround):
9891 * progmodes/cc-vars.el (c-defun-tactic):
9892 * net/tramp.el (tramp-encoding-command-interactive)
9893 (tramp-local-end-of-line):
9894 * net/soap-client.el (soap-client):
9895 * net/netrc.el (netrc-file):
9896 * net/gnutls.el (gnutls):
9897 * minibuffer.el (completion-category-overrides)
9898 (completion-cycle-threshold)
9899 (completion-pcm-complete-word-inserts-delimiters):
9900 * man.el (Man-name-local-regexp):
9901 * mail/feedmail.el (feedmail-display-full-frame):
9902 * international/characters.el (glyphless-char-display-control):
9903 * eshell/em-ls.el (eshell-ls-date-format):
9904 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9905 (lisp-lambda-list-keyword-parameter-indentation)
9906 (lisp-lambda-list-keyword-parameter-alignment):
9907 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9908 * dired-x.el (dired-omit-verbose):
9909 * cus-theme.el (custom-theme-allow-multiple-selections):
9910 * calc/calc.el (calc-highlight-selections-with-faces)
9911 (calc-lu-field-reference, calc-lu-power-reference)
9912 (calc-note-threshold):
9913 * battery.el (battery-mode-line-limit):
9914 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9915 (archive-7z-update):
9916 * allout.el (allout-prefixed-keybindings)
9917 (allout-unprefixed-keybindings)
9918 (allout-inhibit-auto-fill-on-headline)
9919 (allout-flattened-numbering-abbreviation):
9920 * allout-widgets.el (allout-widgets-auto-activation)
9921 (allout-widgets-icons-dark-subdir)
9922 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9923 (allout-widgets-theme-dark-background)
9924 (allout-widgets-theme-light-background)
9925 (allout-widgets-item-image-properties-emacs)
9926 (allout-widgets-item-image-properties-xemacs)
9927 (allout-widgets-run-unit-tests-on-load)
9928 (allout-widgets-time-decoration-activity)
9929 (allout-widgets-hook-error-post-time)
9930 (allout-widgets-track-decoration):
9931 Add missing :version tags to new defcustoms and defgroups.
9932
5fec1b8e
GM
9933 * progmodes/sql.el (sql-ansi-statement-starters)
9934 (sql-oracle-statement-starters): Add custom type.
9935
3e0d2fa7
GM
9936 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9937 (prolog-system-version): Give it a type.
9938
90b671e2
EZ
99392012-02-11 Eli Zaretskii <eliz@gnu.org>
9940
9941 * term/pc-win.el (x-select-text, x-selection-owner-p)
9942 (x-own-selection-internal, x-disown-selection-internal)
9943 (x-get-selection-internal): Sync doc strings and argument lists
9944 with xselect.c, common-win.el and x-win.el. (Bug#10783)
9945
5eac0c02
LL
99462012-02-11 Leo Liu <sdl.web@gmail.com>
9947
9948 * progmodes/python.el (python-end-of-statement): Fix infinite
9949 loop. (Bug#10788)
9950
f82cb659
GM
99512012-02-10 Glenn Morris <rgm@gnu.org>
9952
9953 * international/mule-cmds.el (unify-8859-on-encoding-mode)
9954 (unify-8859-on-decoding-mode): Properly mark as obsolete.
9955
cc26d239
LI
99562012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
9957
9958 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9959 about SMTP before checking the From header.
9960
91027d08 9961 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
9962 into own function for reuse by emacsbug.el.
9963
1be3ca5a
LL
99642012-02-10 Leo Liu <sdl.web@gmail.com>
9965
9966 * subr.el (condition-case-unless-debug): Rename from
9967 condition-case-no-debug. All callers changed.
9968 (with-demoted-errors): Fix caller.
9969
9970 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9971 * nxml/rng-valid.el (rng-do-some-validation):
9972 * emacs-lisp/package.el (package-refresh-contents)
9973 (package-menu-execute):
9974 * desktop.el (desktop-create-buffer):
91027d08 9975 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 9976
b011fbfe
GM
99772012-02-10 Glenn Morris <rgm@gnu.org>
9978
b2096d72
GM
9979 * textmodes/bibtex.el:
9980 Add missing :version tags for new/changed defcustoms.
9981
b011fbfe
GM
9982 * files.el (remote-file-name-inhibit-cache): Doc fixes.
9983
4c7e65bf
LI
99842012-02-09 Lars Ingebrigtsen <larsi@rusty>
9985
9986 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9987 (smtpmail-via-smtp): Use it, or fall back on the From address.
9988 (smtpmail-send-it): Ditto.
9989
f3934f6f
SM
99902012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
9991
9992 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9993 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
9994 (byte-compile-tmp-var): New const.
9995 (byte-compile-defvar): Use it to minimize .elc size.
9996 Just use `defvar' rather than simulate it (bug#10761).
9997
a075a2c5
GM
99982012-02-09 Glenn Morris <rgm@gnu.org>
9999
cf3aa21b
GM
10000 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10001
354998cd
GM
10002 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10003 Add :version tags.
10004
dc9924b8
SM
10005 * progmodes/compile.el (compilation-error-screen-columns)
10006 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10007
dab3703d
GM
10008 * vc/log-view.el (log-view-toggle-entry-display):
10009 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10010
3f88cd72
GM
10011 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10012 (report-emacs-bug-can-use-xdg-email):
10013 (report-emacs-bug-insert-to-mailer): Doc fixes.
10014 (report-emacs-bug): Message fix.
10015
d95b247d
GM
10016 * net/browse-url.el (browse-url-can-use-xdg-open)
10017 (browse-url-xdg-open): Doc fixes.
10018
a075a2c5
GM
10019 * electric.el (electric-indent-mode, electric-pair-mode)
10020 (electric-layout-rules, electric-layout-mode): Doc fixes.
10021 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10022
ffb6157e
MR
100232012-02-08 Martin Rudalics <rudalics@gmx.at>
10024
10025 * server.el (server-unselect-display): Don't inadvertently kill
10026 the current buffer. (Bug#10729)
10027
e1ac4066
GM
100282012-02-08 Glenn Morris <rgm@gnu.org>
10029
34e8a2da
GM
10030 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10031 (sql-list-table): Doc fixes.
10032
b4ac6e8c
GM
10033 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10034 Comment out (does nothing).
10035
e1ac4066
GM
10036 * completion.el (dynamic-completion-mode):
10037 * dirtrack.el (dirtrack-debug-mode):
10038 * electric.el (electric-layout-mode):
10039 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10040 * face-remap.el (text-scale-mode, buffer-face-mode):
10041 * iimage.el (iimage-mode):
10042 * image-mode.el (image-transform-mode):
10043 * minibuffer.el (completion-in-region-mode):
10044 * scroll-lock.el (scroll-lock-mode):
10045 * simple.el (next-error-follow-minor-mode):
10046 * tar-mode.el (tar-subfile-mode):
10047 * tooltip.el (tooltip-mode):
10048 * vcursor.el (vcursor-use-vcursor-map):
10049 * wid-browse.el (widget-minor-mode):
10050 * emulation/tpu-edt.el (tpu-edt-mode):
10051 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10052 * international/iso-ascii.el (iso-ascii-mode):
10053 * language/thai-util.el (thai-word-mode):
10054 * mail/supercite.el (sc-minor-mode):
10055 * net/goto-addr.el (goto-address-mode):
10056 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10057 * progmodes/cwarn.el (cwarn-mode):
10058 * progmodes/flymake.el (flymake-mode):
10059 * progmodes/glasses.el (glasses-mode):
10060 * progmodes/hideshow.el (hs-minor-mode):
10061 * progmodes/pascal.el (pascal-outline-mode):
10062 * textmodes/enriched.el (enriched-mode):
10063 * vc/smerge-mode.el (smerge-mode):
10064 Doc fixes (minor mode argument).
10065
5e0d957f
EZ
100662012-02-07 Eli Zaretskii <eliz@gnu.org>
10067
10068 * ls-lisp.el (ls-lisp-sanitize): New function.
10069 (ls-lisp-insert-directory): Use it to fix or remove any elements
10070 in file-alist with missing attributes. (Bug#4673)
10071
98d7371e
AM
100722012-02-07 Alan Mackenzie <acm@muc.de>
10073
10074 Fix spurious recognition of c-in-knr-argdecl.
10075
10076 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10077 putative K&R region.
10078
667ced3a
AM
100792012-02-07 Alan Mackenzie <acm@muc.de>
10080
eb864a71
LM
10081 * progmodes/cc-engine.el (c-forward-objc-directive):
10082 Prevent looping in "#pragma mark @implementation".
667ced3a 10083
5b77774d
MA
100842012-02-07 Michael Albinus <michael.albinus@gmx.de>
10085
10086 * notifications.el (notifications-on-closed-signal): Make `reason'
10087 optional. (Bug#10744)
10088
af008560
GM
100892012-02-07 Glenn Morris <rgm@gnu.org>
10090
60d47423
GM
10091 * emacs-lisp/easy-mmode.el (define-minor-mode):
10092 Doc fixes for the macro and the mode it defines.
10093
dd605cc4
GM
10094 * image.el (imagemagick-types-inhibit): Doc fix.
10095
af008560
GM
10096 * cus-start.el (imagemagick-render-type): Add it.
10097
5cc59a37
LI
100982012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10099
4d6769e1
JB
10100 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10101 Set the default at load time, too, so that `font-lock-fontify-buffer'
10102 can be called without setting up the entire mode first. This fixes
10103 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10104
9a6dd747
CY
101052012-02-06 Chong Yidong <cyd@gnu.org>
10106
2d16b285
CY
10107 * simple.el (list-processes--refresh): Delete exited processes
10108 (Bug#8094).
10109
171e9b6e
CY
10110 * comint.el (comint-next-prompt): next-single-char-property-change
10111 and prev-single-char-property-change never return nil (Bug#8657).
10112
9a6dd747
CY
10113 * custom.el (defcustom): Doc fix (Bug#9711).
10114
aa4589a7
CY
101152012-02-05 Chong Yidong <cyd@gnu.org>
10116
5c2a252f
CY
10117 * cus-edit.el (custom-variable-reset-backup): Quote the value
10118 before storing it in the customized-value property (Bug#6712).
4aab9006 10119 (custom-display): Add a customization type tag.
983b9602 10120 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10121
aa4589a7
CY
10122 * wid-edit.el (widget-field-value-get): New optional arg to
10123 suppress trailing whitespace truncation.
10124 (character): Use it (Bug#2689).
10125
1ff980ae
AS
101262012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10127
10128 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10129 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10130
03988c98
CY
101312012-02-05 Chong Yidong <cyd@gnu.org>
10132
eeb6cc88
CY
10133 * cus-edit.el (custom-variable-value-create): For mismatched
10134 types, show the current value (Bug#7600).
10135
03988c98
CY
10136 * custom.el (defcustom): Doc fix.
10137
f8cdeef0
GM
101382012-02-05 Glenn Morris <rgm@gnu.org>
10139
10140 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10141
0696d255
JB
101422012-02-05 Juanma Barranquero <lekktu@gmail.com>
10143
10144 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10145 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10146 (pp-last-sexp): Use `looking-at-p'.
10147
34c99998
GM
101482012-02-04 Glenn Morris <rgm@gnu.org>
10149
8f05da42
GM
10150 * files.el (revert-buffer):
10151 Doc fix (mention revert-buffer-in-progress-p).
10152
f160676e
GM
10153 * emacs-lisp/ert-x.el (ert-simulate-command):
10154 Check deferred-action-list (which is obsolete) is bound.
10155
c7291ad9
GM
10156 * subr.el (with-wrapper-hook): Doc fixes.
10157
34c99998
GM
10158 * simple.el (filter-buffer-substring-functions)
10159 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10160
6283a7d3
LL
101612012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10162
10163 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10164 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10165
e96e3013
LL
101662012-02-04 Leo Liu <sdl.web@gmail.com>
10167
10168 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10169
8ded50f2
GM
101702012-02-04 Glenn Morris <rgm@gnu.org>
10171
82ff1d13
GM
10172 * image.el (image-extension-data): Add obsolete alias.
10173
987a0a16
GM
10174 * isearch.el (isearch-update): Doc fix.
10175
ea32ef46
GM
10176 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10177
8ded50f2
GM
10178 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10179
eea14f31
GM
101802012-02-03 Glenn Morris <rgm@gnu.org>
10181
10182 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10183 (image-animate-timeout): Doc fix.
10184
10185 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10186
12f381b7
GM
101872012-02-02 Glenn Morris <rgm@gnu.org>
10188
953cebf5
GM
10189 * server.el (server-auth-dir): Doc fix.
10190 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10191
12f381b7
GM
10192 * subr.el (run-mode-hooks): Doc fix.
10193
953a8c3b
JL
101942012-02-02 Juri Linkov <juri@jurta.org>
10195
10196 * image-mode.el (image-toggle-display-image): Remove tautological
10197 `major-mode' from the `derived-mode-p' test.
10198
c5d3843c
KH
101992012-02-02 Kenichi Handa <handa@m17n.org>
10200
9f6e692e 10201 * composite.el (compose-region): Cancel previous change.
c5d3843c 10202
159462d4 102032012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10204
10205 * composite.el (compose-region, compose-string): Signal error for
10206 a null string component (Bug#6988).
10207
9f562668
CY
102082012-02-01 Chong Yidong <cyd@gnu.org>
10209
e2cef717
CY
10210 * view.el (view-buffer-other-window, view-buffer-other-frame):
10211 Handle special modes like view-buffer (Bug#10650).
10212 (view-buffer): Simplify.
10213
9f562668
CY
10214 * frame.el (set-frame-font): Tweak meaning of third argument.
10215
9f6e692e
JB
10216 * dynamic-setting.el (font-setting-change-default-font):
10217 Use set-frame-font (Bug#9982).
9f562668 10218
781acb9f
GM
102192012-02-01 Glenn Morris <rgm@gnu.org>
10220
6035be52
GM
10221 * progmodes/compile.el (compilation-internal-error-properties):
10222 Respect compilation-first-column in the "*compilation*" buffer.
10223
781acb9f
GM
10224 * emacs-lisp/easy-mmode.el (define-minor-mode):
10225 Relax :variable's test for a named function.
10226
abbceb00
AM
102272012-01-31 Alan Mackenzie <acm@muc.de>
10228
10229 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10230 off by one error.
10231
fce3fdeb
CY
102322012-01-31 Chong Yidong <cyd@gnu.org>
10233
10234 * frame.el (set-frame-font): New arg ALL-FRAMES.
10235
10236 * menu-bar.el (menu-set-font): Use set-frame-font.
10237
10238 * faces.el (face-spec-reset-face): Don't apply unspecified
10239 attribute values to the default face.
10240
47893581
JB
102412012-01-31 Juanma Barranquero <lekktu@gmail.com>
10242
10243 * progmodes/cwarn.el (cwarn): Remove dead link.
10244 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10245 Remove * from defcustom docstrings.
10246 (turn-on-cwarn-mode): Make obsolete.
10247 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10248 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10249
e58e988a
GM
102502012-01-31 Glenn Morris <rgm@gnu.org>
10251
60dc2671 10252 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10253 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10254 Allow named functions to be used as the cdr of :variable.
e58e988a 10255
7a3f511d
GM
102562012-01-30 Glenn Morris <rgm@gnu.org>
10257
10258 * emacs-lisp/authors.el (authors-fixed-entries):
10259 Remove reference to deleted file rnewspost.el.
10260
cb882333
JB
102612012-01-29 Juanma Barranquero <lekktu@gmail.com>
10262
10263 * window.el (window-with-parameter): Remove unused variable `windows'.
10264 (window--side-check): Remove unused variable `code'.
10265 (window--resize-siblings): Remove unused variable `first'.
10266 (adjust-window-trailing-edge): Remove unused variable `failed'.
10267 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10268 Use `let', not `let*'.
10269 (balance-windows-2): Remove unused variable `found'.
10270 (window--state-put-2): Remove unused variable `splits'.
10271 (window-state-put): Remove unused variable `selected'.
10272 (same-window-p): Use `string-match-p'.
10273 (display-buffer-assq-regexp): Remove unused variable `value'.
10274 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10275 Mark argument ALIST as ignored.
10276 (pop-to-buffer): Remove unused variable `old-window'.
10277
907201af
EZ
102782012-01-29 Eli Zaretskii <eliz@gnu.org>
10279
10280 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10281 and .lzma compressed files.
10282
ea162670
CY
102832012-01-29 Chong Yidong <cyd@gnu.org>
10284
5b95ee8a
CY
10285 * frame.el (window-system-default-frame-alist): Doc fix.
10286
ea162670
CY
10287 * dynamic-setting.el (font-setting-change-default-font): Don't
10288 change the default face if SET-FONT argument is non-nil (Bug#9982).
10289
d6e6f4b1
SB
102902012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10291
10292 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10293
0f29fa41 102942012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10295
10296 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10297 breakpoints in files outside current directory (Bug#6098).
10298
db174434
CY
102992012-01-29 Chong Yidong <cyd@gnu.org>
10300
6b25e4e2
SE
10301 * progmodes/python.el: Require ansi-color at top-level.
10302
6df6ae42
JB
10303 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10304 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10305 (lisp-mode-abbrev-table): Add doc.
10306 (lisp-mode-variables): Don't set local-abbrev-table.
10307 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10308
e70ee681
RW
103092012-01-28 Roland Winkler <winkler@gnu.org>
10310
10311 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10312
ace88aa2
RW
103132012-01-28 Roland Winkler <winkler@gnu.org>
10314
10315 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10316 (bibtex-set-dialect): Use it. Either set global values of
10317 dialect-dependent variables or bind these variables buffer-locally
10318 (Bug#10254).
10319 (bibtex-mode): Call bibtex-set-dialect via
10320 hack-local-variables-hook.
eb864a71
LM
10321 (bibtex-dialect): Update docstring.
10322 Add safe-local-variable predicate.
ace88aa2
RW
10323 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10324 bibtex-set-dialect.
10325 (bibtex-mode-map): Define menu for each dialect.
10326 (bibtex-entry): Fix docstring.
10327
93376c5b
CY
103282012-01-28 Chong Yidong <cyd@gnu.org>
10329
10330 * eshell/esh-arg.el (eshell-quote-argument): New function.
10331
10332 * eshell/esh-ext.el (eshell-invoke-batch-file):
10333 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10334 first arg to eshell-parse-command (Bug#10523).
10335
4372494f
DA
103362012-01-28 Drew Adams <drew.adams@oracle.com>
10337
10338 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10339 `default-directory' is non-nil.
10340
4d4ec1f8
EZ
103412012-01-28 Eli Zaretskii <eliz@gnu.org>
10342
10343 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10344 line that displays system-configuration-options. (Bug#9924)
10345
7c188927
DA
103462012-01-28 Drew Adams <drew.adams@oracle.com>
10347
10348 * descr-text.el (describe-char): Show information about POS, in
10349 addition to information about the character at POS. Improve and
10350 update the doc string. Change "code point" to "code point in
10351 charset", to avoid confusion with the character's Unicode code
10352 point shown above that. (Bug#10129)
10353
e0da685a
EZ
103542012-01-28 Eli Zaretskii <eliz@gnu.org>
10355
10356 * descr-text.el (describe-char): Show the raw character, not only
10357 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10358 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10359 for the reasons.
10360
70550acf
PH
103612012-01-28 Phil Hagelberg <phil@hagelb.org>
10362
eb864a71
LM
10363 * emacs-lisp/package.el (package-install):
10364 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10365
0ce8e868
CY
103662012-01-28 Chong Yidong <cyd@gnu.org>
10367
cb882333
JB
10368 * emacs-lisp/package.el (package-maybe-load-descriptor):
10369 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10370 (package-maybe-load-descriptor): Use it.
10371 (package-download-transaction): Fully load required packages
10372 inside the loop, so that `require' calls work (Bug#10593).
10373 (package-install): No need to call package-initialize now.
10374
2e7f3bea
CY
103752012-01-28 Chong Yidong <cyd@gnu.org>
10376
6e9bad14
CY
10377 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10378
f823b8ca
CY
10379 * tooltip.el (tooltip-mode): Doc fix.
10380 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10381
2680c309
CY
10382 * frame.el (set-cursor-color): Doc fix (Bug#352).
10383
d7a9e63b
CY
10384 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10385 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10386
2e7f3bea
CY
10387 * cus-edit.el (custom-buffer-create-internal): Fix search button
10388 action (Bug#10542).
2ae01800 10389 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10390
fc4f7a23
EW
103912012-01-27 Eduard Wiebe <usenet@pusto.de>
10392
10393 * dired.el (dired-mark-files-regexp):
10394 Include any subdirectory components. (Bug#10445)
10395
7dd37071
ML
103962012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10397
10398 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10399 Handle [host]:port syntax. (Bug#10533)
10400
a268160b
AH
104012012-01-27 Alex Harsanyi <harsanyi@mac.com>
10402
10403 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10404
e43273ef
GM
104052012-01-26 Glenn Morris <rgm@gnu.org>
10406
10407 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10408 * term.el (term-raw-escape-map): Use Control-X-prefix.
10409 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10410
1edf595d
MR
104112012-01-25 Martin Rudalics <rudalics@gmx.at>
10412
10413 * window.el (window-state-get, window--state-get-1): Don't deal
10414 with fixed-sizeness of windows. Simplify code.
10415
fa8eafef
JC
104162012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10417
6df6ae42
JB
10418 * window.el (window--state-get-1, window--state-put-2):
10419 Don't save and restore the mark.
fa8eafef 10420
0b21c100
CY
104212012-01-25 Chong Yidong <cyd@gnu.org>
10422
10423 * custom.el (custom-variable-p): Doc fix.
10424
5ae1a6c8
GM
104252012-01-25 Glenn Morris <rgm@gnu.org>
10426
40047858
GM
10427 * dired.el (dired-goto-file): Handle some of the more common
10428 characters that `ls -b' escapes. (Bug#10596)
10429
5ddce96c
GM
10430 * progmodes/compile.el (compilation-next-error-function):
10431 Respect compilation-first-column in the "*compilation*" buffer.
10432 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10433
5ae1a6c8
GM
10434 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10435
b559f1a9
GM
104362012-01-24 Glenn Morris <rgm@gnu.org>
10437
10438 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10439
6725d21a
JD
104402012-01-24 Julien Danjou <julien@danjou.info>
10441
10442 * color.el (color-rgb-to-hsl): Fix value computing.
10443 (color-hue-to-rgb): New function.
10444 (color-hsl-to-rgb): New function.
10445 (color-clamp, color-saturate-hsl, color-saturate-name)
10446 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10447 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10448
70df4bbe
GM
104492012-01-24 Glenn Morris <rgm@gnu.org>
10450
10451 * vc/vc-rcs.el (vc-rcs-create-tag):
10452 * vc/vc-sccs.el (vc-sccs-create-tag):
10453 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10454
802a2ae2
ML
104552012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10456
10457 * eshell/esh-util.el (eshell-read-hosts-file):
10458 Skip comment lines. (Bug#10549)
10459
d7128bb1
ML
10460 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10461
d1a5c3b4
JB
104622012-01-23 Juanma Barranquero <lekktu@gmail.com>
10463
2724d9c7
JB
10464 * subr.el (display-delayed-warnings): Doc fix.
10465 (collapse-delayed-warnings): New function to collapse identical
10466 adjacent warnings.
10467 (delayed-warnings-hook): Add it.
d1a5c3b4 10468
a5509865
MA
104692012-01-22 Michael Albinus <michael.albinus@gmx.de>
10470
10471 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10472
a5509865
MA
10473 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10474 (tramp-default-user-alist): Don't add "pscp".
10475 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10476 property "login-as", if set. (Bug#10530)
10477
cc6d5805
MA
104782012-01-21 Michael Albinus <michael.albinus@gmx.de>
10479
10480 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10481 "plink1" and "psftp". (Bug#10530)
10482
104832012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10484
10485 * international/mule-cmds.el (prefer-coding-system): Show a
10486 warning message if the default value of file-name-coding-system
10487 was not changed.
10488
f0960428
JC
104892012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10490
cb882333
JB
10491 * windmove.el (windmove-reference-loc):
10492 Fix windmove-reference-loc miscalculation.
f0960428 10493
dd6f2a63
JB
104942012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10495
10496 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10497 default unit.
10498
7b447e9b
GM
104992012-01-21 Glenn Morris <rgm@gnu.org>
10500
117a9ea1
GM
10501 * international/mule.el (auto-coding-alist): Add .tbz.
10502
7b447e9b
GM
10503 * files.el (local-enable-local-variables): Doc fix.
10504 (inhibit-local-variables-regexps): Rename from
10505 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10506 Doc fix. Add some extensions from auto-coding-alist.
10507 (inhibit-local-variables-suffixes):
10508 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10509 (inhibit-local-variables-p):
10510 New function, extracted from set-auto-mode-1.
10511 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10512 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10513 (hack-local-variables): Doc fix. Make the mode-only case
10514 respect enable-local-variables and friends.
10515 Respect inhibit-local-variables-regexps for file-locals, but
10516 not for directory-locals.
10517 (set-visited-file-name):
10518 Take account of inhibit-local-variables-regexps.
10519 Whether it applies may change as the file name is changed.
10520 * jka-cmpr-hook.el (jka-compr-install):
10521 * jka-compr.el (jka-compr-uninstall):
10522 Update for inhibit-first-line-modes-suffixes name change.
10523
dd6e3cdd
MR
105242012-01-20 Martin Rudalics <rudalics@gmx.at>
10525
10526 * help-macro.el (make-help-screen): Temporarily restore original
10527 binding for minor-mode-map-alist (Bug#10454).
10528
0d0deb38
JD
105292012-01-19 Julien Danjou <julien@danjou.info>
10530
10531 * color.el (color-name-to-rgb): Use the white color to find the max
10532 color component value and return correctly computed values.
10533 (color-name-to-rgb): Add missing float conversion for max value.
10534
34a02f46
MR
105352012-01-19 Martin Rudalics <rudalics@gmx.at>
10536
10537 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10538 special state value for window-persistent-parameters.
10539 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10540 (window--state-put-2): Reset all window parameters to nil before
10541 assigning values of persistent parameters.
10542
606c44c4
AM
105432012-01-18 Alan Mackenzie <acm@muc.de>
10544
10545 Eliminate sluggishness and hangs in fontification of "semicolon
10546 deserts".
10547
cb882333
JB
10548 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10549 Change value 10000 -> 3000.
606c44c4
AM
10550 (c-state-safe-place): Reformulate so it doesn't stack up an
10551 infinite number of wrong entries in c-state-nonlit-pos-cache.
10552 (c-determine-limit-get-base, c-determine-limit): New functions to
10553 determine backward search limits disregarding literals.
10554 (c-find-decl-spots): Amend commenting.
10555 (c-cheap-inside-bracelist-p): New function which detects "={".
10556
10557 * progmodes/cc-fonts.el
10558 (c-make-font-lock-BO-decl-search-function): Give a limit to a
10559 backward search.
10560 (c-font-lock-declarations): Fix an occurrence of point being
10561 undefined. Check additionally for point being in a bracelist or
10562 near a macro invocation without a semicolon so as to avoid a
10563 fruitless time consuming search for a declarator. Give a more
10564 precise search limit for declarators using the new
10565 c-determine-limit.
10566
f3860cea
GM
105672012-01-18 Glenn Morris <rgm@gnu.org>
10568
10569 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10570 (set-auto-mode): Doc fixes.
10571
1db03b16
GM
105722012-01-17 Glenn Morris <rgm@gnu.org>
10573
0e6038be
GM
10574 * isearch.el (search-nonincremental-instead): Fix doc typo.
10575
1db03b16
GM
10576 * dired.el (dired-insert-directory): Handle newlines in directory name.
10577 (dired-build-subdir-alist): Unescape newlines in directory name.
10578
4cb0aa75
MA
105792012-01-17 Michael Albinus <michael.albinus@gmx.de>
10580
10581 * net/tramp.el (tramp-local-end-of-line): New defcustom.
10582 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10583 (tramp-action-terminal): Use it. (Bug#10530)
10584
1d00653d
SM
105852012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
10586
10587 * minibuffer.el (completion--replace): Strip properties (bug#10062).
10588
6a6ee00d
MR
105892012-01-16 Martin Rudalics <rudalics@gmx.at>
10590
10591 * window.el (window-state-ignored-parameters): Remove variable.
10592 (window--state-get-1): Rename argument MARKERS to IGNORE.
10593 Handle persistent window parameters. Make copy of clone-of
10594 parameter only if requested. (Bug#10348)
10595 (window--state-put-2): Install a window parameter only if it has
10596 a non-nil value or an existing parameter shall be overwritten.
10597
97912def
MA
105982012-01-15 Michael Albinus <michael.albinus@gmx.de>
10599
10600 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10601
688070a5
EZ
106022012-01-14 Eli Zaretskii <eliz@gnu.org>
10603
10604 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10605 don't pass the (nil) value of `upnode' to string-match.
10606
301afadc
CY
106072012-01-14 Chong Yidong <cyd@gnu.org>
10608
10609 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 10610 Fix values recognized by the cursorBlink resource.
301afadc 10611
9e5788aa
PE
106122012-01-14 Paul Eggert <eggert@cs.ucla.edu>
10613
10614 * epg.el (epg--make-temp-file): Avoid permission race condition
10615 when running on old Emacs versions (bug#10403).
10616
3cdb7f5a
GM
106172012-01-14 Glenn Morris <rgm@gnu.org>
10618
10619 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10620
8c82b1b4
AM
106212012-01-13 Alan Mackenzie <acm@muc.de>
10622
10623 Fix filling for when filladapt mode is enabled.
10624
10625 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10626 c-mask-paragraph, pass in `fill-paragraph' rather than
10627 `fill-region-as-paragraph'. (This is a reversion of a previous
10628 change.)
eb864a71
LM
10629 * progmodes/cc-mode.el (c-basic-common-init):
10630 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 10631
e517eda4
GM
106322012-01-13 Glenn Morris <rgm@gnu.org>
10633
1498536e
GM
10634 * dired.el (dired-switches-escape-p): New function.
10635 (dired-insert-directory): Use dired-switches-escape-p.
10636 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
10637
e517eda4
GM
10638 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
10639
328f984d
GM
106402012-01-12 Glenn Morris <rgm@gnu.org>
10641
10642 * mail/sendmail.el (mail-mode): Update paragraph-separate for
10643 changes in adaptive-fill-regexp. (Bug#10276)
10644
2cc769a8
AM
106452012-01-11 Alan Mackenzie <acm@muc.de>
10646
10647 Fix Emacs bug #10463 - put `widen's around the critical spots.
10648
1d00653d 10649 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
10650 widen around each invocation of c-state-pp-to-literal. Remove an
10651 unused let variable.
10652
e52c37fa
GM
106532012-01-11 Glenn Morris <rgm@gnu.org>
10654
10655 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 10656 Doc fix.
e52c37fa 10657
96f8741e
CY
106582012-01-10 Chong Yidong <cyd@gnu.org>
10659
1d00653d
SM
10660 * net/network-stream.el (network-stream-open-starttls):
10661 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
10662 response to the capability command.
10663
b09a806e
GM
106642012-01-10 Glenn Morris <rgm@gnu.org>
10665
10666 * mail/unrmail.el (unrmail): Tweak previous change.
10667
7655cb66
CY
106682012-01-09 Chong Yidong <cyd@gnu.org>
10669
10670 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10671
9d5a8f0b
AM
106722012-01-08 Alan Mackenzie <acm@muc.de>
10673
10674 Optimise font locking in long enum definitions.
10675
10676 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10677 arm to a cond form to handle enums.
10678 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10679 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10680
9a0115ab 106812012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
10682
10683 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 10684 (Bug#10401)
6bb72cbd 10685
f186bb95
LMI
106862012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10687
29232a68
LMI
10688 * faces.el (set-face-attribute): Clarify the meaning of the nil
10689 frame (bug#10294).
10690
4e5d086d
LMI
10691 * subr.el (with-selected-frame): Mention that the selected frame
10692 is restored (bug#9980).
10693
8e66aebe
LMI
10694 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10695 (bug#9759).
10696
cd394be1 10697 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
10698 (password-read): Don't autoload unused function.
10699
adf4e762
JB
107002012-01-07 Juanma Barranquero <lekktu@gmail.com>
10701
10702 * progmodes/which-func.el (which-func-mode): Turn into a
10703 non-interactive function and mark as obsolete (bug#10428).
10704
89bd9ccd
CY
107052012-01-06 Chong Yidong <cyd@gnu.org>
10706
10707 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10708 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10709 functions, along with 1 and -1.
10710
4afee9d5
EZ
107112012-01-06 Eli Zaretskii <eliz@gnu.org>
10712
10713 * time.el (display-time-load-average)
10714 (display-time-default-load-average): Doc fixes. See the thread
10715 starting at
10716 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10717 for the details.
10718
536aea70
GM
107192012-01-06 Glenn Morris <rgm@gnu.org>
10720
665ae865
GM
10721 * mail/unrmail.el (unrmail): Give an explicit error if the input file
10722 has no messages. (Bug#10377)
10723
c869783d
GM
10724 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10725 than Info-edit. (Bug#10385)
10726
2bb4227e
GM
10727 * time.el (display-time-load-average, display-time-next-load-average):
10728 Doc fixes.
10729
7d5944b9
GM
10730 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10731 local setting of buffer-read-only to the input buffer. (Bug#10419)
10732
536aea70
GM
10733 * calendar/calendar.el (calendar-mode):
10734 Locally set scroll-margin to 0. (Bug#10379)
10735
7dccca16
UM
107362012-01-06 Ulrich Mueller <ulm@gentoo.org>
10737
10738 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
10739
afbb7930
GM
107402012-01-05 Glenn Morris <rgm@gnu.org>
10741
10742 * eshell/em-unix.el (diff-no-select): Autoload it.
10743 (eshell/diff): Use diff-no-select. (Bug#10420)
10744
04482335
CY
107452012-01-05 Chong Yidong <cyd@gnu.org>
10746
7baca3bc
CY
10747 * shell.el (shell-dynamic-complete-functions): Revert last change.
10748 (shell-command-completion-function): New function.
10749 (shell-completion-vars): Use it to implement
10750 shell-completion-execonly (Bug#10417).
10751
04482335
CY
10752 * custom.el (enable-theme): Don't set custom-safe-themes.
10753
1d00653d
SM
10754 * cus-theme.el (custom-theme-merge-theme):
10755 Ignore custom-enabled-themes and custom-safe-themes.
04482335 10756
bb5aa5d6
MM
107572012-01-05 Michael R. Mauger <mmaug@yahoo.com>
10758
10759 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10760 first prompt in `sql-interacive-mode'.
10761 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 10762 keywords.
6df6ae42 10763 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
10764 (sql-product-interactive): Bug fix: Set `sql-buffer' in
10765 context of original buffer. Invoke `sql-login-hook'.
10766
a7183d7c
EZ
107672012-01-04 Eli Zaretskii <eliz@gnu.org>
10768
10769 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10770 letters in cite-prefix.
10771
a1eacd1e
LMI
107722012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10773
10774 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10775
787cdb34
CY
107762012-01-03 Chong Yidong <cyd@gnu.org>
10777
1d00653d
SM
10778 * shell.el (shell-dynamic-complete-functions):
10779 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
10780 comint-filename-completion first (Bug#10417).
10781
30710442
RS
107822012-01-02 Richard Stallman <rms@gnu.org>
10783
10784 * battery.el (battery-status-function):
10785 Detect when to use battery-yeeloong-sysfs.
10786 (battery-echo-area-format): Add string for Yeeloong.
10787 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10788 (battery-yeeloong-sysfs): New function.
10789
f75bfc33
CY
107902012-01-02 Chong Yidong <cyd@gnu.org>
10791
10792 * dirtrack.el (dirtrack-list): Eliminate unused third element.
10793 (dirtrack): Merge code for handling relative filenames in prompt
10794 from shell-dir-cookie-watcher.
10795 (dirtrack-debug-message): New arg to avoid excess format calls.
10796
10797 * shell.el (shell-dir-cookie-re): Variable deleted.
10798 (shell-dir-cookie-watcher): Function deleted.
10799 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10800 with dirtrack-mode.
10801
651e947e
EZ
108022012-01-01 Eli Zaretskii <eliz@gnu.org>
10803
1d00653d
SM
10804 * term/w32-win.el (dynamic-library-alist) <gnutls>:
10805 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
10806 libgnutls-26.dll.
10807
94d4c7dc
AS
108082011-12-31 Andreas Schwab <schwab@linux-m68k.org>
10809
10810 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10811
8d43f3cd
EZ
108122011-12-31 Eli Zaretskii <eliz@gnu.org>
10813
10814 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10815 headers of non-MIME messages, when rmail-enable-mime is non-nil.
10816
98c8795a
MA
108172011-12-29 Michael Albinus <michael.albinus@gmx.de>
10818
10819 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10820 also for alternative shells.
10821 (tramp-open-connection-setup-interactive-shell): Check, whether
10822 the shell is a busybox.
10823 (tramp-send-command): Don't suppress multiple prompts for
10824 busyboxes, it hurts.
10825
51281b32
CY
108262011-12-28 Chong Yidong <cyd@gnu.org>
10827
10828 * progmodes/gdb-mi.el (gdb-get-source-file-list)
10829 (gdb-get-source-file): Move mode line update to
10830 gdb-get-source-file (Bug#10087).
10831
2170cb53
CY
108322011-12-25 Chong Yidong <cyd@gnu.org>
10833
10834 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10835 gud-gdb-marker-filter without taking it as an argument.
10836 (gud-gdb-run-command-fetch-lines): Caller changed.
10837 (gud-gdb-completion-function): New variable.
10838 (gud-gdb-completion-at-point): Use it.
10839 (gud-gdb-completions-1): Split from gud-gdb-completions.
10840
10841 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10842 function as separate arguments.
10843 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10844 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10845 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10846 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10847 (gdb-stopped, def-gdb-auto-update-trigger)
10848 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
10849 (gdb-get-changed-registers, gdb-get-main-selected-frame):
10850 Callers changed.
2170cb53
CY
10851 (gud-gdbmi-completions): New function.
10852 (gdb): Use it for generating the completion table.
10853
be8b11bb
AM
108542011-12-24 Alan Mackenzie <acm@muc.de>
10855
10856 Introduce a mechanism to widen the region used in context font
1d00653d 10857 locking. Use this to protect declarations from losing their contexts.
be8b11bb 10858
1d00653d
SM
10859 * progmodes/cc-langs.el (c-before-font-lock-functions):
10860 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 10861 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
10862 functions to be run just before context (etc.) font locking.
10863
10864 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 10865 New, functionality extracted from
be8b11bb 10866 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 10867 (c-in-after-change-fontification): New variable.
be8b11bb
AM
10868 (c-after-change): Set c-in-after-change-fontification.
10869 (c-set-fl-decl-start): Rejig its interface, so it can be called
10870 from both after-change and context fontifying.
b81d40f0
JB
10871 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10872 New functions.
10873 (c-standard-font-lock-fontify-region-function): New variable.
10874 (c-font-lock-fontify-region): New function.
be8b11bb 10875
341cf6ac
JL
108762011-12-24 Juri Linkov <juri@jurta.org>
10877
10878 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10879 (Bug#10348)
10880
bffcee0a
MA
108812011-12-23 Michael Albinus <michael.albinus@gmx.de>
10882
10883 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10884 existence of source file. (Bug#10325)
10885
cb5e207c
AM
108862011-12-23 Alan Mackenzie <acm@muc.de>
10887
10888 Fix unstable fontification inside templates.
10889
b81d40f0
JB
10890 * progmodes/cc-langs.el (c-before-font-lock-functions):
10891 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
10892 additionally has c-set-fl-decl-start. The other languages (apart
10893 from AWK) have that as a single entry.
10894
b81d40f0
JB
10895 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10896 The functionality for "local" declarations has been extracted to
cb5e207c
AM
10897 c-set-fl-decl-start.
10898
b81d40f0
JB
10899 * progmodes/cc-mode.el (c-common-init, c-after-change):
10900 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
10901 (c-set-fl-decl-start): New function, extracted from
10902 c-font-lock-enclosing-decls and enhanced.
10903
60ff536c
JB
109042011-12-23 Juanma Barranquero <lekktu@gmail.com>
10905
10906 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10907
1c4757d6
JL
109082011-12-22 Juri Linkov <juri@jurta.org>
10909
10910 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
10911
d031f2c7
CY
109122011-12-22 Chong Yidong <cyd@gnu.org>
10913
10914 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10915
bace743a
DA
109162011-12-21 Drew Adams <drew.adams@oracle.com>
10917
10918 * files.el (file-remote-p): Fix docstring. (Bug#10319)
10919
728a1f2b
JC
109202011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10921
10922 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10923
0d373f73
TZ
109242011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
10925
fec0aaa4
TZ
10926 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
10927 highlighting and support. Fix up comments for capitalization.
10928 (cfengine-mode-debug): New var.
10929 (cfengine3-mode): Change the modeline indicator to "CFE3".
10930 (cfengine3-font-lock-keywords): Improve defun highlighting.
10931 (cfengine2-actions): Rename from `cfengine-actions'.
10932 (cfengine2-font-lock-keywords): Rename from
10933 `cfengine-font-lock-keywords'.
10934 (cfengine2-imenu-expression): Rename from
10935 `cfengine-imenu-expression'.
10936 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10937 (cfengine2-beginning-of-defun): Rename from
10938 `cfengine-beginning-of-defun'.
10939 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10940 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10941 (cfengine2-mode): Rename from `cfengine-mode'. Change the
10942 modeline indicator to "CFE2".
10943 (cfengine-mode): Defalias to `cfengine-auto-mode'.
10944 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 10945
bc86f573
CY
109462011-12-21 Chong Yidong <cyd@gnu.org>
10947
10948 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10949 filename argument.
10950
d45ba96b
MR
109512011-12-20 Martin Rudalics <rudalics@gmx.at>
10952
10953 * window.el (window-normalize-buffer-to-display): Remove.
10954 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10955
a6198c90
CY
109562011-12-19 Chong Yidong <cyd@gnu.org>
10957
10958 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10959 Don't signal an error in a predicate function; return non-nil.
10960 (vc-dir-mark-file): Move the error here.
10961 (vc-dir-mark-unmark): If acting on the region, keep going if one
10962 of the entries cannot be marked/unmarked.
10963 (vc-dir-mark-all-files): If current entry is a directory, mark
10964 only child files, as documented.
10965
34c5fb55
VB
109662011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
10967
10968 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10969 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10970 addition.
10971
c803b2b7
JD
109722011-12-18 Jan Djärv <jan.h.d@swipnet.se>
10973
10974 * term/ns-win.el (ns-get-selection-internal)
10975 (ns-store-selection-internal): Declare.
1154d12e
JB
10976 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10977 Declare as obsolete.
10978 (ns-get-pasteboard, ns-paste-secondary):
10979 Use ns-get-selection-internal.
41e9b956 10980 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 10981 Use ns-store-selection-internal.
c803b2b7 10982
9cff91f8 109832011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
10984
10985 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 10986 (vc-deduce-fileset): Doc fix.
99a289d9 10987
f16c898a
AS
109882011-12-16 Andreas Schwab <schwab@linux-m68k.org>
10989
10990 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10991
763237c4
SS
109922011-12-13 Sam Steingold <sds@gnu.org>
10993
10994 * man.el (Man-getpage-in-background): When running under a
10995 window-system, ignore $MANWIDTH and $COLUMNS.
10996
5fc1c122
KH
109972011-12-15 Kenichi Handa <handa@m17n.org>
10998
10999 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11000 (setup-ethiopic-environment-internal): Comment out key-binding for
11001 ethio-toggle-punctuation.
11002
13d49cbb
AM
110032011-12-13 Alan Mackenzie <acm@muc.de>
11004
898169a2
AM
11005 Add the switch statement to AWK Mode.
11006
7a71b18d 11007 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11008 "default" to the keywords regexp.
11009
7a71b18d 11010 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11011 expression as the rest.
1d00653d
SM
11012 (c-nonlabel-token-key): Allow string literals for AWK.
11013 Refactor for the other modes.
898169a2 11014
13d49cbb 11015 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11016 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11017 routines. Limit backward searching in c-font-lock-enclosing.decl.
11018
11019 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11020 pp-state and literal type in addition to the limits.
1d00653d 11021 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11022 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11023 (c-slow-in-literal, c-fast-in-literal): Remove.
11024 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11025
11026 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11027 being in a literal. Add a limit for backward searching.
11028
11029 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11030 c-slow-in-literal.
11031
15e0efc7
SM
110322011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11033
11034 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11035
454592a6
MR
110362011-12-13 Martin Rudalics <rudalics@gmx.at>
11037
11038 * window.el (delete-other-windows): Use correct frame in call to
11039 window-with-parameter.
11040
87393f26
DP
110412011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11042
11043 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11044 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11045 (makefile-gmake-statements, makefile-makepp-statements):
11046 Use it and add new makepp keywords.
11047 (makefile-makepp-font-lock-keywords): Add new patterns.
11048 (makefile-match-function-end): Match new [...] and [[...]].
11049
11636b22
JB
110502011-12-11 Juanma Barranquero <lekktu@gmail.com>
11051
11052 * ses.el (ses-call-printer-return, ses-cell-property-get)
11053 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11054 (ses-create-cell-variable, ses-reset-header-string)
11055 (ses-cell-set-formula, ses-repair-cell-reference-all)
11056 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11057 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11058 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11059 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11060 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11061 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11062 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11063 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11064 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11065 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11066 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11067 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11068
cf018193
VB
110692011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11070
11071 * ses.el: The overall change is to add cell renaming, that is
11072 setting fancy names for cell symbols other than name matching
11073 "\\`[A-Z]+[0-9]+\\'" regexp .
11074 (ses-create-cell-variable): New defun.
11075 (ses-relocate-formula): Relocate formulas only for cells the
11076 symbols of which are not renamed, i.e. symbols whose names do not
11077 match regexp "\\`[A-Z]+[0-9]+\\'".
11078 (ses-relocate-all): Relocate values only for cells the symbols of
11079 which are not renamed.
11080 (ses-load): Create cells variables as the (ses-cell ...) are read,
11081 in order to check row col consistency with cell symbol name only
11082 for cells that are not renamed.
11083 (ses-replace-name-in-formula): New defun.
11084 (ses-rename-cell): New defun.
11085
ee957461
CY
110862011-12-11 Chong Yidong <cyd@gnu.org>
11087
11088 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11089 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11090
9a9e9ef0
MR
110912011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11092
11093 * window.el (other-window): Fix docstring.
11094
92a8eba5
EZ
110952011-12-10 Eli Zaretskii <eliz@gnu.org>
11096
11097 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11098 `from' or `to' address before taking its substring.
11099 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11100 encoded name is chopped in the middle of the encoded string, and
11101 thus displayed encoded.
11102
e152e577
JB
111032011-12-10 Juanma Barranquero <lekktu@gmail.com>
11104
11105 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11106
e5d84bfe
EZ
111072011-12-10 Eli Zaretskii <eliz@gnu.org>
11108
11109 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11110 to use texinfo-update-node and commands that call it if the
11111 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11112 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11113 (texinfo-all-menus-update, texinfo-master-menu)
11114 (texinfo-update-node, texinfo-every-node-update)
11115 (texinfo-multiple-files-update): Doc fix. Warn against updating
11116 all the @node lines.
11117 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11118 argument is numeric. Explain better in the doc string what the
11119 function really does.
11120 (texinfo-insert-master-menu-list): Improve the error message
11121 displayed if there's no menu in the Top node.
11122 (Bug#2975) See also this thread:
e5d84bfe
EZ
11123 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11124
1d84e9bb
MG
111252011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11126
11127 * speedbar.el (speedbar-supported-extension-expressions):
11128 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11129
382c953b
JB
111302011-12-09 Juanma Barranquero <lekktu@gmail.com>
11131
11132 * printing.el (pr-mode-alist):
11133 * simple.el (filter-buffer-substring-functions)
11134 (completion-list-insert-choice-function):
11135 * window.el (window-with-parameter, window-atom-root)
11136 (window-sides-slots, window-size-fixed, window-min-delta)
11137 (window-max-delta, window--resize-mini-window)
11138 (window--resize-child-windows-normal, window-tree)
11139 (delete-other-windows, quit-window, split-window)
11140 (display-buffer-record-window, special-display-buffer-names)
11141 (special-display-regexps, special-display-popup-frame)
11142 (same-window-p, split-window-sensibly)
11143 (display-buffer-overriding-action, display-buffer-alist)
11144 (display-buffer-base-action, display-buffer, switch-to-buffer)
11145 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11146 (fit-window-to-buffer, recenter-positions)
11147 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11148 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11149 and remove unneeded backslashes in docstrings.
11150
39c9faef
SM
111512011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11152
98449af8
SM
11153 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11154
39c9faef
SM
11155 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11156 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11157 end in ".mk".
11158 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11159 when reading the makefile (bug#10116).
11160
86ed9fdc
SM
111612011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11162
11163 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11164 (bug#10116).
11165
5580f89d
GM
111662011-12-06 Glenn Morris <rgm@gnu.org>
11167
11168 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11169
28d3917c
CY
111702011-12-06 Chong Yidong <cyd@gnu.org>
11171
11172 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11173
a98edce9
JB
111742011-12-06 Juanma Barranquero <lekktu@gmail.com>
11175
11176 * textmodes/table.el (table-shorten-cell): Fix typo.
11177
e65adfac
CG
111782011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11179
11180 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11181
71cc0b74
EZ
111822011-12-05 Eli Zaretskii <eliz@gnu.org>
11183
11184 * descr-text.el (describe-char): Fix display of strong
11185 right-to-left characters and directional embeddings and overrides.
11186
11187 * simple.el (what-cursor-position): Fix display of codepoints of
11188 strong right-to-left characters.
11189
315bc30d
CY
111902011-12-05 Chong Yidong <cyd@gnu.org>
11191
11192 * faces.el (read-color): Doc fix.
11193
58a70b94
GM
111942011-12-05 Glenn Morris <rgm@gnu.org>
11195
11196 * align.el (align--set-marker): Add doc-string.
11197 Don't try to move something that is not a marker. (Bug#10216)
11198
5158face
GM
111992011-12-04 Glenn Morris <rgm@gnu.org>
11200
11201 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11202 overly zealous deletion of trailing whitespace.
11203
520fca41
JB
112042011-12-04 Juanma Barranquero <lekktu@gmail.com>
11205
11206 * server.el (server-delete-client): On Windows, do not try to delete
11207 the only terminal.
11208 (server-process-filter): On Windows, treat requests for a tty frame as
11209 if they were for a GUI frame if the running server is in GUI mode.
11210
5e605a2e
GM
112112011-12-03 Glenn Morris <rgm@gnu.org>
11212
11213 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11214
5c3fe83f
SM
112152011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11216
6f5e57e7
SM
11217 * electric.el: Streamline electric-indent's hook.
11218 (electric-indent-chars): Revert to simple list.
11219 (electric-indent-functions): New var.
11220 (electric-indent-post-self-insert-function): Use it.
11221
5c3fe83f
SM
11222 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11223 there's no inferior buffer (bug#10196).
11224 (prolog-consult-compile): Don't use toggle-read-only.
11225
6bdac736
MA
112262011-12-02 Michael Albinus <michael.albinus@gmx.de>
11227
11228 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11229 interrupt. (Bug#10187)
11230
6131ba7f
SM
112312011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11232
99c79fee
SM
11233 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11234 (bug#9160).
11235
6131ba7f
SM
11236 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11237 (bug#10191).
11238
cb0a02ea
JL
112392011-12-02 Juri Linkov <juri@jurta.org>
11240
11241 * info.el (Info-search): Display "end of manual" when Isearch
11242 reaches the end of single-file Info manual. (Bug#9918)
11243
66e0570c
EZ
112442011-12-02 Eli Zaretskii <eliz@gnu.org>
11245
11246 * isearch.el (isearch-message-prefix): Run the input method part
11247 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11248
02b16839
JL
112492011-12-02 Juri Linkov <juri@jurta.org>
11250
11251 * isearch.el (isearch-occur): Use `word-search-regexp' for
11252 `isearch-word'.
11253 (isearch-search-and-update): Add condition for `isearch-word' and
11254 call `word-search-regexp'. (Bug#10145)
11255
0b950688
GM
112562011-12-01 Glenn Morris <rgm@gnu.org>
11257
11258 * eshell/em-hist.el (eshell-hist-initialize):
11259 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11260 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11261
9505c3c7
SM
112622011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11265
1bbe96b2 112662011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11267
a1beca85
SM
11268 * progmodes/verilog-mode.el (verilog-pretty-expr):
11269 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11270 verilog, such as += *= and the like.
11271 (verilog-assignment-operator-re): Regular expression to find the
11272 assigment operator in a verilog assignment.
11273 (verilog-assignment-operation-re): Regular expression to find an
11274 assignment statement for pretty-expr.
11275 (verilog-in-attribute-p): Query returns true if point is in an
11276 attribute context; used to skip these for expression line up from
11277 pretty-expr.
11278 (verilog-in-parameter-p): Query returns true if point is in an
11279 parameter definition context; used to skip these for expression
11280 line up from pretty-expr.
11281 (verilog-in-parenthesis-p): Query returns true if point is in a
11282 parenthetical expression, specifically ( ) but not [ ] or { };
11283 used by pretty-expr.
11284 (verilog-just-one-space): If there is no space, don't add one.
11285 (verilog-get-lineup-indent-2): Specifically skip just attribute
11286 contexts for expression lineup, rather than skipping all
11287 parenthetical expressions.
11288 (verilog-calculate-indent): Fix comment, and fix indent.
11289 (verilog-do-indent): Indent declarations in lists (suggested by
11290 Joachim Lechner).
11291 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11292 skeleton items.
11293 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11294 by Alain Mellan).
11295
1bbe96b2 112962011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11297
11298 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11299 parameters with embedded comments. Reported by Ray Stevens.
11300 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11301 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11302 Reported by Tim Holt.
11303 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11304 instantiated by upper module causing wrong expansion until AUTOed a
11305 second time. Reported by K C Buckenmaier.
11306 (verilog-diff-auto): Fix showing .* as a difference when
11307 `verilog-auto-star-save' off. Reported by Dan Dever.
11308 (verilog-auto-reset, verilog-read-always-signals)
11309 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11310 temporary signals in reset list if
11311 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11312 style to each signal's assignment type, bug381.
11313 Reported by Thomas Esposito.
6288f0ca
WS
11314 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11315 (verilog-uvm-statement-re): Support UVM indentation and
11316 highlighting, with old OVM keywords only.
a1beca85 11317 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11318 Support AUTOTIEOFF creating non-wire data types.
11319 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11320 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11321 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11322 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11323 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11324 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11325 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11326 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11327 non-numeric vector width. Reported by Alex Reed.
11328 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11329 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11330 (verilog-auto-delete-trailing-whitespace):
11331 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11332 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11333 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11334 Fix verilog-scan-cache corruption when running user AUTO expansion
11335 hooks that call indentation routines.
11336 (verilog-simplify-range-expression): Fix typo ignoring lower case
11337 identifiers.
11338 (verilog-delete-auto): Fix delete-autos to also remove user created
11339 automatics, as long as they start with AUTO.
11340 (verilog-batch-diff-auto, verilog-diff-auto)
11341 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11342 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11343 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11344 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11345 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11346 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11347 is disabled and its cache will get corrupt, causing AUTOS not to
11348 expand. Instead use only -quick functions.
11349 (verilog-scan-region): Fix scanning over escaped quotes.
11350 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11351 (verilog-re-search-backward-quick)
11352 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11353 related functions now ignore strings, to fix misparsing of strings
11354 with magic comments embedded in them.
a1beca85
SM
11355 (verilog-read-auto-template):
11356 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11357 Reported by Brad Dobbie.
11358 (verilog-read-auto-template):
11359 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11360 Reported by Brad Dobbie.
6288f0ca
WS
11361 (verilog-auto-inst, verilog-auto-inst-param)
11362 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11363 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11364 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11365 debugging templates without merge conflicts, bug357.
11366 Reported by Brad Dobbie.
11367 (verilog-read-auto-template):
11368 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11369 Reported by Brad Dobbie.
11370 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11371 abbrevs so user won't be asked to save.
11372 (verilog-read-auto-lisp-present): Fix to start at beginning of
11373 buffer in case called outside of verilog-auto.
11374 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11375 to "X-2". Reported by Matthew Myers.
11376 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11377 all inputs from module templates. Reported by Leith Johnson.
11378 (verilog-module-inside-filename-p): Fix locating programs as with
11379 modules.
11380 (verilog-auto-inst-port): Fix vl-width expressions when using
11381 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11382 (verilog-decls-get-regs, verilog-decls-get-signals,
11383 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11384 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11385 verilog-read-decls): Combine reg and wire structures into one var
11386 structure to represent SystemVerilog concepts.
11387 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11388 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11389 (verilog-auto-wire-type, verilog-insert-definition):
11390 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11391 SystemVerilog "logic" keyword instead of "wire"/"reg".
11392 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11393 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11394 ifdef or generate if so there's not a driver conflict).
11395 Reported by Matthew Myers.
11396 (verilog-auto-declare-nettype, verilog-insert-definition):
11397 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11398 `default_nettype none. Reported by Julian Gorfajn.
11399 (verilog-read-always-signals-recurse, verilog-read-decls)
11400 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11401 malformed end statement, bug325. Reported by Joshua Wise and
11402 Andrew Drake.
11403 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11404 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11405 when expanding .* in interfaces, bug320.
11406 Reported by Pierre-David Pfister.
6288f0ca 11407 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11408 name and open parenthesis, bug317.
11409 Reported by Pierre-David Pfister.
6288f0ca
WS
11410 (verilog-simplify-range-expression): Fix simplification of
11411 multiplications inside AUTOWIRE connections, bug303.
11412 (verilog-auto-inst-port): Support parameter expansion in
11413 multidimensional arrays.
11414 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11415 after "assert property". Reported by Julian Gorfajn.
11416 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11417 with multiplication, bug303.
11418 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11419 Reported by Jan Frode Lonnum.
11420
1bbe96b2
GM
114212011-11-30 Juanma Barranquero <lekktu@gmail.com>
11422
11423 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11424 (hfy-shell-file-name, hfy-shell):
11425 * international/fontset.el (x-decompose-font-name): Fix typos.
11426
114272011-11-29 Ken Brown <kbrown@cornell.edu>
11428
11429 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11430 (gdb-version): Remove defvar.
11431 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11432 (gdb-gud-context-command, gdb-non-stop-handler)
11433 (gdb-current-context-command, gdb-stopped): Use it.
11434 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11435 (gdb-non-stop-handler): Don't enable pretty-printing here.
11436 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11437 non-stop mode. Use the following.
11438 (gdb-check-target-async): New defun.
11439 (gud-watch, gdb-stopped): Fix whitespace.
11440 (gdb-get-source-file): Don't try to display the source file if
11441 `gdb-main-file' is nil.
11442
114432011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11444
11445 * align.el: Try to generate fewer markers (bug#10047).
11446 (align--set-marker): New macro.
11447 (align-region): Use it.
11448
c935221f
SM
114492011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11450
11451 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11452
e70b5064
CY
114532011-11-29 Chong Yidong <cyd@gnu.org>
11454
11455 * indent.el (indent-for-tab-command, indent-according-to-mode):
11456 Doc fix.
11457 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11458
f3af92b7
MA
114592011-11-29 Michael Albinus <michael.albinus@gmx.de>
11460
11461 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11462 aware of remote file names. (Bug#10124)
11463
ed472be9
CY
114642011-11-29 Chong Yidong <cyd@gnu.org>
11465
11466 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11467
24510c22
SM
114682011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11469
11470 * files.el (find-file): Don't use force-same-window (bug#10144).
11471 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11472 use pop-to-buffer if the selected window can't be used.
11473 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11474
c60c3703
EZ
114752011-11-28 Eli Zaretskii <eliz@gnu.org>
11476
11477 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11478 special-mode-map.
11479
e95def75
CY
114802011-11-28 Chong Yidong <cyd@gnu.org>
11481
11482 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11483
c3f1c606
NR
114842011-11-27 Nick Roberts <nickrob@snap.net.nz>
11485
11486 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11487 gdb-get-source-file-list on gdb-create-source-file-list.
11488
00db469c
EZ
114892011-11-26 Eli Zaretskii <eliz@gnu.org>
11490
11491 * whitespace.el (whitespace-newline): Use a different foreground
11492 color for 16-color light-background displays.
11493
4ad3bc2a
CY
114942011-11-24 Chong Yidong <cyd@gnu.org>
11495
11496 * window.el (display-buffer--special-action): Doc fix.
11497
e9fce1ac
JB
114982011-11-25 Juanma Barranquero <lekktu@gmail.com>
11499
11500 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11501 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11502 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11503 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11504 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11505 (avl-tree-stack-first):
11506 * emacs-lisp/cconv.el (cconv--analyse-use):
11507 * net/gnutls.el (gnutls-negotiate): Fix typos.
11508
cb825e5d
GM
115092011-11-24 Glenn Morris <rgm@gnu.org>
11510
3adbe224
GM
11511 * lpr.el (lpr-windows-system, lpr-lp-system):
11512 * mail/binhex.el (binhex-begin-line):
11513 * progmodes/grep.el (grep-history, grep-find-history):
11514 * textmodes/flyspell.el:
11515 * vc/pcvs-defs.el (cvs-global-menu):
11516 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11517 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11518 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11519
321decc8
GM
11520 * net/tls.el: Fix case of "GnuTLS".
11521
420b63ad
GM
11522 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11523
cb825e5d
GM
11524 * version.el (emacs-build-system): Give it a doc-string.
11525
a0649f08
JL
115262011-11-24 Juri Linkov <juri@jurta.org>
11527
11528 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11529
c0bc0fd4
GM
115302011-11-24 Glenn Morris <rgm@gnu.org>
11531
11532 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11533 if called on a non-mime message just toggle the headers. (Bug#8006)
11534
20db1522
JB
115352011-11-24 Juanma Barranquero <lekktu@gmail.com>
11536
11537 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11538 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11539 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11540 (allout-rebullet-heading, allout-open-sibtopic)
11541 (allout-toggle-current-subtree-encryption)
11542 (allout-toggle-subtree-encryption, allout-encrypt-string)
11543 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11544 (allout-distinctive-bullets-string, allout-auto-activation):
11545 * window.el (window-normalize-buffer-to-display):
11546 * progmodes/verilog-mode.el (verilog-batch-indent):
11547 * textmodes/bibtex.el (bibtex-field-braces-opt)
11548 (bibtex-field-strings-opt):
11549 * vc/cvs-status.el (cvs-tree-merge):
11550 Fix typos.
11551
7262a87c
MA
115522011-11-23 Michael Albinus <michael.albinus@gmx.de>
11553
11554 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11555 `non-essential' to t, in order to avoid remote connections.
11556
283430a1
EZ
115572011-11-23 Eli Zaretskii <eliz@gnu.org>
11558
a1beca85
SM
11559 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11560 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
11561 case-insensitively.
11562
d2992a38
ML
115632011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
11564
11565 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
11566
50419064
GM
115672011-11-23 Glenn Morris <rgm@gnu.org>
11568
da94eca1
GM
11569 * paths.el (rmail-file-name): Reformat the doc-string so that it
11570 is picked up.
11571
9aac4de2
GM
11572 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11573 (rmail-auto-file): Ignore case in the "special" field names,
11574 as mail-fetch-field does for all others.
11575
8038d2d2
GM
11576 * mail/rmail.el (rmail-forward):
11577 * mail/rmailkwd.el (rmail-set-label):
11578 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11579 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
11580
f3fe222a
GM
11581 * mail/rmail.el (rmail-current-message): Doc fix.
11582
50419064
GM
11583 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
11584
28109f49
SM
115852011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * server.el (server-eval-and-print): Allow C-g (bug#6585).
11588
394c65f1
GM
115892011-11-22 Glenn Morris <rgm@gnu.org>
11590
11591 * mail/rmailmm.el (test-rmail-mime-handler)
11592 (test-rmail-mime-bulk-handler)
11593 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11594
f2a0aa3a
JL
115952011-11-21 Juri Linkov <juri@jurta.org>
11596
1154d12e
JB
11597 * calc/calc.el (calc-read-key-sequence):
11598 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 11599
9c34a344
LMI
116002011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11601
11602 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11603 Tell the caller that the next line needs recomputation, even
11604 though it doesn't start a sexp (bug#10094).
11605
f04a3be9
SM
116062011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
11607
11608 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11609
7978747f
SM
116102011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11611
f04a3be9
SM
11612 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11613 Use force-same-window.
7978747f 11614
fe7a3057
JB
116152011-11-20 Juanma Barranquero <lekktu@gmail.com>
11616
11617 * descr-text.el (describe-char-unicode-data):
11618 * json.el (json-string-escape):
11619 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11620 (Footnote-unicode, Footnote-style-p):
11621 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11622
24901d61
CY
116232011-11-20 Chong Yidong <cyd@gnu.org>
11624
11625 * window.el (replace-buffer-in-windows): Restore interactive spec.
11626
bac7ff22
SM
116272011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
11628
24f3d7b9
SM
11629 * electric.el (electric-indent-mode): Fix last change (too optimistic).
11630
bac7ff22
SM
11631 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11632 (byte-compile-global-not-obsolete-vars): New var.
11633 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11634 Use it.
11635 (byte-compile-warn-obsolete): Align text with the one in *Help*.
11636
cd1181db
JB
116372011-11-20 Juanma Barranquero <lekktu@gmail.com>
11638
11639 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11640 * progmodes/pascal.el (electric-pascal-equal):
11641 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11642 * xml.el (xml-substitute-special): Fix typos.
11643
7fb18e9e
GM
116442011-11-20 Glenn Morris <rgm@gnu.org>
11645
11646 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11647 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11648 Doc fixes.
11649 (rmail-decode-mime-charset): Mark as obsolete.
11650
11651 * mail/rmailsum.el (rmail-message-regexp-p-1):
11652 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11653 Before using mime functions, check they are set. (Bug#10077)
11654
d5a6b3ba
JL
116552011-11-19 Juri Linkov <juri@jurta.org>
11656
11657 * info.el (Info-finder-find-node): Use `package--builtins' instead
11658 of `package-alist'. Use node names formed by the pattern "Keyword "
11659 and the keyword name.
11660
e981b61f
AS
116612011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11662
1d00653d 11663 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 11664
3ffbc301
JL
116652011-11-19 Juri Linkov <juri@jurta.org>
11666
11667 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11668 that calls `revert-buffer' on all Info buffers. (Bug#9915)
11669 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11670 `old-history', `old-history-forward'. Add let-binding
11671 `window-selected'. Remove calls to `kill-buffer',
11672 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
11673 before calling `Info-find-node', so `Info-find-node-2' will reread
11674 the Info file. Restore window positions only when `window-selected'
11675 is non-nil.
11676
30c62133
JL
116772011-11-19 Juri Linkov <juri@jurta.org>
11678
11679 * isearch.el (isearch-lazy-highlight-new-loop):
11680 Remove condition `(not isearch-error)'. (Bug#9918)
11681
11682 * misearch.el (multi-isearch-search-fun): Add condition
11683 `(not bound)' to ignore lazy-highlighting search.
11684 Add the search-failed message "end of multi" when the end of
11685 multi-sequence is reached. Uncapitalize the search-failed
11686 message "Repeat for next buffer".
11687
11688 * info.el (Info-search): Add the search-failed message
11689 "end of the manual" when the end of the manual is reached
11690 in Isearch mode.
11691
645ca9cf
JL
116922011-11-19 Juri Linkov <juri@jurta.org>
11693
11694 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11695 Use non-destructive `remove' instead of `delete' because
11696 `Info-history-list' stored to `Info-isearch-initial-history-list' in
11697 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11698
df754f66
JL
116992011-11-19 Juri Linkov <juri@jurta.org>
11700
11701 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11702 to nil instead of binding `search-ring' and `regexp-search-ring'.
11703 (Bug#9185)
11704
0e23d96a
EZ
117052011-11-19 Eli Zaretskii <eliz@gnu.org>
11706
11707 * simple.el (line-move): Force movement by logical lines for any
11708 hscrolled window, not only when auto-hscroll-mode is on.
11709 (line-move-visual): Update doc string to that effect. (Bug#10076)
11710
8a6ccb66
AS
117112011-11-19 Andreas Schwab <schwab@linux-m68k.org>
11712
11713 * language/european.el (macintosh): Define as alias for mac-roman.
11714
49ae5b39
EZ
117152011-11-19 Eli Zaretskii <eliz@gnu.org>
11716
11717 * mail/rmailmm.el (rmail-mime-display-header)
11718 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11719 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11720 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11721 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11722 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11723 of a raw aref.
11724 (rmail-mime-entity-segment): To get past the tagline, move forward
11725 2 more lines, to account for the 2 empty lines that precede and
11726 follow the line with the buttons.
11727 (rmail-mime-update-tagline): Move one more line, to get past the
11728 empty line that follows the buttons in the tagline. (Bug#9520)
11729
c56cad4a
MR
117302011-11-19 Martin Rudalics <rudalics@gmx.at>
11731
11732 * window.el (window-max-delta-1, window-min-delta-1)
11733 (window-min-size-1, window-state-get-1, window-state-put-1)
11734 (window-state-put-2): Use "window--" prefix.
11735
cbe71af3
SM
117362011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
11737
2ad52c60
SM
11738 * emacs-lisp/smie.el: Improve warnings and conflict detection.
11739 (smie-warning-count): New var.
11740 (smie-set-prec2tab): Use it.
11741 (smie-bnf->prec2): Improve warnings. Add docstring.
11742 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11743 (smie-bnf--set-class): New function.
11744 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
11745 corner case.
11746
6944dbc1
SM
11747 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11748 (compilation-error-properties, compilation-move-to-column):
11749 Handle compilation-first-column while in the target buffer.
11750
c400c4d7
SM
11751 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11752 Don't hardcode point-min==1.
11753
6dbe3e96
SM
11754 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11755 (eshell-rewrite-for-command): Remove workaround.
11756 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11757 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11758 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11759
cbe71af3
SM
11760 * files-x.el (modify-file-local-variable): Obey commenting conventions.
11761
a8e1496d
GM
117622011-11-17 Glenn Morris <rgm@gnu.org>
11763
11764 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11765 Ignore buffer-local generated-autoload-file if it is the same
11766 as the global value. (Bug#10049)
11767
df85d315
JB
117682011-11-17 Juanma Barranquero <lekktu@gmail.com>
11769
11770 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11771 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11772 (reftex-toc-previous-heading, reftex-toc-max-level)
11773 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11774 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11775 (reftex-toc-do-promote, reftex-toc-promote-prepare)
11776 (reftex-toc-promote-action, reftex-toc-extract-section-number)
11777 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11778 (reftex-toc-rename-label, reftex-toc-visit-location)
11779 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11780 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11781 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11782 leaving "*toc*" only for references to the buffer.
11783
a0c2d0ae
MR
117842011-11-17 Martin Rudalics <rudalics@gmx.at>
11785
11786 * window.el (window-resize, delete-window, split-window):
11787 Replace window-splits by window-combination-resize.
1d00653d 11788 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 11789
35c0bac8
GM
117902011-11-17 Glenn Morris <rgm@gnu.org>
11791
11792 * progmodes/sh-script.el (sh-font-lock-keywords-var):
11793 Make bash entry derive from sh entry, not shell entry.
11794
d0c8fc8a
MA
117952011-11-16 Michael Albinus <michael.albinus@gmx.de>
11796
7262a87c
MA
11797 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11798 local file name.
11799
7877f373
JB
118002011-11-16 Juanma Barranquero <lekktu@gmail.com>
11801
11802 * menu-bar.el (menu-bar-file-menu):
11803 * printing.el (pr-ps-utility):
11804 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11805 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11806 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11807 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11808 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11809 (icalendar--convert-cyclic-to-ical)
11810 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11811 (icalendar--convert-ical-to-diary)
11812 (icalendar--convert-recurring-to-diary)
11813 (icalendar--convert-non-recurring-all-day-to-diary)
11814 (icalendar-import-format-sample):
11815 * progmodes/idlw-shell.el (idlwave-shell-mode):
11816 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11817 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11818 (vhdl-ps-print-init): Fix typos.
11819
10649b82
KM
118202011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
11821
9d0cfcd6
GM
11822 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11823 FSF and collapse date sequence, obscure author/maintainer email address
11824 better, remove extra version line, track relocation of author's webpage.
10649b82 11825
9d0cfcd6
GM
11826 * progmodes/python.el (python-pdbtrack-input-prompt)
11827 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11828 regular python pdb prompts. Adjustments shamelessly taken exactly as
11829 suggested in EmacsWiki page (tiny change):
11830 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 11831
58179cce
JB
118322011-11-16 Juanma Barranquero <lekktu@gmail.com>
11833
11834 * expand.el (expand-pos, expand-index, expand-point):
11835 Remove redundant info from docstring.
11836 (expand-add-abbrevs): Doc fix.
11837 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11838 (expand-sample-perl-mode-expand-list): Fix typos.
11839
11840 * net/dbus.el (dbus-event-member-name):
11841 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11842 * term/pc-win.el (msdos-create-frame-with-faces):
11843 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11844
b6f67890
MR
118452011-11-16 Martin Rudalics <rudalics@gmx.at>
11846
11847 * window.el (split-window, window-state-get-1)
11848 (window-state-put-1, window-state-put-2): Rename occurrences of
11849 window-nest to window-combination-limit.
1d00653d 11850 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 11851
ce7ddba0
CY
118522011-11-16 Chong Yidong <cyd@gnu.org>
11853
11854 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11855 regexp (Bug#10033).
11856
3ae704f4
SM
118572011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
11858
11859 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11860 `completing-read' will remove *Completions* and will preserve
11861 current-buffer for us.
11862 (tmm-add-prompt): Users of *Completions* will always (re)set its
11863 major mode.
11864 (tmm-old-comp-map): Remove.
11865
6ad1cdde
GM
118662011-11-16 Glenn Morris <rgm@gnu.org>
11867
11868 * mail/rmailedit.el: Require rmailmm when compiling.
11869 (rmail-old-mime-state): New declaration.
11870 (rmail-edit-current-message): If editing a mime message,
11871 edit the "raw" message from the mbox buffer.
11872 (rmail-cease-edit): Handle mime messages. (Bug#9840)
11873
d20faa20
GM
118742011-11-15 Glenn Morris <rgm@gnu.org>
11875
11876 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11877 which wasn't being used. Add optional arg to force given state.
11878 (rmail-mime): Add optional arg to force given state.
11879
c7015153
JB
118802011-11-15 Juanma Barranquero <lekktu@gmail.com>
11881
11882 * allout.el (allout-encryption-plaintext-sanitization-regexps):
11883 * frame.el (display-mm-dimensions-alist):
11884 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11885 (outline-move-subtree-down):
11886 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11887 (newsticker--treeview-do-get-node):
11888 * net/quickurl.el (quickurl-list-buffer-name):
11889 * progmodes/dcl-mode.el (dcl-mode):
11890 * progmodes/gdb-mi.el (gdb-mapcar*):
11891 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11892
45261b50
GM
118932011-11-15 Glenn Morris <rgm@gnu.org>
11894
11895 * mail/rmail.el (rmail-file-coding-system): It's only ever used
11896 in a boolean sense, so just make it a boolean, and fix the doc.
11897 (rmail-show-mime-function, rmail-mime-feature)
11898 (rmail-require-mime-maybe): Doc fixes.
11899 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11900
11901 * mail/rmailmm.el (rmail-show-mime): Doc fix.
11902
0d26e0b6
JB
119032011-11-15 Juanma Barranquero <lekktu@gmail.com>
11904
11905 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11906 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11907 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11908 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11909
447f30f6
GM
119102011-11-15 Glenn Morris <rgm@gnu.org>
11911
672b871d
GM
11912 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11913 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11914 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11915 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11916 (rmail-mime, rmail-show-mime): Doc fixes.
11917
f6aa5bb1
GM
11918 * term/ns-win.el (mode-line-frame-identification):
11919 Leave it alone. (Bug#10051)
11920
947cd66b
GM
11921 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
11922
447f30f6
GM
11923 * mail/rmailout.el (rmail-output-to-rmail-buffer):
11924 Handle empty buffers. (Bug#9978)
11925
0b381c7e
JB
119262011-11-14 Juanma Barranquero <lekktu@gmail.com>
11927
11928 * international/mule.el (define-charset):
11929 * mail/rmailmm.el (rmail-mime-find-header-encoding):
11930 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11931 * progmodes/verilog-mode.el (verilog-backward-token):
11932 * textmodes/ispell.el (lookup-words):
11933 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11934
71e027ac
GM
119352011-11-14 Glenn Morris <rgm@gnu.org>
11936
56632ce4
GM
11937 * progmodes/executable.el
11938 (executable-make-buffer-file-executable-if-script-p):
11939 Handle file-modes returning nil.
11940
40500957
GM
11941 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11942 message - not necessary, and causes problems. (Bug#9831)
11943
071c2340
GM
11944 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11945
d3cfca60
GM
11946 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11947
71e027ac
GM
11948 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11949 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
11950 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11951
89d61221
MR
119522011-11-12 Martin Rudalics <rudalics@gmx.at>
11953
11954 * window.el (window-resize, delete-window): Use window-splits
11955 variable instead of function.
11956 (window-state-get-1, window-state-put-2, window-state-put):
11957 Don't deal with windows' splits status.
11958
98282f6f
GM
119592011-11-12 Glenn Morris <rgm@gnu.org>
11960
11961 * apropos.el (apropos-do-all, apropos-library, apropos-value)
11962 (apropos-documentation): Doc fixes.
11963
40a8bdf6
JB
119642011-11-11 Juanma Barranquero <lekktu@gmail.com>
11965
11966 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11967 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11968
65bd19ff
SM
119692011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * electric.el (electric-indent-post-self-insert-function): Make it
11972 possible for a char to only indent in some circumstances.
11973 (electric-indent-mode): Simplify.
11974
54f9154c
MR
119752011-11-11 Martin Rudalics <rudalics@gmx.at>
11976
11977 * window.el (windows-with-parameter): Remove unused function.
11978 (windows-at-side): Rename to window-at-side-list.
11979 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
11980 (window-side-check, window-size-ignore, window-size-fixed-1)
11981 (window-in-direction-2): Prefix with "window--".
11982 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 11983
68cbc58b
GM
119842011-11-11 Glenn Morris <rgm@gnu.org>
11985
11986 * subr.el (eval-after-load): If FILE is already loaded,
11987 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
11988
b2621720
GM
119892011-11-10 Glenn Morris <rgm@gnu.org>
11990
9a4de110
GM
11991 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11992 Call svn via vc-svn-command rather than vc-do-command.
11993 (vc-svn-command): Add --non-interactive. (Bug#9993)
11994 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11995
b2621720
GM
11996 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11997 Add toggle-read-only. (Bug#7292)
11998 * files.el (toggle-read-only): Mention that it should only
11999 be used interactively. (Bug#10006)
12000
1dce7193
SM
120012011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12002
d9ac1a1e
SM
12003 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12004 Adjust regexp for OCaml warnings.
12005
0c325082
SM
12006 * electric.el (electric-pair-post-self-insert-function): Let user
12007 turn it off buffer-locally (bug#9932).
12008
90132c14
SM
12009 * progmodes/python.el (python-beginning-of-statement):
12010 Rewrite (bug#2703).
12011
1dce7193
SM
12012 * progmodes/compile.el: Better handle TABs (bug#9749).
12013 (compilation-internal-error-properties)
12014 (compilation-next-error-function): Obey the target buffer's
12015 compilation-error-screen-columns.
12016
c4e7c63a
JB
120172011-11-09 Juanma Barranquero <lekktu@gmail.com>
12018
12019 * progmodes/meta-mode.el: Remove obsolete comments.
12020 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12021 Fix typos in docstrings.
12022
2cffd681
MR
120232011-11-09 Martin Rudalics <rudalics@gmx.at>
12024
12025 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12026 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12027 (window--resizable): New function. Make all callers of
12028 window-resizable call window--resizable instead.
12029 (window-resizable): Rewrite in terms of window--resizable.
12030
0edcba87
GM
120312011-11-08 Glenn Morris <rgm@gnu.org>
12032
12033 * progmodes/delphi.el (delphi-mode-syntax-table):
12034 Let define-derived-mode define a proper syntax table. (Bug#9994)
12035
4b0d61e3
SM
120362011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * window.el: Stay away from defsubst.
12039 (window-list-no-nils): Remove.
12040 (window-state-get-1, window-state-get): Use backquote instead.
12041
cd394be1 120422011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12043
4b0d61e3 12044 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12045 Fix incorrect use of default argument in `completing-read'.
12046
e1c2c6f2
MR
120472011-11-08 Martin Rudalics <rudalics@gmx.at>
12048
12049 * window.el (display-buffer-function, special-display-function):
12050 Mention display-buffer-record-window but do not mention
12051 help-setup parameter in doc-strings.
b3f4a882 12052 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12053
105216ed
CY
120542011-11-08 Chong Yidong <cyd@gnu.org>
12055
12056 * window.el (window-total-height, window-total-width): Doc fix.
12057 (window-body-size): Move from C.
12058 (window-body-height, window-body-width): Move to C.
12059
0a9f9ab5
SM
120602011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * window.el: Make special-display like display-buffer-alist (bug#9532).
12063 (display-buffer--special-action): New function, morphed
12064 from display-buffer--special.
12065 (display-buffer): Use it to handle special-display-buffers at higher
12066 priority (just after display-buffer-alist).
12067 (display-buffer-fallback-action, display-buffer--other-frame-action)
12068 (pop-to-buffer-same-window): Remove display-buffer--special.
12069
a769dd15
GM
120702011-11-07 Glenn Morris <rgm@gnu.org>
12071
12072 * calendar/cal-menu.el (cal-menu-set-date-title):
12073 Do nothing if not in a calendar. (Bug#9976)
12074
05a61ee3
SM
120752011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * files.el (find-file): Always use selected-window.
12078
be7f5545
MR
120792011-11-07 Martin Rudalics <rudalics@gmx.at>
12080
12081 * window.el (window-combinations): Make WINDOW argument
12082 mandatory. Rewrite doc-string.
12083 (walk-window-subtree, window-atom-check, window-min-delta)
12084 (window-max-delta, window--resize-this-window)
12085 (window--resize-root-window-vertically, window-tree)
12086 (balance-windows, window-state-put): Rewrite doc-strings as to
12087 not mention the term "subwindow".
12088 (window--resize-subwindows-skip-p): Rename to
12089 window--resize-child-windows-skip-p.
12090 (window--resize-subwindows-normal): Rename to
12091 window--resize-child-windows-normal.
12092 (window--resize-subwindows): Rename to
12093 window--resize-child-windows.
12094 (window-or-subwindow-p): Rename to window--in-subtree-p.
12095
3c6702ef
ML
120962011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12097
12098 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12099 Ensure that mbox format messages end in two newlines (Bug#9974).
12100
49745b39
CY
121012011-11-06 Chong Yidong <cyd@gnu.org>
12102
12103 * window.el (window-combination-p): Function deleted; its
12104 side-effect is not used in any existing code.
12105 (window-combinations, window-combined-p): Call window-*-child
12106 directly.
12107
24300f5f
CY
121082011-11-05 Chong Yidong <cyd@gnu.org>
12109
12110 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12111 (window-size-ignore, window-state-get): Callers changed.
12112 (window-normalize-window): Rename from window-normalize-any-window.
12113 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12114 (window-normalize-live-window): Delete.
447f16b8
CY
12115 (window-combination-p, window-combined-p, window-combinations)
12116 (walk-window-subtree, window-atom-root, window-min-size)
12117 (window-sizable, window-sizable-p, window-size-fixed-p)
12118 (window-min-delta, window-max-delta, window-resizable)
12119 (window-resizable-p, window-full-height-p, window-full-width-p)
12120 (window-current-scroll-bars, window-point-1, set-window-point-1)
12121 (window-at-side-p, window-in-direction, window-resize)
12122 (adjust-window-trailing-edge, maximize-window, minimize-window)
12123 (window-deletable-p, delete-window, delete-other-windows)
12124 (record-window-buffer, unrecord-window-buffer)
12125 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12126 (quit-window, split-window, window-state-put)
12127 (set-window-text-height, fit-window-to-buffer)
12128 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12129
89bd5ee1
EZ
121302011-11-04 Eli Zaretskii <eliz@gnu.org>
12131
53479029
EZ
12132 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12133 rfc2047-decode-string.
12134 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12135 warnings.
12136
89bd5ee1
EZ
12137 * window.el (window-body-height, window-body-width): Mention in
12138 the doc string that the return values are in frame's canonical
12139 units. (Bug#9949)
12140
bd17fdee
AM
121412011-11-03 Alan Mackenzie <acm@muc.de>
12142
12143 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12144 change in cc-engine.el.
12145
acc825c5
SM
121462011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12149
1885e5b8
MR
121502011-11-02 Martin Rudalics <rudalics@gmx.at>
12151
12152 * window.el (quit-window): Call unrecord-window-buffer after
12153 showing another buffer in the window. (Bug#9937)
acc825c5 12154 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12155
ebe06da9
JB
121562011-11-02 Juanma Barranquero <lekktu@gmail.com>
12157
12158 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12159 Accept status with more than 9 shelves. (Bug#9935)
12160 Reported by Colin D Bennett <colin@gibibit.com>.
12161
4ee88440
MR
121622011-11-01 Martin Rudalics <rudalics@gmx.at>
12163
12164 * help.el (with-help-window): Don't reference
12165 temp-buffer-show-specifiers in doc-string.
12166
08e1d82c
AS
121672011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12168
12169 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12170 menu-item.
12171
84bd6e9e
VJL
121722011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12173
12174 * whitespace.el: New version 13.2.2.
12175 (whitespace-newline-mode): Disable properly. Reported by Sarah
12176 <EmacsWiki>.
12177
dba0634a
UJ
121782011-10-30 Ulf Jasper <ulf.jasper@web.de>
12179
12180 * net/newst-treeview.el: Remove "Time-stamp".
12181 (newsticker--group-manage-orphan-feeds): Do not call
12182 newsticker--treeview-tree-update.
db22a3c2
JB
12183 (newsticker-treeview-update, newsticker-treeview):
12184 Call newsticker--treeview-tree-update if necessary.
dba0634a 12185
3d8daefe
MR
121862011-10-30 Martin Rudalics <rudalics@gmx.at>
12187
12188 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12189 (window-iso-combinations): Remove "iso-" infix.
12190 Suggested by Chong Yidong.
3d8daefe
MR
12191 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12192 (window-max-delta-1, window-resize, window--resize-siblings)
12193 (window--resize-this-window, adjust-window-trailing-edge)
12194 (split-window, balance-windows-1)
12195 (shrink-window-if-larger-than-buffer):
12196 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12197 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12198
1bc4c3ae
SM
121992011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12200
12201 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12202 in place (bug#9907).
12203 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12204 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12205 (eshell-structure-basic-command, eshell-rewrite-while-command)
12206 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12207 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12208 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12209 (eshell-do-pipelines-synchronously, eshell-eval-command):
12210 Use backquotes and prefer setq to set.
12211 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12212 (eshell-macrop): Use functionp.
c1e2f5fa 12213 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12214
30b65d9c
CY
122152011-10-30 Chong Yidong <cyd@gnu.org>
12216
12217 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12218 instead of set-mark (Bug#9810).
12219
2d197ffb
CY
122202011-10-30 Chong Yidong <cyd@gnu.org>
12221
12222 * window.el (split-window-below, split-window-right): Rename from
12223 split-window-above-each-other and split-window-side-by-side
12224 respectively. All callers changed.
12225 (split-window-sensibly, split-window-sensibly): Use them.
12226 (split-window-keep-point): Doc fix.
12227
12228 * isearch.el: Add isearch-scroll property to split-window-below
12229 and split-window-right.
12230
12231 * follow.el (follow-mode):
12232 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12233 * progmodes/ada-xref.el (ada-gdb-application):
12234 * emulation/vip.el (vip-buffer-in-two-windows):
12235 * image-dired.el (image-dired-dired-with-window-configuration):
12236 * dired-x.el (dired-do-find-marked-files):
12237 * dired.el (dired-pop-to-buffer):
12238 * bs.el (bs--show-with-configuration):
12239 * vc/emerge.el (emerge-setup-windows):
12240 * textmodes/two-column.el (2C-two-columns):
12241 * textmodes/reftex-toc.el (reftex-toc):
12242 * progmodes/gdb-mi.el (gdb-setup-windows):
12243 * progmodes/fortran.el (fortran-window-create):
12244 * net/newst-treeview.el (newsticker--treeview-window-init):
12245 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12246 * emulation/tpu-edt.el (tpu-gold-map):
12247 * emulation/crisp.el (crisp-mode-map):
12248 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12249
38bb2ca8
CY
122502011-10-29 Chong Yidong <cyd@gnu.org>
12251
aa4de341
CY
12252 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12253
e1eb5385
CY
12254 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12255
5d2ece3c
CY
12256 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12257 forged Ispell output (Bug#7904).
12258
38bb2ca8
CY
12259 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12260
d0af9f77
SM
122612011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * doc-view.el: Avoid ugly errors about not finding nil.
12264 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12265 (doc-view-dvipdf-program, doc-view-unoconv-program)
12266 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12267 Avoid nil or absolute file name as default value.
12268 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12269
52bedd34
AM
122702011-10-28 Alan Mackenzie <acm@muc.de>
12271
db22a3c2 12272 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12273
7e43cfa5
AM
122742011-10-28 Alan Mackenzie <acm@muc.de>
12275
12276 Amend the handling of c-beginning/end-of-defun in nested declaration
12277 scopes.
12278
52bedd34
AM
12279 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12280 cc-langs.el. Change it to a defcustom.
7e43cfa5 12281
52bedd34
AM
12282 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12283 cc-vars.el.
7e43cfa5 12284
d0af9f77
SM
12285 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12286 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12287
52bedd34 12288 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12289 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12290 (c-widen-to-enclosing-decl-scope): New function.
12291 (c-while-widening-to-decl-block): New macro.
12292 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12293 outward for defun boundaries, and correspondingly change symbol
12294 `respect-enclosure' to `go-outward'.
12295 (c-declaration-limits): Change algorithm to report only the "innermost"
12296 defun's boundaries.
12297
1a2ce9ee
DD
122982011-10-28 Deniz Dogan <deniz@dogan.se>
12299
12300 * net/rcirc.el (rcirc-mode): Use hard newlines.
12301
bc97a826
AM
123022011-10-28 Alan Mackenzie <acm@muc.de>
12303
12304 Amend to indent and fontify macros "which include their own semicolon"
12305 correctly, using the "virtual semicolon" mechanism.
12306
52bedd34 12307 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12308
d0af9f77 12309 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12310 Recode to scan one line at a time rather than having \n and \r
58179cce 12311 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12312 (c-forward-label): Amend for virtual semicolons.
58179cce 12313 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12314
52bedd34
AM
12315 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12316 of the new C macros.
bc97a826 12317
52bedd34 12318 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12319 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12320 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12321 (c-opt-cpp-macro-define): Make into a full language variable.
12322 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12323 AWK Mode (including \n, \r) removed, no longer needed.
12324
d0af9f77
SM
12325 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12326 Invoke c-make-macro-with-semi-re.
bc97a826 12327
52bedd34
AM
12328 * progmodes/cc-vars.el (c-macro-with-semi-re):
12329 (c-macro-names-with-semicolon): New variables.
58179cce 12330 (c-make-macro-with-semi-re): New function.
bc97a826 12331
7a6c0941
SM
123322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12333
12334 * vc/log-edit.el: Fill empty field rather than adding new one.
12335 (log-edit-add-field): New function.
12336 (log-edit-insert-changelog): Use it.
12337
b0c4cdcf
ML
123382011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12339
12340 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12341
ee1f1da9
SM
123422011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12343
12344 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12345 (gdb--check-interpreter): New function.
12346 (gdb): Use it.
12347
51bc5f8b
GM
123482011-10-27 Glenn Morris <rgm@gnu.org>
12349
416a2c45
GM
12350 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12351 (least-positive-float, least-negative-float)
12352 (least-positive-normalized-float, least-negative-normalized-float)
12353 (float-epsilon, float-negative-epsilon):
12354 Remove unnecessary declarations.
12355
12356 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12357 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12358 (least-positive-float, least-negative-float)
12359 (least-positive-normalized-float, least-negative-normalized-float)
12360 (float-epsilon, float-negative-epsilon): Add doc-strings,
12361 based on those in cl.texi.
12362
51bc5f8b
GM
12363 * files.el (set-visited-file-name): If the major-mode changed,
12364 reload the local variables. (Bug#9796)
12365
15de15c6
CY
123662011-10-27 Chong Yidong <cyd@gnu.org>
12367
12368 * subr.el (change-major-mode-after-body-hook): New hook.
12369 (run-mode-hooks): Run it.
12370
ee1f1da9
SM
12371 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12372 Use change-major-mode-before-body-hook.
15de15c6
CY
12373
12374 * simple.el (fundamental-mode):
12375 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12376 change introducing fundamental-mode-hook.
12377
5430d399
JB
123782011-10-26 Juanma Barranquero <lekktu@gmail.com>
12379
acc825c5 12380 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12381
ad74a69e
MA
123822011-10-26 Michael Albinus <michael.albinus@gmx.de>
12383
12384 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12385 tramp.el explicitly. (Bug#7583)
ad74a69e 12386
71d4c2a5
SM
123872011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12388
12389 * progmodes/octave-mod.el:
12390 * progmodes/octave-inf.el: Update maintainer.
12391
b1f6fa26
CY
123922011-10-26 Chong Yidong <cyd@gnu.org>
12393
12394 * subr.el (with-wrapper-hook): Rewrite doc.
12395
3f04efd6
MA
123962011-10-25 Michael Albinus <michael.albinus@gmx.de>
12397
12398 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12399 filenames "/method:foo:". (Bug#9793)
3f04efd6 12400
410488d3
SM
124012011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12402
12403 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12404 (bug#9865).
12405
c1ebb47e
GM
124062011-10-24 Glenn Morris <rgm@gnu.org>
12407
12408 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12409
7f5c46c7
MA
124102011-10-24 Michael Albinus <michael.albinus@gmx.de>
12411
12412 * notifications.el: Add the requirement of a running D-Bus session
12413 bus to the Commentary.
12414
db2440b6
JL
124152011-10-24 Juri Linkov <juri@jurta.org>
12416
12417 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12418 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12419 (Bug#9364)
12420
feecf435
JL
124212011-10-24 Juri Linkov <juri@jurta.org>
12422
12423 * info.el (Info-following-node-name-re): Add newline to the list
12424 of allowed characters for leading space. (Bug#9824)
12425
a3839de2
SM
124262011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12427
acc825c5
SM
12428 * progmodes/octave-inf.el (inferior-octave-mode-map):
12429 Fix C-c C-h binding.
a3839de2
SM
12430 * progmodes/octave-mod.el (octave-help): Remove.
12431
09388e76
MA
124322011-10-23 Michael Albinus <michael.albinus@gmx.de>
12433
12434 Sync with Tramp 2.2.3.
12435
12436 * net/tramp-cache.el (top): Pacify byte-compiler using
12437 `init-file-user' and `site-run-file'.
12438
12439 * net/trampver.el: Update release number.
12440
86c60681
CY
124412011-10-23 Chong Yidong <cyd@gnu.org>
12442
12443 * files.el (toggle-read-only): Remove obsolete comment about
12444 version control.
12445
12446 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12447 for toggle-read-only. Note that this hasn't called vc-next-action
12448 since 2008-05-02, though it wasn't documented at the time.
12449
a3839de2
SM
12450 * vc/ediff-init.el (ediff-toggle-read-only-function):
12451 Use toggle-read-only.
86c60681 12452
cd5495ff
AM
124532011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12454
12455 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12456 of c-parse-state.
12457
00b77525 12458 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12459 correct faulty logical expression.
cd5495ff
AM
12460 (c-parse-state-state, c-record-parse-state-state):
12461 (c-replay-parse-state-state): New defvar/defuns.
12462 (c-debug-parse-state): Use new functions.
12463
42ee24ed
MR
124642011-10-22 Martin Rudalics <rudalics@gmx.at>
12465
12466 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12467 last fix. Use window-in-direction correctly.
42ee24ed 12468
a7dee7e7
CY
124692011-10-21 Chong Yidong <cyd@gnu.org>
12470
12471 * progmodes/idlwave.el (idlwave-mode):
12472 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12473 require-final-newline; that's done in prog-mode.
12474 Suggested by Stefan Monnier.
a7dee7e7 12475
e07b9a6d
MR
124762011-10-21 Martin Rudalics <rudalics@gmx.at>
12477
12478 * mouse.el (mouse-drag-window-above)
12479 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12480 (mouse-drag-mode-line-1, mouse-drag-header-line)
12481 (mouse-drag-vertical-line-rightward-window): Remove.
12482 (mouse-drag-line): New function.
12483 (mouse-drag-mode-line, mouse-drag-header-line)
12484 (mouse-drag-vertical-line): Call mouse-drag-line.
12485 * window.el (window-at-side-p, windows-at-side): New functions.
12486
7e1361d9
UM
124872011-10-21 Ulrich Mueller <ulm@gentoo.org>
12488
12489 * tar-mode.el (tar-grind-file-mode):
12490 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12491
30fcaf3a
CY
124922011-10-21 Chong Yidong <cyd@gnu.org>
12493
12494 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12495 * progmodes/vera-mode.el (vera-mode):
12496 Use mode-require-final-newline.
30fcaf3a 12497
516eddb0
GM
124982011-10-20 Glenn Morris <rgm@gnu.org>
12499
db22a3c2 12500 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12501
10d5f513
CS
125022011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12503
12504 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12505
ac6c8639
CY
125062011-10-20 Chong Yidong <cyd@gnu.org>
12507
12508 * emulation/cua-base.el (cua-mode):
12509 * mail/footnote.el (footnote-mode):
12510 * mail/mailabbrev.el (mail-abbrevs-mode):
12511 * net/xesam.el (xesam-minor-mode):
12512 * progmodes/bug-reference.el (bug-reference-mode):
12513 * progmodes/cap-words.el (capitalized-words-mode):
12514 * progmodes/compile.el (compilation-minor-mode)
12515 (compilation-shell-minor-mode):
12516 * progmodes/gud.el (gud-tooltip-mode):
12517 * progmodes/hideif.el (hide-ifdef-mode):
12518 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12519 * progmodes/subword.el (subword-mode):
12520 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12521 * progmodes/which-func.el (which-function-mode):
12522 * term/tvi970.el (tvi970-set-keypad-mode):
12523 * term/vt100.el (vt100-wide-mode):
12524 * textmodes/flyspell.el (flyspell-mode):
12525 * textmodes/ispell.el (ispell-minor-mode):
12526 * textmodes/nroff-mode.el (nroff-electric-mode):
12527 * textmodes/paragraphs.el (use-hard-newlines):
12528 * textmodes/refill.el (refill-mode):
12529 * textmodes/reftex.el (reftex-mode):
12530 * textmodes/rst.el (rst-minor-mode):
12531 * textmodes/sgml-mode.el (html-autoview-mode)
12532 (sgml-electric-tag-pair-mode):
12533 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12534 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12535 * emulation/crisp.el (crisp-mode):
12536 * emacs-lisp/eldoc.el (eldoc-mode):
12537 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12538 minor mode behavior.
12539
aa42ab43
JL
125402011-10-19 Juri Linkov <juri@jurta.org>
12541
12542 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12543 the list of hard-coded chars with escape-glyph face.
12544
89400f1d
SM
125452011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12546
12547 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12548
305c07f6
MA
125492011-10-19 Michael Albinus <michael.albinus@gmx.de>
12550
12551 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12552 running process.
12553
13754b54
GM
125542011-10-19 Glenn Morris <rgm@gnu.org>
12555
12556 * vc/vc-bzr.el (vc-bzr-after-dir-status):
12557 Ignore ignored files. (Bug#9726)
12558
06e21633
CY
125592011-10-19 Chong Yidong <cyd@gnu.org>
12560
12561 Doc fix for minor modes, stating that an omitted argument enables
12562 the mode unconditionally when called from Lisp.
12563
12564 * abbrev.el (abbrev-mode):
12565 * allout.el (allout-mode):
12566 * autoinsert.el (auto-insert-mode):
12567 * autoarg.el (autoarg-mode, autoarg-kp-mode):
12568 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12569 (global-auto-revert-mode):
12570 * battery.el (display-battery-mode):
12571 * composite.el (global-auto-composition-mode)
12572 (auto-composition-mode):
12573 * delsel.el (delete-selection-mode):
12574 * desktop.el (desktop-save-mode):
12575 * dired-x.el (dired-omit-mode):
12576 * dirtrack.el (dirtrack-mode):
12577 * doc-view.el (doc-view-minor-mode):
12578 * double.el (double-mode):
12579 * electric.el (electric-indent-mode, electric-pair-mode):
12580 * emacs-lock.el (emacs-lock-mode):
12581 * epa-hook.el (auto-encryption-mode):
12582 * follow.el (follow-mode):
12583 * font-core.el (font-lock-mode):
12584 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12585 * help.el (temp-buffer-resize-mode):
12586 * hilit-chg.el (highlight-changes-mode)
12587 (highlight-changes-visible-mode):
12588 * hi-lock.el (hi-lock-mode):
12589 * hl-line.el (hl-line-mode, global-hl-line-mode):
12590 * icomplete.el (icomplete-mode):
12591 * ido.el (ido-everywhere):
12592 * image-file.el (auto-image-file-mode):
12593 * image-mode.el (image-minor-mode):
12594 * iswitchb.el (iswitchb-mode):
12595 * jka-cmpr-hook.el (auto-compression-mode):
12596 * linum.el (linum-mode):
12597 * longlines.el (longlines-mode):
12598 * master.el (master-mode):
12599 * mb-depth.el (minibuffer-depth-indicate-mode):
12600 * menu-bar.el (menu-bar-mode):
12601 * minibuf-eldef.el (minibuffer-electric-default-mode):
12602 * mouse-sel.el (mouse-sel-mode):
12603 * msb.el (msb-mode):
12604 * mwheel.el (mouse-wheel-mode):
12605 * outline.el (outline-minor-mode):
12606 * paren.el (show-paren-mode):
12607 * recentf.el (recentf-mode):
12608 * reveal.el (reveal-mode, global-reveal-mode):
12609 * rfn-eshadow.el (file-name-shadow-mode):
12610 * ruler-mode.el (ruler-mode):
12611 * savehist.el (savehist-mode):
12612 * scroll-all.el (scroll-all-mode):
12613 * scroll-bar.el (scroll-bar-mode):
12614 * server.el (server-mode):
12615 * shell.el (shell-dirtrack-mode):
12616 * simple.el (auto-fill-mode, transient-mark-mode)
12617 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12618 (line-number-mode, column-number-mode, size-indication-mode)
12619 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12620 * strokes.el (strokes-mode):
12621 * time.el (display-time-mode):
12622 * t-mouse.el (gpm-mouse-mode):
12623 * tool-bar.el (tool-bar-mode):
12624 * tooltip.el (tooltip-mode):
12625 * type-break.el (type-break-mode-line-message-mode)
12626 (type-break-query-mode):
12627 * view.el (view-mode):
12628 * whitespace.el (whitespace-mode, whitespace-newline-mode)
12629 (global-whitespace-mode, global-whitespace-newline-mode):
12630 * xt-mouse.el (xterm-mouse-mode): Doc fix.
12631
a3839de2
SM
12632 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12633 Fix autogenerated docstring.
06e21633 12634
5214e501
JL
126352011-10-19 Juri Linkov <juri@jurta.org>
12636
12637 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12638 by checking environment variables "DESKTOP_SESSION" and
12639 "XDG_CURRENT_DESKTOP". (Bug#9779)
12640
195f8db9
JL
126412011-10-19 Juri Linkov <juri@jurta.org>
12642
12643 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12644 (browse-url-chromium-program, browse-url-chromium-arguments):
12645 New defcustoms.
12646 (browse-url-default-browser): Check for `browse-url-chromium' and
12647 call `browse-url-chromium-program'.
12648 (browse-url-chromium): New command. (Bug#9779)
12649
343a34ff
JB
126502011-10-18 Juanma Barranquero <lekktu@gmail.com>
12651
12652 * facemenu.el (list-colors-duplicates): On Windows, detect more
12653 duplicates by assuming that only colors matching "^System" are
12654 special "system colors". (Bug#9722)
12655
6978a151
SM
126562011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12659 to distinguish the author from the committer.
12660
6a80b297
MA
126612011-10-18 Michael Albinus <michael.albinus@gmx.de>
12662
12663 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12664
b31a5677
JK
126652011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
12666
12667 * international/mule.el (sgml-html-meta-auto-coding-function):
12668 Add support for detecting encoding in HTML5 specified only as
12669 <meta charset="UTF-8">. Implementation just makes http-equiv and
12670 content-type parts from HTML4 encoding string optional. (Bug#9716)
12671
80c6d77f
GM
126722011-10-18 Glenn Morris <rgm@gnu.org>
12673
12674 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
12675
08b0fee8
CY
126762011-10-18 Chong Yidong <cyd@gnu.org>
12677
12678 * faces.el (cursor): Doc fix.
12679
67e729a5
CY
126802011-10-17 Chong Yidong <cyd@gnu.org>
12681
12682 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12683
343a34ff 126842011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
12685
12686 * dirtrack.el (dirtrack): Support shell buffers with path
12687 prefixes, e.g. tramp-based remote shells. (Bug#9647)
12688
0bc06380
TZ
126892011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
12690
12691 * json.el: Bump version to 1.3 and note change in History.
12692 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12693
8b79f3e0
SM
126942011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
12695
5a7c536b
SM
12696 * comint.el (comint-insert-input, comint-send-input)
12697 (comint-get-old-input-default, comint-backward-matching-input)
12698 (comint-next-prompt): Use nil instead of `input' for field property of
12699 past user input (bug#114).
12700
96a8a0df
SM
12701 * minibuffer.el (completion--replace): Inherit surrounding properties
12702 (bug#114).
12703 (minibuffer-complete-and-exit): Use it.
12704
8b79f3e0
SM
12705 * comint.el (comint--table-subvert): Quote the all-completions output
12706 (bug#9160).
12707
b8f7ff0d
MR
127082011-10-17 Martin Rudalics <rudalics@gmx.at>
12709
8b79f3e0 12710 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 12711
b8f7ff0d 12712 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 12713 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
12714 entries and separate them from frame entries.
12715
c235b555
GM
127162011-10-15 Glenn Morris <rgm@gnu.org>
12717
12718 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12719 Doc fixes.
12720
6bbfa6e1
CY
127212011-10-15 Chong Yidong <cyd@stupidchicken.com>
12722
8b79f3e0
SM
12723 * net/network-stream.el (network-stream-open-starttls):
12724 Improve detection of failure due to lack of TLS support.
ec5c990d 12725
6bbfa6e1
CY
12726 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12727 putting the input text in front and in bold.
12728
98488977
SM
127292011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
12730
3d1337be
SM
12731 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12732
ee0b45e4
SM
12733 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12734 empty buffer.
12735
98488977
SM
12736 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12737 unread-command-events rather than pushing yet-another event.
12738
186f4720
EZ
127392011-10-14 Eli Zaretskii <eliz@gnu.org>
12740
12741 * mail/sendmail.el (sendmail-query-once): Improve the wording of
12742 the explanation of the possible choices. Make the options passed
12743 to completing-read shorter.
12744
8b7a997c
AM
127452011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12746
12747 * textmodes/flyspell.el (flyspell-large-region): Make sure
12748 extended character mode is used if defined (Bug#1339).
12749
12587bbb
EZ
127502011-10-13 Eli Zaretskii <eliz@gnu.org>
12751
12752 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
12753 character info for LRE, LRO, RLE, and RLO characters by appending
12754 an invisible PDF.
12587bbb 12755
bad41229
SM
127562011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
12757
12758 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12759 even in case of error; add debug spec; simplify data flow.
12760 (with-timeout-handler): Remove.
12761
28dbc92f
MA
127622011-10-12 Michael Albinus <michael.albinus@gmx.de>
12763
12764 Fix Bug#6019, Bug#9315.
12765
12766 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12767 complete `buffer-file-name', the local file name part could look
12768 remotely (for example on VMS).
12769
12770 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12771 `tramp-run-real-handler'.
12772 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12773 already quoted by '"'.
12774
12775 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12776 Let `file-name-handler-alist' be nil, the local file name part
12777 could look remotely (for example on VMS).
12778
e1b0b23a
SM
127792011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
12780
12781 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12782 from here...
12783 (flyspell-post-command-hook): ...to here.
12784
a120bde9
SM
127852011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12786
12787 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12788 if not needed.
12789 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
12790 using completion. Protect against "slow" callers.
12791 Remove the "message hack".
12792
7ce7717b
JL
127932011-10-11 Juri Linkov <juri@jurta.org>
12794
12795 * isearch.el (isearch-lazy-highlight-word): New variable.
12796 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12797 Use it. (Bug#9727)
12798
c02ee9d6
GM
127992011-10-11 Glenn Morris <rgm@gnu.org>
12800
12801 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12802 like f90-previous-statement does.
12803
93e616fd 128042011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12805
1f190e73 12806 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
12807 only in interactive use, to avoid error.
12808
af7b6078
SM
128092011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
12810
12811 * minibuffer.el (completion-file-name-table): Fix last change,
12812 i.e. ignore normal errors but not the other ones.
12813
0563dae9
MR
128142011-10-10 Martin Rudalics <rudalics@gmx.at>
12815
12816 * window.el (special-display-buffer-names)
12817 (special-display-regexps): Remove some remnants of earlier
12818 changes from doc-strings.
366ca7f3
MR
12819 (quit-windows-on): New function.
12820
12821 * vc/vc.el (vc-revert, vc-rollback):
12822 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12823 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 12824 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 12825
49677495
MR
128262011-10-09 Martin Rudalics <rudalics@gmx.at>
12827
12828 * window.el (frame-auto-hide-function): Add version tag.
12829 (Bug#9699)
12830
56f2d1e1
MA
128312011-10-09 Michael Albinus <michael.albinus@gmx.de>
12832
12833 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12834 condition.
12835
112a6592
LL
128362011-10-09 Leo Liu <sdl.web@gmail.com>
12837
12838 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12839 (Bug#9701)
12840
0812589b
GM
128412011-10-08 Glenn Morris <rgm@gnu.org>
12842
12843 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12844 before the first code statement zero indent. (Bug#9690)
12845
b2b0776e
CY
128462011-10-08 Chong Yidong <cyd@stupidchicken.com>
12847
12848 * simple.el (count-words-region): Always count in the region.
12849 Report the number of lines and characters too.
12850 (count-words): New command, which counts in the buffer if the
12851 region is inactive, as count-words-region used to.
12852 (count-words--message): New function. Handle plurals.
12853 (count-lines-region): Make it an alias for count-words-region.
12854
12855 * bindings.el (esc-map): Replace count-lines-region with
12856 count-words-region.
12857
c557cd6b
MR
128582011-10-08 Martin Rudalics <rudalics@gmx.at>
12859
12860 * window.el (window--delete): Delete dedicated frame
12861 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 12862 (switch-to-buffer): Fix doc-string typo.
c557cd6b 12863
61a57ef4 128642011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12865
3a7d293b 12866 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 12867
c3833279
CY
128682011-10-07 Chong Yidong <cyd@stupidchicken.com>
12869
12870 * bindings.el ([M-left],[M-right]): Bind to left-word and
12871 right-word respectively.
12872
21ce8245
GM
128732011-10-07 Glenn Morris <rgm@gnu.org>
12874
12875 * cus-start.el (debug-on-quit): Fix custom type.
12876
6d823bb2
LMI
128772011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12878
0181e193
LMI
12879 * subr.el (define-key-after): Clarify that the function is not
12880 useful for non-menu keymaps.
12881
6d823bb2
LMI
12882 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12883
8e3459ce 128842011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12885
21ce8245 12886 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 12887 in current minibuffer (Fix bug with recursive minibuffers).
12888
a1c2d21e
CY
128892011-10-06 Chong Yidong <cyd@stupidchicken.com>
12890
12891 * progmodes/gdb-mi.el (gdb): Doc fix.
12892
5a4cf282
MR
128932011-10-05 Martin Rudalics <rudalics@gmx.at>
12894
12895 * window.el (frame-auto-hide-function): New option replacing
12896 frame-auto-delete. Suggested by Stefan Monnier.
12897 (window--delete): Call frame-auto-hide-function instead of
12898 investigating frame-auto-delete.
c96111ea
MR
12899 (window-point-1, set-window-point-1): New functions.
12900 (window-in-direction, record-window-buffer, window-state-get-1)
12901 (display-buffer-record-window): Use window-point-1 instead of
12902 window-point.
12903 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 12904
9854542e
SM
129052011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12906
12907 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12908
8943cfb0
GM
129092011-10-05 Glenn Morris <rgm@gnu.org>
12910
12911 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12912 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
12913
647ab967
LL
129142011-10-05 Leo Liu <sdl.web@gmail.com>
12915
12916 * subr.el (read-char-choice): Fix argument to buffer-live-p which
12917 works with buffer object.
12918
3ddfbced
SM
129192011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12920
12921 * mpc.el (mpc-tool-bar-map): Add labels.
12922
bdfa5dd2
GM
129232011-10-04 Glenn Morris <rgm@gnu.org>
12924
12925 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12926
0e2070b5
MR
129272011-10-04 Martin Rudalics <rudalics@gmx.at>
12928
12929 * window.el (window--delete): New function.
12930 (frame-auto-delete): Resuscitate option.
12931 (bury-buffer, replace-buffer-in-windows)
12932 (quit-window): Rewrite using window--delete.
12933 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12934 Pass display-buffer-mark-dedicated to window--display-buffer-2
12935 (Bug#9639).
12936
3dc61a09
SM
129372011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12938
915a9b64
SM
12939 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12940 returns a list (bug#9554). Add remote file name completion.
12941 * comint.el (comint--table-subvert): Curry and get quote&unquote
12942 functions as arguments.
12943 (comint--complete-file-name-data): Adjust call accordingly.
12944 * pcomplete.el (pcomplete--table-subvert): Remove.
12945 (pcomplete-completions-at-point): Use comint--table-subvert instead.
12946
3dc61a09
SM
12947 * minibuffer.el (completion-table-case-fold): Use currying.
12948 (completion--styles-type, completion--cycling-threshold-type):
12949 New constants.
12950 (completion-styles, completion-category-overrides)
12951 (completion-cycle-threshold): Use them.
12952 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12953 completion-table-case-fold.
12954
8ea0a993
SB
129552011-10-03 Stephen Berman <stephen.berman@gmx.net>
12956
12957 * minibuffer.el (completion-category-overrides): Fix type of styles
12958 and add more user friendly tags (bug#9660).
12959
8c24b7f6
SM
129602011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
12961
12962 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12963 (mule-input-method-string): New widget.
12964 (default-input-method, language-info-custom-alist): Use it.
12965
428fe61a
SM
129662011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12967
32c1fffd
SM
12968 * pcomplete.el: Require comint.
12969 (pcomplete--common-suffix): Remove.
12970 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12971 (pcomplete--table-subvert): Sync with comint--table-subvert.
12972 (pcomplete--entries): Use comint-completion-file-name-table.
12973 * comint.el (comint-unquote-filename): Simplify.
12974 (comint-completion-file-name-table): New function (bug#9616).
12975 (comint--complete-file-name-data): Use it.
12976
428fe61a
SM
12977 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12978 (pcmpl-gnu-tar-buffer): Remove.
12979 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
12980 around. Make sure pcomplete-suffix-list is only changed temporarily.
12981 Don't look inside the tar's file if it's too large.
428fe61a 12982
04c52e2f
CY
129832011-10-01 Chong Yidong <cyd@stupidchicken.com>
12984
ce3cefcc
CY
12985 * cus-edit.el (custom-mode-map):
12986 * epa.el (epa-key-list-mode-map):
12987 * man.el (Man-mode-map):
12988 * startup.el (splash-screen-keymap):
12989 * simple.el (special-mode-map): Use scroll-up-command and
12990 scroll-down-command.
12991
12992 * progmodes/idlw-help.el (idlwave-help-mode-map):
12993 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12994 * net/newst-plainview.el (newsticker-mode-map):
12995 * emulation/ws-mode.el (wordstar-mode-map):
12996 * emulation/vi.el (vi-com-map):
12997 * calc/calc-graph.el (calc-graph-show-dumb):
12998 * term/sun.el (terminal-init-sun):
12999 * term/ns-win.el (global-map):
13000 * progmodes/grep.el (grep-mode-map):
13001 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13002 * mail/rmail.el (rmail-mode-map):
13003 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13004
04c52e2f
CY
13005 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13006 custom-safe-themes as special.
13007
79adf8c8
JD
130082011-10-01 Julien Danjou <julien@danjou.info>
13009
13010 * notifications.el (notifications-notify): Fix docstring.
13011
63bd50d3
PS
130122011-10-01 Per Starbäck <per@starback.se>
13013
13014 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13015
199e4c7e
MR
130162011-09-30 Martin Rudalics <rudalics@gmx.at>
13017
13018 * startup.el (command-line-1): Fix last fix by inserting
13019 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13020 (Bug#9605) and (Bug#9636)
199e4c7e 13021
fe5f08dd
EZ
130222011-09-29 Eli Zaretskii <eliz@gnu.org>
13023
13024 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13025 window is hscrolled, move by logical lines. (Bug#9607)
13026 (line-move-visual): Update the doc string to the above effect.
13027
b5516bbd
MR
130282011-09-29 Martin Rudalics <rudalics@gmx.at>
13029
ccee00c0
MR
13030 * window.el (display-buffer-record-window): When WINDOW is the
13031 selected window use `point' instead of `window-point'. (Bug#9626)
13032
b5516bbd
MR
13033 * startup.el (command-line-1): Use insert-before-markers when
13034 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13035
b5516bbd
MR
13036 * help.el (help-window): Remove variable.
13037
52aa0014
GM
130382011-09-29 Glenn Morris <rgm@gnu.org>
13039
13040 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13041
df9a7357
JB
130422011-09-29 Juanma Barranquero <lekktu@gmail.com>
13043
13044 * descr-text.el (describe-char-categories): Accept category
13045 descriptions more than one line long.
13046
a8406c20
SM
130472011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13048
88d9610c
SM
13049 * simple.el (delete-trailing-whitespace): Fix last change.
13050
a5daf810
SM
13051 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13052 Don't confuse "y => 3" as the beginning of a `y' operation.
13053
a8406c20
SM
13054 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13055 object has more than 4 slots (bug#9613).
13056
a239d4e9
JB
130572011-09-28 Juanma Barranquero <lekktu@gmail.com>
13058
13059 * subr.el (with-output-to-temp-buffer):
13060 * net/quickurl.el (quickurl, quickurl-browse-url):
13061 Fix typos in docstrings.
13062
693fbdb6
EZ
130632011-09-27 Eli Zaretskii <eliz@gnu.org>
13064
13065 * minibuffer.el (completion-styles)
13066 (completion-category-overrides): Cross reference each other in doc
13067 strings.
13068
8b457e28
GM
130692011-09-27 Glenn Morris <rgm@gnu.org>
13070
13071 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13072 to split-string. (Bug#9606)
13073
85a16208
LMI
130742011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13075
13076 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13077 (bug#9615).
13078
502f9ebd
CY
130792011-09-27 Chong Yidong <cyd@stupidchicken.com>
13080
13081 * emacs-lisp/package.el (list-packages): Fix echo area message.
13082
7690bdea
LL
130832011-09-27 Leo Liu <sdl.web@gmail.com>
13084
13085 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13086
e2ee6f30
MA
130872011-09-25 Michael Albinus <michael.albinus@gmx.de>
13088
13089 * net/dbus.el (dbus-unregister-object): Don't release services for
13090 registered signals. (Bug#9581)
13091
f3f98342
TZ
130922011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13093
13094 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13095 function that picks between cfengine 2 and 3 support
13096 automatically. Update docs accordingly.
13097
dd7aa8dd
KH
130982011-09-22 Kenichi Handa <handa@m17n.org>
13099
13100 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13101 ZERO.
13102 (indian-itrans-v5-table-for-tamil): New variable.
13103 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13104
3f2b07f8
KM
131052011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13106
13107 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13108 that's true if the current command involved collapsing of text.
13109 It's reset to false at the beginning of the next command.
13110 (allout-post-command-business): Move the cursor to the beginning
13111 of entry if the cursor is hidden and collapsing activity just
13112 happened.
13113
371d6a61
CY
131142011-09-24 Chong Yidong <cyd@stupidchicken.com>
13115
13116 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13117 tracking (Bug#9541).
13118
2ac2721a
UJ
131192011-09-24 Ulf Jasper <ulf.jasper@web.de>
13120
13121 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13122 (newsticker-show-news): Automatically load html rendering package
13123 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13124 because w3m-fill-column is let-bound" and the error "Symbol's value
13125 as variable is void: w3m-fill-column".
2ac2721a 13126
fac7ae53
MA
131272011-09-24 Michael Albinus <michael.albinus@gmx.de>
13128
13129 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13130 Release services only if they are defined. (Bug#9581)
13131
e08b633b
RS
131322011-09-23 Richard Stallman <rms@gnu.org>
13133
e488d29c
RS
13134 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13135 distinguish start of paragraph from start of its text.
13136
19c38752
RS
13137 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13138
e08b633b
RS
13139 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13140 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13141 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13142
0a39f27e
AS
131432011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13144
13145 * international/mule-diag.el (mule-diag): Insert a newline after
13146 each fontset description.
13147
db4e950d
SM
131482011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13149
13150 * simple.el (delete-trailing-whitespace):
13151 Document last change; simplify.
13152
eca3f3ea
PW
131532011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13154
d68e189a
PW
13155 * simple.el (delete-trailing-whitespace): Also delete
13156 extra newlines at the end of the buffer.
13157
eca3f3ea
PW
13158 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13159 (picture-newline): Use forward-line so as to ignore fields.
13160
01c157cc
SM
131612011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * subr.el (with-wrapper-hook): Fix edebug spec.
13164
022de23e
LMI
131652011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13166
13167 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13168 (bug#4538).
13169
91683089
MA
131702011-09-23 Michael Albinus <michael.albinus@gmx.de>
13171
eca3f3ea
PW
13172 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13173 Fix nasty bug using wrong cached values.
91683089 13174
5bdd6fa4
AM
131752011-09-23 Alan Mackenzie <acm@muc.de>
13176
13177 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13178
97adfb97
CY
131792011-09-23 Chong Yidong <cyd@stupidchicken.com>
13180
13181 * window.el (pop-to-buffer): Ensure right window is selected if we
13182 chose another frame.
13183
d4ef2b50
EZ
131842011-09-22 Eli Zaretskii <eliz@gnu.org>
13185
13186 * simple.el (what-cursor-position): Use get-char-property-change
13187 and next-single-char-property-change, to be able to show display
13188 properties that come from overlays as well as text properties.
13189
72258fe5
CY
131902011-09-22 Chong Yidong <cyd@stupidchicken.com>
13191
13192 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13193
13194 * cmuscheme.el (run-scheme, switch-to-scheme):
13195 * cus-edit.el (customize-group, custom-buffer-create)
13196 (customize-browse):
13197 * info.el (info):
13198 * shell.el (shell):
13199 * mail/sendmail.el (mail):
13200 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13201
8f098516
RS
132022011-09-22 Richard Stallman <rms@gnu.org>
13203
13204 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13205 move back only to line beg, don't move back over blank lines.
13206
e74f1bb6
MA
132072011-09-22 Michael Albinus <michael.albinus@gmx.de>
13208
13209 * files.el (copy-directory): Set directory attributes only in case
13210 they could be retrieved from the source directory. (Bug#9565)
13211
bfeef8b6
DK
132122011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13213
13214 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13215 (hs-find-block-beginning, hs-hide-level-recursive):
13216 Ignore strings as well as comments. (Bug#9502)
13217
7e423bb8
AS
132182011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13219
13220 * progmodes/sql.el (sql-comint-postgres):
13221 Convert port number to a string. (Bug#9566)
13222
b4d72fcf
MR
132232011-09-22 Martin Rudalics <rudalics@gmx.at>
13224
13225 * window.el (quit-window): Undedicate window when switching to
13226 previous buffer. Reported by Thierry Volpiatto
13227 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13228 (special-display-popup-frame): When popping up a new frame reset
13229 its previous buffers to nil. Simplify code.
b4d72fcf 13230
a7b88dc6
MA
132312011-09-21 Michael Albinus <michael.albinus@gmx.de>
13232
13233 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13234 and process filter, as done also in `shell-command'.
13235
cf4eacfd
MR
132362011-09-21 Martin Rudalics <rudalics@gmx.at>
13237
eca3f3ea 13238 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13239 Call set-window-start with NOFORCE argument t.
13240 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13241 (quit-window): Reword doc-string. Handle new format of
13242 quit-restore parameter. Don't delete window if it has a
13243 previous buffer we can show instead of the present one.
13244 (display-buffer-record-window): Rewrite using a new format for
13245 the quit-restore window parameter
13246 (special-display-popup-frame, display-buffer-same-window)
13247 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13248 (display-buffer-pop-up-window, display-buffer-use-some-window):
13249 Adapt symbol passed to display-buffer-record-window.
13250 * help.el (help-window-setup): Handle new format of quit-restore
13251 parameter.
13252
8d28cb95
SM
132532011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13254
94ab793f
SM
13255 * faces.el (face-list): Fix docstring (bug#9564).
13256
8d28cb95
SM
13257 * window.el (display-buffer--action-function-custom-type):
13258 Don't include internal functions in the Custom interface.
13259
3820edeb
JL
132602011-09-20 Juri Linkov <juri@jurta.org>
13261
13262 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13263 (Info-forward-node, Info-backward-node, Info-next-preorder)
13264 (Info-last-preorder): Use it. (Bug#9528)
13265
5147931d
JL
132662011-09-20 Juri Linkov <juri@jurta.org>
13267
13268 * info.el (Info-last-preorder): Visit last menu item only when
13269 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13270
cf499a1a
JD
132712011-09-20 Julien Danjou <julien@danjou.info>
13272
13273 * password-cache.el (password-cache-remove): Remove entries even if the
13274 value is nil, so that password with a nil value (negative caching) is
13275 possible to invalidate.
13276
f84e2fe2
LM
132772011-09-20 Lawrence Mitchell <wence@gmx.li>
13278
13279 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13280 all whitespace around breakpoint. (Bug#9553)
13281 (f90-find-breakpoint): Only break at whitespace inside a comment.
13282
78054a46
SM
132832011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13284
13285 * minibuffer.el (completion-file-name-table): Keep track of errors.
13286 (completion-table-with-predicate): Handle the case where pred1 is nil.
13287 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13288
345083b2
SM
132892011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13290
e24e27be
SM
13291 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13292 (debugger-return-value): Signal an error if the debugging context does
13293 not await any return value.
13294
345083b2
SM
13295 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13296 * image-mode.el (image-toggle-display-text)
13297 (image-toggle-display-image): Stay away from evil `intangible'.
13298
08d355e3
LL
132992011-09-19 Leo Liu <sdl.web@gmail.com>
13300
13301 * replace.el (occur-revert-arguments): Make it permanent-local.
13302 (occur-mode): Don't call font-lock-defontify.
13303
f01da43f
CY
133042011-09-19 Chong Yidong <cyd@stupidchicken.com>
13305
13306 * net/ldap.el (ldap-search-internal): Don't push empty search
13307 result (Bug#9508).
13308
b6072fa6
SM
133092011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13310
13311 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13312
443d6696
MA
133132011-09-19 Michael Albinus <michael.albinus@gmx.de>
13314
13315 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13316 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13317
7cc6e154
JL
133182011-09-18 Juri Linkov <juri@jurta.org>
13319
13320 * buff-menu.el (Buffer-menu-mode-map):
13321 * dired.el (dired-mode-map):
13322 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13323 (lisp-interaction-mode-map):
13324 * emacs-lisp/package.el (package-menu-mode-map):
13325 * epa.el (epa-key-list-mode-map):
13326 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13327 (menu-bar-options-menu):
13328 * outline.el (outline-mode-menu-bar-map):
13329 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13330 * vc/vc-dir.el (vc-dir-menu-map):
13331 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13332 Capitalize non-function content words in menu item strings.
13333
13334 * dired.el (dired-mode-map): Add menu item for
13335 `image-dired-dired-toggle-marked-thumbs'.
13336
80302a81
JL
133372011-09-18 Juri Linkov <juri@jurta.org>
13338
13339 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13340 to `isearch-case-fold-search' and restore its original value
13341 after the `isearch-mode' call.
13342
46c5cf66
JL
133432011-09-18 Juri Linkov <juri@jurta.org>
13344
13345 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13346 because `zgrep' returns 1 for successful matches (bug#9226).
13347
d18b513b
JL
133482011-09-18 Juri Linkov <juri@jurta.org>
13349
13350 * info.el (Info-extract-menu-node-name): Check the second match
13351 for empty string (second test-case of bug#9528).
13352 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13353 intermediate nodes to the history (first test-case of bug#9528).
13354
72753f87
JL
133552011-09-18 Juri Linkov <juri@jurta.org>
13356
13357 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13358 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13359
c9384295
JL
133602011-09-18 Juri Linkov <juri@jurta.org>
13361
1154d12e
JB
13362 * info.el (Info-file-supports-index-cookies):
13363 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13364 outputs one more line for long file names (bug#4142).
c9384295 13365
d473dce8
CY
133662011-09-18 Chong Yidong <cyd@stupidchicken.com>
13367
13368 * newcomment.el (comment-normalize-vars): If prompting for
13369 comment-start, set comment-start-skip too (Bug#8424).
13370
2176854d
JB
133712011-09-18 Johan Bockgård <bojohan@gnu.org>
13372
13373 * icomplete.el: Fix previous fix of Bug#5849.
13374 (icomplete-mode): Don't set completion-show-inline-help.
13375 (icomplete-minibuffer-setup): Set completion-show-inline-help
13376 locally during icompletion.
13377
3aace4e4
CY
133782011-09-18 Chong Yidong <cyd@stupidchicken.com>
13379
c940224f
CY
13380 * woman.el (woman2-process-escapes): Don't delete unrecognized
13381 escapes (Bug#7843).
13382
3aace4e4
CY
13383 * files.el (inhibit-first-line-modes-regexps): Add image files.
13384 (hack-local-variables-prop-line): Return nil for malformed
13385 prop-lines (Bug#9044).
13386
710dec63
MA
133872011-09-18 Michael Albinus <michael.albinus@gmx.de>
13388
13389 * net/tramp.el (top): Don't require 'shell.
13390 (tramp-methods): Fix docstring.
13391 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13392 Return complete remote file name. Handle "smb" case.
13393 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13394 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13395
13396 * net/tramp-compat.el (top): Require 'shell.
13397
13398 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13399 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13400 `tramp-current-host'.
13401 (tramp-get-remote-tmpdir): Remove.
13402
13403 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13404 `tramp-tmpdir' entries.
13405 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13406 (tramp-smb-handle-file-attributes): Ignore errors.
13407 (tramp-smb-wait-for-output): Check also for process end.
13408
5d5ac8ec
LMI
134092011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13410
13411 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13412 when sending QUIT (bug#9312).
13413
8c0f49f0
CY
134142011-09-17 Chong Yidong <cyd@stupidchicken.com>
13415
13416 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13417 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13418 occur-mode-display-occurrence.
13419 (occur-edit-mode): Add usage message.
13420 (occur-cease-edit): New command.
13421 (occur-after-change-function): Use text properties to find the
13422 position of the prefix text.
13423 (occur-engine): Set stickiness of prefix text properties.
13424
8f1383f7
GM
134252011-09-17 Glenn Morris <rgm@gnu.org>
13426
13427 * progmodes/etags.el (complete-tag):
13428 Fix call to completion-in-region. (Bug#9526)
13429
744ba0e3
JL
134302011-09-17 Juri Linkov <juri@jurta.org>
13431
13432 * textmodes/ispell.el (ispell-word): Add to the error message
13433 the word, ispell program name and current dictionary (bug#9121).
13434 (ispell-tex-arg-end): Capitalize "error" in the error message.
13435
d9bbf400
AS
134362011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13437
13438 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13439 check. (Bug#4251)
13440
8da11505
JL
134412011-09-17 Juri Linkov <juri@jurta.org>
13442
13443 * window.el (window-safe-min-height, window-safe-min-width):
13444 Fix typos (followup to bug#9522).
13445
a91adc7e
SJ
134462011-09-17 Sven Joachim <svenjoac@gmx.de>
13447
13448 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13449
064f328a
EZ
134502011-09-16 Eli Zaretskii <eliz@gnu.org>
13451
13452 * simple.el (line-move): If goal-column is set, move by logical
13453 lines, not by display lines. (Bug#971)
13454 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13455 to reflect the above change.
13456
e69df516
SM
134572011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13458
13459 * image.el (imagemagick-register-types): Use regexp-opt.
13460
cbb0f9ab
CY
134612011-09-15 Chong Yidong <cyd@stupidchicken.com>
13462
13463 * window.el (display-buffer-base-action): Rename from
13464 display-buffer-default-action. Make default value empty.
13465 (display-buffer-overriding-action): Convert to defvar.
13466 (display-buffer-fallback-action): New var.
13467
25322144
CY
134682011-09-15 Chong Yidong <cyd@stupidchicken.com>
13469
13470 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13471 declaration.
13472 (package--add-to-archive-contents): If there is a duplicate entry
13473 with an older version, remove it.
13474 (package-menu-mark-delete, package-menu-mark-install)
13475 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13476 (package-menu-mark-obsolete-for-deletion):
13477 Use package-menu-get-status instead of a regexp search.
25322144
CY
13478 (package-menu-get-status): Use tabulated-list-entry.
13479 (package-menu-mark-upgrades): New command.
d770725a 13480 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13481 (package-menu-execute): Do installation before deletion.
13482 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13483 instead of checking major-mode.
13484 (package-menu--find-upgrades): New function.
13485
7520339c
LMI
134862011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13487
13488 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13489 passwords in the log buffer.
65a046c4
LMI
13490 (smtpmail-process-filter): Update the process marker so that the
13491 "broken by peer" status message is inserted in the right place.
7520339c 13492
d3c30954
SM
134932011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13494
3fe48822
SM
13495 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13496 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13497 bibtex-completion-at-point-function.
13498 (bibtex-completion-at-point-function): Use them.
13499
1b8b3954
SM
13500 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13501
d3c30954
SM
13502 * mpc.el (mpc-constraints-tag-lookup): New function.
13503 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13504 also to browser "album|playlist".
13505
72779976
JL
135062011-09-14 Juri Linkov <juri@jurta.org>
13507
13508 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13509 (isearch-edit-string): Use length of `isearch-string' when
13510 `isearch-fail-pos' returns nil.
13511 (isearch-message): Remove duplicate code and call
13512 `isearch-fail-pos' with arg `t'.
13513
a0bf2bcd
CY
135142011-09-14 Chong Yidong <cyd@stupidchicken.com>
13515
17bb0a2d
CY
13516 * replace.el (occur-mode-goto-occurrence): Don't force using other
13517 window (Bug#9499).
13518
a0bf2bcd
CY
13519 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13520
f678e0b6
MR
135212011-09-14 Martin Rudalics <rudalics@gmx.at>
13522
13523 * window.el (display-buffer-window): Remove.
13524 (display-buffer-record-window): Use help-setup window parameter
13525 instead of variable display-buffer-window.
13526 (display-buffer-function, special-display-buffer-names)
13527 (special-display-function): Mention help-setup parameter instead
13528 of display-buffer-window in doc-string.
d3c30954
SM
13529 * help.el (help-window-setup): New argument help-window.
13530 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13531 Reword some messages.
13532 (with-help-window): Pass window used for displaying the buffer
13533 to help-window-setup. Don't set display-buffer-window.
13534
8e39b2e8
GM
135352011-09-13 Glenn Morris <rgm@gnu.org>
13536
13537 * emacs-lisp/debug.el (debugger-make-xrefs):
13538 Preserve point. (Bug#9462)
13539
85e9c04b
CY
135402011-09-13 Chong Yidong <cyd@stupidchicken.com>
13541
13542 * window.el (window-deletable-p): Use next-frame.
13543
1b36ed6a
MR
135442011-09-13 Martin Rudalics <rudalics@gmx.at>
13545
13546 * window.el (window-auto-delete): Remove.
13547 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13548 dedication and previous buffers.
1b36ed6a
MR
13549 (switch-to-prev-buffer): Don't delete window.
13550 (delete-windows-on): Delete a window's frame if and only if the
13551 window is dedicated.
13552 (replace-buffer-in-windows): Delete buffer's window or frame if
13553 and only if window is dedicated.
13554 (quit-window): Handle quit-restore as before last change.
4d61f28d 13555 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 13556
ef8ef9fb
CY
135572011-09-13 Chong Yidong <cyd@stupidchicken.com>
13558
13559 * window.el (window-deletable-p): Never delete the last frame on a
13560 given terminal.
13561
b2cba41e
GM
135622011-09-13 Glenn Morris <rgm@gnu.org>
13563
13564 * help.el (describe-key-briefly): Copy previous standard-output change.
13565
51553db6 135662011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
13567
13568 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
13569
b7556719
GM
135702011-09-13 Glenn Morris <rgm@gnu.org>
13571
13572 * emacs-lisp/lisp-mode.el (lisp-indent-function):
13573 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13574
64b51947
CY
135752011-09-12 Chong Yidong <cyd@stupidchicken.com>
13576
13577 * dired-aux.el (dired-mark-read-string): Don't return default
13578 value on empty input (Bug#9361).
13579 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13580 Omit initial minibuffer contents.
13581 (dired-do-chmod): Signal an error on empty input.
13582 (dired-mark-read-string): Don't return default on empty input.
13583
13584 * files.el (file-modes-symbolic-to-number): Doc fix.
13585
393a301e
SM
135862011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * international/mule-cmds.el (ucs-completions): Remove.
13589 (read-char-by-name): Use complete-with-action instead; add metadata.
13590
fa5660f9
CY
135912011-09-11 Chong Yidong <cyd@stupidchicken.com>
13592
13593 * window.el (display-buffer--action-function-custom-type)
13594 (display-buffer--action-custom-type): New vars.
13595 (display-buffer-alist, display-buffer-default-action)
13596 (display-buffer-overriding-action): Add defcustom types.
13597
4a592f66
CY
13598 * frame.el (delete-other-frames): Doc fix (Bug#276).
13599
73d56dbd
LMI
136002011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13601
13602 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13603
37ac18a3
CY
136042011-09-11 Chong Yidong <cyd@stupidchicken.com>
13605
13606 Change modes that used same-window-* vars to use switch-to-buffer.
13607
13608 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13609 Use switch-to-buffer.
13610
13611 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
13612 (customize-browse, custom-buffer-create-other-window):
13613 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
13614
13615 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13616 (Info-prev, Info-up, Info-speedbar-goto-node)
13617 (info-display-manual): Use switch-to-buffer.
13618 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13619
13620 * mail/sendmail.el (mail): Use switch-to-buffer.
13621 (mail-recover): Use switch-to-buffer-other-window.
13622
13623 * cmuscheme.el (run-scheme, switch-to-scheme):
13624 * ielm.el (ielm):
13625 * shell.el (shell):
13626 * net/rlogin.el (rlogin):
13627 * net/telnet.el (telnet, rsh):
13628 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13629
10195bd6
AS
136302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13631
13632 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13633
b322f63a
LMI
136342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13635
39d7fed6
LMI
13636 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13637 so don't mention it (bug#9301).
ba5a81f1 13638 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 13639
ee0e9f11
LMI
13640 * faces.el (face-spec-set-match-display): Make `(type graphic)'
13641 match `x', `w32' and `ns', like the manual says (bug#9029).
13642
0b1c89c1 13643 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
13644 (process-kill-buffer-query-function): Mention the buffer name in
13645 the query.
0b1c89c1 13646
77549ea8
LMI
13647 * image-mode.el (image-next-line): The line parameter is mandatory
13648 (bug#9258).
13649
803ef892
LMI
13650 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13651 which can be useful (bug#9301).
13652
12980837
LMI
13653 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13654
91054f8f
LMI
13655 * subr.el (match-string): Mention that the current buffer should
13656 be the same as the search was done in (bug#9282).
13657
b322f63a
LMI
13658 * facemenu.el: Disable the remove-* commands if the mark isn't
13659 active (bug#9162).
13660
3199b96f
CY
136612011-09-10 Chong Yidong <cyd@stupidchicken.com>
13662
13663 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13664 of display-buffer.
13665 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13666
13667 * replace.el (occur-mode-goto-occurrence)
13668 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13669 and display-buffer.
13670
13671 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13672 display-buffer.
13673
13674 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13675 special-display and same-window variables.
13676 (mail-other-window): Use switch-to-buffer-other-window.
13677 (mail-other-frame): USe switch-to-buffer-other-frame.
13678
393a301e
SM
13679 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13680 Use display-buffer-other-frame.
3199b96f
CY
13681 (gdb-display-gdb-buffer): Use pop-to-buffer.
13682
13683 * progmodes/gud.el (gud-goto-info): Use info-other-window.
13684
13685 * progmodes/python.el: Don't set same-window-buffer-names.
13686
13687 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13688
13689 * window.el (display-buffer-alist): Add *Python*.
13690
8319e0bf
CY
136912011-09-10 Chong Yidong <cyd@stupidchicken.com>
13692
13693 * window.el (display-buffer-alist): Add entry for buffers
13694 previously handled same-window-*.
13695 (display-buffer-alist, display-buffer-default-action)
13696 (display-buffer-overriding-action): Mark as risky.
13697 (display-buffer-alist): Document action function changes.
13698 (display-buffer--same-window-action)
13699 (display-buffer--other-frame-action): New variables.
13700 (switch-to-buffer, display-buffer-other-frame): Use them.
13701 (display-buffer): Rename reuse-frame entry to reusable-frames.
13702 (display-buffer-reuse-selected-window): Function deleted.
13703 (display-buffer-reuse-window): Handle reusable-frames alist entry.
13704 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13705 (display-buffer-special): New function.
13706 (display-buffer--maybe-pop-up-frame-or-window): Rename from
13707 display-buffer-reuse-or-pop-window. Split off special-display
13708 part into display-buffer-special.
13709 (display-buffer-use-some-window): Don't perform any special
13710 pop-up-frames handling.
13711 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 13712 (display-buffer--maybe-same-window): Rename from
0d3ff375 13713 display-buffer-maybe-same-window.
8319e0bf 13714
919a69aa
CY
13715 * info.el: Don't set same-window-regexps.
13716 (info-setup): New function.
13717 (info-other-window, info): Call it.
13718
13719 * cus-edit.el: Don't set same-window-regexps.
13720 (customize-group): New argument.
13721 (customize-group-other-window): Use it.
13722 (customize-face, customize-face-other-window): Likewise.
13723 (custom-buffer-create-other-window): Use pop-to-buffer directly.
13724
8319e0bf
CY
13725 * net/rlogin.el:
13726 * net/telnet.el:
13727 * progmodes/gud.el: Don't set same-window-regexps.
13728
13729 * cmuscheme.el:
13730 * ielm.el:
13731 * shell.el:
13732 * mail/sendmail.el:
13733 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13734
25173000
JL
137352011-09-10 Juri Linkov <juri@jurta.org>
13736
13737 * isearch.el (isearch-edit-string): Remove obsolete mention of
13738 `C-w' (`isearch-yank-word-or-char') from docstring.
13739 (isearch-query-replace): Fix typo in docstring (bug#9466).
13740
056e44ef
JL
137412011-09-10 Juri Linkov <juri@jurta.org>
13742
13743 * paren.el (show-paren-function): Don't show escaped parens.
13744 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
13745
c3760c17
EZ
137462011-09-10 Eli Zaretskii <eliz@gnu.org>
13747
13748 * mail/sendmail.el (mml-to-mime, mml-attach-file)
13749 (mm-default-file-encoding): Remove autoload forms, they are
13750 replaced with autoload cookies in mml.el and mm-encode.el.
13751 (mail-add-attachment): New command.
13752 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13753 (mail-mode): Mention mail-insert-file and mail-add-attachment in
13754 the doc string.
13755 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13756
fece895e
RT
137572011-09-10 Reuben Thomas <rrt@sc3d.org>
13758
e69df516
SM
13759 * simple.el (count-words-region): Use buffer if there's no region
13760 (bug#9429).
fece895e 13761
5e68ce4a
JL
137622011-09-09 Juri Linkov <juri@jurta.org>
13763
13764 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13765 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13766 (wdired-isearch-filter-read-only): New function. (Bug#6362)
13767
0a6b9622
AM
137682011-09-09 Alan Mackenzie <acm@muc.de>
13769
13770 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13771 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
13772
14a29deb
EZ
137732011-09-09 Eli Zaretskii <eliz@gnu.org>
13774
13775 Fix for Savannah bug#9392.
13776 * simple.el (mail-encode-mml): New defvar.
13777
13778 * mail/rmail.el (mail-encode-mml): Add a defvar.
13779 (rmail-enable-mime-composing): Default to t.
13780 (rmail-forward): Use MIME method of forwarding only if both
13781 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13782 Set mail-encode-mml non-nil if the MIME method was used.
13783
13784 * mail/sendmail.el (mml-to-mime): Add autoload form.
13785 (mail-encode-mml): Add a defvar.
13786 (mail-mode): Make mail-encode-mml buffer-local and initialize it
13787 to nil.
13788 (mail-send): If mail-encode-mml is non-nil, run the outgoing
13789 message through mml-to-mime, and reset mail-encode-mml to nil.
13790
28c45130
GM
137912011-09-09 Glenn Morris <rgm@gnu.org>
13792
13793 * woman.el (woman-if-body): When processing an .el block,
13794 do not delete the next .el block as well. (Bug#9447)
69f4b618 13795 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 13796
9b1c252e
MR
137972011-09-08 Martin Rudalics <rudalics@gmx.at>
13798
13799 * window.el (window-deletable-p): Make sure window is live before
13800 invoking window-prev-buffers.
13801
567457e3
LL
138022011-09-08 Leo Liu <sdl.web@gmail.com>
13803
13804 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
13805
97f05794
JL
138062011-09-08 Juri Linkov <juri@jurta.org>
13807
13808 * progmodes/compile.el (compilation-environment): Make it
13809 a defcustom (bug#8340).
13810
8b0874b5
MR
138112011-09-08 Martin Rudalics <rudalics@gmx.at>
13812
13813 * window.el (frame-auto-delete): Rename to window-auto-delete.
13814 Make it control auto-deletion of windows and/or frames.
13815 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 13816 for deleting window/frame. (Bug#9419)
8b0874b5
MR
13817 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13818 Rewrite handling of case when window/frame can be deleted.
13819 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 13820 argument t. (Bug#9456)
8b0874b5 13821
4feb6e73
CY
138222011-09-07 Chong Yidong <cyd@stupidchicken.com>
13823
13824 * help-mode.el (help-mode): Restore autoload.
13825
91ab9c13
JL
138262011-09-07 Juri Linkov <juri@jurta.org>
13827
13828 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13829 `compilation-environment'. Set buffer-local
13830 `compilation-environment' to `thisenv' later after (funcall mode).
13831 (Bug#8340)
13832
13833 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
13834 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13835 instead of replacing its value. (Bug#8340)
13836
0527e251
JL
138372011-09-07 Juri Linkov <juri@jurta.org>
13838
13839 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13840 based on text properties put by `grep-filter' instead of matching
13841 escape sequences.
13842 (grep-mode): Set buffer-local `compilation-error-screen-columns'
13843 to the value of `grep-error-screen-columns' (bug#9438).
13844
249f792c
JL
138452011-09-07 Juri Linkov <juri@jurta.org>
13846
13847 * simple.el (next-error-highlight, next-error-highlight-no-select):
13848 Doc fix (bug#9432).
13849
ff7271b9
OT
138502011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
13851
13852 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13853 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
13854
183fc730
LL
138552011-09-07 Leo Liu <sdl.web@gmail.com>
13856
13857 * net/rcirc.el (rcirc-mode): Conditionally initialize
13858 rcirc-input-ring.
13859
77694924
SM
138602011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
13861
13862 * emacs-lisp/find-func.el (find-function-C-source): Only set
13863 find-function-C-source-directory after checking that we found a source
13864 file there (bug#9440).
13865
d809b8eb
AM
138662011-09-06 Alan Mackenzie <acm@muc.de>
13867
13868 * isearch.el (isearch-other-meta-char): Wherever a key list is
13869 unread, "unread" the prefix arg, too. This fixes bug #8901.
13870
453de99f
OG
138712011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13872
13873 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13874
90439906
JL
138752011-09-05 Juri Linkov <juri@jurta.org>
13876
13877 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13878
f62bd846
JL
138792011-09-05 Juri Linkov <juri@jurta.org>
13880
13881 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13882 keeping point where processing of grep matches begins, and
13883 continue to delete remaining escape sequences from the same point.
13884 (grep-filter): Make leading zero optional in "0?1;31m" because
13885 git-grep emits "\033[1;31m" escape sequences unlike expected
13886 "\033[01;31m" as GNU Grep does (bug#9408).
13887 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13888
045820ec
JL
138892011-09-05 Juri Linkov <juri@jurta.org>
13890
13891 * subr.el (y-or-n-p): Capitalize "yes".
13892
f5e29b9b
MA
138932011-09-04 Michael Albinus <michael.albinus@gmx.de>
13894
13895 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
13896 `tramp-cache-unload-hook' where appropriate.
13897 (tramp-methods): Rename `tramp-remote-sh' to
13898 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
13899 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13900
13901 * net/tramp-sh.el (top): Don't require 'shell.
13902 (tramp-methods): Add `tramp-remote-shell' and
13903 `tramp-remote-shell-args' entries.
13904 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13905 (tramp-sh-handle-shell-command): Remove.
13906 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13907 Use `tramp-remote-shell'.
13908
2784c434
CY
139092011-09-03 Chong Yidong <cyd@stupidchicken.com>
13910
393a301e 13911 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
13912 (sendmail-query-once): Save directly to send-mail-function.
13913 Update message-send-mail-function too.
13914
13915 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13916
464cdf56
CS
139172011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13918
13919 * progmodes/python.el (python-mode-map): Use correct function to
13920 start python interpreter from menu-bar (as reported by Geert
13921 Kloosterman).
13922 (inferior-python-mode-map): Fix typo.
393a301e 13923 (python-shell-map): Remove.
464cdf56 13924
d37e5c87
DD
139252011-09-03 Deniz Dogan <deniz@dogan.se>
13926
13927 * net/rcirc.el (rcirc-print): Simplify code for
13928 rcirc-scroll-show-maximum-output. There is no need to walk
13929 through all windows to find the right one.
13930
f3ada0ee
CS
139312011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
13932
13933 * help.el (help-return-method): Doc fix.
13934
1f3c99ca
MR
139352011-09-03 Martin Rudalics <rudalics@gmx.at>
13936
13937 * window.el (window-deletable-p): Don't return a non-nil value
13938 when there's a buffer that was shown in the window before.
13939 (Bug#9419)
393a301e
SM
13940 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13941 Set window's previous buffers to nil.
1f3c99ca 13942
a3cf097f
EZ
139432011-09-03 Eli Zaretskii <eliz@gnu.org>
13944
13945 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13946 newline before and after the tag line, so it doesn't interfere
13947 with determining the paragraph direction of bidirectional text.
13948
3d03de90
LL
139492011-09-03 Leo Liu <sdl.web@gmail.com>
13950
13951 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
13952
c3313451
CY
139532011-09-02 Chong Yidong <cyd@stupidchicken.com>
13954
393a301e 13955 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
13956 (pop-to-buffer): Change interactive spec. Pass second argument
13957 directly to display-buffer.
13958 (display-buffer): Fix interactive spec. Use functionp to
13959 distinguish between a function and a list of functions.
13960
13961 * abbrev.el (edit-abbrevs):
13962 * arc-mode.el (archive-extract):
13963 * autoinsert.el (auto-insert):
13964 * bookmark.el (bookmark-bmenu-list):
13965 * files.el (find-file):
13966 * view.el (view-buffer):
13967 * progmodes/compile.el (compilation-goto-locus):
13968 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13969
89894cd8
CY
139702011-09-02 Chong Yidong <cyd@stupidchicken.com>
13971
13972 * window.el (display-buffer-alist): Doc fix.
13973 (display-buffer): Add docstring. Don't treat
13974 display-buffer-default specially.
13975 (display-buffer-reuse-selected-window)
13976 (display-buffer-same-window, display-buffer-maybe-same-window)
13977 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13978 (display-buffer-pop-up-window)
13979 (display-buffer-reuse-or-pop-window)
13980 (display-buffer-use-some-window): New functions.
13981 (display-buffer-default-action): Use them.
393a301e 13982 (display-buffer-default): Delete.
89894cd8
CY
13983 (pop-to-buffer-1): Fix choice of actions.
13984
ae0bc9fb
SM
139852011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
13986
13987 * minibuffer.el (completion--insert-strings): Don't get confused by
13988 completion entries that end with an LF char.
13989
e9d90883
EZ
139902011-09-01 Eli Zaretskii <eliz@gnu.org>
13991
13992 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13993
437014c8
CY
139942011-09-01 Chong Yidong <cyd@stupidchicken.com>
13995
13996 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
13997 (display-buffer-same-window, display-buffer-other-window):
13998 New functions.
437014c8
CY
13999 (pop-to-buffer-1): New function. Use the above.
14000 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14001 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14002
14003 * view.el (view-buffer-other-window, view-buffer-other-frame):
14004 Just use pop-to-buffer.
14005
a5e063d5
TV
140062011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14007
14008 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14009
793d32bb
WH
140102011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14011
14012 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14013
d65e4c15
RS
140142011-08-31 Richard Stallman <rms@gnu.org>
14015
14016 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14017 of the separation of rmail-view-buffer from rmail-buffer.
14018 If you say no to "replace original", the decrypt is in the
14019 view buffer. If you say yes, the decrypt goes into the
14020 rmail buffer also.
14021
f818cd2a
MR
140222011-08-31 Martin Rudalics <rudalics@gmx.at>
14023
14024 * window.el (display-buffer-window): Rewrite doc-string.
14025 (display-buffer-record-window): New function.
14026 (display-buffer-macro-specifiers)
14027 (display-buffer-even-window-sizes, display-buffer-set-height)
14028 (display-buffer-set-width, display-buffer-in-window)
14029 (display-buffer-reuse-window, display-buffer-split-specifiers)
14030 (display-buffer-side-specifiers, display-buffer-split-window-1)
14031 (display-buffer-split-window, display-buffer-split-atom-window)
14032 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14033 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14034 (display-buffer-other-window-means-other-frame)
14035 (display-buffer-normalize-special)
14036 (display-buffer-normalize-default)
14037 (display-buffer-normalize-argument)
14038 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14039 (display-buffer-normalize-specifiers, display-buffer-frame)
14040 (display-buffer-same-window, display-buffer-same-frame)
14041 (display-buffer-other-window)
14042 (display-buffer-same-frame-other-window)
14043 (display-buffer-other-frame, pop-to-buffer-same-window)
14044 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14045 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14046 (switch-to-buffer-same-frame)
14047 (switch-to-buffer-other-window-same-frame)
14048 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14049 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14050 (display-buffer-alist-set): Remove.
14051 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14052 (special-display-regexps, special-display-function):
14053 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14054 parameter.
14055 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14056 (special-display-frame-alist, special-display-popup-frame)
14057 (same-window-buffer-names, same-window-regexps, same-window-p)
14058 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14059 (split-window-preferred-function, split-height-threshold)
14060 (split-width-threshold, window-splittable-p)
14061 (split-window-sensibly, window--try-to-split-window)
14062 (window--frame-usable-p, even-window-heights)
14063 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14064 (window--display-buffer-2, display-buffer-other-frame):
14065 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14066 (display-buffer-default, display-buffer-assq-regexp): New functions.
14067 (display-buffer-alist): Rewrite doc-string.
14068 (display-buffer-default-action)
14069 (display-buffer-overriding-action): New variables.
14070 (display-buffer, switch-to-buffer): Rewrite.
14071 (pop-to-buffer): Restore Emacs 23 behavior but use
14072 window-normalize-buffer-to-display.
14073 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14074 Restore Emacs 23 behavior but use
14075 window-normalize-buffer-to-switch-to.
14076 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14077 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14078 Rewrite using Emacs 23 options.
f818cd2a 14079
5bc3b51d
MA
140802011-08-31 Michael Albinus <michael.albinus@gmx.de>
14081
14082 * net/tramp.el (tramp-root-regexp): Remove.
14083 (tramp-completion-file-name-regexp-unified)
14084 (tramp-completion-file-name-regexp-separate)
14085 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14086 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14087 (tramp-drop-volume-letter): Simplify definition.
14088 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14089
b1a4f8e1
SM
140902011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14091
14092 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14093 (bug#9356).
14094
5664fa7b
RT
140952011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14096
b1a4f8e1 14097 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14098
9a45d6c3
JL
140992011-08-29 Juri Linkov <juri@jurta.org>
14100
14101 * isearch.el (isearch-done): Don't display message "Mark saved"
14102 when arg `edit' is non-nil to prevent its flicker in the echo area.
14103
fb87e0fb
CY
141042011-08-28 Chong Yidong <cyd@stupidchicken.com>
14105
14106 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14107 obsolete packages for deletion.
14108
09ac1c2a
CS
141092011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14110
14111 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14112 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14113 view-mode from help-mode.
14114 (help-xref-override-view-map): Remove.
14115 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14116 view-mode is not used anymore.
14117
7a1ff57f
CY
141182011-08-28 Chong Yidong <cyd@stupidchicken.com>
14119
14120 * server.el (server-port): Doc fix.
14121
b9696605
CY
14122 * cus-theme.el (custom-theme-choose-mode): Inherit from
14123 special-mode (Bug#9124).
14124 (custom-theme-choose-mode-map): Add special-mode to parent.
14125
ef8cdf8c
AM
141262011-08-28 Alan Mackenzie <acm@muc.de>
14127
14128 * progmodes/cc-fonts.el
14129 (c-make-font-lock-BO-decl-search-function): New function.
14130 (c-basic-matchers-after - "Fontify the clauses after various
14131 keywords"): Extract the three keyword lists for the 3 erroneous
14132 constructs from the list of four, and use the new function above
14133 in place of an old one.
14134
27de4e20
DD
141352011-08-28 Deniz Dogan <deniz@dogan.se>
14136
14137 * net/rcirc.el (rcirc-insert-prev-input)
14138 (rcirc-insert-next-input): Remove unused argument.
14139
356a3681
SM
141402011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14141
14142 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14143
3fc9b218
AM
141442011-08-27 Alan Mackenzie <acm@muc.de>
14145
14146 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14147 handle function pointer parameters properly.
14148
538a061c
MR
141492011-08-27 Martin Rudalics <rudalics@gmx.at>
14150
14151 * window.el (display-buffer-reuse-window): Fix case where
14152 selected window was reused with non-nil OTHER-WINDOW argument.
14153 (Bug#9381)
14154
35b1c40c
DD
141552011-08-27 Deniz Dogan <deniz@dogan.se>
14156
14157 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14158 oftc's NickServ messages.
14159
2f6a3e79
GM
141602011-08-27 Glenn Morris <rgm@gnu.org>
14161
14162 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14163
7254299e
CY
141642011-08-26 Chong Yidong <cyd@stupidchicken.com>
14165
14166 * emacs-lisp/package.el (package-install): Call package-initialize
14167 if called interactively.
14168
f8ccf167
LL
141692011-08-26 Leo Liu <sdl.web@gmail.com>
14170
14171 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14172
3e8cd5ce
JL
141732011-08-25 Juri Linkov <juri@jurta.org>
14174
14175 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14176 `search-whitespace-regexp' (bug#9364).
14177
93eb7113
JL
141782011-08-25 Juri Linkov <juri@jurta.org>
14179
14180 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14181 `regexp-search-ring' to their global values to protect from
14182 updating by `read-from-minibuffer' (bug#9185).
14183
f65d1611
JL
141842011-08-25 Juri Linkov <juri@jurta.org>
14185
14186 * textmodes/ispell.el (ispell-command-loop): Add newline
14187 at the end of the "Use option `i'..." line.
14188
f1cf7a31
JL
141892011-08-25 Juri Linkov <juri@jurta.org>
14190
14191 * battery.el (display-battery-mode): If `battery-status-function'
14192 or `battery-mode-line-format' is nil, display the message and set
14193 `display-battery-mode' to nil (bug#9363).
14194
0c95fcf7
EZ
141952011-08-25 Eli Zaretskii <eliz@gnu.org>
14196
14197 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14198 bidi-string-mark-left-to-right; they are unnecessary now.
14199
a2ebe600
DD
142002011-08-25 Deniz Dogan <deniz@dogan.se>
14201
14202 * net/quickurl.el: Documentation typo fixes.
14203
e4ed06f1
CY
142042011-08-25 Chong Yidong <cyd@stupidchicken.com>
14205
14206 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14207
e5f1c99e
GM
142082011-08-25 Glenn Morris <rgm@gnu.org>
14209
b2948976
GM
14210 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14211
e5f1c99e
GM
14212 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14213 (smtpmail-via-smtp): Handle nil response from smtp.
14214
f22f4808
JL
142152011-08-24 Juri Linkov <juri@jurta.org>
14216
14217 * proced.el (proced-marked): Inherit from `error' instead of
14218 `font-lock-warning-face'.
14219
14220 * ibuffer.el (ibuffer-marked-face): Change default face from
14221 `font-lock-warning-face' to `warning'.
14222 (ibuffer-deletion-face): Change default face from
14223 `font-lock-type-face' to `error'.
14224
14225 * battery.el (battery-update): Use the face `error' instead of
14226 `font-lock-warning-face' (bug#6117).
14227
6a93965e
JL
142282011-08-24 Juri Linkov <juri@jurta.org>
14229
14230 * faces.el (success): Change face color from "Green3" to
14231 "ForestGreen" on light background (bug#9353).
14232
1ed43b09
CY
142332011-08-24 Chong Yidong <cyd@stupidchicken.com>
14234
5664fa7b
RT
14235 * window.el (quit-window): Rename from quit-restore-window.
14236 Use same arglist as old quit-window.
1ed43b09
CY
14237 (frame-auto-delete): Doc fix.
14238
14239 * view.el (view-mode-exit): Use quit-window.
14240
11dcdbb2
JL
142412011-08-24 Juri Linkov <juri@jurta.org>
14242
14243 * isearch.el (isearch-ring-adjust1): Start visiting previous
14244 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14245 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14246 for empty search string (when the last search string is reused
14247 automatically) to adjust the isearch ring to the last element and
14248 prepare the correct index for further M-p commands (bug#9185).
14249
de62b4df
KH
142502011-08-24 Kenichi Handa <handa@m17n.org>
14251
14252 * international/ucs-normalize.el: If decomposition property of
14253 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14254 nil.
14255 (nfd, nfkd): Likewise.
14256
963b492b
SM
142572011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14258
14259 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14260 from process filters aren't reliably transmitted to the surrounding
14261 accept-process-output.
14262 (mpc-proc-check): New function.
14263 (mpc-proc-sync): Use it (bug#8293)
14264
93b6b5e1
SM
142652011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14266
14267 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14268 Add compatibility functions (bug#9313).
14269
bca633fb
EZ
142702011-08-23 Eli Zaretskii <eliz@gnu.org>
14271
b177498a
EZ
14272 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14273
6df6ae42 14274 * international/uni-bidi.el: Regenerate.
bca633fb 14275
0902a04e
KH
142762011-08-23 Kenichi Handa <handa@m17n.org>
14277
14278 * international/charprop.el:
14279 * international/uni-bidi.el:
14280 * international/uni-category.el:
14281 * international/uni-combining.el:
14282 * international/uni-comment.el:
14283 * international/uni-decimal.el:
14284 * international/uni-decomposition.el:
14285 * international/uni-digit.el:
14286 * international/uni-lowercase.el:
14287 * international/uni-mirrored.el:
14288 * international/uni-name.el:
14289 * international/uni-numeric.el:
14290 * international/uni-old-name.el:
14291 * international/uni-titlecase.el:
14292 * international/uni-uppercase.el: Regenerate.
14293
3bbf23bc
MR
142942011-08-23 Martin Rudalics <rudalics@gmx.at>
14295
14296 * help.el (help-window-setup): Fix message displayed when other
14297 window is reused. (Bug#9341)
14298
b3fd59bd
SM
142992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14300
1802e444
SM
14301 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14302 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14303
b3fd59bd
SM
14304 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14305 Mark obsolete.
14306 * shell.el (shell-parse-pcomplete-arguments): New function.
14307 (shell-completion-vars): Use it instead (bug#9160).
14308
4eb61348
SM
143092011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14310
867cab74
SM
14311 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14312 strings and comments (bug#9333).
14313
4eb61348
SM
14314 * emacs-lisp/debug.el (debug-arglist): New function.
14315 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14316 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14317
262a1439
JL
143182011-08-22 Juri Linkov <juri@jurta.org>
14319
56ee679c
JL
14320 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14321 Revert regexp that highlights output switches to its old
14322 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14323
262a1439
JL
14324 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14325 to check for empty output (bug#9226).
14326
f13f86fb
CY
143272011-08-22 Chong Yidong <cyd@stupidchicken.com>
14328
14329 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14330 symbol-constituent as the default, as that stops font-lock from
14331 working properly (Bug#8843).
14332
c65c9622
LMI
143332011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14334
14335 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14336 `coding-system-for-*' around the process open call to avoid
14337 auth-source side effects.
e7f2c178 14338 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14339 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14340 probe hangs.
c65c9622 14341
23a8a5ab
CY
143422011-08-21 Chong Yidong <cyd@stupidchicken.com>
14343
ff98b2dd
CY
14344 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14345
23a8a5ab
CY
14346 * emacs-lisp/find-func.el (find-function-noselect): New arg
14347 lisp-only.
14348
14349 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14350 signal an error for built-in functions (Bug#6664).
14351
f5e3c598
LMI
143522011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14353
14354 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14355 (smtpmail-try-auth-methods): Use it.
14356
a3f2468a
CY
143572011-08-21 Chong Yidong <cyd@stupidchicken.com>
14358
2c34e8da
CY
14359 * font-lock.el (font-lock-fontify-region)
14360 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14361 (font-lock-default-unfontify-buffer)
14362 (font-lock-default-fontify-region)
14363 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14364
b3fd59bd
SM
14365 * progmodes/compile.el (compilation-error-properties):
14366 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14367 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14368 `ant' regexp.
ee31aabc 14369
a3f2468a
CY
14370 * net/browse-url.el (browse-url-firefox): Don't call
14371 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14372
8e999f70
GM
143732011-08-20 Glenn Morris <rgm@gnu.org>
14374
c21a496a
GM
14375 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14376
59ee0542
GM
14377 * tutorial.el (tutorial--default-keys): Update some default bindings.
14378
8e999f70
GM
14379 * files.el (hack-local-variables): Fully ignore case for "mode:".
14380
e3715033
AM
143812011-08-20 Alan Mackenzie <acm@muc.de>
14382
14383 Resolve invalid use of a regexp in regexp-opt.
14384
4d61f28d
JB
14385 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14386 detection for a java annotation.
e3715033 14387
4d61f28d 14388 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14389 detection for a java annotation.
14390
4d61f28d
JB
14391 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14392 handling for java.
e3715033
AM
14393 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14394
04ed2e9c
CY
143952011-08-20 Chong Yidong <cyd@stupidchicken.com>
14396
14397 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14398 (Bug#9274).
14399
826cee64
AM
144002011-08-20 Alan Mackenzie <acm@muc.de>
14401
58179cce 14402 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14403 such a construct. Mainly for when jit-lock etc. starts a chunk
14404 here.
14405
58179cce 14406 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14407 variable.
58179cce 14408 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14409 c-make-font-lock-search-function.
14410 (c-make-font-lock-search-function): Use the above function.
14411 (c-make-font-lock-context-search-function): New function.
14412 (c-cpp-matchers): Enhance the preprocessor expression case with
14413 the above function
14414 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14415 which takes an expression.
14416
14417 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14418
13009bd8
MR
144192011-08-20 Martin Rudalics <rudalics@gmx.at>
14420
14421 * window.el (display-buffer-reuse-window)
14422 (display-buffer-pop-up-window): Don't reuse or split a side
14423 window.
14424
9234ff7f
GM
144252011-08-19 Glenn Morris <rgm@gnu.org>
14426
14427 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14428 Downcase "Mode:". (Bug#9331)
9234ff7f 14429
f635daa1
CY
144302011-08-18 Chong Yidong <cyd@stupidchicken.com>
14431
14432 * international/characters.el: Add L and R categories.
14433
14434 * subr.el (bidi-string-mark-left-to-right): Rename from
14435 string-mark-left-to-right. Use category search.
14436
14437 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14438
bc987f8b
JL
144392011-08-18 Juri Linkov <juri@jurta.org>
14440
14441 * faces.el (error, warning, success): New faces with definitions
14442 copied from old default values of `font-lock-warning-face',
14443 `compilation-warning', `compilation-info' (bug#6117).
14444
14445 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14446
14447 * progmodes/compile.el (compilation-error): Inherit from `error'.
14448 (compilation-warning): Inherit from `warning'.
14449 (compilation-info): Inherit from `success'.
14450
14451 * dired.el (dired-marked): Inherit from `warning'.
14452 (dired-flagged): Inherit from `error'.
14453
57173b96
LMI
144542011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14455
3e79eb87
LMI
14456 * mail/smtpmail.el (auth-source): Require to avoid problems with
14457 binding variables (bug#9298). Also clean up some unused
14458 autoloads.
14459
b3fd59bd
SM
14460 * net/network-stream.el (network-stream-open-starttls):
14461 Support using starttls.el without using gnutls-cli.
57173b96 14462
02b404de
JL
144632011-08-17 Juri Linkov <juri@jurta.org>
14464
14465 * progmodes/grep.el (rgrep): Handle the case when
14466 `grep-find-command' is a cons cell (bug#9278).
14467
8c9177f2
MR
144682011-08-17 Martin Rudalics <rudalics@gmx.at>
14469
14470 * window.el (display-buffer-pop-up-frame): Run frame creation
14471 function with BUFFER current (as special-display-popup-frame
14472 does). Reported by Drew Adams.
14473
3644a0ab
DU
144742011-08-17 Daiki Ueno <ueno@unixuser.org>
14475
14476 * epa-mail.el: Simplify GnuPG group expansion using
14477 epg-expand-group.
14478 (epa-mail-group-alist, epa-mail-group-modtime)
14479 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14480 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14481 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14482 Remove.
14483
5e617bc2 144842011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14485
14486 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14487
9c4aeabf
AM
144882011-08-16 Alan Mackenzie <acm@muc.de>
14489
14490 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14491 Correct, to avoid the inside of macros.
14492
3a99bf64
RS
144932011-08-16 Richard Stallman <rms@gnu.org>
14494
04963aa8
RS
14495 * epa-mail.el: Handle GnuPG group definitions.
14496 (epa-mail-group-alist, epa-mail-group-modtime)
14497 (epa-mail-gnupg-conf-file): New variables.
14498 (epa-mail-parse-groups, epa-mail-sync-groups)
14499 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14500 (epa-mail-expand-recipients): New functions.
14501 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14502
177549d0
RS
14503 * mail/rmail.el (rmail-epa-decrypt): New command.
14504
fe38beef
RS
14505 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14506 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14507 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14508 (epa-decrypt-armor-in-region): Make error message clearer.
14509
934eacb9
SM
145102011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14511
14512 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14513 and "a2b" to "ab" for `prefix'.
14514
d024fb4e
CY
145152011-08-14 Chong Yidong <cyd@stupidchicken.com>
14516
14517 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14518 filter groups.
de148fee
CY
14519 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14520 Fourquet (Bug#8804).
d024fb4e 14521
62f1ca49
JB
145222011-08-12 Juanma Barranquero <lekktu@gmail.com>
14523
14524 * startup.el (argi): Declare as global variable (bug#9275).
14525
9ccaaa4b
CY
145262011-08-12 Chong Yidong <cyd@stupidchicken.com>
14527
14528 * subr.el (string-mark-left-to-right): Search the entire string
14529 for RTL script, not just the terminating character. Doc fix.
14530
a3dae87a
SM
145312011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14532
6cd18349
SM
14533 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14534 New function.
14535 (js--regexp-literal, js-syntax-propertize-function): Remove.
14536 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14537 (js-mode-map): Don't rebind electric keys.
14538 (js-insert-and-indent): Remove.
14539 (js-mode): Setup electric-layout and electric-indent instead.
14540
a3dae87a
SM
14541 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14542
9d5cb631
DU
145432011-08-12 Daiki Ueno <ueno@unixuser.org>
14544
14545 * epa.el (epa-progress-callback-function): Fix the logic of
14546 displaying progress.
14547 * epa-file.el (epa-file-insert-file-contents): Make progress
14548 display more user-friendly.
14549 (epa-file-write-region): Ditto.
14550
3e26a4a2
CY
145512011-08-10 Chong Yidong <cyd@stupidchicken.com>
14552
14553 * subr.el (string-mark-left-to-right): New function.
14554
14555 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14556 Use string-mark-left-to-right.
14557 (list-buffers-noselect): Caller changed.
14558
a3dae87a
SM
14559 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14560 Use string-mark-left-to-right.
3e26a4a2
CY
14561 (tabulated-list-print): Recenter after moving point.
14562
ac8cf6e6
JL
145632011-08-10 Juri Linkov <juri@jurta.org>
14564
14565 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14566 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14567 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14568
8d96c9a4
CY
145692011-08-09 Chong Yidong <cyd@stupidchicken.com>
14570
14571 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14572 (Bug#7554).
14573
7be1c708 145742011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
14575
14576 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14577 character. (Bug#6594)
14578
37e11a63
CY
145792011-08-08 Chong Yidong <cyd@stupidchicken.com>
14580
839dde57
CY
14581 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14582 (image-dired--with-db-file): New macro.
14583 (image-dired-write-tags, image-dired-remove-tag)
14584 (image-dired-create-gallery-lists, image-dired-write-comments)
14585 (image-dired-get-comment, image-dired-mark-tagged-files)
14586 (image-dired-list-tags, image-dired-gallery-generate): Use it.
14587 (image-dired-gallery-generate): Use insert-file-contents.
14588
37e11a63
CY
14589 * time.el (display-time-world-list, display-time-world-display):
14590 * time-stamp.el (time-stamp-string):
14591 * vc/add-log.el (add-change-log-entry): Use setenv instead of
14592 set-time-zone-rule (Bug#7337).
14593
0b4946c4
DU
145942011-08-08 Daiki Ueno <ueno@unixuser.org>
14595
14596 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14597 (epg-error-to-string, epg-errors-to-string): New function.
14598 (epg-wait-for-completion): Reverse errors list.
14599 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14600 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14601 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14602 (epg-sign-keys, epg-generate-key-from-file)
14603 (epg-generate-key-from-string): Format errors by using
14604 epg-errors-to-string (bug#9255).
14605 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14606
75bfc667
JL
146072011-08-07 Juri Linkov <juri@jurta.org>
14608
14609 * faces.el (list-faces-display): Remove extra angle bracket
14610 from `help-mode-map'.
14611
14612 * info.el (Info-history-toc-nodes): Doc fix.
14613
14614 * longlines.el (longlines-mode): Doc fix.
14615
673e08bb
SM
146162011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
14617
4640dd88
SM
14618 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14619 of statements and in a few more cases (bug#9183).
14620
673e08bb
SM
14621 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14622 New functions.
14623 (cl-transform-lambda): Use them (bug#9239).
14624
89b3f019
MR
146252011-08-05 Martin Rudalics <rudalics@gmx.at>
14626
14627 * window.el (display-buffer-same-window)
14628 (display-buffer-same-frame, display-buffer-other-window)
14629 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14630 (pop-to-buffer-other-window)
14631 (pop-to-buffer-same-frame-other-window)
14632 (pop-to-buffer-other-frame): Make them defuns.
14633 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14634
640c8776
SM
146352011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14636
14637 * subr.el (make-composed-keymap): Move from C. Change calling
14638 convention, and improve docstring to bring attention to a subtle point.
14639 * minibuffer.el (completing-read-default): Adjust accordingly.
14640
63648a95
MA
146412011-08-03 Michael Albinus <michael.albinus@gmx.de>
14642
14643 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14644 (tramp-open-shell): Use `tramp-shell-quote-argument'.
14645
14646 * net/trampver.el: Update release number.
14647
b796c9b7
SM
146482011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
14649
14650 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14651 "in" (bug#9190).
14652
2239d7d5
LMI
146532011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14654
e07dd7c3
LMI
14655 * mail/sendmail.el (sendmail-query-once): Restore the current
14656 buffer after querying (bug#9074).
14657
0e6a2bd7
LMI
14658 * dired.el (dired-flagged): Use different faces for marked and
14659 flagged files (bug#6117).
14660
ce887515
LMI
14661 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14662 (bug#4433).
14663
92f2affc
LMI
14664 * ido.el (ido-mode): Switch off the message if called
14665 non-interactively.
14666
57d5aff0
LMI
14667 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14668 before 587, since it appears that that's more likely to work for
14669 more people.
14670
98cd6c18 14671 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 14672 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
14673 exist.
14674
b96dec83
LMI
14675 * info.el: Remove the `Info-beginning-of-buffer' function
14676 (bug#8325).
14677
b796c9b7
SM
14678 * net/network-stream.el (network-stream-open-starttls):
14679 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 14680
d90e2ea0
MR
146812011-08-01 Martin Rudalics <rudalics@gmx.at>
14682
14683 * window.el (display-buffer-in-window): Don't set dedicated status
14684 of window here (Bug#9215).
14685 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14686 (display-buffer-pop-up-side-window)
b796c9b7 14687 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 14688
cca09170
SM
146892011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
14690
14691 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14692 before binding generated-autoload-file.
14693
027b979c
DD
146942011-08-01 Deniz Dogan <deniz@dogan.se>
14695
14696 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14697
3c7ee4f3
MA
146982011-07-30 Michael Albinus <michael.albinus@gmx.de>
14699
14700 Sync with Tramp 2.2.2.
14701
14702 * net/trampver.el: Update release number.
14703
2cc8e51a
JL
147042011-07-30 Juri Linkov <juri@jurta.org>
14705
14706 * dired-aux.el (dired-touch-initial): Remove function.
14707 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14708 current time, and `default' to the last modification time of the
14709 current marked file (bug#6887).
14710
a514d856
JM
147112011-07-28 Jose E. Marchesi <jemarch@gnu.org>
14712
14713 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 14714 numeric argument to read-number (bug#9163).
a514d856 14715
8a7eddd7
MA
147162011-07-27 Michael Albinus <michael.albinus@gmx.de>
14717
14718 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14719 connection process, it could be nil.
14720
1ddd96f5
LL
147212011-07-27 Leo Liu <sdl.web@gmail.com>
14722
14723 Simplify url handling in rcirc-mode.
14724
14725 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14726 (rcirc-browse-url-at-mouse): Remove.
14727 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14728
b248a85d
AM
147292011-07-26 Alan Mackenzie <acm@muc.de>
14730
14731 Fontify bitfield declarations properly.
14732
14733 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14734 (c-symbol-chars): Now exported as a lang variable.
14735 (c-not-primitive-type-keywords): New lang variable.
14736
14737 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14738 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 14739 parsed as a bitfield declaration.
b248a85d 14740
b796c9b7
SM
14741 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14742 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
14743 (c-punctuation-in): New function.
14744 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14745 declarations properly.
14746
68575ab0
UJ
147472011-07-26 Ulf Jasper <ulf.jasper@web.de>
14748
14749 * calendar/icalendar.el (icalendar--all-events): Take care of
14750 multiple vcalendars in a single file.
b796c9b7 14751 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 14752
0f0a88b9
DD
147532011-07-25 Deniz Dogan <deniz@dogan.se>
14754
14755 * image.el (insert-image): Clarifying docstring.
14756
0b3f36df
MA
147572011-07-24 Michael Albinus <michael.albinus@gmx.de>
14758
14759 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14760 `tramp-send-command-and-check' if there is no error.
14761 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14762
a9901f61
AM
147632011-07-22 Alan Mackenzie <acm@muc.de>
14764
14765 Prevent cc-langs.elc being loaded at run time.
14766
14767 * progmodes/cc-mode.el: Remove two autoload forms which loaded
14768 cc-langs.
14769
4d61f28d 14770 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
14771 "(require 'cc-langs)". Quote a form so it will evaluate at
14772 (cc-mode's) compilation time.
14773
11d074b2
MA
147742011-07-22 Michael Albinus <michael.albinus@gmx.de>
14775
14776 * net/tramp.el (tramp-file-name-handler): Avoid recursive
14777 loading. (Bug#9114)
14778
938b94c8
MR
147792011-07-21 Martin Rudalics <rudalics@gmx.at>
14780
14781 * window.el (display-buffer-pop-up-window)
14782 (display-buffer-pop-up-side-window)
14783 (display-buffer-in-side-window): Call display-buffer-set-height
14784 and display-buffer-set-width after setting the new window's
b796c9b7 14785 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 14786
bfa4f190
SS
147872011-07-20 Sam Steingold <sds@gnu.org>
14788
14789 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14790 (etags-tags-included-tables): Call `convert-standard-filename' on
14791 the file names contained in TAGS so that windows Emacs can handle
14792 TAGS files created by cygwin ctags.
14793
8ca42262
LMI
147942011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
14795
14796 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14797 which apparently didn't work.
14798
5db2afd2 147992011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 14800
5db2afd2
RW
14801 * proced.el (proced-send-signal): For *Marked Processes* buffer
14802 put point at beginning of buffer.
14803
92e15d10
SB
148042011-07-19 Stephen Berman <stephen.berman@gmx.net>
14805
14806 * proced.el (proced-format): Make header lines align with the text
14807 (bug#1779).
14808
1bfd59e5
LMI
148092011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
14810
14811 * view.el (view-buffer): Allow running in `special' modes if we're
14812 visiting a file (bug#8615).
14813
f5aae37c
MR
148142011-07-19 Martin Rudalics <rudalics@gmx.at>
14815
14816 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
14817 (display-buffer-alist-set-1, display-buffer-alist-set-2):
14818 New functions.
f5aae37c
MR
14819 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14820 more accurately.
14821
bf2c1571
AM
148222011-07-18 Alan Mackenzie <acm@muc.de>
14823
14824 Fontify declarators properly when, e.g., a jit-lock chunk begins
14825 inside a declaration.
14826
14827 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14828
b796c9b7
SM
14829 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14830 New function.
bf2c1571
AM
14831 (c-complex-decl-matchers): Insert reference to
14832 c-font-lock-enclosing-decls.
14833
14834 * progmodes/cc-engine.el (c-backward-single-comment):
14835 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14836 to nil around calls to (forward-comment -1).
14837
4e190b80
LMI
148382011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14839
12dc863d
LMI
14840 * image.el (put-image): Doc typo fix.
14841
a762e966
LMI
14842 * progmodes/etags.el (tags-search): Doc typo fix.
14843
4e190b80
LMI
14844 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14845 password if we get errors 550 to 554.
14846
f019fb21
LMI
148472011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
14848
b796c9b7 14849 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 14850
81746738
LMI
14851 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14852 indentation character (bug#6380).
14853
3ee3a1b5
LMI
14854 * files.el (buffer-offer-save): Made permanently local (bug#6241).
14855
c82f64de
LMI
14856 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14857 to clarify what the problem is (bug#4291).
14858
f019fb21
LMI
14859 * simple.el (current-kill): Clarify what
14860 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
14861 (auto-fill-mode): Document `auto-fill-function' in relation to
14862 `auto-fill-mode' (bug#2470).
f019fb21 14863
0794775d
LM
148642011-07-16 Lawrence Mitchell <wence@gmx.li>
14865
14866 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14867 method if slot is read-only (bug#9035).
14868
be39b8cc
MR
148692011-07-16 Martin Rudalics <rudalics@gmx.at>
14870
b796c9b7 14871 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 14872 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
14873 selected before, see discussion of (Bug#8615), (Bug#6954).
14874 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 14875
6ccf7859
GM
148762011-07-15 Glenn Morris <rgm@gnu.org>
14877
14878 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 14879 Respect help-form.
6ccf7859 14880
87e86684
LM
148812011-07-09 Lawrence Mitchell <wence@gmx.li>
14882
14883 * net/gnutls.el (gnutls-min-prime-bits): New variable.
14884 (gnutls-negotiate): Use it.
14885
d6066239
LMI
148862011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14887
b796c9b7
SM
14888 * net/gnutls.el (gnutls-negotiate):
14889 Upcase `gnutls-algorithm-priority'.
d6066239 14890
bd23ebc0
GM
148912011-07-15 Glenn Morris <rgm@gnu.org>
14892
c65bca65
GM
14893 * jka-compr.el (jka-compr-verbose): Move from here...
14894 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
14895 Add missing :version tag.
14896 * info.el: No need to require jka-compr when compiling.
bd23ebc0 14897
478615cc
LMI
148982011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
14899
7b41decb
LMI
14900 * net/gnutls.el (gnutls-algorithm-priority): New variable.
14901 (gnutls-negotiate): Use it.
14902
dbc44fcd
LMI
14903 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14904
06789f97
LMI
14905 * info.el (Info-beginning-of-buffer): New command.
14906 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14907 announcing `b' as the key (bug#8325).
ab896c37 14908 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 14909
c39da690
LMI
14910 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14911
3aa5f34b
LMI
14912 * international/mule-cmds.el
14913 (describe-specified-language-support): Make the error message
14914 clearer (bug#8905).
14915
4bf0979f
LMI
14916 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14917
478615cc
LMI
14918 * isearch.el (isearch-barrier): Add a doc string, since it's
14919 mentioned in a function doc string (bug#8678).
14920
75c68aa1
MR
149212011-07-15 Martin Rudalics <rudalics@gmx.at>
14922
14923 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14924 buffer argument (Bug#9083) and self-identifying label argument.
14925
a7c33da2
GM
149262011-07-15 Glenn Morris <rgm@gnu.org>
14927
14928 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
14929
2f5c6024
LMI
149302011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14931
14932 * man.el (Man-fontify-manpage): Fix message when formatting the
14933 man page (bug#7929).
14934
0bb23927 149352011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
14936
14937 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14938 argument LRM; if non-nil, append an invisible LRM character to the
14939 buffer name.
14940 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14941 last argument non-nil, when formatting buffer names.
0bb23927
EZ
14942 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14943 paragraph direction.
cce4b0a7 14944
621ef9ab
LMI
149452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14946
d1583c48
LMI
14947 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14948 the man page name (bug#7929).
14949
6a57fb5f
LMI
14950 * image.el (put-image): Mention the `put-image' overlay property
14951 (bug#7834).
14952
d7956b14
LMI
14953 * scroll-bar.el (set-scroll-bar-mode): Mention that
14954 `scroll-bar-mode' lists the values (bug#7772).
14955
5b2d4a66
LMI
14956 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14957 command (bug#7729).
14958
7509a874
LMI
14959 * rect.el (apply-on-rectangle): Return the point after the last
14960 operation.
14961 (string-rectangle): Go to the point after the last operation
14962 (bug#7522).
14963
4fe74b19
LMI
14964 * printing.el (pr-toggle-region): Clarify the documentation
14965 slightly (bug#7493).
14966
b796c9b7
SM
14967 * time.el (display-time-update):
14968 Allow `display-time-mail-function' to return nil (bug#7158).
14969 Fix suggested by Detlev Zundel.
ab283561 14970
fc233c9d
LMI
14971 * vc/diff.el (diff): Clarify the order the file names are read
14972 (bug#7111).
14973
43f5740b
LMI
14974 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14975 the doc string (bug#7015).
14976
f2182a76
LMI
14977 * font-lock.el (font-lock-maximum-decoration): Mention what
14978 numeric levels mean (bug#6935).
14979
621ef9ab
LMI
14980 * startup.el (initial-buffer-choice): Don't mention the `none'
14981 selection, which is against policy.
14982
adc47434
MR
149832011-07-14 Martin Rudalics <rudalics@gmx.at>
14984
b796c9b7
SM
14985 * window.el (display-buffer-normalize-special):
14986 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 14987
7e5bfb8f
EZ
149882011-07-14 Eli Zaretskii <eliz@gnu.org>
14989
14990 * subr.el (version<, version<=, version=): Mention "-CVS" and
14991 "-12345" alpha version numbers.
14992
27fa387a
CY
149932011-07-14 Chong Yidong <cyd@stupidchicken.com>
14994
14995 * bindings.el: Add advertised binding for set-mark-command
14996 (Bug#5772).
14997
8bdfa064
CY
149982011-07-14 Chong Yidong <cyd@stupidchicken.com>
14999
15000 * bindings.el (mode-line-other-buffer):
15001 * bookmark.el (bookmark-bmenu-2-window):
15002 * bs.el (bs-cycle-next, bs-cycle-previous):
15003 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15004 switch-to-buffer.
15005
15006 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15007 Delete.
8bdfa064 15008
5eba16a3
JB
150092011-07-14 Juanma Barranquero <lekktu@gmail.com>
15010
15011 * follow.el (follow-debug-message, follow-redisplay):
15012 * jka-cmpr-hook.el (with-auto-compression-mode):
15013 Fix typos in docstrings.
15014
15853710
LMI
150152011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15016
a28e4607
LMI
15017 * subr.el (with-silent-modifications): Clarify somewhat what the
15018 macro inhibits (bug#6525).
15019
15853710
LMI
15020 * simple.el (eval-expression): Note what it does if called
15021 interactively (bug#6495).
15022
bee0fcef
CY
150232011-07-13 Chong Yidong <cyd@stupidchicken.com>
15024
b796c9b7
SM
15025 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15026 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15027
15028 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15029 Remove switch-to-buffer.
15030
58274504
LMI
150312011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15032
bd2fcc8d
LMI
15033 * files.el (make-directory): Clarify that an error will be raised
15034 if there's an error (bug#6397).
15035
0f04b32c
LMI
15036 * startup.el (initial-buffer-choice): Add `none' as a choice
15037 (bug#6234).
15038
465c5fc8
LMI
15039 * subr.el (add-hook): Clarify section about buffer-local hooks
15040 (bug#6218).
15041
58274504
LMI
15042 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15043
bead9a43
JB
150442011-07-13 Juanma Barranquero <lekktu@gmail.com>
15045
15046 * tabify.el (untabify): Preserve the current column so that point
15047 doesn't move (bug#6032).
15048
3af98a7b
LMI
150492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15050
b796c9b7
SM
15051 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15052 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15053
6240145a
GM
150542011-07-13 Glenn Morris <rgm@gnu.org>
15055
15056 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15057 (dired-insert-directory): Give a message the first time
15058 if ls is found not to support --dired.
15059
1d8c2ccc
LMI
150602011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15061
15062 * simple.el (toggle-truncate-lines): Clarify what is toggled
15063 (bug#5580). Text by Drew Adams.
15064
5fc4038e
CY
150652011-07-13 Chong Yidong <cyd@stupidchicken.com>
15066
15067 * simple.el (blink-matching-open): Make the error message from the
15068 last change less verbose.
15069
bf6012e5
DN
150702011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15071
15072 * font-lock.el (font-lock-comment-face): Use the high contrast
15073 "yellow" color for font-lock-comment-face on low color terminals
15074 using a dark background color (bug#4221).
15075
343c3b5a
LMI
150762011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15077
7e9505c5
LMI
15078 * dired.el (dired-insert-set-properties): Make the doc string
15079 reflect what it does now (bug#5325).
15080
c26fdcf5
LMI
15081 * simple.el (blink-matching-open): Say that we were unable to find
15082 the match within the limit, if we're limited (bug#5122).
15083
bb388cc5
LMI
15084 * international/mule-cmds.el (prefer-coding-system): Add an
15085 example (bug#4869).
15086
343c3b5a
LMI
15087 * progmodes/etags.el (tags-search): Document `file-list-form'
15088 (bug#4731).
15089
2a517d45
LM
150902011-07-13 Lawrence Mitchell <wence@gmx.li>
15091
15092 * net/browse-url.el (browse-url-default-browser)
15093 (browse-url-browser-function): Make the default browser choice a
15094 bit more logical (bug#4300). Also clean up the doc string.
15095
b6c78ef2
JB
150962011-07-13 Juanma Barranquero <lekktu@gmail.com>
15097
15098 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15099 binary endings (bug#4440).
15100
1c4dd947
LMI
151012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15102
a2014063
LMI
15103 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15104 which can be pretty annoying (bug#8971).
15105
9c9c2d88
LMI
15106 * jka-compr.el (jka-compr-verbose): New variable, and use
15107 throughout (bug#8971).
15108
1c4dd947
LMI
15109 * info.el (Info-find-file): Fall back on the installation
15110 directory if we can't find the info node anywhere else.
15111
a1c9f41b
SO
151122011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15113
15114 * vc/vc.el (vc-revert-file):
15115 Don't set file time-stamp in the past. (Bug#5181)
15116
536f3d36
LMI
151172011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15118
7152b011
LMI
15119 * files.el (after-find-file): Give a better error message when
15120 trying to find a symlink that points to a file that doesn't exist
15121 (bug#4398).
15122
536f3d36
LMI
15123 * progmodes/cc-vars.el: Remove (probably) misleading comment
15124 (bug#4396).
15125
460c0fba
JB
151262011-07-12 Johan Bockgård <bojohan@gnu.org>
15127
15128 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15129
7a6bda45
CY
151302011-07-12 Chong Yidong <cyd@stupidchicken.com>
15131
15132 * mouse-sel.el: Hack restoring functionality, while keeping
15133 compatibility with 2010-07-03 changes to mouse selection.
15134 (mouse-sel-primary-overlay): New var.
15135 (mouse-sel-selection-alist): Use it.
15136 (mouse-sel-mode): Doc fix; remove points that are default features
15137 of mouse.el.
15138
c79598ef
JB
151392011-07-12 Johan Bockgård <bojohan@gnu.org>
15140
15141 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15142 Fix previous fix (bug#2490).
15143
ff8be6ef
RW
151442011-07-12 Roland Winkler <winkler@gnu.org>
15145
b796c9b7
SM
15146 * textmodes/bibtex.el (bibtex-initialize):
15147 Use pop-to-buffer-same-window.
ff8be6ef
RW
15148 (bibtex-search-entries): Fix interactive call.
15149
296ba3ee
LMI
151502011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15151
f5242a02 15152 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15153 Fontise bytecomp Error lines more correctly (bug#2490).
15154 Fix suggested by Johan Bockgård.
f5242a02 15155
296ba3ee
LMI
15156 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15157
15158 * dired-x.el (dired-guess-default): Use `delete-dups'.
15159
f69fd0d2
CY
151602011-07-12 Chong Yidong <cyd@stupidchicken.com>
15161
15162 * dired.el (dired-mark-prompt):
15163 * dired-aux.el (dired-read-shell-command): Doc fix.
15164
eab5dc07
LMI
151652011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15166
b796c9b7
SM
15167 * mail/sendmail.el (sendmail-query-once):
15168 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15169 emacs -Q.
15170
15171 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15172
eab5dc07
LMI
15173 * cus-edit.el (custom-file): Take an optional no-error variable.
15174 (customize-save-variable): Set the variable, and give a warning if
15175 running under "emacs -q".
15176
a1e65d42
JB
151772011-07-11 Juanma Barranquero <lekktu@gmail.com>
15178
15179 * loadhist.el (unload-feature-special-hooks):
15180 Add `auto-coding-functions', `fill-nobreak-predicate' and
15181 `find-directory-functions' (bug#5327).
15182
1d52da10
LMI
151832011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15184
be958f1d
LMI
15185 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15186
5bedb26c
LMI
15187 * cus-edit.el (custom-guess-name-alist): -alist variables should
15188 use the `alist' type (bug#3120). Suggested by Drew Adams.
15189
1d52da10
LMI
15190 * printing.el: Add documentation to all the `pr-toggle-' commands.
15191
cd394be1 151922011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15193
15194 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15195 backends where it makes sense (bug#2623).
15196
dcc88d8a
LMI
151972011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15198
c3de9feb
LMI
15199 * dired-x.el (dired-guess-default): Remove duplicate shell command
15200 entries (bug#2028).
8a93078b 15201 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15202 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15203
dcc88d8a
LMI
15204 * subr.el (remove-duplicates): New conveniency function.
15205
505e3645
LMI
152062011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15207
15208 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15209 (bug#1526).
15210
152112011-07-10 Martin Rudalics <rudalics@gmx.at>
15212
15213 * window.el (display-buffer-normalize-default): Don't invert
15214 meaning of even-window-heights. Reported by Eli Zaretskii
15215 <eliz@gnu.org>.
15216
455e4fa1
BR
152172011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15218
15219 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15220
8e0bc3e9
CY
152212011-07-10 Chong Yidong <cyd@stupidchicken.com>
15222
15223 * window.el (display-buffer): Fix arguments to
15224 display-buffer-reuse-window in last change.
15225
fa7c3228
CY
15226 * faces.el (link): Use a less saturated blue on light backgrounds.
15227
15228 * startup.el (fancy-startup-text, fancy-about-text)
15229 (fancy-startup-tail): Use font-lock faces, for background safety.
15230
c0a7f300
BN
152312011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15232
b796c9b7
SM
15233 * emulation/viper-cmd.el (viper-change-state-to-vi):
15234 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15235
4dc2a129
MR
152362011-07-09 Martin Rudalics <rudalics@gmx.at>
15237
15238 * window.el (display-buffer-default-specifiers): Remove.
15239 (display-buffer-macro-specifiers): Remove default specifiers.
15240 (display-buffer-alist): Default to nil.
b796c9b7 15241 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15242 (display-buffer-pop-up-window): Allow splitting internal
15243 windows. Check whether a live window was created.
15244 (display-buffer-other-window-means-other-frame)
15245 (display-buffer-normalize-arguments): Rename to
15246 display-buffer-normalize-argument and rewrite. Set the
15247 other-window specifier.
15248 (display-buffer-normalize-special): New function.
15249 (display-buffer-normalize-options): Rename to
15250 display-buffer-normalize-default and rewrite.
15251 (display-buffer-normalize-options-inhibit): Remove.
15252 (display-buffer-normalize-specifiers): Rewrite.
15253 (display-buffer): Process other-window specifier and call
15254 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15255 more faithfully.
b796c9b7 15256 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15257 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15258 (display-buffer-in-window, display-buffer-alist-set):
15259 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15260 <tassilo@member.fsf.org>.
15261
2d43b8c9
LL
152622011-07-09 Leo Liu <sdl.web@gmail.com>
15263
15264 * register.el (insert-register): Restore accidental change on
15265 2011-06-26. (Bug#9028)
15266
7f9b7c53
GM
152672011-07-09 Glenn Morris <rgm@gnu.org>
15268
15269 * subr.el (remq): Handle the empty list. (Bug#9024)
15270
f042cfd8
AS
152712011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15272
15273 * mail/sendmail.el (send-mail-function): No longer delay custom
15274 initialization.
15275 * custom.el (custom-initialize-delay): Doc fix.
15276
856b2f11
SM
152772011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15278
15279 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15280
afae1d68
MA
152812011-07-08 Michael Albinus <michael.albinus@gmx.de>
15282
15283 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15284 human-friendly prompt.
15285
0757af94
SM
152862011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15287
15288 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15289 provided by a particular plugin.
15290
d760b731
LMI
152912011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15292
15293 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15294 save customizations (with "emacs -Q"), just set the variable
15295 instead of erroring out.
15296
15297 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15298
cd79ce90
JL
152992011-07-08 Juri Linkov <juri@jurta.org>
15300
15301 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15302 (archive-zip-update-case): Use 7z if found by `executable-find'.
15303 The order of searching the available programs is the same as in
15304 `archive-zip-extract' (bug#8968).
15305
14cc04aa
CY
153062011-07-07 Chong Yidong <cyd@stupidchicken.com>
15307
15308 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15309 (menu-bar-options-menu): Tweak descriptions.
15310
0a1848ec
LMI
153112011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15312
15313 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15314 menu items into verb phrases (bug#1421). Also refill to fit under
15315 80 columns.
15316
f5bd0689
CY
153172011-07-07 Chong Yidong <cyd@stupidchicken.com>
15318
538e85c6
CY
15319 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15320 (Info-read-node-name): Doc fix (Bug#1084).
15321
f5bd0689
CY
15322 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15323 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15324 (end-of-sexp, beginning-of-sexp)
15325 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15326 (forward-symbol, forward-same-syntax, word-at-point)
15327 (sentence-at-point): Doc fix (Bug#1144).
15328
56ec5115
LMI
153292011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15330
f3f8e37f
LMI
15331 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15332 should cover it (bug#1281).
15333
0757af94 15334 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15335
e9fce1ac 15336 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15337 negotiation fails, then possibly try again with a non-encrypted
15338 connection (bug#9017).
15339
56ec5115
LMI
15340 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15341 be used.
15342
c2f9aec8
RS
153432011-07-07 Richard Stallman <rms@gnu.org>
15344
15345 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15346 property, and handle its changed format.
15347 Look for the correct line number.
15348 Use file's line contents (but not past first =) to find
15349 correct line in message.
15350
ef7b981d 153512011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15352
15353 * international/characters.el (build-unicode-category-table):
15354 Delete it.
0757af94 15355 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15356
0757af94 15357 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15358 to src/chartab.c.
15359 (get-char-code-property): Call unicode-property-table-internal to
15360 load a file. Call get-unicode-property-internal where necessary.
15361 (put-char-code-property): Call unicode-property-table-internal to
15362 load a file. Call put-unicode-property-internal where necessary.
15363 put-unicode-property-internal where necessary.
0757af94
SM
15364 (char-code-property-description):
15365 Call unicode-property-table-internal to load a file.
c805dec0
KH
15366
15367 * international/charprop.el:
15368 * international/uni-bidi.el:
15369 * international/uni-category.el:
15370 * international/uni-combining.el:
15371 * international/uni-comment.el:
15372 * international/uni-decimal.el:
15373 * international/uni-decomposition.el:
15374 * international/uni-digit.el:
15375 * international/uni-lowercase.el:
15376 * international/uni-mirrored.el:
15377 * international/uni-name.el:
15378 * international/uni-numeric.el:
15379 * international/uni-old-name.el:
15380 * international/uni-titlecase.el:
15381 * international/uni-uppercase.el: Regenerate.
15382
15383 * loadup.el: Load international/charprop.el before
15384 international/characters.
15385
e14b388a
CY
153862011-07-07 Chong Yidong <cyd@stupidchicken.com>
15387
15388 * window.el (next-buffer, previous-buffer): Signal an error if
15389 called from a minibuffer window.
15390
15391 * bindings.el: Revert 2011-07-04 change.
15392
354cf0ba
RS
153932011-07-06 Richard Stallman <rms@gnu.org>
15394
15395 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15396 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15397 Treat markers like ints.
15398 (rmail-mime-entity): Doc fix.
15399
a48868a7
LMI
154002011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15401
4906cd3d
LMI
15402 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15403 defcustom again for backwards compatibility.
15404
e0457abe
LMI
15405 * simple.el (shell-command-on-region): Fill.
15406
d67f7e1f
LMI
15407 * dired-aux.el (dired-kill-line): Add a doc string.
15408
fe204702
LMI
15409 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15410 to "\\sw\\|\\s_" (bug#358).
15411
a48868a7
LMI
15412 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15413 (dired-unmark-backward): Ditto.
15414 (dired-flag-backup-files): Ditto.
15415
15416 * dired-x.el (dired-mark-sexp): Ditto.
15417
aa8a705c
RS
154182011-07-06 Richard Stallman <rms@gnu.org>
15419
15420 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15421 (rmail-mime-entity): New arg TRUNCATED.
15422 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15423 New functions.
15424 (rmail-mime-save): Warn if entity is truncated.
15425 (rmail-mime-toggle-hidden): Likewise, for showing.
15426 (rmail-mime-process-multipart): Record when an entity is truncated.
15427
a9a936b9
RS
15428 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15429 if ENTITY is a string.
15430
1f2b92cb
LMI
154312011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15432
f4f73198 15433 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15434 of faces when `M-C-x'-ing their definitions (bug#8378).
15435 Also clean up the code slightly.
f4f73198 15436
12b16734 15437 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15438 because that makes the colors go away.
12b16734 15439
f0691d22
LMI
15440 * mail/sendmail.el (send-mail-function): Change the default to
15441 `sendmail-query-once'.
9e87df06 15442 (sendmail-query-once): Add an autoload cookie.
f0691d22 15443
1f2b92cb
LMI
15444 * net/network-stream.el (network-stream-open-starttls): Try using
15445 a plain connection even if the server offered STARTTLS, and we
15446 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15447 capability. This should make smtpmail.el work in slightly more
15448 configurations.
15449
1cdd2a1b
MA
154502011-07-06 Michael Albinus <michael.albinus@gmx.de>
15451
15452 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15453 New defun.
15454 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15455
fbcc67e2
MM
154562011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15457
15458 * progmodes/sql.el: Version 3.0
0757af94 15459 (sql-product-alist): Add product :completion-object,
fbcc67e2 15460 :completion-column, and :statement attributes.
0757af94 15461 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15462 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15463 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15464 ansi keywords.
15465 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15466 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15467 (sql-oracle-show-reserved-words): New function for development.
15468 (sql-product-font-lock): Simplify for source code buffers.
15469 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15470 New functions.
15471 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15472 (sql-mode-map): Add statement movement functions.
15473 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15474 New variable.
fbcc67e2
MM
15475 (sql-statement-regexp, sql-beginning-of-statement)
15476 (sql-end-of-statement, sql-signum): New functions.
0757af94 15477 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15478 (sql-show-sqli-buffer): Bug fix.
15479 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15480 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15481 with sql-interactive-mode.
15482 (sql-save-connection): Save buffer local settings.
0757af94 15483 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15484 (sql-product-interactive): Bug fix.
15485 (sql-preoutput-hold): New variable.
15486 (sql-interactive-remove-continuation-prompt): Bug fixes.
15487 (sql-debug-redirect): New variable.
15488 (sql-str-literal): New function.
15489 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15490 Redesign.
fbcc67e2
MM
15491 (sql-oracle-save-settings, sql-oracle-restore-settings)
15492 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15493 (sql-completion-object, sql-completion-column)
15494 (sql-completion-sqlbuf): New variables.
15495 (sql-build-completions-1, sql-build-completions)
15496 (sql-try-completion): New functions.
15497 (sql-read-table-name): Use them.
15498 (sql-contains-names): New buffer local variable.
15499 (sql-list-all, sql-list-table): Use it.
15500 (sql-oracle-completion-types): New variable.
15501 (sql-oracle-completion-object, sql-sqlite-completion-object)
15502 (sql-postgres-completion-object): New functions.
15503
d4eaeab1
GM
155042011-07-06 Glenn Morris <rgm@gnu.org>
15505
15506 * window.el (pop-to-buffer): Doc fix.
15507
322b7dab 155082011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15509
15510 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15511
322b7dab 155122011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15513
322b7dab 15514 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15515
322b7dab 15516 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15517
605dd5bf
CY
155182011-07-05 Chong Yidong <cyd@stupidchicken.com>
15519
15520 * button.el (button): Inherit from link face. Suggested by Dan
15521 Nicolaescu.
15522
7dbfa719
SM
155232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15524
3db614b0
SM
15525 * progmodes/gdb-mi.el: Fit in 80 columns.
15526 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15527 switch-to-buffer.
15528
7dbfa719
SM
15529 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15530 if imenu is simply not configured (bug#8941).
15531
919d884a
KM
155322011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15533
15534 * allout.el (allout-post-undo-hook): New allout outline-change
15535 event hook to signal undo activity.
15536 (allout-post-command-business): Run allout-post-undo-hook if an
15537 undo just occurred.
7dbfa719
SM
15538 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15539 * allout-widgets.el (allout-widgets-after-undo-function):
15540 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15541 in the vicinity of an undo.
15542 (allout-widgets-mode): Include allout-widgets-after-undo-function
15543 on the new allout-post-undo-hook.
15544
450a0f09
SM
155452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15546
15547 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15548 Let define-derived-mode define it.
15549 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15550 cycles of abbrev-table inheritance (bug#8998).
15551
2de69e00
RW
155522011-07-05 Roland Winkler <winkler@gnu.org>
15553
15554 * textmodes/bibtex.el: Add support for biblatex.
15555 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15556 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15557 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15558 (bibtex-entry-alist, bibtex-field-alist): New variables.
15559 (bibtex-entry-field-alist): Obsolete alias for
15560 bibtex-BibTeX-entry-alist.
15561 (bibtex-entry-alist, bibtex-field-alist): New widgets.
15562 (bibtex-set-dialect): New command.
15563 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
15564 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15565 Bind via bibtex-set-dialect.
2de69e00
RW
15566 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15567 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15568 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15569 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15570 Define via bibtex-set-dialect.
450a0f09
SM
15571 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15572 Obey bibtex-no-opt-remove-re.
2de69e00
RW
15573 (bibtex-vec-push, bibtex-vec-incr): New functions.
15574 (bibtex-format-entry, bibtex-field-list)
15575 (bibtex-print-help-message, bibtex-validate)
15576 (bibtex-search-entries): Use new format of bibtex-entry-alist.
15577
2dcdbdd9
SM
155782011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15579
15580 * progmodes/compile.el (compilation-goto-locus):
15581 * net/tramp-cmds.el (tramp-append-tramp-buffers):
15582 * bs.el (bs-cycle-next, bs-cycle-previous):
15583 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15584 * bindings.el (mode-line-other-buffer):
15585 * autoinsert.el (auto-insert):
15586 * arc-mode.el (archive-extract):
15587 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15588
b27640fe
JB
155892011-07-05 Juanma Barranquero <lekktu@gmail.com>
15590
15591 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15592 Fix check of `emacs-lock-unlockable-modes'.
15593 Coerce true values of `emacs-lock--try-unlocking' to t.
15594
53bbe3ad
JB
155952011-07-05 Juanma Barranquero <lekktu@gmail.com>
15596
15597 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15598 * emacs-lock.el: New file.
15599
1d3cdbc7
JD
156002011-07-05 Julien Danjou <julien@danjou.info>
15601
15602 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15603 than `boundp' to check if face is set.
15604
9173deec
JB
156052011-07-05 Juanma Barranquero <lekktu@gmail.com>
15606
15607 * register.el (registerv-make):
15608 * window.el (window-min-height): Fix typos in docstrings.
15609
869795d6
JD
156102011-07-05 Jan Djärv <jan.h.d@swipnet.se>
15611
9173deec 15612 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
15613 Update doc string.
15614
b768cdcd
JB
156152011-07-04 Juanma Barranquero <lekktu@gmail.com>
15616
15617 * server.el (server-execute): Catch quit and call
15618 `server-return-error' to pass the error back to emacsclient and
15619 close the connection (bug#8942).
15620
13aa217b
KM
156212011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
15622
15623 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15624 insecure exception for current topic. Also note that auto-saves
15625 are handled differently.
15626
5d3385a0 15627 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
15628 State variables for tracking auto-save inhibition situation.
15629
15630 (allout-write-contents-hook-handler): Rename from
15631 'allout-write-file-hook-handler', and describe how it depends on
15632 write-contents-functions sensitivity to non-nil value to prevent
15633 file write.
15634
15635 (allout-auto-save-hook-handler): Remove. auto-save does not check
15636 this in individual buffers, only in the starting buffer, so this
15637 is not the right way for us to inhibit auto-save in a buffer
15638 according to its condition.
15639
15640 (allout-mode): Use new allout-write-contents-hook-handler, and
15641 only with write-contents-functions. Remove auto-save provisions -
15642 they're implemented elsewhere.
15643
15644 (allout-before-change-handler): If undo is in progress, note that
15645 for attention of allout-post-command-business.
15646
15647 (allout-post-command-business): If the command we're following was
15648 an undo, check for change in the status of encrypted items and
15649 adjust auto-save inhibitions accordingly.
15650
15651 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15652 according to whether there are or aren't any plain-text topics
15653 pending encryption.
15654
2dcdbdd9 15655 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
15656 Adjust buffer-saved-size and some allout state to inhibit auto-saves
15657 if there are plain-text topics pending encryption.
13aa217b
KM
15658
15659 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15660 buffer-saved-size and some allout state to not inhibit auto-saves
15661 if there are no longer any plain-text topics pending encryption.
15662
0757af94
SM
15663 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15664 No longer provide for exemption of the current topic.
13aa217b 15665
ac89b32c
JL
156662011-07-04 Juri Linkov <juri@jurta.org>
15667
15668 Add 7z operations to delete and save changed members (bug#8968).
15669 * arc-mode.el (archive-7z-expunge, archive-7z-update):
15670 New defcustoms.
15671 (archive-7z-write-file-member): New function.
15672 (archive-7z-summarize): Fix the number of dashes in the
15673 listing output.
15674
8fa39615
SM
156752011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15676
15677 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15678 (bug#8958).
15679
2f11b3f1
CY
156802011-07-04 Chong Yidong <cyd@stupidchicken.com>
15681
d66fef2b
CY
15682 * bindings.el: Ignore next-buffer and previous-buffer in
15683 minibuffer-local-map.
15684
2f11b3f1
CY
15685 * font-lock.el (font-lock-builtin-face): Change light background
15686 color to dark slate blue (Bug#6693).
15687
f932a347
WD
156882011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
15689
15690 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15691
c8af70e1
SM
156922011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
15693
15694 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15695 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15696 Add switch-to-buffer.
15697
f158badc
LMI
156982011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15699
15700 * isearch.el (isearch-search-fun-function): Clarify further the
15701 meaning of the function returned.
15702
6d95bd46
MA
157032011-07-04 Michael Albinus <michael.albinus@gmx.de>
15704
15705 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15706
15707 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15708 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15709 Use it.
15710 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
15711 `tramp-default-remote-path' does not exist.
15712 (tramp-send-command-and-read): New optional argument NOERROR.
15713 (tramp-open-connection-setup-interactive-shell)
15714 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15715 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15716 (tramp-process-sentinel): Flush also process' connection property.
15717 (tramp-sh-handle-start-file-process): Do not set process
15718 sentinel. It is done now ...
15719 (tramp-maybe-open-connection): ... here. (Bug#8929)
15720
909e6b67
MK
157212011-07-04 MON KEY <monkey@sandpframing.com>
15722
15723 * play/animate.el (animate-string): Doc fixes and allow changing
15724 the buffer name (bug#5417).
15725
157262011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15727
c8af70e1 15728 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 15729
f34755dc
PE
157302011-07-04 Paul Eggert <eggert@cs.ucla.edu>
15731
396cec72
PE
15732 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15733 This is simpler and helps future-proof the code.
15734 (timer-until): Use time-subtract and float-time.
08235028 15735 (timer--time-less-p): Use time-less-p.
f34755dc 15736
56e6cc31
JB
157372011-07-04 Juanma Barranquero <lekktu@gmail.com>
15738
3abb79e5
JB
15739 * type-break.el (timep): Use the value of `float-time' to avoid a
15740 byte-compiler warning.
15741
56e6cc31
JB
15742 * server.el (server-eval-and-print): Return any result, even nil.
15743
7b9430b4
PE
157442011-07-03 Paul Eggert <eggert@cs.ucla.edu>
15745
15746 * type-break.el: Accept time formats that the builtins accept.
15747 (timep, type-break-time-difference): Accept any format that
15748 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15749 This is simpler and helps future-proof the code.
15750 (type-break-time-difference): Round rather than ignoring
15751 subseconds components.
15752
3034e9e7
LMI
157532011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15754
15755 * info.el (Info-apropos-matches): Make non-interactive, since it
15756 doesn't seem to do anything useful as a command (bug#8829).
15757
1485f4c0
CY
157582011-07-03 Chong Yidong <cyd@stupidchicken.com>
15759
15760 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 15761 Move from faces.el.
1485f4c0
CY
15762 (frame-default-terminal-background): New function.
15763
15764 * custom.el (custom-push-theme): Don't record faces in `changed'
15765 theme; this doesn't work correctly for per-frame face settings.
15766 (disable-theme): Use face-set-after-frame-default to reset faces.
15767 (custom--frame-color-default): New function.
15768
9fa3dd45
LMI
157692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15770
c8af70e1 15771 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
15772 (bug#8769).
15773
6cbbc20c
KR
157742011-03-29 Kevin Ryde <user42@zip.com.au>
15775
15776 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15777 `perl-Test2' extend to match possible "fail #N" rep count
15778 (bug#8377).
15779
c7f98048
LMI
157802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15781
65676592
LMI
15782 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15783 `smtpmail-via-smtp' now returns the error instead of nil.
15784
c7f98048
LMI
15785 * isearch.el (isearch-search-fun-function): Clarify the doc string
15786 (bug#8101).
15787
56e6cc31 157882011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
15789
15790 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15791 unnecessary spaces (bug#8987).
15792
2b216704
LMI
157932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15794
15795 * net/network-stream.el (open-network-stream): Use the
15796 :end-of-capability command thoughout.
15797
157982011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15799
15800 * net/network-stream.el (open-network-stream): Add the
15801 :end-of-capability command parameter, used by pop3.el.
15802
36adf6ce
LMI
158032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15804
1ca0da0e
LMI
15805 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15806
fc00f69c
LMI
15807 * fringe.el (fringe-query-style): Remove redundant text " (type ?
15808 for list)" (bug#6475).
15809
28fd8759 15810 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 15811 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
15812 an error (bug#6297).
15813
0dd8b6da
LMI
15814 * man.el (Man-reference-regexp): Allow matching possible
15815 word-wrapped references (bug#6289).
15816
ce1438d6
LMI
15817 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15818 for consistency with the other vc buffers (bug#6197).
15819 (vc-checkin): Ditto.
15820
15821 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15822
36adf6ce
LMI
15823 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15824
e83cc1f7
LMI
158252011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15826
8a20ca4c
LMI
15827 * custom.el (defcustom): Clarify that :set is only used in the
15828 Customize user interface (bug#6089).
15829
83319045
LMI
15830 * progmodes/flymake.el (flymake-mode): If the buffer isn't
15831 associated with a file, refuse to run instead of erroring out
15832 (bug#6084).
15833
a8392169
LMI
15834 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15835 the doc string, since it appears that using `fill-column' always
15836 controls the width (bug#7845).
15837
e83cc1f7
LMI
15838 * simple.el (shell-command-on-region): Say where the error output
15839 went if `shell-command-default-error-buffer' is set (bug#6857).
15840
e47ca23b
KM
158412011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
15842
15843 * allout.el (allout-yank-processing): Adjust cursor position for
15844 backwards-deleted space.
15845
15846 (allout-rebullet-heading): Register changes with
15847 allout-exposure-changed-hook, so the modified topic is properly
15848 decorated.
15849
5cf56143
LMI
158502011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15851
08549772
LMI
15852 * minibuffer.el (completion-in-region): Document PREDICATE
15853 (bug#7136).
15854
48e96771
LMI
15855 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15856 of keyword/argument pairs (bug#6904).
15857
c8af70e1
SM
15858 * replace.el (multi-occur):
15859 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 15860
e17d05e2
LMI
158612011-07-02 Drew Adams <drew.adams@oracle.com>
15862
15863 * dired.el (dired-mark-if): Make the message about whether it's
15864 marking or unmarking clearer (bug#8523).
15865
063b0e45
LMI
158662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15867
15868 * disp-table.el (display-table-print-array): New function.
15869 (describe-display-table): Use it to print the vectors more pretty
15870 (Bug#8859).
15871
28545e04
MR
158722011-07-02 Martin Rudalics <rudalics@gmx.at>
15873
15874 * window.el (window-state-get-1): Don't assign clone numbers.
15875 Add clone-of item to list of window parameters.
15876 (window-state-put-2): Don't process clone numbers.
15877 (display-buffer-alist): Fix doc-string.
15878
3349e122
SM
158792011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
15880
15881 * subr.el (remq): Don't allocate if it's not needed.
15882 (keymap--menu-item-binding, keymap--menu-item-with-binding)
15883 (keymap--merge-bindings): New functions.
15884 (keymap-canonicalize): Use them to refine the canonicalization.
15885 * minibuffer.el (minibuffer-local-completion-map)
15886 (minibuffer-local-must-match-map): Move initialization from C.
15887 (minibuffer-local-filename-completion-map): Move initialization from C;
15888 don't inherit from anything here.
15889 (minibuffer-local-filename-must-match-map): Make obsolete.
15890 (completing-read-default): Use make-composed-keymap to combine
15891 minibuffer-local-filename-completion-map with either
15892 minibuffer-local-must-match-map or
15893 minibuffer-local-filename-completion-map.
15894
d224ac83
GM
158952011-07-01 Glenn Morris <rgm@gnu.org>
15896
3de63bf8
GM
15897 * type-break.el (type-break-time-sum): Use dolist.
15898
d224ac83
GM
15899 * textmodes/flyspell.el (flyspell-word-search-backward):
15900 Replace CL function.
15901
1a1e3f32
SM
159022011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15903
fe3f64d5
SM
15904 * mouse.el (mouse--strip-first-event): New function.
15905 (function-key-map): Use it to map fringe clicks to normal clicks
15906 by default.
15907
eb604e34
SM
15908 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15909 (vc-bzr-revision-completion-table): Add support for annotate and date.
15910
1a1e3f32
SM
15911 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15912 inherit from parent.
15913
5bd35902
LMI
159142011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15915
ace6c69c 15916 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 15917 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 15918
191e2bed
LMI
15919 * dired.el (dired-mode): Fix up the doc string as suggested by
15920 Drew Adams (bug#8817).
15921
5bd35902
LMI
15922 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15923 cookie, since the manual says that it should be possible to add
15924 this function to `find-file-hook' (bug#8709).
15925
eee8207a
TZ
159262011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
15927
15928 * progmodes/cfengine.el: Moved all cfengine3.el functionality
15929 here. Noted Ted Zlatanov as the maintainer.
15930 (cfengine-common-settings, cfengine-common-syntax): New functions
15931 to set up common things between `cfengine-mode' and
15932 `cfengine3-mode'.
15933 (cfengine3-mode): New mode.
15934 (cfengine3-defuns cfengine3-defuns-regex
15935 (cfengine3-class-selector-regex cfengine3-category-regex)
15936 (cfengine3-vartypes cfengine3-font-lock-keywords)
15937 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 15938 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 15939
36b148cf
MA
159402011-07-01 Michael Albinus <michael.albinus@gmx.de>
15941
15942 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15943
15944 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15945
0bf4ba9a
MR
159462011-07-01 Martin Rudalics <rudalics@gmx.at>
15947
15948 * window.el (same-window-buffer-names, same-window-regexps)
15949 (same-window-p, special-display-frame-alist)
15950 (special-display-popup-frame, special-display-function)
15951 (special-display-buffer-names, special-display-regexps)
15952 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15953 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15954 (split-window-preferred-function, split-height-threshold)
15955 (split-width-threshold, even-window-heights)
15956 (display-buffer-mark-dedicated, window-splittable-p)
15957 (split-window-sensibly, window-safely-shrinkable-p):
15958 Un-obsolete.
15959 (display-buffer): Don't spread args with function specifier
15960 because special-display-popup-frame won't like it.
15961
35837f51
PE
159622011-07-01 Paul Eggert <eggert@cs.ucla.edu>
15963
d0672f86
PE
15964 Time-stamp simplifications and fixes.
15965 These improve accuracy slightly, and future-proof the code
15966 against some potential changes to current-time format.
15967
b9444d97
PE
15968 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15969 by using time-since and float-time.
15970
0ef923dc
PE
15971 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15972 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
15973 + NNN microseconds".
15974
2f81380d
PE
15975 * type-break.el (type-break-time-sum): Rewrite using time-add.
15976
845b5c3e
PE
15977 * play/hanoi.el (hanoi-current-time-float): Remove.
15978 All uses replaced by float-time.
15979
ee6f1be0
PE
15980 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15981 This yields a more-accurate answer.
15982 (rng-time-to-float): Remove; no longer needed.
15983
fe955043
PE
15984 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15985
5777162a
PE
15986 * calendar/timeclock.el (timeclock-seconds-to-time):
15987 Defalias to seconds-to-time, since they're the same thing.
15988
3103f8b6 15989 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 15990 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
15991 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15992
0e61a35f
SM
159932011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
15994
15995 * window.el (bury-buffer): Don't iconify the only frame.
15996 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15997 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
15998
ddd63a1e
CY
159992011-07-01 Chong Yidong <cyd@stupidchicken.com>
16000
0e61a35f
SM
16001 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16002 Add mouse-yank-primary.
ddd63a1e 16003
055f4923
TZ
160042011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16005
16006 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16007
6a2fb145
SM
160082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16009
16010 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16011 (find-library-name): Use it to find relative load names when provided
16012 absolute file name (bug#8803).
16013
fd4983f2
LMI
160142011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16015
887d14ad
LMI
16016 * textmodes/flyspell.el (flyspell-word): Consider words that
16017 differ only in case as potential doublons (bug#5687).
16018
c53dc7fc
LMI
16019 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16020 Remove two rather uninteresting debugging-like messages to make
16021 debbugs.el more silent.
16022
fd4983f2
LMI
16023 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16024 a password-like phrase.
16025
7a71b18d 160262011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16027
16028 * progmodes/cc-guess.el: New file.
16029
6a2fb145 16030 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16031
16032 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16033 derived from `c-basic-common-init'.
16034
16035 * progmodes/cc-mode.el (top-level): Require cc-guess.
16036 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16037
1fa280a3
LM
160382011-06-30 Lawrence Mitchell <wence@gmx.li>
16039
16040 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16041
e6597158
AM
160422011-06-30 Alan Mackenzie <acm@muc.de>
16043
1fa280a3
LM
16044 * progmodes/cc-engine.el (c-guess-continued-construct):
16045 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16046 lock is disabled. Name this case as "CASE G".
16047
68ba37fb
KM
160482011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16049
16050 * allout.el (allout-yank-processing): Fix injection of extra space
16051 between bullet and non-whitespace character in first topic when
16052 pasting, ensuring that the actual spacing in the pasted topic
16053 following the bullet char is preserved. This extra space was
16054 causing pasted encrypted topics to get a decrypted status even
16055 when the content was actually still encrypted. Now the decryption
16056 status from before the paste is preserved.
16057
16058 (allout-flag-region): Set all allout overlays so they evaporate
16059 when reduced to zero length (evanescent), to prevent overlay
16060 leakage.
16061
887a0b34
GM
160622011-06-30 Glenn Morris <rgm@gnu.org>
16063
94b9acce
GM
16064 * w32-fns.el (w32-charset-info-alist): Declare.
16065
1d9b46d4
GM
16066 * find-dired.el (find-grep-options): Simplify.
16067
cc232200
GM
16068 * term/ns-win.el (ns-set-resource): Declare.
16069
28e77c46
GM
16070 * ses.el (row, col): Declare dynamic variables honestly.
16071
887a0b34
GM
16072 * textmodes/reftex-parse.el (index-tags): Declare.
16073
658d8eb8
CY
160742011-06-30 Chong Yidong <cyd@stupidchicken.com>
16075
16076 * cus-edit.el (customize-push-and-save): New function.
16077
16078 * files.el (hack-local-variables-confirm): Use it.
16079
1fa280a3
LM
16080 * custom.el (load-theme): New arg NO-CONFIRM.
16081 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16082 (custom-enabled-themes): Doc fix.
16083
16084 * cus-theme.el (customize-create-theme)
16085 (custom-theme-merge-theme): Callers to load-theme changed.
16086
bb617717
LMI
160872011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16088
d61bdd5d
LMI
16089 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16090 short URLs have at least one dot in them (bug #7614).
16091
bb617717
LMI
16092 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16093 nil, because using a pty is apparently too slow (bug #895).
16094
2f31f37a
LMI
160952011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16096
16097 * mail/sendmail.el (sendmail-query-once): New function.
16098 (sendmail-query-once-function): New variable.
16099
3076b24e
GM
161002011-06-29 Glenn Morris <rgm@gnu.org>
16101
faf2a174
GM
16102 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16103
3076b24e
GM
16104 * ses.el (top-level): Require cl when compiling.
16105 (ses-set-localvars): Fix error statement.
16106 Call it at compile time to silence a storm of warnings.
16107
5386012d
MR
161082011-06-29 Martin Rudalics <rudalics@gmx.at>
16109
16110 * window.el (normalize-live-buffer): Rename to
16111 window-normalize-buffer.
16112 (normalize-live-frame): Rename to window-normalize-frame.
16113 (normalize-any-window): Rename to window-normalize-any-window.
16114 (normalize-live-window): Rename to window-normalize-live-window.
16115 (make-window-atom): Rename to window-make-atom.
16116 (window-resize-reset): Rename to window--resize-reset.
16117 (window-resize-reset-1): Rename to window--resize-reset-1.
16118 (resize-mini-window): Rename to window--resize-mini-window.
16119 (resize-subwindows-skip-p): Rename to
16120 window--resize-subwindows-skip-p.
16121 (resize-subwindows-normal): Rename to
16122 window--resize-subwindows-normal.
16123 (resize-subwindows): Rename to window--resize-subwindows.
16124 (resize-other-windows): Rename to window--resize-siblings.
16125 (resize-this-window): Rename to window--resize-this-window.
16126 (resize-root-window): Rename to window--resize-root-window.
16127 (resize-root-window-vertically): Rename to
16128 window--resize-root-window-vertically.
16129 (normalize-buffer-to-display): Rename to
16130 window-normalize-buffer-to-display.
16131 (normalize-buffer-to-switch-to): Rename to
16132 window-normalize-buffer-to-switch-to.
16133 Correspondingly update all callers of the functions listed
16134 above.
16135 (display-buffer-alist, display-buffer-normalize-arguments)
16136 (display-buffer-normalize-options, display-buffer)
16137 (display-buffer-alist-set): Use "function" instead of
16138 "fun-with-args".
16139
1176868d
CY
161402011-06-28 Chong Yidong <cyd@stupidchicken.com>
16141
16142 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16143 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16144 debbugs.gnu.org. Mention acknowledgment email.
16145
20a7a65f
LMI
161462011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16147
16148 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16149 buffer multibyteness, since it shouldn't matter.
16150
5f45cca5
MR
161512011-06-28 Martin Rudalics <rudalics@gmx.at>
16152
16153 * window.el (display-buffer-in-side-window): Handle dedicated
16154 windows as in display-buffer-reuse-window.
16155 (display-buffer-normalize-alist): Use value of override
16156 specifier.
16157 (display-buffer-normalize-specifiers): Use value of
16158 other-window-means-other-frame specifier.
16159 (display-buffer-alist): Rewrite some texts in widgets.
16160 (display-buffer): Spread arguments when calling function
16161 specified by fun-with-args.
16162
ad85fe1f
DD
161632011-06-28 Deniz Dogan <deniz@dogan.se>
16164
1fa280a3
LM
16165 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16166 Unnest `let'.
da68c4c8 16167
ad85fe1f
DD
16168 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16169 selectors (Bug#5732).
ec49bd31 16170 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16171
a08cc025
JA
161722011-06-27 Jari Aalto <jari.aalto@cante.net>
16173
16174 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16175 (eshell-ls-date-format): New defcustom.
16176 (eshell-ls-file): Use it.
16177
e2b551c5
SM
161782011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16179
16180 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16181
8982b231
KY
161822011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16183
16184 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16185 (ange-ftp-make-tmp-name): New arg.
16186 (ange-ftp-file-local-copy): Use it.
16187
36c9fa27
J
161882011-06-27 Jambunathan K <kjambunathan@gmail.com>
16189
16190 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16191 no-conversion (Bug#8870).
16192
d68443dc
MR
161932011-06-27 Martin Rudalics <rudalics@gmx.at>
16194
16195 * window.el (window-right, window-left, window-child)
16196 (window-child-count, window-last-child)
16197 (window-iso-combination-p, walk-window-tree-1)
16198 (window-atom-check-1, window-tree-1, delete-window)
16199 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16200 new naming conventions - window-vchild, window-hchild,
16201 window-next and window-prev are now called window-top-child,
16202 window-left-child, window-next-sibling and window-prev-sibling
16203 respectively.
d615d6d2
MR
16204 (resize-window-reset): Rename to window-resize-reset.
16205 (resize-window-reset-1): Rename to window-resize-reset-1.
16206 (resize-window): Rename to window-resize.
16207 (window-min-height, window-min-width)
16208 (resize-mini-window, resize-this-window, resize-root-window)
16209 (resize-root-window-vertically, adjust-window-trailing-edge)
16210 (enlarge-window, shrink-window, maximize-window)
16211 (minimize-window, delete-window, quit-restore-window)
16212 (split-window, balance-windows, balance-windows-area-adjust)
16213 (balance-windows-area, window-state-put-2)
16214 (display-buffer-even-window-sizes, display-buffer-set-height)
16215 (display-buffer-set-width, set-window-text-height)
16216 (fit-window-to-buffer): Rename all "resize-window" prefixed
16217 calls to use the "window-resize" prefix convention.
16218 (display-buffer-alist): Fix symbol for label specifier.
16219 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16220 corresponding specifier.
16221 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16222
b6458526
VB
162232011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16224
16225 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16226 convention.
16227 (ses-call-printer): Does not pass an empty string to formatter when the
16228 cell is empty to keep from barking printer Calc math-format-value.
16229
d31fd9ac
RS
162302011-06-27 Richard Stallman <rms@gnu.org>
16231
43d5bf84
RS
16232 * battery.el (battery-mode-line-limit): New variable.
16233 (battery-update): Handle it.
16234
d31fd9ac
RS
16235 * mail/rmailmm.el (rmail-mime-process-multipart):
16236 Handle truncated messages.
16237
819a6054
GM
162382011-06-27 Glenn Morris <rgm@gnu.org>
16239
16240 * progmodes/flymake.el (flymake-err-line-patterns):
16241 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16242
cedc73f2
VB
162432011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16244
819a6054 16245 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16246 (ses--clean-!, ses--clean-_): New functions.
16247 (ses-range): Add configurability of readout order, and conversion
16248 to Calc vector.
16249
5e5d49b6
VB
16250 * ses.el (ses-repair-cell-reference-all): New function.
16251 (ses-cell-symbol): Set macro as safe, so that it can be used in
16252 formulas.
16253
56e6cc31 16254 * ses.el: Update cycle detection algorithm.
90ca8b49 16255 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16256 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16257 (ses-set-localvars): New function.
16258 (ses-make-cell): Add property-list as a cell element.
16259 (ses-cell-property-get-fun, ses-cell-property-get)
16260 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16261 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16262 New functions.
90ca8b49
VB
16263 (ses-cell-property-set, ses-cell-property-pop)
16264 (ses-cell-property-get-handle): New macro.
16265 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16266 New aliases, used for code readability.
16267 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16268 cycle detection.
16269 (ses-self-reference-early-detection): New defcustom.
fac916bf 16270 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16271 (ses-mode): Use ses-set-localvars.
16272 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16273 before lauching the update processing.
16274 (ses-initialize-Dijkstra-attempt): New function.
16275 (ses-recalculate-cell): Update for cycle detection based on
16276 Dijkstra algorithm.
16277
2bb63e81
VB
16278 * ses.el: Fix commenting and indenting convention.
16279
c9d29fb8
SM
162802011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16281
16282 * bs.el (bs-cycle-next): Complete last change.
16283
d8e4b68b
JB
162842011-06-27 Drew Adams <drew.adams@oracle.com>
16285
16286 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16287
40098786
LMI
162882011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16289
c9d29fb8
SM
16290 * net/network-stream.el (network-stream-open-starttls):
16291 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16292 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16293
40098786
LMI
16294 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16295 to binary to possibly avoid line encoding issues on Windows (among
16296 other things).
16297
468d09d4
LMI
162982011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16299
16300 * net/network-stream.el (open-network-stream): Return an :error
16301 saying what the problem was, if possible.
16302
16303 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16304 server.
16305
16306 * net/network-stream.el (network-stream-open-starttls): If we
16307 wanted to use STARTTLS, and the server offered it, but we weren't
16308 able to because we had no STARTTLS support, then close the connection.
16309 (open-network-stream): Return an :error element, if present.
16310
16f07dd7
CY
163112011-06-26 Chong Yidong <cyd@stupidchicken.com>
16312
88821ca0
CY
16313 * hl-line.el (hl-line-sticky-flag): Doc fix.
16314 (global-hl-line-sticky-flag): New option (Bug#8323).
16315 (global-hl-line-highlight): Obey it.
16316
16f07dd7
CY
16317 * vc/vc.el (vc-revert-show-diff): Default to t.
16318
6b5ccddf
KM
163192011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16320
c9d29fb8
SM
16321 * allout-widgets.el (allout-widgets-post-command-business):
16322 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16323 undecorated when an isearch is continued past, and isearch
16324 automatically collapses them. This leads to "widget leaks", where
16325 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16326 hidden widgets can slow down cursor travel, substantially.
16327 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16328 so we're doing without this nicety.
16329
16330 (allout-widgets-tally-string): Don't try to do a hash-table-count
16331 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16332 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16333 *Messages* when allout-widgets-maintain-tally is t.
16334
355f2e07
MR
163352011-06-26 Martin Rudalics <rudalics@gmx.at>
16336
16337 * window.el (display-buffer-normalize-argument): Rename to
16338 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16339 LABEL argument. Respect special-display-function when popping up
16340 a new frame. Fix code searching for a window showing the buffer
16341 on another frame.
c9d29fb8
SM
16342 (display-buffer-normalize-specifiers):
16343 Call display-buffer-normalize-arguments.
355f2e07
MR
16344 (display-buffer-in-window): Don't undedicate the window if its
16345 buffer remains the same.
16346 Reported by Drew Adams <drew.adams@oracle.com>.
16347 (display-buffer-alist): Add choice for same-window macro
16348 specfier.
16349 (display-buffer): Mention special meaning of LABEL argument in
16350 doc-string. Fix quoting. Don't pop up a new frame even as
16351 fallback.
16352
7ca8fc42
JB
163532011-06-26 Juanma Barranquero <lekktu@gmail.com>
16354
16355 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16356 avoid deleting the current window in some cases (bug#8911).
16357
bc312254
AS
163582011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16359
16360 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16361 (Bug#8934)
16362
2db18f3f
LMI
163632011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16364
c9d29fb8
SM
16365 * net/network-stream.el (network-stream-open-starttls):
16366 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16367 (network-stream-open-tls): Ditto.
16368
6302e0d3
LL
163692011-06-26 Leo Liu <sdl.web@gmail.com>
16370
16371 * register.el (registerv): New struct.
16372 (registerv-make): New function.
c9d29fb8
SM
16373 (jump-to-register, describe-register-1, insert-register):
16374 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16375 struct. (Bug#8415)
16376
5fdd4046
CY
163772011-06-26 Chong Yidong <cyd@stupidchicken.com>
16378
2afef60a
CY
16379 * vc/vc.el (vc-revert-show-diff): New defcustom.
16380 (vc-diff-internal): New arg specifying diff buffer.
16381 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16382 reuse an existing *vc-diff* buffer (Bug#8927).
16383
5fdd4046
CY
16384 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16385
e93db24a
GM
163862011-06-26 Glenn Morris <rgm@gnu.org>
16387
16388 * progmodes/f90.el (f90-critical-indent): New option.
16389 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16390 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16391 (f90-mode): Doc fix.
16392 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16393 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16394 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16395 (f90-match-end): Handle block, critical.
16396
eefff499
GM
163972011-06-25 Glenn Morris <rgm@gnu.org>
16398
f6ba4cc9
GM
16399 * calendar/diary-lib.el (diary-included-files): Doc fix.
16400 (diary-include-files): New function, extracted from
16401 diary-include-other-diary-files and diary-mark-included-diary-files.
16402 (diary-include-other-diary-files, diary-mark-included-diary-files):
16403 Just call diary-include-files.
16404 (diary-mark-entries): Reset diary-included-files on first call.
16405
16712304
GM
16406 * calendar/diary-lib.el (diary-mark-entries)
16407 (diary-mark-included-diary-files):
16408 Visit included diary-files in temp buffers.
16409
5d8e0d43
GM
16410 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16411 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16412 (f90-start-block-re, f90-imenu-generic-expression)
16413 (f90-looking-at-program-block-start, f90-no-block-limit):
16414 Add support for submodules.
16415
ccf7a5d5
GM
16416 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16417 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16418
11fdef7d 164192011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16420
16421 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16422 buffer-file-type before setting its value, to avoid disastrous
eefff499 16423 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16424
74f53697
JB
164252011-06-25 Juanma Barranquero <lekktu@gmail.com>
16426
16427 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16428
16429 * ses.el (ses-unload-function):
16430 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16431
16432 * proced.el (proced-unload-function):
16433 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16434
18a4ce5e
AR
164352011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16436
16437 * server.el (server-create-window-system-frame): Add parameters arg.
16438 (server-process-filter): Doc fix. Handle frame-parameters.
16439
519d22cc
JB
164402011-06-25 Juanma Barranquero <lekktu@gmail.com>
16441
16442 Fix bug#8730, bug#8781.
16443
16444 * loadhist.el (unload--set-major-mode): New function.
16445 (unload-feature): Use it.
16446
16447 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16448 (python-unload-function): New function.
16449
c206f5b0
SM
164502011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16451
16452 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16453
f9ad64f3
GS
164542011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16455
16456 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16457 the candidates list.
16458
7d0da90e
JB
164592011-06-24 Juanma Barranquero <lekktu@gmail.com>
16460
16461 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16462
14b4e83d
RS
164632011-06-23 Richard Stallman <rms@gnu.org>
16464
16465 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16466 (rmail-variables): Set next-error-move-function.
16467 (rmail-what-message): Take argument POS.
16468 (rmail-next-error-move): New function.
16469
273d2baf
SM
164702011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16471
16472 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16473 messages for adjacent non-terminals.
16474
56c2cc9a
RS
164752011-06-23 Richard Stallman <rms@gnu.org>
16476
16477 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16478 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16479 (rmail-start-mail): Don't specify use of rmail-mail-return;
16480 that's done by mail-bury now.
16481 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16482
d59eb518
MA
164832011-06-23 Michael Albinus <michael.albinus@gmx.de>
16484
16485 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16486 SIZE is a number.
16487
02cfc6d6
MR
164882011-06-23 Martin Rudalics <rudalics@gmx.at>
16489
16490 * window.el (get-lru-window, get-mru-window)
16491 (get-largest-window): Never return a minibuffer window.
16492 (display-buffer-pop-up-window): Fix a bug that could lead to
16493 reusing the minibuffer window.
16494 (display-buffer): Pass original specifier argument to
16495 display-buffer-function instead of the normalized one.
16496 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16497
4e323265
LL
164982011-06-22 Leo Liu <sdl.web@gmail.com>
16499
16500 * minibuffer.el (completing-read-function)
1f9f395d 16501 (completing-read-default): Move from minibuf.c.
4e323265 16502
7a70468f
RS
165032011-06-22 Richard Stallman <rms@gnu.org>
16504
50718fc2
RS
16505 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16506 to Rmail even if not started by a special Rmail command.
16507
7a70468f
RS
16508 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16509 Copy the buffer currently showing just one message.
16510
297dde5a
RW
165112011-06-22 Roland Winkler <winkler@gnu.org>
16512
16513 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16514 (bibtex-clean-entry): First delete the old key so that a
16515 customized algorithm for generating the new key does not get
16516 confused by the old key.
16517 (bibtex-url): Obey regexp of first step.
16518 (bibtex-search-entries): Do not use add-to-list with local
16519 list-var.
16520
97bb1093
LMI
165212011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16522
16523 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16524 stored a user name, then query for the password first, instead of
16525 waiting for SMTP to give an error message and the trying again.
16526
1c0f1a19
JD
165272011-06-22 Lawrence Mitchell <wence@gmx.li>
16528
16529 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16530 BUFFER in call-process.
16531
396f7c9d
LMI
165322011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16533
16534 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16535 QUIT twice.
ddb7ffee
LMI
16536 (smtpmail-try-auth-methods): Require user name and password from
16537 auth-source.
396f7c9d 16538
8998d1b3
MR
165392011-06-22 Martin Rudalics <rudalics@gmx.at>
16540
16541 * window.el (display-buffer-default-specifiers)
16542 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16543 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16544 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16545
16546 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16547 (special-display-frame-alist, special-display-popup-frame):
16548 Remove duplicate declarations. These are now in window.el.
16549
4ea31e07
LMI
165502011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16551
c9d29fb8
SM
16552 * mail/smtpmail.el (smtpmail-via-smtp):
16553 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16554 server supports it. SMTP servers that support STARTTLS commonly
16555 require it.
16556
16557 * net/network-stream.el (network-stream-open-starttls): Support
16558 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 16559 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 16560
95f41d9a
LMI
16561 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16562 upgrades with `open-network-stream', and rely solely on
16563 auth-source for all credentials. Big changes throughout the file,
16564 but in particular:
c9d29fb8
SM
16565 (smtpmail-auth-credentials): Remove.
16566 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
16567 (smtpmail-via-smtp): Check for servers saying they want AUTH after
16568 MAIL FROM, too.
95f41d9a 16569
c9d29fb8
SM
16570 * net/network-stream.el (network-stream-open-starttls):
16571 Provide support for client certificates both for external and built-in
4ea31e07
LMI
16572 STARTTLS.
16573 (auth-source): Require.
16574 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
16575 (network-stream-certificate): Change cert-cert to cert and
16576 cert-key to key.
4ea31e07 16577
065ec2c7
MA
165782011-06-21 Michael Albinus <michael.albinus@gmx.de>
16579
16580 * net/tramp-cache.el (top): Don't load the persistency file when
16581 "emacs -Q" has been called.
16582
cd93b359
DR
165832011-06-21 Tim Harper <timcharper@gmail.com>
16584
d8e4b68b
JB
16585 * term/ns-win.el (ns-initialize-window-system):
16586 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
16587 resource to NO as it is not yet supported by the NS port.
16588
ae9c0411
JB
165892011-06-21 Juanma Barranquero <lekktu@gmail.com>
16590
16591 * misc.el (list-dynamic-libraries--refresh): Compute header here...
16592 (list-dynamic-libraries): ...not here.
16593
7f3f739f
LL
165942011-06-21 Leo Liu <sdl.web@gmail.com>
16595
16596 * subr.el (sha1): Implement sha1 using secure-hash.
16597
327c8fb1
MR
165982011-06-21 Martin Rudalics <rudalics@gmx.at>
16599
16600 * window.el (display-buffer-alist): In default value do not
16601 enforce searching a window on any but the selected frame.
16602 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16603 (display-buffer-select-window): Remove function.
16604 (display-buffer-in-window): When a window on another frame gets
16605 reused, do not select it any more but just raise its frame if
16606 necessary (Bug#8851) and (Bug#8856).
16607 (display-buffer-normalize-options): Handle pop-up-frames related
16608 options more faithfully.
16609 (pop-to-buffer): Don't rely on `display-buffer' selecting the
16610 window if it is on another frame.
c9d29fb8
SM
16611 (display-buffer-alist, display-buffer-default-specifiers):
16612 Don't make new frame unsplittable by default.
9e9de014
MR
16613 (display-buffer-normalize-argument): Fix doc-string typo and use
16614 'same-frame-other-window instead of 'other-window when associating
16615 with display-buffer-macro-specifiers.
327c8fb1 16616
7cf3f556
VB
166172011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
16618
16619 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16620 New functions.
16621 (5x5-mode-map, 5x5-mode-menu): Bind them.
16622 (5x5-draw-grid): Tweak the solver's rendering.
16623
60a406cf
SM
166242011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16625
16626 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16627 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16628
d8e4b68b 166292011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
16630
16631 * menu-bar.el: Use function variable instead of switch-to-buffer.
16632 (menu-bar-select-buffer-function): New variable.
60a406cf 16633 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 16634
478d6f95
SM
166352011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
16636
16637 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16638 variable's status.
16639
ca530739
JD
166402011-06-20 Jan Djärv <jan.h.d@swipnet.se>
16641
16642 * x-dnd.el (x-dnd-version-from-flags)
16643 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16644 and long as number (Bug#8899).
16645 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16646
bcd70d97
SM
166472011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
16648
60a406cf 16649 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
16650 (completion-try-completion, completion-all-completions): Compute the
16651 metadata argument if it's missing; make it optional (bug#8795).
16652
60a406cf 16653 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
16654 (widget-complete): Use new :completion-function property.
16655 (widget-completions-at-point): New function.
16656 (default): Use :completion-function instead of :complete.
60a406cf
SM
16657 (widget-default-completions): Rename from widget-default-complete;
16658 Rewrite.
bcd70d97
SM
16659 (widget-string-complete, widget-file-complete, widget-color-complete):
16660 Remove functions.
16661 (file, symbol, function, variable, coding-system, color):
16662 * international/mule-cmds.el (default-input-method, charset)
16663 (language-info-custom-alist):
16664 * cus-edit.el (face): Use new property :completions.
16665
16666 * progmodes/pascal.el (pascal-completions-at-point): New function.
16667 (pascal-mode): Use it.
16668 (pascal-mode-map): Use completion-at-point.
16669 (pascal-toggle-completions): Make obsolete.
16670 (pascal-complete-word, pascal-show-completions):
16671 * progmodes/octave-mod.el (octave-complete-symbol):
16672 Redefine as obsolete alias.
16673 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16674 Signal absence of completion info for old Octave,
16675 (inferior-octave-complete): Redefine as obsolete alias.
16676 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16677 (meta-completions-at-point): Rename from meta-complete-symbol and
16678 adapt it for use on completion-at-point-functions.
16679 (meta-common-mode): Use it.
16680 (meta-looking-at-backward, meta-match-buffer): Remove.
16681 (meta-complete-symbol): Redefine as obsolete alias.
16682 (meta-common-mode-map): Use completion-at-point.
16683 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16684 (makefile-mode-map): Use completion-at-point.
16685 (makefile-completions-at-point): Rename from makefile-complete and
16686 adapt it for use on completion-at-point-functions.
16687 (makefile-mode): Use it.
16688 (makefile-complete): Redefine as obsolete alias.
16689
aebf69c8
DD
166902011-06-20 Deniz Dogan <deniz@dogan.se>
16691
16692 * net/rcirc.el: Delete trailing whitespaces once and for all.
16693
bfbbb27d
DC
166942011-06-20 Daniel Colascione <dan.colascione@gmail.com>
16695
16696 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16697
d264a46b
CY
166982011-06-19 Chong Yidong <cyd@stupidchicken.com>
16699
4ca009e5
CY
16700 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16701
d264a46b
CY
16702 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16703
fbf5b3ce
MR
167042011-06-19 Martin Rudalics <rudalics@gmx.at>
16705
16706 * window.el (display-buffer-other-window-means-other-frame):
16707 Call display-buffer-normalize-alist.
16708 (display-buffer-normalize-specifiers-1): Rename to
16709 display-buffer-normalize-argument. New argument other-frame.
16710 Rewrite.
16711 (display-buffer-normalize-specifiers-2): Rename to
16712 display-buffer-normalize-options.
16713 (display-buffer-normalize-alist-1): New function.
16714 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
16715 display-buffer-normalize-alist.
16716 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
16717 (display-buffer-normalize-options-inhibit): New variable.
16718 (display-buffer-normalize-specifiers): Rewrite calling
16719 display-buffer-normalize-alist,
16720 display-buffer-normalize-argument, and
16721 display-buffer-normalize-options. Don't call the latter if
16722 display-buffer-normalize-options-inhibit is non-nil.
16723 (frame-auto-delete): New option.
16724 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
16725 (window-list-no-nils, window-state-ignored-parameters)
16726 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
16727 (window-state-put-1, window-state-put-2, window-state-put):
16728 New functions.
9a028c23
MR
16729 (display-buffer-normalize-options): Move special-display-p group
16730 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 16731
6d10d800
CY
167322011-06-18 Chong Yidong <cyd@stupidchicken.com>
16733
6420d28b
CY
16734 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16735 groups (Bug#8776).
16736 (rx-submatch-n): New function.
16737 (rx): Document it.
16738
ddb8b596
CY
16739 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16740 (Bug#8768).
16741
16742 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16743
77080289
CY
16744 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16745
61dfb316
CY
16746 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16747 anytime existing face settings are present (Bug#8889).
16748
6d10d800
CY
16749 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16750 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16751 Remove unused argument.
16752
be3fb2b8
MR
167532011-06-18 Martin Rudalics <rudalics@gmx.at>
16754
bcd70d97
SM
16755 * window.el (display-buffer-default-specifiers):
16756 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
16757 pop-up-window-min-width, and another reuse-window specifier
16758 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
16759 (display-buffer-normalize-specifiers-2):
16760 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
16761 pop-up-windows is unset. Add a reuse-window specifier for the
16762 case popping up a new window fails.
16763 (special-display-popup-frame): Remove double quoting.
28dec25a 16764 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 16765
1c6d8c76
SM
167662011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
16767
16768 * shell.el (shell-completion-vars): Set pcomplete-termination-string
16769 according to comint-completion-addsuffix.
16770
16771 * pcomplete.el: Convert to lexical binding and fix bug#8819.
16772 (pcomplete-suffix-list): Mark as obsolete.
16773 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16774 pcomplete-seen in the closure.
16775 (pcomplete-comint-setup): Setup completion-at-point as well.
16776 (pcomplete--entries): New function.
16777 (pcomplete--env-regexp): New var.
16778 (pcomplete-entries): Rewrite to work with partial-completion and
16779 without relying on pcomplete-suffix-list.
16780 (pcomplete-pare-list): Remove, unused.
16781
25aef8b8
MR
167822011-06-17 Martin Rudalics <rudalics@gmx.at>
16783
16784 * window.el (display-buffer-alist): Set pop-up-window-min-height
16785 and pop-up-window-min-width in default value. Reported by
16786 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
16787 other-window-means-other-frame.
16788 (display-buffer-macro-specifiers): Comment out entry for
16789 other-window specifier.
16790 (display-buffer-other-window-means-other-frame): New function.
16791 (display-buffer-normalize-specifiers-1): New arguments
16792 buffer-name and label. Treat other-window case specially.
16793 (display-buffer-normalize-specifiers-2): Treat other-window case
16794 specially.
16795 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
16796 (display-buffer-normalize-specifiers):
16797 Call display-buffer-normalize-specifiers-3.
25aef8b8 16798
dbad4f69
MR
167992011-06-17 Martin Rudalics <rudalics@gmx.at>
16800
16801 * window.el (same-window-p): Fix two typos introduced when
16802 adding with-no-warnings.
d1067961
MR
16803 (display-buffer-normalize-specifiers-1): Don't check
16804 pop-up-frames for 'unset initialization.
16805 (display-buffer-normalize-specifiers-2): Major rewrite using
16806 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16807 (pop-up-frames, display-buffer-reuse-frames)
16808 (display-buffer-mark-dedicated): Don't initialize to 'unset.
16809 Suggested by David Engster <deng@randomsample.de>.
16810 (even-window-heights): Initialize to 'unset.
16811 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
16812 (display-buffer-macro-specifiers): Don't pop up a new frame in the
16813 other window case.
dbad4f69 16814
9b9c9e3a
MR
168152011-06-16 Martin Rudalics <rudalics@gmx.at>
16816
bcd70d97
SM
16817 * window.el (display-buffer-normalize-specifiers-1):
16818 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 16819 second argument of display-buffer (Bug#8865).
981d5c09
MR
16820 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16821 (switch-to-buffer-other-window-same-frame)
16822 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
16823 Adams (Bug#8875).
9c2755e9
MR
16824 (display-buffer): Don't check noninteractive when calling
16825 display-buffer-pop-up-frame.
16826 (display-buffer-pop-up-frame): Never pop up a frame in
16827 noninteractive mode (Bug#8857).
67222e1d
MR
16828 (enlarge-window, shrink-window): Don't report an error when the
16829 window can't be resized as requested (Bug#8862).
9b9c9e3a 16830
2b75be67
SM
168312011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16832
9ffdd3ba
SM
16833 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16834
cb581a67
SM
16835 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16836
2b75be67
SM
16837 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16838
8c0e3589
AM
168392011-06-15 Alan Mackenzie <acm@muc.de>
16840
cb581a67
SM
16841 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16842 for declarators, disable knr checking to speed up for normal files.
16843 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 16844
b96e6cde
LMI
168452011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16846
4bba86e6
LMI
16847 * net/network-stream.el (open-network-stream): Add the keyword
16848 :always-query-capabilities for the case where you want to force a
16849 `plain' network connection, but the protocol still requires the
16850 capabilitiy command (i.e., SMTP and EHLO).
16851
2b75be67 16852 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
16853 consistency with other `-live-p' functions.
16854
efdcdbf8
SM
168552011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16856
16857 * window.el (same-window-buffer-names, same-window-regexps)
16858 (special-display-frame-alist, special-display-popup-frame)
16859 (special-display-function, special-display-buffer-names)
16860 (special-display-regexps, pop-up-frame-alist)
16861 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16862 (pop-up-windows, split-window-preferred-function)
16863 (split-height-threshold, split-width-threshold, even-window-heights)
16864 (display-buffer-mark-dedicated): Don't encourage the use of
16865 display-buffer-alist from Elisp code.
16866
c5cde042
DN
168672011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
16868
16869 * progmodes/python.el (python-mode): Derive from prog-mode.
16870 * progmodes/ps-mode.el (ps-mode):
16871 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 16872 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
16873 * progmodes/ld-script.el (ld-script-mode): Likewise.
16874
baa1c9ab
MR
168752011-06-15 Martin Rudalics <rudalics@gmx.at>
16876
16877 * window.el (display-buffer-alist): Trim default value to avoid
16878 popping up a new frame (Bug#8857) or reusing an arbitrary window
16879 on another frame.
16880 (display-buffer): Do not fall back on popping up a new frame in
16881 batch mode (Bug#8857).
16882
c5dd5a51
CY
168832011-06-14 Chong Yidong <cyd@stupidchicken.com>
16884
16885 * cus-theme.el (describe-theme-1): Use custom-theme-p.
16886 (custom-theme-summary): New function.
16887 (customize-themes): Use it.
16888
d647b7c4
GM
168892011-06-13 Glenn Morris <rgm@gnu.org>
16890
16891 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16892
9481c002
MR
168932011-06-13 Martin Rudalics <rudalics@gmx.at>
16894
357f93d2
MR
16895 * help.el (help-window): Remove variable.
16896 (help-window-point-marker, temp-buffer-max-height)
16897 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16898 (help-print-return-message): Don't set help-window.
16899 (resize-temp-buffer-window): Rewrite cod eand doc-string.
16900 (help-window-setup-finish): Remove.
16901 (help-window-display-message, help-window-setup)
16902 (with-help-window): Major rewrite based on new
16903 display-buffer-window variable.
16904
16905 * help-mode.el (help-mode-finish): Remove help-window related
16906 code.
16907
16908 * view.el (view-exits-all-viewing-windows): Remove reference to
16909 view-return-to-alist in doc-string.
16910 (view-return-to-alist): Make obsolete.
16911 (view-buffer): Call pop-to-buffer-same-window and remove
16912 undo-window code.
16913 (view-buffer-other-window): Call pop-to-buffer-other-window and
16914 simplify code. Ignore second argument.
16915 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16916 simplify code. Ignore second argument.
16917 (view-return-to-alist-update): Make obsolete.
16918 (view-mode-enter): Rename second argument to QUIT-RESTORE.
16919 Rewrite using quit-restore window parameters.
2b75be67
SM
16920 (view-mode-exit): Rename second argument to EXIT-ONLY.
16921 Rewrite using quit-restore-window.
357f93d2
MR
16922 (View-exit, View-exit-and-edit, View-leave, View-quit)
16923 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16924 appropriate arguments.
16925 (view-end-message): Use quit-restore window parameter.
16926
9481c002
MR
16927 * window.el (display-buffer-function): Rewrite doc-string.
16928 (display-buffer-window, display-buffer-alist): New variables.
16929 (display-buffer-split-specifiers)
16930 (display-buffer-side-specifiers)
16931 (display-buffer-macro-specifiers): New constants.
16932 (display-buffer-even-window-sizes, display-buffer-set-height)
16933 (display-buffer-set-width, display-buffer-select-window)
16934 (display-buffer-in-window, display-buffer-reuse-window)
16935 (display-buffer-split-window-1, display-buffer-split-window)
16936 (display-buffer-split-atom-window, display-buffer-pop-up-window)
16937 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16938 (display-buffer-in-side-window, normalize-buffer-to-display)
16939 (display-buffer-normalize-specifiers-1)
16940 (display-buffer-normalize-specifiers-2)
2b75be67
SM
16941 (display-buffer-normalize-specifiers, display-buffer-frame):
16942 New functions.
9481c002
MR
16943 (display-buffer): Major rewrite.
16944 (display-buffer-other-window, display-buffer-other-frame)
16945 (pop-to-buffer, switch-to-buffer-other-window)
16946 (switch-to-buffer-other-frame): Rewrite.
16947 (display-buffer-same-window, display-buffer-same-frame)
16948 (display-buffer-same-frame-other-window)
16949 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16950 (pop-to-buffer-other-window)
16951 (pop-to-buffer-same-frame-other-window)
16952 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16953 (switch-to-buffer-other-window-same-frame): New functions.
16954 (same-window-p, special-display-p): Rewrite disabling warnings.
16955 Make obsolete.
16956 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16957 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16958 Make obsolete
16959 (same-window-buffer-names, same-window-regexps)
16960 (special-display-frame-alist, special-display-popup-frame)
16961 (special-display-function, special-display-buffer-names)
16962 (special-display-regexps, pop-up-frame-alist)
16963 (pop-up-frame-function, split-window-preferred-function)
16964 (split-height-threshold, split-width-threshold)
16965 (even-window-heights): Make obsolete.
16966
9db51aca
GM
169672011-06-12 Glenn Morris <rgm@gnu.org>
16968
16969 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 16970 Misc simplifications.
9db51aca 16971
39cffb44
MR
169722011-06-12 Martin Rudalics <rudalics@gmx.at>
16973
16974 * window.el (window-safely-shrinkable-p): Restore function which
16975 was inadvertently removed in change from 2011-06-11. Declare as
16976 obsolete.
16977
2b75be67
SM
16978 * calendar/calendar.el (calendar-generate-window):
16979 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
16980 window-safely-shrinkable-p.
16981
a8955be7
GM
169822011-06-12 Glenn Morris <rgm@gnu.org>
16983
16984 * progmodes/fortran.el (fortran-mode-syntax-table):
16985 * progmodes/f90.el (f90-mode-syntax-table):
16986 Set % to punctuation. (Bug#8820)
16987 (f90-find-tag-default): Remove, no longer needed.
16988
f0d4059d
DC
169892011-06-12 Daniel Colascione <dan.colascione@gmail.com>
16990
16991 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16992
1100a63c
CY
169932011-06-11 Chong Yidong <cyd@stupidchicken.com>
16994
16995 * image.el (image-animated-p): Return animation delay in seconds.
16996 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16997 (image-animate-timeout): Remove DELAY argument. Don't assume
16998 every subimage has the same delay; get it from image-animated-p.
16999 (image-animate): Caller changed.
17000
def722bf
MA
170012011-06-11 Michael Albinus <michael.albinus@gmx.de>
17002
17003 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17004 to ignored backtrace functions.
17005
0a2bb1a9
GM
170062011-06-11 Glenn Morris <rgm@gnu.org>
17007
17008 * calendar/appt.el (appt-disp-window-function): Doc fix.
17009 (appt-check): Handle overlapping appointments. (Bug#8337)
17010
6198ccd0
MR
170112011-06-11 Martin Rudalics <rudalics@gmx.at>
17012
17013 * window.el (window-tree-1, window-tree): New functions, moving
17014 the latter to window.el.
17015 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17016 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17017 (bw-refresh-edges): Remove.
17018 (balance-windows-1, balance-windows-2): New functions.
17019 (balance-windows): Rewrite in terms of window tree functions,
17020 balance-windows-1 and balance-windows-2.
17021 (bw-adjust-window): Remove.
17022 (balance-windows-area-adjust): New function with functionality of
17023 bw-adjust-window but using resize-window.
2b75be67
SM
17024 (set-window-text-height): Rewrite doc-string.
17025 Use normalize-live-window and resize-window.
17026 (enlarge-window-horizontally, shrink-window-horizontally):
17027 Rename argument to DELTA.
6198ccd0
MR
17028 (window-buffer-height): New function.
17029 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17030 Rewrite using new window resize routines.
2b75be67
SM
17031 (kill-buffer-and-window, mouse-autoselect-window-select):
17032 Use ignore-errors instead of condition-case.
6198ccd0
MR
17033 (quit-window): Call delete-frame instead of delete-windows-on
17034 for the only buffer on frame.
17035
9397e56f
MR
170362011-06-10 Martin Rudalics <rudalics@gmx.at>
17037
17038 * loadup.el (top-level): Load window before files for the sake
17039 of replace-buffer-in-windows.
17040
17041 * files.el (read-buffer-to-switch)
17042 (switch-to-buffer-other-window)
2b75be67
SM
17043 (switch-to-buffer-other-frame, display-buffer-other-frame):
17044 Move to window.el.
9397e56f
MR
17045
17046 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17047 (previous-buffer): Move to window.el.
17048
17049 * bindings.el (unbury-buffer): Move to window.el.
17050
17051 * window.el (delete-other-windows-vertically): Move after
17052 definition of delete-other-windows.
17053 (other-window, delete-windows-on, replace-buffer-in-windows):
17054 Move here from window.c.
17055 (record-window-buffer, unrecord-window-buffer)
17056 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17057 (switch-to-next-buffer): New functions.
17058 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17059 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17060 (previous-buffer): Move here from simple.el.
17061 Call switch-to-prev-buffer.
9397e56f
MR
17062 (bury-buffer): Move here from buffer.c. Switch to previous
17063 buffer when window cannot be deleted.
17064 (unbury-buffer): Move here from bindings.el.
17065 (ctl-x-map): Move binding for other-window from window.c to
17066 here.
17067 (read-buffer-to-switch, switch-to-buffer-other-window)
17068 (switch-to-buffer-other-frame): Move here from files.el.
17069 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17070 (switch-to-buffer): Move here from buffer.c.
17071 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17072
562dd5e9
MR
170732011-06-10 Martin Rudalics <rudalics@gmx.at>
17074
17075 * window.el (window-min-height, window-min-width): Move here
17076 from window.c. Add defcustoms and rewrite doc-strings.
17077 (resize-mini-window, resize-window): New functions.
17078 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17079 Move here from window.c.
17080 (maximize-window, minimize-window): New functions.
17081 (delete-window, delete-other-windows, split-window): Move here
17082 from window.c.
17083 (window-split-min-size): New function.
17084 (split-window-keep-point): Mention split-window-above-each-other
17085 instead of split-window-vertically.
2b75be67 17086 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17087 Rename split-window-vertically to split-window-above-each-other
17088 and provide defalias for old definition.
17089 (split-window-side-by-side, split-window-horizontally):
17090 Rename split-window-horizontally to split-window-side-by-side
17091 and provide defalias for the old definition.
562dd5e9
MR
17092 (ctl-x-map): Move bindings for delete-window,
17093 delete-other-windows and enlarge-window here from window.c.
17094 Replace bindings for split-window-vertically and
17095 split-window-horizontally by bindings for
17096 split-window-above-each-other and split-window-side-by-side.
17097
17098 * cus-start.el (all): Remove entries for window-min-height and
17099 window-min-width. Add entries for window-splits and
17100 window-nest.
17101
f0da764a
GM
171022011-06-09 Glenn Morris <rgm@gnu.org>
17103
80675c21
GM
17104 * calendar/appt.el (appt-mode-line): New function.
17105 (appt-check, appt-disp-window): Use it.
17106
f0da764a
GM
17107 * files.el (hack-one-local-variable-eval-safep):
17108 Allow minor-modes with explicit +/-1 arguments.
17109
59f623b7
TZ
171102011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17111
17112 * term/xterm.el (xterm): Add defgroup.
17113 (xterm-extra-capabilities): Add defcustom to supply known xterm
17114 capabilities, skip querying them, or query them (default).
17115 (terminal-init-xterm): Use it.
17116 (terminal-init-xterm-modify-other-keys): New function to set up
17117 modifyOtherKeys support to simplify `terminal-init-xterm'.
17118
9aab8e0d
MR
171192011-06-09 Martin Rudalics <rudalics@gmx.at>
17120
17121 * window.el (resize-window-reset, resize-window-reset-1)
17122 (resize-subwindows-skip-p, resize-subwindows-normal)
17123 (resize-subwindows, resize-other-windows, resize-this-window)
17124 (resize-root-window, resize-root-window-vertically)
17125 (window-deletable-p, window-or-subwindow-p)
17126 (frame-root-window-p): New functions.
17127
e8b08aee
GM
171282011-06-09 Glenn Morris <rgm@gnu.org>
17129
17130 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17131 (ange-ftp-get-files): Use it.
17132
254c37a5
AK
171332011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17134
17135 * mail/sendmail.el (mail-recover-1, mail-recover):
17136 * files.el (recover-file, recover-session):
17137 Handle dired-listing-switches not being just a single short option.
17138
35d7dbd3
GM
171392011-06-09 Glenn Morris <rgm@gnu.org>
17140
17141 * calendar/appt.el (appt-display-message, appt-disp-window):
17142 Handle lists of appointments.
17143
387522b2
MR
171442011-06-08 Martin Rudalics <rudalics@gmx.at>
17145
2b75be67
SM
17146 * window.el (one-window-p): Move down in code.
17147 Rewrite doc-string.
17148 (window-current-scroll-bars): Rewrite doc-string.
17149 Normalize live window argument.
387522b2
MR
17150 (walk-windows, get-window-with-predicate, count-windows):
17151 Rewrite doc-string. Use window-list-1.
17152 (window-in-direction-2, window-in-direction, get-mru-window):
17153 New functions.
17154
d8e4b68b 171552011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17156
17157 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17158 Doc fix (Bug#8713).
17159
171602011-06-08 Chong Yidong <cyd@stupidchicken.com>
17161
17162 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17163
171642011-06-08 Juanma Barranquero <lekktu@gmail.com>
17165
17166 * loadhist.el (unload-feature-special-hooks):
17167 Add `comint-output-filter-functions'.
17168
0de12c52
IK
171692011-06-08 Ivan Kanis <gnu@kanis.fr>
17170
17171 * calendar/appt.el (appt-check): Move some initializations into the let.
17172
f3d1777e
MR
171732011-06-08 Martin Rudalics <rudalics@gmx.at>
17174
17175 * window.el (window-height): Defalias to window-total-height.
17176 (window-width): Defalias to window-body-width.
17177
18af70d0
CY
171782011-06-07 Chong Yidong <cyd@stupidchicken.com>
17179
17180 * image-mode.el (image-toggle-animation): New command.
17181 (image-mode-map): Bind it to RET.
17182 (image-mode): Update message.
17183 (image-toggle-display-image): Avoid a spurious cache flush.
17184 (image-transform-rotation): Doc fix.
17185 (image-transform-properties): Return quickly in the normal case.
17186 (image-animate-loop): Rename from image-animate-max-time.
17187
2b75be67 17188 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17189 (create-animated-image): Remove unnecessary function.
17190 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17191 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17192 (image-animate-timer): Use car-safe.
17193 (image-animate-timeout): Rename argument.
17194
190b47e6
MR
171952011-06-07 Martin Rudalics <rudalics@gmx.at>
17196
17197 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17198 window.c. Rename first argument to ALL-FRAMES.
17199 Rephrase doc-strings.
17200 (get-buffer-window-list): Rewrite using window-list-1.
17201 Rephrase doc-string.
a1511caf
MR
17202 (window-safe-min-height, window-safe-min-width): New constants.
17203 (window-size-ignore, window-min-size, window-min-size-1)
17204 (window-sizable, window-sizable-p, window-size-fixed-1)
17205 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17206 (window-max-delta-1, window-max-delta, window-resizable)
17207 (window-resizable-p, window-total-height, window-total-width)
17208 (window-body-width): New functions.
17209 (window-full-height-p, window-full-width-p): Rewrite using
17210 window-total-size.
17211 (window-body-height): Rewrite using window-body-size.
190b47e6 17212
85cc1f11
MR
172132011-06-06 Martin Rudalics <rudalics@gmx.at>
17214
17215 * window.el (window-right, window-left, window-child)
17216 (window-child-count, window-last-child, window-any-p)
17217 (normalize-live-buffer, normalize-live-frame)
17218 (normalize-any-window, normalize-live-window)
17219 (window-iso-combination-p, window-iso-combined-p)
17220 (window-iso-combinations)
17221 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17222 (windows-with-parameter, window-with-parameter)
17223 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17224 (window-atom-check, window-side-check, window-check):
17225 New functions.
85cc1f11
MR
17226 (ignore-window-parameters, window-sides, window-sides-vertical)
17227 (window-sides-slots): New variables.
17228 (window-size-fixed): Move down in code. Minor doc-string fix.
17229
e7156492
AS
172302011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17231
17232 * comint.el (comint-dynamic-complete-as-filename)
17233 (comint-dynamic-complete-filename): Correctly call
17234 completion-in-region.
17235
7e821d0d
DD
172362011-06-05 Deniz Dogan <deniz@dogan.se>
17237
17238 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17239 in last change.
17240
ac09b8a1
DD
172412011-06-05 Deniz Dogan <deniz@dogan.se>
17242
17243 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17244 (rcirc): Use it to prompt for encryption.
17245
34699b85
RW
172462011-06-05 Roland Winkler <winkler@gnu.org>
17247
17248 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17249 (bibtex-search-entries): New command bound to C-c C-a.
17250 (bibtex-display-entries): New function.
17251
004dedd3
RW
172522011-06-05 Roland Winkler <winkler@gnu.org>
17253
17254 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17255 (bibtex-insert-kill): After yanking insert newline if necessary.
17256 (bibtex-initialize): Call bibtex-string-files-init only once.
17257 (bibtex-mode): Do not call easy-menu-add.
17258 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17259 (bibtex-yank): Set arg properly if nil.
17260
022fe7ce
RW
172612011-06-05 Roland Winkler <winkler@gnu.org>
17262
2b75be67
SM
17263 * textmodes/bibtex.el (bibtex-search-entry-globally):
17264 New variable.
022fe7ce
RW
17265 (bibtex-search-entry): Use it.
17266
b7c3692a
RW
172672011-06-05 Roland Winkler <winkler@gnu.org>
17268
17269 * textmodes/bibtex.el (bibtex-entry-format): New option
17270 sort-fields.
17271 (bibtex-format-entry, bibtex-reformat): Honor this option.
17272 (bibtex-parse-entry): Return fields in proper order.
17273
8eda563d
JB
172742011-06-05 Juanma Barranquero <lekktu@gmail.com>
17275
17276 * doc-view.el (doc-view-remove-if): Move computation of result out
17277 of `dolist' to silence misleading lexical-binding warning.
17278
7dbe3dbc
CY
172792011-06-04 Chong Yidong <cyd@stupidchicken.com>
17280
17281 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17282 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17283
0c33dd17
MA
172842011-06-04 Michael Albinus <michael.albinus@gmx.de>
17285
17286 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17287 "SunOS 5.10".
17288
f8f91c2b
MA
172892011-06-04 Michael Albinus <michael.albinus@gmx.de>
17290
17291 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17292 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17293 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17294 (tramp-parse-putty):
17295 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17296 (tramp-completion-function-alist-ssh)
17297 (tramp-completion-function-alist-telnet)
17298 (tramp-completion-function-alist-su)
17299 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17300 cookie.
17301
17302 * net/tramp-ftp.el:
17303 * net/tramp-sh.el:
17304 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17305 load "tramp.el" `tramp-set-completion-function'.
17306
e17d9003
SM
173072011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17308
17309 * shell.el: Require and use pcomplete.
17310 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17311 (shell-completion-vars): Set pcomplete-default-completion-function.
17312
6c4cab03
DD
173132011-06-04 Deniz Dogan <deniz@dogan.se>
17314
17315 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17316 `memq' (Bug#8799).
17317
ea9fafe0
SM
173182011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17319
17320 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17321
b3e945d3
JB
173222011-06-02 Juanma Barranquero <lekktu@gmail.com>
17323
17324 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17325 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17326 * vc/log-view.el (log-view-beginning-of-defun):
17327 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17328 (smerge-refine-forward, smerge-refine-chopup-region):
17329 Silence warning for unused `dotimes' counter variables.
17330
7d520089
SM
173312011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17332
17333 * net/tramp.el (tramp-with-progress-reporter): Rename from
17334 with-progress-reporter. Use `declare'.
17335 * net/tramp-smb.el:
17336 * net/tramp-sh.el:
17337 * net/tramp-gvfs.el: Update all uses.
17338
a1c2400f
JB
173392011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17340
17341 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17342 buffer isn't killed before making it current.
17343
2403c841
SM
173442011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17345
17346 Silence various byte-compiler warnings.
17347 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17348 `access-type' and new obsolescence format.
17349 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17350 new format.
17351 (byte-compile-check-variable): New `access-type' argument.
17352 Only warn if the access-type is obsolete.
17353 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17354 (byte-compile-variable-set): Adjust callers.
17355 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17356 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17357 setting it as obsolete.
17358 * simple.el (minibuffer-completing-symbol):
17359 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17360 access as obsolete.
17361 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17362 obsolete yet.
17363 * international/quail.el (quail-mouse-choose-completion): Remove unused
17364 code referring to obsolete var.
17365 (quail-choose-completion-string): Remove.
17366 * server.el (server-clients-with, server-kill-buffer-query-function)
17367 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17368 * proced.el (proced-send-signal):
17369 * emacs-lisp/lisp.el (lisp-complete-symbol):
17370 Replace completion-annotate-function with completion-extra-properties.
17371
2462470b
SM
173722011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17373
fb5b2591
SM
17374 * simple.el (goto-line): Use read-number.
17375 (overriding-map-is-bound): Remove.
17376 (saved-overriding-map): Change default.
17377 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17378 Take the map as argument.
17379 (universal-argument, negative-argument, digit-argument): Use it.
17380 (restore-overriding-map): Adjust.
17381 (do-auto-fill): Use fill-forward-paragraph.
17382 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17383
fd6fa53f
SM
17384 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17385 (minibuffer-inactive-mode): New major mode.
17386 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17387 the *Messages* buffer" hack.
17388 (mouse-popup-menubar): Don't burp if the event is a normal key.
17389
2462470b
SM
17390 Miscellaneous tweaks.
17391 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17392 lexical scoping as in subr.el's dolist and dotimes.
17393 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17394 Silence compiler warning.
17395 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17396 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17397 * international/ccl.el (ccl-compile): Trivial simplification.
17398 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17399 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17400 `printflag' argument.
17401 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17402 Purecopy the whole obsolescence data.
17403
108bf785
LL
174042011-06-01 Leo Liu <sdl.web@gmail.com>
17405
17406 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17407 improve doc-string as suggested by Marco Pessotto
17408 <melmothx@gmail.com>.
17409 (rcirc-print): Fix last change.
17410
30a23501
SM
174112011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17412
17413 * minibuffer.el (complete-with-action): Return nil for the metadata and
17414 boundaries of non-functional tables.
17415 (completion-table-dynamic): Return nil for the metadata.
17416 (completion-table-with-terminator): Add default case, using
17417 complete-with-action.
17418 (completion--metadata): New function.
17419 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17420 to try and avoid pathological performance problems.
17421 (completion--embedded-envvar-table): Return `category' metadata.
17422
bcd54f83
LMI
174232011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17424
17425 * subr.el (process-alive-p): New tiny convenience function.
17426
e227544d
SM
174272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17428
17429 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17430 content but also its previous major mode.
17431
e8296fdc
HE
174322011-05-31 Helmut Eller <eller.helmut@gmail.com>
17433
4d61f28d 17434 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17435 *Backtrace* buffer when we exit with C-M-c.
17436
620c53a6
SM
174372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17438
17439 * minibuffer.el: Add metadata method to completion tables.
17440 (completion-category-overrides): New defcustom.
17441 (completion-metadata, completion--field-metadata)
17442 (completion-metadata-get, completion--styles)
17443 (completion--cycle-threshold): New functions.
17444 (completion-try-completion, completion-all-completions):
17445 Add `metadata' argument to choose completion-styles.
17446 (completion--do-completion): Use metadata to choose cycling.
17447 (completion-all-sorted-completions): Use metadata for sorting.
17448 Remove :completion-cycle-penalty which is not needed any more.
17449 (completion--try-word-completion): Add `metadata' argument.
17450 (minibuffer-completion-help): Check metadata for annotation function
17451 and sorting.
17452 (completion-file-name-table): Return `category' metadata.
17453 (minibuffer-completing-file-name): Make obsolete.
17454 * simple.el (minibuffer-completing-symbol): Make obsolete.
17455 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17456 completion-try-completion.
17457
1257e755
SM
174582011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17459
17460 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17461
3767e706
LL
174622011-05-30 Leo Liu <sdl.web@gmail.com>
17463
17464 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17465 (rcirc-print): Decode all incoming messages (bug#8744).
17466 (rcirc-decode-coding-system): Allow value nil for automatic coding
17467 system detection.
3767e706 17468
d1a5d56a
GM
174692011-06-01 Glenn Morris <rgm@gnu.org>
17470
17471 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17472
e8cbec34
CY
174732011-05-29 Chong Yidong <cyd@stupidchicken.com>
17474
17475 * image.el (image-animate-max-time): Allow nil and t values.
17476 Default to nil.
17477 (create-animated-image): Doc fix.
17478 (image-animate-start): Remove second arg; just use
17479 image-animate-max-time.
17480 (image-animate-timeout): Doc fix. Args changed.
17481
17482 * image-mode.el (image-toggle-display-image): Ensure that the
17483 image spec passed to the animate timer is the same object as in
58179cce 17484 the buffer's display property (Bug#6981).
e8cbec34
CY
17485 (image-transform-properties): Doc fix.
17486
17487 * image.el (image-animate-max-time): Default to nil.
17488
159daf87
MR
174892011-05-29 Martin Rudalics <rudalics@gmx.at>
17490
17491 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17492 entire buffer list (Bug#8184).
17493
d66c4c7c
CY
174942011-05-29 Chong Yidong <cyd@stupidchicken.com>
17495
17496 * image.el (imagemagick-types-inhibit)
17497 (imagemagick-register-types): Doc fix.
17498
80aec780
DD
174992011-05-29 Deniz Dogan <deniz@dogan.se>
17500
17501 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17502 default.
17503
1dd3c2d9
CY
175042011-05-29 Chong Yidong <cyd@stupidchicken.com>
17505
17506 * select.el: Don't perform clipboard-manager saving in hooks;
17507 leave the hooks empty.
17508
60e56523
LL
175092011-05-28 Leo Liu <sdl.web@gmail.com>
17510
17511 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17512 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17513 (occur-edit-mode): New major mode (Bug#8463).
17514 (occur-after-change-function): New function.
17515 (occur-engine): Give Occur tags a read-only property.
17516
2b1e1a22
KR
175172011-05-28 Kevin Ryde <user42@zip.com.au>
17518
17519 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17520
5d344e88
CY
175212011-05-28 Chong Yidong <cyd@stupidchicken.com>
17522
8e6ca83d
CY
17523 * bindings.el (help-echo): Make the initial non-indicator dash
17524 empty on graphical terminals (Bug#7295).
17525
5d344e88
CY
17526 * files.el (auto-mode-alist): Move config rule after the
17527 in-stripping one (Bug#8547).
17528
bfbbace7
CY
17529 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17530
fbeba6e2
CY
17531 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17532 setting (Bug#8740).
17533
60ed8c72
AA
175342011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17535
4ac619f0
AA
17536 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17537 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17538 (Bug#8539).
60ed8c72 17539
23db196e
CY
175402011-05-28 Chong Yidong <cyd@stupidchicken.com>
17541
17542 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17543
5012f24c
DK
175442011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17545
17546 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17547 (hs-hide-block-at-point, hs-find-block-beginning)
17548 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17549 (Bug#8279).
17550
6a639b16
GM
175512011-05-28 Glenn Morris <rgm@gnu.org>
17552
17553 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17554
d43eaf2c
CY
175552011-05-28 Chong Yidong <cyd@stupidchicken.com>
17556
5199bde1
CY
17557 * help-fns.el (describe-function-1): If the function is a derived
17558 major mode, print the parent mode.
17559
d43eaf2c
CY
17560 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17561 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17562
423428a8
SM
175632011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
17564
0ff8e1ba 17565 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 17566 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
17567 * progmodes/etags.el (tags-completion-at-point-function):
17568 * info-look.el (info-lookup-completions-at-point): Mark as
17569 non-exclusive.
17570 (info-complete): Adjust accordingly.
17571
423428a8
SM
17572 * info-look.el: Convert to lexical-binding and completion-at-point.
17573 (info-lookup-completions-at-point): New function.
17574 (info-complete): Use it and completion-in-region.
17575
b74aa22b
DA
175762011-05-28 Drew Adams <drew.adams@oracle.com>
17577
17578 * isearch.el: Let M-e start with point at the first mismatched char.
17579 (isearch-fail-pos): New function.
17580 (isearch-edit-string): Use it.
17581
66e2e71d
DK
175822011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17583
17584 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17585
b1890b0f 175862011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
17587
17588 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
17589 traversal functions for avl-trees.
17590 (avl-tree--stack): New struct.
17591 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17592 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
17593 (avl-tree--do-enter): Add optional `updatefun' arg.
17594 Change return value.
eb95d01d 17595 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
17596 (avl-tree--do-delete): Add `test' and `nilflag' args.
17597 Change return value.
eb95d01d
TC
17598 (avl-tree-member): Add optional `nilflag'
17599 (avl-tree-member-p): New function.
17600 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17601 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17602 (avl-tree-stack-empty-p): New functions.
17603
3769ddcf
TC
17604 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17605 avl-tree--del-balance1 and make it work both ways.
17606 (avl-tree--del-balance2): Remove.
17607 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17608 make it work both ways.
17609 (avl-tree--enter-balance2): Remove.
17610 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17611 New macros.
17612 (avl-tree--mapc, avl-tree-map): Add direction argument.
17613
eb95d01d 176142011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
17615
17616 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17617
a9f737ee
CY
176182011-05-27 Chong Yidong <cyd@stupidchicken.com>
17619
17620 * select.el: Support clipboard managers with built-in function
17621 x-clipboard-manager-save, via delete-frame-functions and
17622 kill-emacs-hook.
17623 (xselect-convert-to-targets): Add MULTIPLE target to list.
17624 (xselect-convert-to-save-targets): New function.
17625
c92a1e54
KH
176262011-05-27 Kenichi Handa <handa@m17n.org>
17627
17628 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17629 let-binding rfc2047-encode-encoded-words to nil.
17630
e145f188
GM
176312011-05-27 Glenn Morris <rgm@gnu.org>
17632
5ec8a862
GM
17633 * mail/emacsbug.el: Don't require url-util.
17634
4b29d9fb
GM
17635 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
17636
e145f188
GM
17637 * files.el (set-auto-mode):
17638 Also respect mode: entries at the end of the file. (Bug#8586)
17639
7d15102b
GM
176402011-05-26 Glenn Morris <rgm@gnu.org>
17641
98f593b8
GM
17642 * files.el (hack-local-variables-prop-line, hack-local-variables):
17643 Downcase mode names, as seems to be traditional.
27b48e63 17644 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 17645
7d15102b
GM
17646 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17647 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
17648
51d5b4ec
JD
176492011-05-25 Julien Danjou <julien@danjou.info>
17650
17651 * textmodes/rst.el (rst-define-level-faces): Do not define face
17652 symbol if it is already defined.
17653
91513f63
VB
176542011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
17655
17656 * play/5x5.el (5x5-new-game, 5x5-randomize):
17657 Reset 5x5-solver-output to nil when a new grid is cast.
17658 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17659 these debugging traces, as defmacro breaks the compiled code.
17660
4d90d6d0
DK
176612011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
17662
17663 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17664
e1b90ef6
LL
176652011-05-24 Leo Liu <sdl.web@gmail.com>
17666
17667 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17668 (vc-bzr-sha1): Adapt.
17669
d8e4b68b 17670 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
17671
17672 * bindings.el: Provide sha1 feature.
17673
db0406bb 176742011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
17675
17676 * mail/sendmail.el: Require `rfc2047'.
17677 (mail-insert-from-field): Do not perform RFC2047 encoding.
17678 (mail-encode-header): New function.
17679 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
17680 buffer to the return value of select-message-coding-system.
17681 Call mail-encode-header.
b8d747b9
KH
17682
17683 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17684
db0406bb 176852011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 17686
4d90d6d0
DK
17687 * mail/supercite.el (sc-default-cite-frame):
17688 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 17689
eb8a5e9b
GM
176902011-05-24 Glenn Morris <rgm@gnu.org>
17691
f8630703
GM
17692 * progmodes/python.el (brm-menu): Declare.
17693
8831bbed
GM
17694 * emulation/viper.el (viper-set-hooks): Declare.
17695
eb8a5e9b
GM
17696 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17697 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17698 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17699 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17700 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17701 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17702
a2a25d24
SM
177032011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
17704
17705 Add an :exit-function for completion-at-point.
17706
17707 * minibuffer.el (completion--done): New fun.
17708 (completion--do-completion): Use it. New arg `expect-exact'.
17709 (minibuffer-complete, minibuffer-complete-word): Don't output message,
17710 since completion--do-completion does it for us now.
17711 (minibuffer-force-complete): Use completion--done and
17712 completion--replace. Handle sole-completion case with more care.
17713 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17714 (completion-extra-properties): New var.
17715 (completion-annotate-function): Make obsolete.
17716 (minibuffer-completion-help): Adjust accordingly.
17717 Use completion-list-insert-choice-function.
17718 (completion-at-point, completion-help-at-point):
17719 Bind completion-extra-properties.
17720 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17721 * simple.el (completion-list-insert-choice-function): New var.
17722 (completion-setup-function): Preserve it.
17723 (choose-completion): Pay attention to it, shuffle the code a bit.
17724 (choose-completion-string): New arg `insert-function'.
17725
17726 * textmodes/bibtex.el: Convert to lexical binding.
17727 (bibtex-mode-map): Use completion-at-point.
17728 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17729 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17730 (bibtex-complete): Define as obsolete alias.
17731 (bibtex-complete-internal): Remove.
17732 (bibtex-format-entry): Remove unused sub-group in regexp.
17733 * shell.el (shell--command-completion-data)
17734 (shell-environment-variable-completion):
17735 * pcomplete.el (pcomplete-completions-at-point):
17736 * comint.el (comint--complete-file-name-data): Use :exit-function
17737 instead of completion-table-with-terminator so it also works for
17738 choose-completion.
17739
e44e373d
SM
177402011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17741
4f91a816
SM
17742 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17743
782fc819
SM
17744 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17745 (bug#8710).
17746
e44e373d
SM
17747 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17748
381987c3
KM
177492011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
17750
17751 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17752 customization variable and implement: If non-nil, auto-fill will
17753 be inhibited while on topic's header line.
17754
b776bc70
VB
177552011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
17756
17757 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 17758 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
17759 always have a solution in grid size = 5 cases.
17760 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17761 (5x5-solver-output, 5x5-log-buffer): New vars.
17762 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17763 Make these variables buffer local to achieve 5x5 multi-session-ness.
17764 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17765 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17766 (5x5-solve-suggest): New funs.
17767 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17768 randomize a grid so that we ensure that there is always a solution.
17769 (5x5-make-random-grid): Allow other movement than flipping.
17770
7de88b6e
KR
177712011-05-23 Kevin Ryde <user42@zip.com.au>
17772
17773 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 17774 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
17775 advice and passes PREDICATE.
17776
b1ef1257
SM
177772011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
17778
bbca48fe
SM
17779 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17780 byte-compile-lambda if it's actually a lambda.
17781
b1ef1257
SM
17782 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17783 Fix function quoting. Use backquote better.
17784
92a9cc65
YS
177852011-05-22 Yuanle Song <sylecn@gmail.com>
17786
17787 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17788 matching (Bug#8516).
17789
f0fb8059
JA
177902011-01-22 Jari Aalto <jari.aalto@cante.net>
17791
17792 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17793 different face (Bug#8178).
17794
d5b44c93
CY
177952011-05-22 Chong Yidong <cyd@stupidchicken.com>
17796
17797 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17798 defface (Bug#8144).
17799
79106a44
SM
178002011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
17801
9c848d8a
SM
17802 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17803 funcall as well (bug#8712). Warn when performing those conversions.
17804 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17805
79106a44
SM
17806 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17807
88dfa756
GM
178082011-05-22 Glenn Morris <rgm@gnu.org>
17809
17810 * files.el (hack-local-variables-prop-line): Small simplifications.
17811 (hack-local-variables, hack-local-variables-prop-line):
17812 If MODE-ONLY, return the mode, rather than just `t'.
17813
b7cf2c79
SM
178142011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
17815
17816 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17817
3f1a8558
GM
178182011-05-21 Glenn Morris <rgm@gnu.org>
17819
7e4ccca3
GM
17820 * files.el (hack-local-variables-prop-line, hack-local-variables):
17821 If only interested in the mode, don't bother doing the other stuff.
17822
637d46ca
GM
17823 * image-mode.el (image-after-revert-hook):
17824 Redraw all frames on which the image is visible. (Bug#8567)
17825
973d955b
GM
17826 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
17827
3f1a8558
GM
17828 * wid-edit.el (widget-checklist-match-inline):
17829 Fix 2011-04-19 change. (Bug#8649)
17830
96479927
SM
178312011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
17832
1dcf791f
SM
17833 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17834 Also allow singlespace after single-letter capitals followed by a dot.
17835
96479927
SM
17836 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17837 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17838
35fd0881
N
178392011-05-20 Nix <nix@esperi.org.uk>
17840
17841 * files.el (basic-save-buffer-2):
17842 Fix handling of break-hardlink-on-save with non-existent files.
17843
82745640
DD
178442011-05-19 Deniz Dogan <deniz@dogan.se>
17845
17846 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 17847 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 17848
4a720484
GM
178492011-05-19 Glenn Morris <rgm@gnu.org>
17850
d1f21341
GM
17851 * progmodes/f90.el (f90-type-def-re):
17852 Handle "type, bind(c)". (Bug#8691)
17853
4a720484
GM
17854 * emacs-lisp/autoload.el (batch-update-autoloads):
17855 Set autoload-excludes by parsing loadup.el rather than Makefiles.
17856
2fb0a219
MA
178572011-05-18 Michael Albinus <michael.albinus@gmx.de>
17858
17859 * net/tramp.el (tramp-process-actions): Set "first-password-request"
17860 property for the correct connection in case of multihops.
17861
e565dd37
GM
178622011-05-18 Glenn Morris <rgm@gnu.org>
17863
c2571358 17864 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
17865 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17866
e565dd37
GM
17867 Rationalize calendar handling of day and month abbrev-arrays.
17868 * calendar/calendar.el (calendar-customized-p): New function.
17869 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17870 (calendar-day-name-array, calendar-month-name-array): Doc fix.
17871 Add :set function.
17872 (calendar-abbrev-length, calendar-day-abbrev-array)
17873 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17874 (calendar-day-abbrev-array, calendar-month-abbrev-array):
17875 Elements may no longer be nil.
17876 (calendar-day-name, calendar-month-name):
17877 Update for changed nature of abbrev arrays.
17878 * calendar/diary-lib.el (diary-name-pattern):
17879 Update for changed nature of abbrev arrays.
17880 (diary-mark-entries-1): Update calendar-make-alist calls.
17881 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17882 * calendar/cal-html.el (cal-html-day-abbrev-array):
17883 Simply inherit from calendar-day-abbrev-array.
17884
1d99a745
SM
178852011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
17886
17887 * progmodes/grep.el (grep-mode): Disable default
17888 compilation-directory-matcher setting (bug#8684).
17889
7c1d9aa0
MA
178902011-05-17 Michael Albinus <michael.albinus@gmx.de>
17891
17892 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17893 instead of "head" and "tail". There were problems with SunOS 5.9,
17894 and it performs better.
17895
3952e9d8
GM
178962011-05-17 Glenn Morris <rgm@gnu.org>
17897
2dd12e7f
GM
17898 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17899
e4157b9c
GM
17900 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17901 Replace obsolete function.
17902
8e249bbd
GM
17903 * shell.el (pcomplete-parse-arguments-function): Declare.
17904
3952e9d8
GM
17905 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17906 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17907 (appt-check): Doc fixes.
17908 (appt-disp-window-function, appt-delete-window-function):
17909 Remove needless special case in custom :type.
17910 (appt-display-count): Default to 0, not nil.
17911 (appt-check): Reset appt-display-count to 0, not nil.
17912
c71a0d48 179132011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 17914
c71a0d48
GM
17915 * progmodes/python.el (python-font-lock-keywords):
17916 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 17917
31d55be9
SM
179182011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
17919
17920 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17921
3bfacb2f
KR
179222011-05-16 Kevin Ryde <user42@zip.com.au>
17923
17924 * info-look.el (makefile-automake-mode): New setups, looking in
17925 automake manual, then makefile-mode.
17926 (makefile-mode): Remove automake manual, have it just in
17927 makefile-automake-mode since there's various things different or
17928 not relevant to plain make.
17929 (makefile-mode): Remove "other-modes" non-existent automake-mode,
17930 believe a hypothetical automake-mode would go to makefile-mode,
17931 not the other way around.
17932
c8e83751
CY
179332011-05-15 Chong Yidong <cyd@stupidchicken.com>
17934
5e9e35cd
CY
17935 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17936 hunk-end tags (Bug#8672).
17937
c8e83751
CY
17938 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17939 vc-annotate-show-diff-revision-at-line (Bug#8671).
17940
50b23e5a
GM
179412011-05-14 Glenn Morris <rgm@gnu.org>
17942
7210a739
GM
17943 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17944 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
17945 (change-log-font-lock-keywords): Also handle multiple author lines
17946 with leading tabs. (Bug#8644)
7210a739 17947
4691905a
GM
17948 * calendar/appt.el (appt-check): Rename some local variables.
17949 Some simplification/reordering.
17950
50b23e5a
GM
17951 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17952 (feedmail-sendmail-f-doesnt-sell-me-out)
17953 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17954 (feedmail-debug-sit-for, feedmail-queue-express-hook)
17955 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
17956 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17957 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
17958 (feedmail-binmail-gnulinuxish-template):
17959 Rename from feedmail-binmail-linuxish-template.
17960 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17961 Use insert-buffer-substring.
17962
215cda7c
BC
179632011-05-14 Bill Carpenter <bill@carpenter.org>
17964
17965 * mail/feedmail.el (feedmail-patch-level): Increase.
17966 (feedmail-debug): New custom group.
17967 (feedmail-confirm-outgoing-timeout)
17968 (feedmail-sendmail-f-doesnt-sell-me-out)
17969 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17970 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17971 (feedmail-sender-line, feedmail-from-line)
17972 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 17973 (feedmail-spray-this-address)
215cda7c
BC
17974 (feedmail-spray-address-fiddle-plex-list)
17975 (feedmail-queue-use-send-time-for-date)
17976 (feedmail-queue-use-send-time-for-message-id)
17977 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17978 (feedmail-buffer-eating-function):
17979 Doc fixes.
17980 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17981 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17982 (feedmail-message-action-scroll-down): New functions.
17983 (feedmail-queue-directory, feedmail-queue-draft-directory):
17984 Use expand-file-name.
17985 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17986 Remove C-v help entry.
17987 (feedmail-queue-buffer-file-name): New variable.
17988 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17989 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17990 (feedmail-message-action-send-strong, feedmail-message-action-edit)
17991 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17992 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17993 (feedmail-message-action-toggle-spray)
17994 (feedmail-run-the-queue-no-prompts)
17995 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17996 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17997 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17998 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17999 (feedmail-envelope-deducer, feedmail-fiddle-from)
18000 (feedmail-fiddle-sender, feedmail-default-date-generator)
18001 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18002 (feedmail-fiddle-spray-address)
18003 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18004 (feedmail-fiddle-list-of-fiddle-plexes)
18005 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18006 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18007 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18008 Change default. Doc fix.
18009 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18010 (feedmail-binmail-linuxish-template): New constant.
18011 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18012 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18013 (feedmail-send-it): Add debug call.
18014 Use feedmail-queue-buffer-file-name, and
18015 feedmail-send-it-immediately-wrapper.
18016 (feedmail-message-action-send): Add debug call.
18017 Use feedmail-send-it-immediately-wrapper.
18018 (feedmail-queue-express-to-queue): Add debug call.
18019 Run feedmail-queue-express-hook.
18020 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18021 (feedmail-message-action-help-blat):
18022 Rename from feedmail-queue-send-edit-prompt-help-first.
18023 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18024 Check line-endings. Handle errors better.
18025 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18026 Doc fix. Add debug call.
18027 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18028 Use feedmail-queue-send-edit-prompt-inner.
18029 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18030 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18031 from feedmail-queue-send-edit-prompt.
18032 (feedmail-queue-send-edit-prompt-help)
18033 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18034 (feedmail-tidy-up-slug): Add debug call.
18035 Respect feedmail-queue-slug-suspect-regexp.
18036 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18037 (feedmail-dump-message-to-queue): Add debug call.
18038 Expand queue-directory.
18039 (feedmail-dump-message-to-queue): Change message slightly.
18040 Use feedmail-say-chatter.
18041 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18042 (feedmail-send-it-immediately-wrapper): New function.
18043 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18044 Insert empty string rather than newline. Handle full-frame case.
18045 Use catch/throw. Use feedmail-say-chatter.
18046 (feedmail-fiddle-from): Try mail-host-address.
18047 (feedmail-default-message-id-generator): Doc fix.
18048 Bind system-time-locale. Handle missing end.
18049 (feedmail-fiddle-x-mailer): Add debug call.
18050 Handle feedmail-x-mailer-line being nil.
18051 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18052 Add debug call. Use buffer-substring-no-properties.
18053 (feedmail-say-debug, feedmail-say-chatter): New functions.
18054 (feedmail-find-eoh): Give an explicit error.
18055
42c7e61e
UJ
180562011-05-13 Ulf Jasper <ulf.jasper@web.de>
18057
c2571358 18058 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18059 family from helvetica to sans.
c2571358 18060 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18061 etc/images/newsticker.
18062
c2571358 18063 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18064 family from helvetica to sans.
18065
18066 * net/newst-plainview.el (newsticker-new-item-face)
18067 (newsticker-old-item-face, newsticker-immortal-item-face)
18068 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18069 (newsticker-statistics-face): Change default family from
42c7e61e 18070 helvetica to sans.
c2571358 18071 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18072 etc/images/newsticker.
18073
5d3385a0
JB
18074 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18075 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18076 auto-marking.
18077
8497a297
DV
180782011-05-13 Didier Verna <didier@xemacs.org>
18079
18080 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18081 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18082 TODO entries.
8497a297
DV
18083 (lisp-lambda-list-keyword-parameter-indentation)
18084 (lisp-lambda-list-keyword-parameter-alignment)
18085 (lisp-lambda-list-keyword-alignment): New customizable user options.
18086 (lisp-indent-defun-method): Improve docstring.
18087 (extended-loop-p): Fix comment.
18088 (lisp-indent-lambda-list-keywords-regexp): New variable.
18089 (lisp-indent-lambda-list): New function.
18090 (lisp-indent-259): Use it.
18091 (lisp-indent-defmethod): Support for more than one
18092 method qualifier and properly indent methods lambda-lists.
18093 (defgeneric): Provide a missing common-lisp-indent-function property.
18094
f278f87f
SM
180952011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18096
18097 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18098 bounds for the empty string (bug#8667).
18099
5233edd7
GM
181002011-05-13 Glenn Morris <rgm@gnu.org>
18101
5237a44f
GM
18102 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18103
8340026c 18104 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18105 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18106
5233edd7 18107 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18108 (appt-time-msg-list): Doc fix.
a5464014 18109 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18110
92d10796
AS
181112011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18112
18113 * progmodes/ld-script.el (ld-script-keywords)
18114 (ld-script-builtins): Update keywords list.
18115
914a0ae1
SM
181162011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18117
c89be45f
SM
18118 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18119
914a0ae1
SM
18120 * shell.el (shell-completion-vars): New function.
18121 (shell-mode):
18122 * simple.el (read-shell-command): Use it.
18123 (blink-matching-open): No need for " [...]" in minibuffer-message.
18124
98dc3df3
GM
181252011-05-12 Glenn Morris <rgm@gnu.org>
18126
18127 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18128 (appt-check): Simplify.
18129
d2fc7e3d 181302011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18131
4d61f28d 18132 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18133 literal "/dev/null".
18134
d2fc7e3d 181352011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18136
18137 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18138 Fix typo.
18139
d2fc7e3d 181402011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18141
3f254caa
SM
18142 * progmodes/which-func.el (which-function):
18143 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18144 which might not be defined (Bug#8260).
18145
d45885f7
GM
181462011-05-12 Glenn Morris <rgm@gnu.org>
18147
18148 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18149 Let byte-compile-initial-macro-environment always take precedence.
18150
488086f4
SM
181512011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18152
18153 * net/rcirc.el: Add support for SSL/TLS connections.
18154 (rcirc-server-alist): New field `encryption'.
18155 (rcirc): Check `encryption' settings.
18156 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18157 Merge make-local-variable into `set'.
18158 (rcirc--connection-open-p): New function.
18159 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18160 the process is not a network process (e.g. running gnutls-cli).
18161 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18162 Make rcirc-(en|de)code-coding-system local here.
18163 (rcirc-mode): Merge make-local-variable into `set'.
18164 (rcirc-parent-buffer): Make permanent buffer-local.
18165 (rcirc-multiline-minor-mode): Don't do it here.
18166 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18167 there's no server buffer.
18168
7d3b9d44
GM
181692011-05-11 Glenn Morris <rgm@gnu.org>
18170
f64049c6
GM
18171 * newcomment.el (comment-kill): Prefix "unused" local.
18172
93c9df73
GM
18173 * term/w32console.el (get-screen-color): Declare.
18174
7d3b9d44
GM
18175 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18176 Handle symbol elements of byte-compile-initial-macro-environment.
18177
9e2dd53f
LL
181782011-05-10 Leo Liu <sdl.web@gmail.com>
18179
488086f4
SM
18180 * bookmark.el (bookmark-bmenu-mode-map):
18181 Bind bookmark-bmenu-search to `/'.
8b340240 18182
9e2dd53f 18183 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18184 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18185 (Footnote-unicode): New function.
18186 (footnote-style-alist): Add unicode style to the list.
18187 (footnote-style): Doc fix.
9e2dd53f 18188
79b70037
GM
181892011-05-10 Jim Meyering <meyering@redhat.com>
18190
18191 Fix doubled-word typos.
18192 * international/quail.el (quail-insert-kbd-layout): and and -> and
18193 * kermit.el: and and -> and
18194 * net/ldap.el (ldap-search-internal): to to -> to
18195 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18196 * progmodes/js.el (js-mode): and and -> and
18197 * textmodes/artist.el (artist-move-to-xy): at at -> at
18198 (artist-draw-region-trim-line-endings): if if -> if
18199 And Safetyc -> Safety.
18200 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18201
b8f82dc1 182022011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18203 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18204
18205 * files.el (hack-one-local-variable-eval-safep):
18206 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18207
4f99f44b
GM
182082011-05-10 Glenn Morris <rgm@gnu.org>
18209
18210 * calendar/diary-lib.el (diary-list-entries-hook)
18211 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18212 (diary-nongregorian-marking-hook, diary-list-entries)
18213 (diary-include-other-diary-files, diary-mark-entries)
18214 (diary-mark-included-diary-files): Doc fixes.
18215
84f29e6b
JB
182162011-05-09 Juanma Barranquero <lekktu@gmail.com>
18217
18218 * misc.el: Require tabulated-list.el during compilation.
18219
9bedd73a
CY
182202011-05-09 Chong Yidong <cyd@stupidchicken.com>
18221
488086f4
SM
18222 * progmodes/compile.el (compilation-start):
18223 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18224 (compilation-filter-hook): Doc fix.
18225
797c735c
DD
182262011-05-09 Deniz Dogan <deniz@dogan.se>
18227
18228 * wdired.el: Remove outdated installation comment. Fix usage
18229 comment.
18230
5f4b1dfe
JB
182312011-05-09 Juanma Barranquero <lekktu@gmail.com>
18232
18233 * misc.el: Implement new command `list-dynamic-libraries'.
18234 (list-dynamic-libraries--loaded-only-p): New variable.
18235 (list-dynamic-libraries--refresh): New function.
18236 (list-dynamic-libraries): New command.
18237
4c44026c
CY
182382011-05-09 Chong Yidong <cyd@stupidchicken.com>
18239
488086f4
SM
18240 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18241 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18242 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18243 higher priority to avoid clobbering by gnu.
18244
027f966d
CY
182452011-05-08 Chong Yidong <cyd@stupidchicken.com>
18246
18247 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18248 if the face has existing theme settings (Bug#8454).
18249
085f5d7d
CY
182502011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18251
488086f4
SM
18252 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18253 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18254
2a86a00c
RS
18255 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18256 special file names `.' and `..' (Bug#8259).
18257
d9c54a06
CY
182582011-05-08 Chong Yidong <cyd@stupidchicken.com>
18259
488086f4
SM
18260 * progmodes/grep.el (grep-mode-font-lock-keywords):
18261 Remove buffer-changing entries.
d9c54a06
CY
18262 (grep-filter): New function.
18263 (grep-mode): Add it to compilation-filter-hook.
18264
18265 * progmodes/compile.el (compilation-filter-hook)
18266 (compilation-filter-start): New defvars.
18267 (compilation-filter): Call compilation-filter-hook prior to
18268 updating the process mark.
18269
c4662635
SM
182702011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18271
18272 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18273
b0512a1d
EZ
182742011-05-07 Eli Zaretskii <eliz@gnu.org>
18275
605c9376
EZ
18276 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18277 mailclient-send-it even if window-system is nil. (Bug#8595)
18278
c4662635
SM
18279 * term/w32console.el (terminal-init-w32console):
18280 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18281 background-mode. (Bug#8597)
18282
d1dc2cc2
SM
182832011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18284
18285 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18286 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18287 New functions.
18288 (defgeneric, eieio--defmethod): Use them.
18289 (eieio-defgeneric): Remove.
18290 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18291
915d1300
GM
182922011-05-07 Glenn Morris <rgm@gnu.org>
18293
a3961c3e
GM
18294 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18295 Use let rather than let*.
18296 (timeclock-find-discrep): Remove unused local.
18297
314347b9
GM
18298 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18299
915d1300
GM
18300 * calendar/appt.el (appt-time-msg-list): Doc fix.
18301
275b59b0
NF
183022011-05-06 Noah Friedman <friedman@splode.com>
18303
18304 * apropos.el (apropos-print-doc): Only use
18305 emacs-lisp-docstring-fill-column when it is bound to an integer,
18306 per that variable's documentation.
18307
6c19f744
SM
183082011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18309
18310 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18311 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18312
60f884b2
GM
183132011-05-06 Glenn Morris <rgm@gnu.org>
18314
5006e634
GM
18315 * calendar/appt.el (appt-message-warning-time): Doc fix.
18316 (appt-warning-time-regexp): New option.
18317 (appt-make-list): Respect appt-message-warning-time.
18318
548d0a63
GM
18319 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18320 New options.
18321 (diary-add-to-list): Strip comments from the displayed string.
18322 (diary-mode): Set comment-start and comment-end.
18323
60f884b2
GM
18324 * vc/diff-mode.el (smerge-refine-subst): Declare.
18325 (diff-refine-hunk): Don't require smerge-mode when compiling.
18326
989681bb
JB
183272011-05-06 Juanma Barranquero <lekktu@gmail.com>
18328
18329 * simple.el (list-processes): Return nil as the docstring says.
18330
a6bc05e1
MA
183312011-05-05 Michael Albinus <michael.albinus@gmx.de>
18332
18333 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18334 to "".
18335 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18336 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18337 determining of binary transfer. (Bug#7383)
18338
23c22e9a
MA
183392011-05-05 Michael Albinus <michael.albinus@gmx.de>
18340
c4662635
SM
18341 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18342 Fix port computation bug. (Bug#8618)
23c22e9a 18343
0bff894f
GM
183442011-05-05 Glenn Morris <rgm@gnu.org>
18345
b8296902
GM
18346 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18347
1f522ce8
GM
18348 * simple.el (shell-dynamic-complete-functions)
18349 (comint-dynamic-complete-functions): Declare.
18350
cf5bee67
GM
18351 * net/network-stream.el (gnutls-negotiate):
18352 * simple.el (tabulated-list-print): Fix declarations.
18353
18354 * progmodes/gud.el (syntax-symbol, syntax-point):
18355 Remove unnecessary and incorrect declarations.
18356
0bff894f 18357 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18358 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18359
9869b3ae
SM
183602011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18361
18362 Fix earlier half-done eieio-defmethod change (bug#8338).
18363 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18364 Streamline and change calling convention.
18365 (defmethod): Adjust accordingly and simplify.
18366 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18367 new eieio--defmethod.
18368 (slot-boundp): Minor CSE simplification.
18369
9c1d5ac5
MZ
183702011-05-05 Milan Zamazal <pdm@zamazal.org>
18371
18372 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18373 (glasses-make-readable): Use glasses-separate-capital-groups.
18374
455c834e
JB
183752011-05-05 Juanma Barranquero <lekktu@gmail.com>
18376
18377 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18378 (warning-series): Doc fix.
18379 (display-warning): Don't try to create the buffer if we just found it.
18380
9ed7c8cb
CY
183812011-05-04 Chong Yidong <cyd@stupidchicken.com>
18382
18383 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18384 (autoload-find-generated-file): New function.
18385 (generate-file-autoloads): Bind generated-autoload-file to
18386 buffer-file-name.
9869b3ae
SM
18387 (update-file-autoloads, update-directory-autoloads):
18388 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18389 output file (Bug#7989).
18390 (batch-update-autoloads): Doc fix.
18391
0898ca10
JB
183922011-05-04 Juanma Barranquero <lekktu@gmail.com>
18393
18394 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18395
31dfb76c
GM
183962011-05-04 Glenn Morris <rgm@gnu.org>
18397
f330b642
GM
18398 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18399 function, so it follows changes in calendar-date-style.
18400 (diary-fancy-date-matcher): New function.
18401 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18402 (diary-fancy-font-lock-fontify-region-function):
18403 Use diary-fancy-date-pattern as a function.
18404
31dfb76c
GM
18405 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18406 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18407
48e79d6a
TZ
184082011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18409
18410 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18411 instead of positional arguments. Allow :keylist and :crlfiles
18412 arguments.
18413 (open-gnutls-stream): Call it.
18414
18415 * net/network-stream.el (network-stream-open-starttls): Adjust to
18416 call `gnutls-negotiate' with :process and :hostname arguments.
18417
dd5a5ee0
SM
184182011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18419
ef80fc09
SM
18420 * minibuffer.el (completion--message): New function.
18421 (completion--do-completion, minibuffer-complete)
18422 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18423 (completion--do-completion): Don't ignore completion-auto-help when in
18424 icomplete-mode.
18425
dd5a5ee0
SM
18426 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18427 internal encoding (e.g. tibetan zero is not whitespace).
18428 (global-whitespace-mode): Prefer save-current-buffer.
18429 (whitespace-trailing-regexp): Remove useless save-match-data.
18430 (whitespace-empty-at-bob-regexp): Minor simplification.
18431
b7d22a83
CY
184322011-05-03 Chong Yidong <cyd@stupidchicken.com>
18433
18434 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18435
5192af46
AM
184362011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18437
18438 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18439 Use `concat' to create string for insertion.
5192af46 18440
5767d190
SM
184412011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18442
18443 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18444 Avoid open-line which runs post-self-insert-hook.
18445 (bibtex-fill-entry): Remove unused `end' var.
18446
bf242939
AM
184472011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18448
5767d190
SM
18449 * textmodes/ispell.el (ispell-add-per-file-word-list):
18450 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18451
25666126
LL
184522011-05-03 Leo Liu <sdl.web@gmail.com>
18453
18454 * isearch.el (isearch-yank-pop): New command.
5767d190 18455 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18456 (isearch-forward): Mention it.
18457
52d3c2d0
SM
184582011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18459
1bcace58
SM
18460 * simple.el (minibuffer-complete-shell-command): Remove.
18461 (minibuffer-local-shell-command-map): Use completion-at-point.
18462 (read-shell-command): Setup completion vars here instead.
18463 (read-expression-map): Bind TAB to symbol completion.
18464
52d3c2d0
SM
18465 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18466 error directly rather via storing it into `results'.
18467
35813471
LL
184682011-05-02 Leo Liu <sdl.web@gmail.com>
18469
18470 * vc/diff.el: Fix description.
18471
e793a940
LMI
184722011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18473
18474 * server.el (server-eval-at): New function.
18475
8de66e05
LMI
184762011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18477
18478 * net/network-stream.el (open-network-stream): Take a :nowait
18479 parameter and pass it on to `make-network-process'.
18480 (network-stream-open-plain): Ditto.
18481
dcb79f20
AS
184822011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18483
18484 * faces.el (face-spec-set-match-display): Don't match toolkit
18485 options on terminal frames.
18486
14a7fbd8
SM
184872011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18488
7eabc1be
SM
18489 * progmodes/pascal.el: Use lexical binding.
18490 (pascal-mode-map): Remove author preferences.
18491
14a7fbd8
SM
18492 * pcomplete.el (pcomplete-std-complete): Don't abuse
18493 completion-at-point.
18494
50f84510
JB
184952011-04-28 Juanma Barranquero <lekktu@gmail.com>
18496
6e087a44
JB
18497 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18498 removing code that has been dead since 1991 or so.
18499
50f84510
JB
18500 * startup.el (command-line): When warning about "_emacs", use a
18501 delayed warning to allow the user to filter it out.
18502
0ba690bd
DD
185032011-04-28 Deniz Dogan <deniz@dogan.se>
18504
18505 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18506 user has not joined.
18507
08abfaad
SM
185082011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18509
18510 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18511 aren't any completions at point.
18512
638f053a
JB
185132011-04-28 Juanma Barranquero <lekktu@gmail.com>
18514
18515 * subr.el (display-delayed-warnings): New function.
18516 (delayed-warnings-hook): New variable.
18517
8fff8daa
SM
185182011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18519
08abfaad
SM
18520 * minibuffer.el (completion-at-point, completion-help-at-point):
18521 Don't presume that a given completion-at-point-function will always
18522 use the same calling convention.
18523
8fff8daa
SM
18524 * pcomplete.el (pcomplete-completions-at-point):
18525 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18526 pcomplete-seen is non-nil.
18527 (pcomplete-comint-setup): Also recognize the new comint/shell
18528 completion functions.
18529 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18530 pcomplete-seen is non-nil.
18531
841a1577 185322011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18533
841a1577 18534 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18535 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18536 the first character in the entry. This allows for code to add its
211ec907
UJ
18537 own uid to the entry.
18538 (icalendar--convert-float-to-ical): Add export of
18539 `diary-float'-entries save for those with the optional DAY
18540 argument.
18541
2a782793
DC
185422011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18543
18544 * subr.el (shell-quote-argument): Use alternate escaping strategy
18545 when we spot a variable reference in a string.
18546
0438ce91
DC
185472011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18548
18549 * cus-start.el (all): Define customization for debug-on-event.
18550
841a1577 185512011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18552
18553 * subr.el (shell-quote-argument): Escape correctly under Windows.
18554
d090ed6c
SM
185552011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18556
18557 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18558
bfd31217
MA
185592011-04-25 Michael Albinus <michael.albinus@gmx.de>
18560
d090ed6c
SM
18561 * net/tramp.el (tramp-process-actions): Add POS argument.
18562 Delete region between POS and (pos).
bfd31217 18563
d090ed6c
SM
18564 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18565 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
18566 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18567
18568 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18569 position in `tramp-process-actions' call.
18570
18571 * net/trampver.el: Update release number.
18572
e92f3bd3
SM
185732011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
18574
850256b5
SM
18575 * custom.el (defcustom): Obey lexical-binding.
18576
e92f3bd3
SM
18577 Fix octave-inf completion problems reported by Alexander Klimov.
18578 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18579 Inherit from octave-mode-syntax-table.
18580 (inferior-octave-mode): Set info-lookup-mode.
18581 (inferior-octave-completion-at-point): New function.
18582 (inferior-octave-complete): Use it and completion-in-region.
18583 (inferior-octave-dynamic-complete-functions): Use it as well, and use
18584 comint-filename-completion.
18585 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18586 symbol elements which shouldn't be word elements.
18587 (octave-font-lock-keywords, octave-beginning-of-defun)
18588 (octave-function-header-regexp): Adjust regexps accordingly.
18589 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18590
cd22b309
JB
185912011-04-25 Juanma Barranquero <lekktu@gmail.com>
18592
18593 * net/gnutls.el (gnutls-errorp): Declare before first use.
18594
8b492194
TZ
185952011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
18596
18597 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18598 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 18599 default trustfile exists before going to use it. Add missing
5a5fa834 18600 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
18601 Reported by Claudio Bley <claudio.bley@gmail.com>.
18602 (open-gnutls-stream): Add usage example.
18603
18604 * net/network-stream.el (network-stream-open-starttls): Give host
18605 parameter to `gnutls-negotiate'.
18606 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 18607 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 18608
841a1577 186092011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 18610
cd22b309
JB
18611 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18612 Use correct match group (bug#8438).
05842630 18613
3ba7869c
CY
186142011-04-24 Chong Yidong <cyd@stupidchicken.com>
18615
512e3ae1
CY
18616 * emacs-lisp/package.el (package-built-in-p): Fix typo.
18617 (package-menu--generate): New arg specifying packages to show.
18618 (package-menu-refresh, package-menu-execute, list-packages):
18619 Callers changed.
18620 (package-show-package-list): New function, replacing deleted
18621 package--list-packages (renamed because it is non-internal).
18622
18623 * finder.el (finder-list-matches): Use package-show-package-list
18624 instead of deleted package--list-packages.
18625
e92f3bd3
SM
18626 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18627 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
18628 (vc-annotate-mode-map): Bind it to RET.
18629
7031be6d
UR
186302011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
18631
18632 * progmodes/etags.el (next-file): Don't use set-buffer to change
18633 buffers (Bug#8478).
18634
4ef177aa
CY
186352011-04-24 Chong Yidong <cyd@stupidchicken.com>
18636
c8d173eb
CY
18637 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18638
4ef177aa
CY
18639 * apropos.el (apropos-label-face): Avoid variable-pitch face.
18640 (apropos-accumulator): Doc fix.
18641 (apropos-function, apropos-macro, apropos-command)
18642 (apropos-variable, apropos-face, apropos-group, apropos-widget)
18643 (apropos-plist): Add face property.
18644 (apropos-symbols-internal): Fix indentation.
18645 (apropos-print): Simplify help, and recognize apropos-multi-type.
18646 (apropos-print-doc): Use button-type-get to extract the button's
18647 face property. Fill docstring (Bug#8352).
18648
4ffd0d6b 186492011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
18650
18651 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18652
c6c32125 18653 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 18654 (mpuz-mode-map): Use mapc.
c6c32125
JB
18655 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18656 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18657 Fix typos in docstrings.
18658
58d468b4
JB
18659 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18660 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18661
6470c3c6
JB
18662 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18663
4ffd0d6b 186642011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
18665
18666 * minibuffer.el (completion--do-completion): Avoid the "Next char
18667 not unique" prompt if icomplete-mode is enabled (Bug#5849).
18668
3ad8bad0
CY
18669 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18670 mouse-2 into unread-command-events, it is interpreted correctly.
18671
71d73c9c 18672 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 18673 (image-toggle-display): Doc fix.
71d73c9c 18674
841a1577 186752011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 18676
4ffd0d6b
GM
18677 * textmodes/page.el (what-page): Use line-number-at-pos to
18678 calculate line number (Bug#6825).
6e1dbaa9 18679
c2fb1b60
JB
186802011-04-22 Juanma Barranquero <lekktu@gmail.com>
18681
18682 * eshell/esh-mode.el (find-tag-interactive): Declare function.
18683 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18684 Pass argument NO-DEFAULT to `find-tag-interactive'.
18685
e02f48d7
JB
186862011-04-22 Juanma Barranquero <lekktu@gmail.com>
18687
18688 Lexical-binding cleanup.
18689
18690 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18691 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18692 * progmodes/ada-prj.el (ada-prj-initialize-values)
18693 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18694 (ada-prj-show-value):
18695 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18696 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18697 (antlr-invalidate-context-cache, antlr-options-menu-filter)
18698 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18699 * progmodes/bug-reference.el (bug-reference-push-button):
18700 * progmodes/fortran.el (fortran-line-length):
18701 * progmodes/glasses.el (glasses-change):
18702 * progmodes/octave-mod.el (octave-fill-paragraph):
18703 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18704 (python-pdbtrack-grub-for-buffer, python-sentinel):
18705 * progmodes/sql.el (sql-save-connection):
18706 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18707 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18708 Mark unused parameters.
18709
18710 * progmodes/compile.el (compilation--flush-directory-cache)
18711 (compilation--flush-parse, compile-internal): Mark unused parameters.
18712 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18713 (compilation-next-error-function): Remove unused variable `timestamp'.
18714
18715 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18716 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18717
18718 * progmodes/dcl-mode.el (dcl-end-of-command):
18719 Remove unused variable `start'.
18720 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18721 (dcl-option-value-basic, dcl-option-value-offset)
18722 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18723 Mark unused parameters.
18724 (dcl-save-local-variable): Remove unused variable `val'.
18725 (mode): Declare.
18726
18727 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18728 Mark unused parameters.
18729 (delphi-ignore-changes): Move before first use.
18730 (delphi-charset-token-at): Remove unused variable `start'.
18731 (delphi-else-start): Remove unused variable `if-count'.
18732 (delphi-comment-block-start, delphi-comment-block-end):
18733 Remove unused variable `kind'.
18734 (delphi-indent-line): Remove unused variable `new-point'.
18735
18736 * progmodes/ebrowse.el (ebrowse-files-list)
18737 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18738 Mark unused parameters. Don't quote `lambda'.
18739 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18740 Don't quote `lambda'.
18741 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18742 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18743 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18744 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18745 Use `ignore-errors'.
18746 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18747 (ebrowse-view/find-file-and-search-pattern)
18748 (ebrowse-view/find-member-declaration/definition):
18749 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18750 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18751 Rename parameter PREFIX-ARG to PREFIX.
18752 (ebrowse-tags-read-name): Remove unused variables `start' and
18753 `member-info'.
18754 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18755 to `tags-file'.
18756
18757 * progmodes/etags.el (local-find-tag-hook): Declare.
18758 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18759 Mark unused parameters.
18760
18761 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18762 (executable-interpret): Mark unused parameter.
18763
18764 * progmodes/flymake.el (flymake-process-sentinel)
18765 (flymake-after-change-function)
18766 (flymake-create-temp-with-folder-structure)
18767 (flymake-get-include-dirs-dot): Mark unused parameters.
18768 (flymake-safe-delete-directory): Remove unused variable `err'.
18769
18770 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18771 (speedbar-timer-fn, speedbar-line-text)
18772 (speedbar-change-expand-button-char, speedbar-delete-subblock)
18773 (speedbar-center-buffer-smartly): Declare functions.
18774 (gdb-find-watch-expression): Remove unused variable `array'.
18775 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18776 (gdb-starting): Mark unused parameters.
18777 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18778 (gdb-table-string): Remove unused variable `res'.
18779 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18780 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18781 (gdb-display-buffer): Remove unused variable `cur-size'.
18782
18783 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18784 allow lexical-binding compilation.
18785 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18786 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18787 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18788 Mark unused parameters.
18789 (gud-gdb-marker-filter): Remove unused variable `match'.
18790 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18791 lambda expressions and funcall them, instead of using `fset'.
18792
18793 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18794 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18795
18796 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18797 variable `header-beg'; use `let'.
18798
18799 * progmodes/icon.el (indent-icon-exp): Remove unused variables
18800 `restart', `last-sexp' and `at-do'.
18801
18802 * progmodes/js.el (js--debug): Mark unused parameter.
18803 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18804 (js--splice-into-items): Remove unused variable `item'.
18805 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18806
18807 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18808 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18809 (makefile-complete): Remove unused variable `try'.
18810 (makefile-fill-paragraph, makefile-match-function-end):
18811 Mark unused parameters.
18812
18813 * progmodes/octave-inf.el (inferior-octave-complete):
18814 Remove unused variable `proc'.
18815 (inferior-octave-output-digest): Mark unused parameter.
18816
18817 * progmodes/perl-mode.el (perl-calculate-indent):
18818 Remove unused variable `err'.
18819
18820 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18821 (prolog-indent-line): Mark unused parameters.
18822 (prolog-indent-line): Remove unused variable `beg'.
18823
18824 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18825 (reporter-dont-compact-list): Declare.
18826
18827 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18828 Remove unused variable `char'.
18829 (sh-debug): Mark unused parameter.
18830 (sh-get-indent-info): Remove unused variable `start'.
18831 (sh-calculate-indent): Remove unused variable `var'.
18832
18833 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18834 (simula-electric-keyword): Remove unused variable `null'.
18835 (simula-search-backward, simula-search-forward): Remove unused
18836 variables `begin' and `end'.
18837
18838 * progmodes/vera-mode.el (vera-guess-basic-syntax):
18839 Remove unused variable `pos'.
18840 (vera-electric-tab, vera-comment-uncomment-region):
18841 Mark unused parameters.
18842 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18843
7ede3b65
CY
188442011-04-22 Chong Yidong <cyd@stupidchicken.com>
18845
18846 * emacs-lisp/package.el (package--builtins, package-alist)
18847 (package-load-descriptor, package-built-in-p, package-activate)
18848 (define-package, package-installed-p)
18849 (package-compute-transaction, package-buffer-info)
18850 (package--push): Doc fix. Distinguish more clearly between
18851 version strings and version lists.
18852
121656e9
JB
188532011-04-21 Juanma Barranquero <lekktu@gmail.com>
18854
18855 Lexical-binding cleanup.
18856
18857 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18858 (5x5-make-mutate-best):
18859 * play/fortune.el (fortune-in-buffer):
18860 * play/gomoku.el (gomoku-init-display):
18861 * play/solitaire.el (solitaire, solitaire-do-check):
18862 * play/tetris.el (tetris-default-update-speed-function):
18863 Mark unused parameters.
18864
18865 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18866 (bubbles--shift): Remove unused variable `char-org'.
18867 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
18868 (bubbles--show-images): Remove unused variable `char'.
18869
18870 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18871 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18872 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18873 (decipher-analyze-buffer): Use ?\s.
18874 (decipher-make-checkpoint): Remove unused variable `mapping'.
18875
18876 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18877
18878 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18879 Remove unused variable `result'; use `let'.
18880
18881 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18882 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18883 (gametree-children-shown-p, gametree-compute-reduced-score):
18884 Use `ignore-errors'.
18885
18886 * play/handwrite.el (ps-lpr-switches): Declare.
18887 (handwrite): Remove unused variables `pmin' and `lastp'.
18888
18889 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18890
18891 * play/landmark.el (landmark-init-display)
18892 (landmark-update-naught-weights): Mark unused parameters.
18893 (landmark-y): Remove unused variable `noise'. Simplify.
18894 (landmark-human-plays): Remove unused variable `score'.
18895
18896 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18897 (mpuz-try-proposal): Remove unused variable `game'.
18898
18899 * play/zone.el (life-patterns): Declare.
18900
80f499c7
JB
189012011-04-20 Juanma Barranquero <lekktu@gmail.com>
18902
18903 * vc/vc.el (ediff-vc-internal): Declare function.
18904
024ff170
SM
189052011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18906
c0a193ea
SM
18907 * shell.el: Use lexical-binding and std completion UI.
18908 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18909 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18910 comint-preoutput-filter-functions rather than on
18911 comint-output-filter-functions.
18912 (shell-command-completion, shell--command-completion-data)
18913 (shell-filename-completion, shell-environment-variable-completion)
18914 (shell-c-a-p-replace-by-expanded-directory): New functions.
18915 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18916 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18917 (shell-dynamic-complete-environment-variable): Use them.
18918 (shell-dynamic-complete-as-environment-variable)
18919 (shell-dynamic-complete-as-command): Remove.
18920 (shell-match-partial-variable): Match past point.
18921 * comint.el: Clean up use of completion-at-point-functions.
18922 (comint-completion-at-point): New function.
18923 (comint-mode): Use it completion-at-point-functions.
18924 (comint-dynamic-complete): Make it obsolete.
18925 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18926 (comint-c-a-p-replace-by-expanded-history): New function.
18927 (comint-dynamic-complete-functions)
18928 (comint-replace-by-expanded-history): Use it.
18929 * minibuffer.el (completion-table-with-terminator): Allow dynamic
18930 termination strings. Try harder to avoid second try-completion.
18931 (completion-in-region-mode-map): Disable bindings that don't work yet.
18932
2dbaa080
SM
18933 * comint.el: Use lexical-binding. Require CL.
18934 (comint-dynamic-complete-functions): Use comint-filename-completion.
18935 (comint-completion-addsuffix): Tweak custom type.
18936 (comint-filename-completion, comint--common-suffix)
18937 (comint--common-quoted-suffix, comint--table-subvert)
18938 (comint--complete-file-name-data): New functions.
18939 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18940 (comint-dynamic-list-filename-completions): Use them.
18941 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 18942
2dbaa080
SM
18943 * minibuffer.el (completion-in-region-mode):
18944 Keep completion-in-region-mode--predicate global.
18945 (completion-in-region--postch):
18946 Assume completion-in-region-mode--predicate is not null.
18947
c79a6f38
SM
18948 * progmodes/flymake.el (flymake-start-syntax-check-process):
18949 Obey `dir'. Simplify.
18950
024ff170
SM
18951 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18952 we're in VC after all.
18953
1c6c854e
CS
189542011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
18955
18956 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 18957 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
18958 (vc-version-diff): Use vc-diff-build-argument-list-internal.
18959
bed7f140
SM
189602011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
18961
332e62ab
SM
18962 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18963 add sanity check.
18964
bed7f140
SM
18965 * obsolete/erc-hecomplete.el: Make obsolete.
18966 * obsolete/: Standardize obsolescence info in the header.
18967
f195c582
GM
189682011-04-20 Glenn Morris <rgm@gnu.org>
18969
18970 * calendar/solar.el (solar-horizontal-coordinates):
18971 Use the longitude argument rather than `calendar-longitude'.
18972 (solar-date-next-longitude): Remove unused locals.
18973
cb79b8c0
VJL
189742011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18975
18976 * whitespace.el: New version 13.2.1.
18977
189782011-04-20 felix <EmacsWiki> (tiny change)
18979
d8e4b68b 18980 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
18981 switching between major modes on a file.
18982
602ea69d
SM
189832011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
18984
18985 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18986 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18987 multi-line comments as well.
18988
06b60517
JB
189892011-04-19 Juanma Barranquero <lekktu@gmail.com>
18990
18991 Lexical-binding cleanup.
18992
18993 * arc-mode.el (archive-mode-revert):
18994 * cmuscheme.el (scheme-interactively-start-process):
18995 * custom.el (custom-initialize-delay):
18996 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18997 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18998 * emacs-lock.el (emacs-lock-clear-sentinel):
18999 * ezimage.el (defezimage):
19000 * follow.el (follow-avoid-tail-recenter):
19001 * fringe.el (set-fringe-mode-1):
19002 * generic-x.el (bat-generic-mode-compile):
19003 * help-mode.el (help-info-variable, help-do-xref)
19004 (help-mode-revert-buffer):
19005 * help.el (view-emacs-todo):
19006 * iswitchb.el (iswitchb-completion-help):
19007 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19008 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19009 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19010 * locate.el (locate-update):
19011 * longlines.el (longlines-encode-region)
19012 (longlines-after-change-function):
19013 * outline.el (outline-isearch-open-invisible):
19014 * ps-def.el (declare-function, charset-dimension, char-width)
19015 (encode-char):
19016 * ps-mule.el (ps-mule-plot-string):
19017 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19018 (recentf-edit-list-select, recentf-edit-list-validate)
19019 (recentf-open-files-action):
19020 * rect.el (delete-whitespace-rectangle-line)
19021 (rectangle-number-line-callback):
19022 * register.el (window-configuration-to-register)
19023 (frame-configuration-to-register):
19024 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19025 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19026 (xselect-convert-to-targets, xselect-convert-to-delete)
19027 (xselect-convert-to-filename, xselect-convert-to-charpos)
19028 (xselect-convert-to-lineno, xselect-convert-to-colno)
19029 (xselect-convert-to-os, xselect-convert-to-host)
19030 (xselect-convert-to-user, xselect-convert-to-class)
19031 (xselect-convert-to-name, xselect-convert-to-integer)
19032 (xselect-convert-to-atom, xselect-convert-to-identity):
19033 * subr.el (declare, ignore, process-kill-without-query)
19034 (text-clone-maintain):
19035 * terminal.el (te-get-char, te-tic-sentinel):
19036 * tool-bar.el (tool-bar-make-keymap):
19037 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19038 * type-break.el (type-break-mode, type-break-noninteractive-query):
19039 * view.el (View-back-to-mark):
19040 * wid-browse.el (widget-browse-action, widget-browse-widget)
19041 (widget-browse-widgets, widget-browse-sexp):
19042 * widget.el (define-widget-keywords):
19043 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19044 Mark unused parameters.
19045
19046 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19047 (align-areas): Remove unused variable `look'.
19048 (align-region): Remove unused variables `real-end' and `pos-list'.
19049
19050 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19051
19052 * bindings.el (mode-line-modified, mode-line-remote):
19053 Mark unused parameters.
19054 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19055
19056 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19057 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19058
19059 * comint.el (comint-history-isearch-pop-state)
19060 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19061 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19062 (comint-substitute-in-file-name): Doc fix.
19063
19064 * completion.el (cmpl-statistics-block): Mark unused parameter.
19065 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19066 (save-completions-to-file, load-completions-from-file):
19067 Remove unused local variable `e'.
19068
19069 * composite.el (compose-chars): Remove unused variable `len'.
19070 (lgstring-insert-glyph): Remove unused variable `g'.
19071 (compose-glyph-string): Remove unused variables `ascent',
19072 `descent', `lbearing' and `rbearing'.
19073 (compose-glyph-string-relative): Remove unused variables
19074 `lbearing', `rbearing' and `wadjust'.
19075 (compose-gstring-for-graphic): Remove unused variables `header',
19076 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19077 (compose-gstring-for-terminal): Remove unused variables `header'
19078 and `nchars'. Use `let', not `let*'.
19079
19080 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19081 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19082 (Custom-buffer-done, custom-buffer-create-internal)
19083 (custom-browse-visibility-action, custom-browse-group-tag-action)
19084 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19085 (widget-magic-mouse-down-action, custom-toggle-parent)
19086 (custom-add-parent-links, custom-toggle-hide-variable)
19087 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19088 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19089 (custom-face-menu-create, custom-variable-menu-create, get)
19090 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19091 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19092 (customize-apropos): Remove unused variable `tests'.
19093 (custom-group-value-create): Remove unused variable `hidden-p'.
19094 (sort-fold-case): Declare.
19095
19096 * cus-theme.el (custom-reset-standard-faces-list)
19097 (custom-reset-standard-variables-list): Declare.
19098 (customize-create-theme, custom-theme-revert, custom-theme-write)
19099 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19100 Mark unused parameters.
19101
19102 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19103
19104 * delim-col.el (delimit-columns-max): Move defvar before first use.
19105
19106 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19107 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19108
19109 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19110 (auto-insert): Declare.
19111 (desktop-restore-file-buffer): Rename desktop-* parameters;
19112 mark unused ones.
19113 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19114 (desktop-buffer): Rename desktop-* parameters.
19115
19116 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19117 (dframe-reposition-frame-xemacs, dframe-help-echo)
19118 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19119 Mark unused parameters.
19120
19121 * dired-aux.el (backup-extract-version-start, overwrite-query)
19122 (overwrite-backup-query, rename-regexp-query)
19123 (rename-non-directory-query): Declare.
19124 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19125 (dired-add-entry): Remove unused variable `orig-file-name'.
19126 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19127 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19128 `dired-copy-preserve-time' directly.
19129 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19130 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19131
19132 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19133 (dired-virtual-revert, dired-make-relative-symlink):
19134 Mark unused parameters.
19135 (manual-program): Declare.
19136 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19137 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19138 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19139
19140 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19141
19142 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19143
19144 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19145 Declare.
19146
19147 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19148
19149 * electric.el (Electric-command-loop): Rename parameter
19150 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19151
19152 * expand.el (expand-in-literal): Remove unused variable `here'.
19153
19154 * facemenu.el (facemenu-add-new-color):
19155 Remove unused variable `docstring'.
19156
19157 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19158 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19159 (face-attr-construct): Mark unused parameter. Doc fix.
19160 (read-color): Remove unused variable `hex-string'.
19161
19162 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19163 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19164 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19165 (display-buffer-other-frame): Remove unused variable `old-window'.
19166 (kill-buffer-hook): Declare.
19167 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19168 Mark unused parameters.
19169 (after-find-file): Pass 1 to `auto-save-mode', not t.
19170
19171 * files-x.el (auto-insert): Declare.
19172 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19173
19174 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19175 variable `buf'. Mark unused parameter.
06b60517
JB
19176 (find-lisp-insert-directory): Mark unused parameter.
19177
19178 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19179 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19180 (format-common-tail): Remove, unused.
19181 (format-deannotate-region): Remove unused variable `loc'.
19182 (format-annotate-region): Remove unused variable `p'.
19183 (format-annotate-single-property-change): Remove unused variables
19184 `default' and `tail'.
19185
19186 * forms.el (read-file-filter): Declare.
19187 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19188
19189 * frame.el (frame-creation-function-alist): Mark unused parameter.
19190 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19191
19192 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19193 Remove unused parameters.
19194 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19195 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19196
19197 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19198 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19199 (hfy-prepare-tag-map): Mark unused parameters.
19200 (htmlfontify-buffer): Use `called-interactively-p'.
19201
19202 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19203 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19204 (ibuffer-do-occur): Mark unused parameters.
19205 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19206 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19207
19208 * ibuffer.el: Don't quote `lambda'.
19209 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19210 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19211 Mark unused parameters.
19212
19213 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19214 (ido-completing-read): Mark unused parameters.
19215 (ido-copy-current-word): Mark unused parameters;
19216 remove unused variable `name'.
19217 (ido-sort-merged-list): Remove unused parameter `dirs'.
19218
19219 * ielm.el (ielm-input-sender): Mark unused parameter.
19220 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19221 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19222 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19223 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19224 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19225
19226 * image-dired.el (image-dired-display-thumbs): Remove unused
19227 variables `curr-file' and `count'.
19228 (image-dired-remove-tag): Remove unused variable `start'.
19229 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19230 variable `curr-file'
19231 (image-dired-rotate-original): Remove unused variable `temp-file'.
19232 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19233 Remove unused variable `file'.
19234 (image-dired-gallery-generate): Remove unused variable `curr'.
19235 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19236
19237 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19238
19239 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19240
19241 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19242
19243 * isearch.el (minibuffer-history-symbol): Declare.
19244 (isearch-edit-string): Remove unused variable `err'.
19245 (isearch-message-prefix, isearch-message-suffix):
19246 Mark unused parameters.
19247
19248 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19249
19250 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19251
19252 * makesum.el (double-column): Remove unused variable `cnt'.
19253
19254 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19255 (ido-ignore-item-temp-list): Declare.
19256
19257 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19258 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19259 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19260 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19261 `mouse-col-delta'.
19262
19263 * mouse-sel.el (mouse-extend-internal):
19264 Remove unused variable `orig-window-frame'.
19265
19266 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19267 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19268 Move declarations before first use.
19269 (pcomplete-opt): Mark unused parameters; doc fix.
19270
19271 * proced.el (proced-revert): Mark unused parameter.
19272 (proced-send-signal): Remove unused variable `err'.
19273
19274 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19275 Rename parameter PREFIX-ARG to ARG.
19276 (ps-basic-plot-string, ps-basic-plot-whitespace):
19277 Mark unused parameters.
19278
19279 * replace.el (replace-count): Define.
19280 (occur-revert-function): Mark unused parameters.
19281 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19282 (isearch-case-fold-search, isearch-string): Declare.
19283 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19284 bind `case-fold-search'. Remove unused variables `beg' and `end',
19285 and simplify.
19286 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19287 COUNT and bind `replace-count'.
19288 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19289 to COUNT.
19290
19291 * savehist.el (print-readably, print-string-length): Declare.
19292
19293 * shadowfile.el (shadow-expand-cluster-in-file-name):
19294 Remove unused variable `cluster'.
19295 (shadow-copy-file): Remove unused variable `i'.
19296 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19297 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19298 (shadow-define-literal-group, shadow-define-regexp-group)
19299 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19300
19301 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19302 (shell): Use `called-interactively-p'.
19303 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19304
19305 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19306 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19307 (delete-backward-char): Remove unused variable `ocol'.
19308 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19309 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19310 (event-apply-hyper-modifier, event-apply-shift-modifier)
19311 (event-apply-control-modifier, event-apply-meta-modifier):
19312 Mark unused parameters.
19313 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19314 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19315
19316 * speedbar.el (speedbar-ignored-directory-expressions)
19317 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19318 (speedbar-find-file, speedbar-dir-follow)
19319 (speedbar-directory-buttons-follow, speedbar-tag-find)
19320 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19321 (speedbar-buffers-line-directory, speedbar-buffer-click):
19322 Mark unused parameters.
19323 (speedbar-tag-file): Remove unused variable `mode'.
19324 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19325
19326 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19327
19328 * talk.el (talk): Remove unused variable `display'.
19329
19330 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19331 (tar-write-region-annotate): Mark unused parameter.
19332
19333 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19334 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19335 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19336 warning by another.
19337
19338 * time-stamp.el (time-stamp-string-preprocess):
19339 Remove unused variable `require-padding'.
19340
19341 * tree-widget.el (widget-glyph-enable): Declare.
19342 (tree-widget-action): Mark unused parameter.
19343
19344 * w32-fns.el (x-get-selection): Mark unused parameter.
19345 (autoload-make-program, generated-autoload-file): Declare.
19346
19347 * wdired.el (wdired-revert): Mark unused parameters.
19348 (wdired-xcase-word): Remove unused variable `err'.
19349
19350 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19351 (whitespace-help-scroll): Remove unused variable `data-help'.
19352
19353 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19354 (widget-image-insert, widget-after-change, default)
19355 (widget-default-format-handler, widget-default-notify)
19356 (widget-default-prompt-value, widget-info-link-action)
19357 (widget-url-link-action, widget-function-link-action)
19358 (widget-variable-link-action, widget-file-link-action)
19359 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19360 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19361 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19362 (widget-insert-button-action, widget-delete-button-action, visibility)
19363 (widget-documentation-link-action, widget-documentation-string-action)
19364 (widget-const-prompt-value, widget-regexp-match, symbol)
19365 (widget-coding-system-prompt-value)
19366 (widget-key-sequence-value-to-external, sexp)
19367 (widget-sexp-value-to-internal, character, vector, cons)
19368 (widget-choice-prompt-value, widget-boolean-prompt-value)
19369 (widget-color--choose-action): Mark unused parameters.
19370 (widget-item-match-inline, widget-choice-match-inline)
19371 (widget-checklist-match, widget-checklist-match-inline)
19372 (widget-group-match): Rename parameter VALUES to VALS.
19373 (widget-field-value-set): Remove unused variable `size'.
19374 (widget-color-action): Remove unused variables `value' and `start'.
19375
19376 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19377 variable `dir'. Doc fix.
06b60517
JB
19378 (windmove-find-other-window): Don't pass it.
19379
19380 * window.el (count-windows): Mark unused parameter.
19381 (bw-adjust-window): Remove unused variable `err'.
19382
19383 * woman.el (woman-file-name): Remove unused variable `default'.
19384 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19385 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19386 (global-font-lock-mode): Declare.
19387 (woman-decode-region): Mark unused parameter.
19388 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19389
19390 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19391 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19392 (x-dnd-handle-moz-url): Remove unused variable `title'.
19393 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19394
19395 * xml.el (xml-parse-tag, xml-parse-attlist):
19396 Remove unused variable `pos'.
19397
bc4f7f3d
GM
193982011-04-19 Glenn Morris <rgm@gnu.org>
19399
19400 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19401 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19402 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19403 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19404 * calendar/cal-html.el (cal-html-insert-minical):
19405 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19406 (calendar-mark-date-pattern):
19407 Prefix "unused" locals.
19408
19409 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19410 optional argument `style'.
19411
19412 * calendar/appt.el (appt-make-list):
19413 * calendar/cal-china.el (calendar-chinese-date-string):
19414 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19415 (diary-hebrew-yahrzeit):
19416 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19417 * calendar/calendar.el (calendar-generate-window):
19418 * calendar/time-date.el (time-to-days):
19419 Remove unused local variables.
19420
16a43933
CY
194212011-04-18 Chong Yidong <cyd@stupidchicken.com>
19422
19423 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19424 glyphless-char-display table.
19425 (tabulated-list-glyphless-char-display): New var.
19426
7eed1860
SS
194272011-04-18 Sam Steingold <sds@gnu.org>
19428
19429 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19430 to acknowledgments.
19431
4d2d1ccd
GM
194322011-04-17 Glenn Morris <rgm@gnu.org>
19433
19434 * calendar/diary-lib.el (diary-sexp-entry):
19435 * calendar/holidays.el (holiday-sexp):
19436 Set debug-on-error rather than the removed stack-trace-on-error.
19437
239da61d
GM
194382011-04-16 Glenn Morris <rgm@gnu.org>
19439
19440 * progmodes/f90.el: Use lexical-binding.
19441 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19442
8b05752a
SM
194432011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19444
daca8ba5
SM
19445 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19446 (mail-mode): Setup mailalias completion here instead.
19447 * mail/mailalias.el: Use lexical-binding.
19448 (pattern, mailalias-done): Declare dynamic.
19449 (mail-completion-at-point-function): New function, from mail-complete.
19450 (mail-complete): Use it.
19451 (mail-completion-expand): New function.
19452 (mail-get-names): Use it.
19453 (mail-directory, mail-directory-process, mail-directory-stream):
19454 Don't use `pattern' for lexically bound arg.
19455
6f542485
SM
19456 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19457
037e7c3f
SM
19458 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19459 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19460 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19461
8b05752a
SM
19462 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19463 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19464 (byte-interactive-p): Define them again, for use when inlining
19465 old code.
19466
49093f60
JB
194672011-04-15 Juanma Barranquero <lekktu@gmail.com>
19468
19469 * loadup.el: Use `string-to-number', not `string-to-int'.
19470
b5b8e7de
SM
194712011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19472
19473 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19474 gud-gdb-complete-command.
19475 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19476 (gud-gdb-completion-at-point): New function.
19477 (gud-gdb-completions): Remove.
19478
f42efeb5
MA
194792011-04-14 Michael Albinus <michael.albinus@gmx.de>
19480
49093f60
JB
19481 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19482 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19483 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19484 whether `executable-find' is bound.
f42efeb5
MA
19485
19486 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19487
e240cc21
SM
194882011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19489
19490 * minibuffer.el (completion-in-region-mode-predicate)
19491 (completion-in-region-mode--predicate): New vars.
19492 (completion-in-region, completion-in-region--postch)
19493 (completion-in-region-mode): Use them.
19494 (completion--capf-wrapper): Also return the hook function.
19495 (completion-at-point, completion-help-at-point):
19496 Adjust and provide a predicate.
c2bd2ab0
SM
19497
19498 Preserve arg names for advice of subr and lexical functions (bug#8457).
19499 * help-fns.el (help-function-arglist): Consolidate the subr and
19500 new-byte-code cases. Add argument `preserve-names' to extract names
19501 from the docstring when needed.
19502 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19503 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19504 (ad-arglist): Use help-function-arglist's new arg.
19505 (ad-definition-type): Use cond.
19506
c183f693
JB
195072011-04-13 Juanma Barranquero <lekktu@gmail.com>
19508
06641a47
JB
19509 * autorevert.el (auto-revert-handler):
19510 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19511 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19512 Don't quote lambda.
19513
c183f693
JB
19514 * image-mode.el (image-transform-set-scale):
19515 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19516
1e3b6001
G
195172011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19518
19519 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19520 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19521 Upgrades via gnutls-cli are too slow to be done opportunistically.
19522
2d6af8dd
JB
195232011-04-12 Juanma Barranquero <lekktu@gmail.com>
19524
19525 * dframe.el (dframe-current-frame): Remove spurious quote.
19526
c0749a51
GM
195272011-04-12 Glenn Morris <rgm@gnu.org>
19528
088d0d61
GM
19529 * calendar/cal-tex.el (cal-tex-end-document):
19530 Try to automatically use latin1 input if needed.
19531
c0749a51
GM
19532 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19533 Don't try to cons a mark onto an empty element.
19534
5c90fde0
LL
195352011-04-11 Leo Liu <sdl.web@gmail.com>
19536
19537 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19538 buffers.
19539 (ido-kill-buffer-at-head): Support killing virtual buffers.
19540
369e974d
CY
195412011-04-10 Chong Yidong <cyd@stupidchicken.com>
19542
19543 * minibuffer.el (completion-show-inline-help): New var.
19544 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19545 (minibuffer-force-complete, minibuffer-complete-word):
19546 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19547
19548 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19549 to avoid interference from inline help (Bug#5849).
19550
37f1c930
LL
195512011-04-10 Leo Liu <sdl.web@gmail.com>
19552
099c39a4
JB
19553 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19554 Fix typo.
37f1c930 19555
a32d4040
CY
195562011-04-09 Chong Yidong <cyd@stupidchicken.com>
19557
19558 * image-mode.el (image-toggle-display-image): Signal an error if
19559 not in Image mode.
19560 (image-transform-mode, image-transform-resize)
19561 (image-transform-set-rotation): Doc fix.
daca8ba5 19562 (image-transform-set-resize): Delete.
a32d4040
CY
19563 (image-transform-set-scale, image-transform-fit-to-height)
19564 (image-transform-fit-to-width): Handle image-toggle-display-image
19565 and image-transform-resize directly.
19566
099c39a4 195672011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
19568
19569 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
19570 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19571 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
19572 (doc-view-mode-map): Add bindings for the new functions.
19573
099c39a4 195742011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 19575
4d61f28d 19576 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
19577 Fix typo in docstring.
19578
3726838a
EZ
195792011-04-08 Eli Zaretskii <eliz@gnu.org>
19580
04f33f1e
EZ
19581 * files.el (file-size-human-readable): Produce one digit after
19582 decimal, like "ls -lh" does.
19583
19584 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19585 the file size representation.
19586
3726838a
EZ
19587 * simple.el (list-processes): If async subprocesses are not
19588 available, error out with a clear error message.
19589
cbb59342
CY
195902011-04-08 Chong Yidong <cyd@stupidchicken.com>
19591
19592 * help.el (help-form-show): New function, to be called from C.
19593 Put help-form output in a buffer named differently than *Help*.
19594
e3971c44
EZ
195952011-04-08 Eli Zaretskii <eliz@gnu.org>
19596
19597 * files.el (file-size-human-readable): New function.
19598
19599 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19600 computing the representation inline. Don't require `cl'.
19601
12544bbe
GM
196022011-04-08 Glenn Morris <rgm@gnu.org>
19603
a1de6c6a
GM
19604 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19605
3c4671f4
GM
19606 * net/browse-url.el (browse-url-firefox):
19607 Test system-type, not system-configuration.
19608
b605679c
GM
19609 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19610 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19611 Use log-edit-empty-buffer-p. (Bug#7598)
19612
56442f0c
GM
19613 * net/rlogin.el (rlogin-process-connection-type): Simplify.
19614 (rlogin-mode-map): Initialize in the defvar.
19615 (rlogin): Use ignore-errors.
19616
12544bbe
GM
19617 * replace.el (occur-mode-map): Some fixes for menu items.
19618
eb237b0f
AH
196192011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
19620
19621 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
19622
7d668f2c
CY
196232011-04-06 Chong Yidong <cyd@stupidchicken.com>
19624
e67a13ab
CY
19625 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19626 issuing unused warnings.
19627
19628 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19629 macro directly.
19630
7d668f2c
CY
19631 * simple.el: Lisp reimplement of list-processes. Based on an
19632 earlier reimplementation by Leo Liu, but using tabulated-list.el.
19633 (process-menu-mode): New major mode.
19634 (list-processes--refresh, list-processes):
19635 (process-menu-visit-buffer): New functions.
19636
19637 * files.el (save-buffers-kill-emacs): Don't assume any return
19638 value of list-processes, which is undocumented anyway.
19639
a83ec3c9
CY
196402011-04-06 Chong Yidong <cyd@stupidchicken.com>
19641
19642 * emacs-lisp/tabulated-list.el: New file.
19643
e91a96fe
CY
19644 * emacs-lisp/package.el: Use Tabulated List mode.
19645 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19646 (package-menu-mode): Derive from tabulated-list-mode. Set up the
19647 table format using Tabulated List mode variables.
19648 (package--push): New macro, replacing package-list-maybe-add.
19649 (package-menu--generate): Use package--push. Renamed from
19650 package--generate-package-list.
19651 (package-menu-refresh, list-packages): Use it.
daca8ba5 19652 (package-menu--print-info): Rename from package-print-package.
e91a96fe 19653 Return insertion data instead of inserting it directly.
099c39a4
JB
19654 (package-menu-describe-package, package-menu-execute):
19655 Use tabulated-list-get-id.
e91a96fe
CY
19656 (package-menu-mark-delete, package-menu-mark-install)
19657 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
19658 (package-menu-mark-obsolete-for-deletion):
19659 Use tabulated-list-put-tag.
e91a96fe
CY
19660 (package--list-packages, package-menu-revert)
19661 (package-menu-get-package, package-menu-get-version)
19662 (package-menu-sort-by-column): Functions deleted.
19663 (package-menu-package-list, package-menu-sort-key): Vars deleted.
19664 (package-menu--status-predicate, package-menu--version-predicate)
19665 (package-menu--name-predicate)
19666 (package-menu--description-predicate): Handle arguments in the
19667 Tabulated List format.
19668 (package-list-packages-no-fetch): Call list-packages.
19669
3e214b50
JB
196702011-04-06 Juanma Barranquero <lekktu@gmail.com>
19671
19672 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 19673 (after-find-file): Don't bind it.
3e214b50
JB
19674 (revert-buffer-in-progress-p): New variable.
19675 (revert-buffer): Bind it.
19676 Pass nil for `after-find-file-from-revert-buffer'.
19677
19678 * saveplace.el (save-place-find-file-hook): Use new variable
19679 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19680
3f0f1700
GM
196812011-04-06 Glenn Morris <rgm@gnu.org>
19682
c0274801
GM
19683 * Makefile.in (AUTOGEN_VCS): New variable.
19684 (autoloads): Use $AUTOGEN_VCS.
19685
3f0f1700
GM
19686 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19687 * calendar/calendar.el (calendar-mode-map):
19688 Check for toolkit scroll bars. (Bug#8305)
19689
41ea9e48
CY
196902011-04-05 Chong Yidong <cyd@stupidchicken.com>
19691
19692 * minibuffer.el (completion-in-region--postch)
19693 (completion-in-region-mode): Remove unnecessary messages.
19694
6194c800
JB
196952011-04-05 Juanma Barranquero <lekktu@gmail.com>
19696
33256f14
JB
19697 * font-lock.el (font-lock-refresh-defaults):
19698 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19699 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19700
6194c800
JB
19701 * info.el (Info-directory-list, Info-read-node-name-2)
19702 (Info-split-parameter-string): Doc fixes.
19703 (Info-virtual-nodes): Reflow docstring.
19704 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19705 (Info-apropos-toc-nodes, info-finder, Info-get-token)
19706 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19707 Fix typos in docstrings.
19708 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19709 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19710 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19711 (Info-restore-desktop-buffer): Mark unused parameters.
19712 (Info-directory-find-file, Info-directory-find-node)
19713 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19714 (Info-virtual-index-find-node, Info-apropos-find-file)
19715 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 19716 Mark unused parameters; fix typos in docstrings.
6194c800
JB
19717 (Info-virtual-index): Remove unused local variable `nodename'.
19718
b87a8200 197192011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 19720
b87a8200
DD
19721 * net/rcirc.el: Update my e-mail address.
19722 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 19723
3b2ff876
CY
197242011-04-05 Chong Yidong <cyd@stupidchicken.com>
19725
19726 * startup.el (command-line): Save the cursor's theme-face
19727 directly, instead of using face-override-spec.
19728
19729 * custom.el (load-theme): Minor optimization in assigning faces.
19730
8d17e7ca
JB
197312011-04-04 Juanma Barranquero <lekktu@gmail.com>
19732
19733 * help-fns.el (describe-variable): Complete all variables having
19734 documentation, including keywords.
19735 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19736
2fbc1934
JB
197372011-04-04 Juanma Barranquero <lekktu@gmail.com>
19738
19739 Convert to lexical-binding.
19740
19741 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19742 (bs--get-marked-string, bs--get-modified-string)
19743 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19744 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19745 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19746
19747 * ehelp.el (electric-help-execute-extended)
19748 (electric-help-ctrl-x-prefix):
19749 * hexl.el (hexl-revert-buffer-function):
19750 * linum.el (linum-after-change, linum-after-scroll):
19751 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19752
19753 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19754
74f50695
DU
197552011-04-04 Daiki Ueno <ueno@unixuser.org>
19756
19757 * epa-dired.el:
19758 * epa-mail.el:
19759 * epa-hook.el:
19760 * epa-file.el:
19761 * epa.el:
19762 * epg.el: Use lexical binding.
19763
c11325f7
CY
197642011-04-03 Chong Yidong <cyd@stupidchicken.com>
19765
0d9e9a12
CY
19766 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19767
c11325f7 19768 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
19769 dictionary case for flyspell-mark-duplications-exceptions.
19770 Use regexp matching for languages.
c11325f7
CY
19771 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19772 default dictionary (Bug#7926).
19773
da91b5f2
CY
197742011-04-02 Chong Yidong <cyd@stupidchicken.com>
19775
099c39a4
JB
19776 * emacs-lisp/package.el (package--with-work-buffer):
19777 Recognize https URLs.
da91b5f2 19778
099c39a4
JB
19779 * net/network-stream.el: Move from gnus/proto-stream.el.
19780 Change prefix to network-stream throughout.
da91b5f2
CY
19781 (open-protocol-stream): Merge into open-network-stream, leaving
19782 open-protocol-stream as an alias. Handle nil BUFFER args.
19783
19784 * subr.el (open-network-stream): Move to net/network-stream.el.
19785
afa8e9f6
GM
197862011-04-02 Glenn Morris <rgm@gnu.org>
19787
1d2e369d
GM
19788 * find-dired.el (find-exec-terminator): New option.
19789 (find-ls-option): Test for -ls support.
19790 (find-ls-subdir-switches): Test for -b in find-ls-option.
19791 (find-dired, find-grep-dired): Doc fixes.
19792 (find-dired): Use find-exec-terminator.
19793
8abb7da8 19794 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
19795 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19796 (find-name-arg): Remove purecopy.
8abb7da8 19797
f3ca7378
GM
19798 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19799 (grep-compute-defaults): Check for `-exec COMMAND +' support.
19800 Set grep-find-use-xargs, grep-find-command, and grep-find-template
19801 accordingly. Don't add the null-device if not needed.
19802
afa8e9f6
GM
19803 * files.el (save-some-buffers): Doc fix.
19804
35eae264
EZ
198052011-04-02 Eli Zaretskii <eliz@gnu.org>
19806
19807 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19808
26b51db5
JB
198092011-04-01 Juanma Barranquero <lekktu@gmail.com>
19810
19811 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19812 Use `dolist' rather than `mapcar'.
19813
7200d79c
SM
198142011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
19815
03408648 19816 Add lexical binding.
7200d79c 19817
03408648
SM
19818 * subr.el (apply-partially): Use new closures rather than CL.
19819 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19820 (dolist, dotimes): Use slightly different expansion for lexical code.
19821 (functionp): Move to C.
19822 (letrec): New macro.
19823 (with-wrapper-hook): Use it and apply-partially instead of CL.
19824 (eval-after-load): Preserve lexical-binding.
19825 (save-window-excursion, with-output-to-temp-buffer): Turn them
19826 into macros.
7200d79c 19827
03408648
SM
19828 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19829
19830 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19831 than the arglist.
19832 (help-add-fundoc-usage): Don't add `Not documented'.
19833 (help-function-arglist): Handle closures, subroutines, and new
19834 byte-code-functions.
19835 (help-make-usage): Remove leading underscores.
19836 (describe-function-1): Handle closures.
19837 (describe-variable): Use special-variable-p for completion.
19838
19839 * files.el (lexical-binding): Declare safe.
f488fb65 19840
03408648
SM
19841 * emacs-lisp/pcase.el: Don't use destructuring-bind.
19842 (pcase--memoize): Rename from pcase-memoize. Change weakness.
19843 (pcase): Add `let' pattern.
19844 Change memoization so it actually works.
19845 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19846 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19847 <let>: New case.
f488fb65 19848
03408648
SM
19849 * emacs-lisp/macroexp.el: Use lexical binding.
19850 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
19851 Don't convert ' to #' without checking that it's indeed quoting
19852 a lambda.
19853
19854 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 19855 Use eval-sexp-add-defvars.
03408648
SM
19856 (eval-sexp-add-defvars): New fun.
19857
19858 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19859
19860 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19861 Don't autoload.
19862 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19863 than the internal `byte-compile-lambda'.
19864 (defmethod): Don't hide code under quotes.
19865 (eieio-defmethod): New `code' argument.
19866
19867 * emacs-lisp/eieio-comp.el: Remove.
19868
19869 * emacs-lisp/edebug.el (edebug-eval-defun)
19870 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19871 (edebug-toggle): Avoid `eval'.
19872
19873 * emacs-lisp/disass.el (disassemble-internal): Handle new
19874 `closure' objects.
19875 (disassemble-1): Handle new byte codes.
19876
19877 * emacs-lisp/cl.el (pushnew): Silence warning.
19878
19879 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19880 (cl-byte-compile-throw): Remove.
19881 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19882
19883 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19884 closures.
19885
19886 * emacs-lisp/cconv.el: New file.
19887
19888 * emacs-lisp/bytecomp.el: Use lexical binding instead of
19889 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
19890 (byte-compile-initial-macro-environment):
19891 Handle declare-function here.
19892 (byte-compile--lexical-environment): New var.
19893 (byte-stack-ref, byte-stack-set, byte-discardN)
19894 (byte-discardN-preserve-tos): New lap codes.
19895 (byte-interactive-p): Don't use any more.
19896 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19897 New macros.
19898 (byte-compile-lapcode): Use them and handle new lap codes.
19899 (byte-compile-obsolete): Remove.
19900 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19901 (byte-compile-arglist-warn): Check late def of inlinable funs.
19902 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19903 since they should have been expanded by now.
19904 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19905 (byte-compile-from-buffer): Remove unused second arg.
19906 (byte-compile-preprocess): New function.
19907 (byte-compile-toplevel-file-form): New function to distinguish
19908 file-form calls from outside from file-form calls from hunk-handlers.
19909 (byte-compile-file-form): Simplify.
19910 (byte-compile-file-form-defsubst): Remove.
19911 (byte-compile-file-form-defmumble): Simplify now that
19912 byte-compile-lambda always returns a byte-code-function.
19913 (byte-compile): Preprocess.
19914 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19915 Remove, not used any more.
19916 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19917 (byte-compile-make-args-desc): New funs.
19918 (byte-compile-lambda): Handle lexical functions. Always return
19919 a byte-code-function.
19920 (byte-compile-reserved-constants): New var, to make up room for
19921 closed-over variables.
19922 (byte-compile-constants-vector): Obey it.
19923 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19924 (byte-compile-macroexpand-declare-function): New function.
19925 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19926 byte-code-functions.
19927 (byte-compile-form): Check obsolescence here.
19928 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19929 (byte-compile-variable-ref): Remove.
19930 (byte-compile-dynamic-variable-op): New fun.
19931 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19932 (byte-compile-variable-set): New funs.
19933 (byte-compile-discard): Add 2 args.
19934 (byte-compile-stack-ref, byte-compile-stack-set)
19935 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19936 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19937 macroexpand-all instead.
19938 (byte-compile-quote-form): Remove.
19939 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19940 (byte-compile-bind, byte-compile-unbind): New funs.
19941 (byte-compile-let): Handle let* and lexical binding.
19942 (byte-compile-let*): Remove.
19943 (byte-compile-catch, byte-compile-unwind-protect)
19944 (byte-compile-track-mouse, byte-compile-condition-case):
19945 Handle a new :fun-body form, used for lexical scoping.
19946 (byte-compile-save-window-excursion)
19947 (byte-compile-with-output-to-temp-buffer): Remove.
19948 (byte-compile-defun): Simplify.
19949 (byte-compile-stack-adjustment): New fun.
19950 (byte-compile-out): Use it.
19951 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19952
19953 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19954 handler any more.
19955
19956 * emacs-lisp/byte-opt.el: Use lexical binding.
19957 (byte-inline-lapcode): Remove (to bytecomp).
19958 (byte-compile-inline-expand): Pay attention to inlining to/from
19959 lexically bound code.
19960 (byte-compile-unfold-lambda): Don't handle byte-code-functions
19961 any more.
19962 (byte-optimize-form-code-walker): Don't handle save-window-excursion
19963 any more and don't call compiler-macros.
19964 (byte-compile-splice-in-already-compiled-code): Remove.
19965 (byte-code): Don't inline any more.
19966 (disassemble-offset): Receive `bytes' as argument rather than via
19967 dynamic scoping.
19968 (byte-compile-tag-number): Declare before first use.
19969 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19970 `return' even if make-spliceable.
19971 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19972 obsolete interactive-p.
19973 (byte-optimize-lapcode): Optimize new lap-codes.
19974 Don't trip up on new form of `byte-constant' lap code.
19975
19976 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19977
19978 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19979
19980 * custom.el (custom-initialize-default, custom-declare-variable):
19981 Use `defvar'.
19982
19983 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19984 New variables.
19985 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19986 (COMPILE_FIRST): Add macroexp and cconv.
19987 * makefile.w32-in: Mirror changes in Makefile.in.
19988
19989 * vc/cvs-status.el:
19990 * vc/diff-mode.el:
19991 * vc/log-edit.el:
19992 * vc/log-view.el:
19993 * vc/smerge-mode.el:
19994 * textmodes/bibtex-style.el:
090bd7cb 19995 * textmodes/css-mode.el:
03408648
SM
19996 * startup.el:
19997 * uniquify.el:
da91b5f2
CY
19998 * minibuffer.el:
19999 * newcomment.el:
20000 * reveal.el:
20001 * server.el:
20002 * mpc.el:
20003 * emacs-lisp/smie.el:
20004 * doc-view.el:
20005 * dired.el:
03408648
SM
20006 * abbrev.el: Use lexical binding.
20007
0f0c1f27
EZ
200082011-04-01 Eli Zaretskii <eliz@gnu.org>
20009
20010 * info.el (info-display-manual): New function.
20011
c82b2579
SM
200122011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20013
20014 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20015
221ddf68
TH
200162011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20017
20018 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20019 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20020
cba6e77e
GM
200212011-03-31 Glenn Morris <rgm@gnu.org>
20022
e040639f
GM
20023 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20024
cba6e77e
GM
20025 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20026
6d0f1c9e
CS
200272011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20028
20029 * progmodes/python.el (python-default-interpreter)
20030 (python-python-command-args, python-jython-command-args)
20031 (python-which-shell, python-which-args, python-which-bufname)
20032 (python-file-queue, python-comint-output-filter-function)
20033 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20034 variables and functions.
20035
3e2d70fd
SM
200362011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20037
20038 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20039 (completion-in-region-mode): New minor mode.
20040 (completion-in-region): Use it.
20041 (completion-in-region--data, completion-in-region-mode-map): New vars.
20042 (completion-in-region--postch): New function.
20043 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20044 New vars.
20045 (completion--capf-wrapper): New function.
20046 (completion-at-point): Use it to track well-behavedness of
20047 hook functions.
20048 (completion-help-at-point): New command.
20049
f3e4086c
JM
200502011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20051
20052 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20053 syntax class to search for whitespace on a single line
20054 (Message-ID: <4D938140.4030905@redhat.com>).
20055
eb7ffc14
LL
200562011-03-30 Leo Liu <sdl.web@gmail.com>
20057
20058 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20059 New commands.
20060 (edit-abbrevs-map): Bind them here.
20061 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20062
d806ab68
KM
200632011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20064
20065 * allout.el (allout-hide-by-annotation, allout-flag-region):
20066 Reduce possibility of overlay leakage by making them volatile.
20067
20068 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20069 hash is not shared between buffers. Mode initialization is
20070 responsible for giving it a useful starting value.
20071 (allout-item-span): Reduce possibility of overlay leakage by
20072 making them volatile.
20073 (allout-widgets-count-buttons-in-region): Add diagnostic function
20074 for tracking down button overlay leaks.
20075
ea622834
LL
200762011-03-29 Leo Liu <sdl.web@gmail.com>
20077
20078 * ido.el (ido-read-internal): Use the default history var
20079 minibuffer-history if no HISTORY is specified.
20080
b62f8267
G
200812011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20082
03408648
SM
20083 * net/imap.el (imap-shell-open, imap-process-connection-type):
20084 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20085 Kerberos, SSL, other subprocesses.
20086
947b6566
LL
200872011-03-28 Leo Liu <sdl.web@gmail.com>
20088
20089 * abbrev.el (abbrev-table-empty-p): New function.
20090 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20091 nonempty ones. (Bug#5937)
20092
5ffb62aa
JD
200932011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20094
20095 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20096
7a097943
LL
200972011-03-27 Leo Liu <sdl.web@gmail.com>
20098
20099 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20100 for foreground and background colors.
20101 (ansi-color-make-color-map): Adapt.
20102
c5b40130
LL
201032011-03-25 Leo Liu <sdl.web@gmail.com>
20104
1f48f7d2
LL
20105 * midnight.el (midnight-time-float): Remove. Note it calculates
20106 the microsecond component incorrectly and seconds-to-time does the
20107 same job.
625897ec 20108 Remove redundant (require 'timer).
1f48f7d2 20109
c5b40130
LL
20110 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20111 (ido-completions): Remove unused arguments. (Bug#8329)
20112
d86d2721
SM
201132011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20114
20115 * minibuffer.el (completion--flush-all-sorted-completions):
20116 Remove itself from hook.
20117 (completion-at-point): Let the functions perform the completion
20118 immediately and return nil or t.
20119 * comint.el (comint-dynamic-complete-functions): Now identical to
20120 completion-at-point-functions.
20121 (comint-dynamic-list-input-ring): Remove unused var `index'.
20122 (comint--match-partial-filename, comint--unquote&expand-filename):
20123 New funs, split from comint-match-partial-filename.
20124 (comint-dynamic-complete): Use completion-at-point.
20125 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20126
e8974c48
DA
201272011-03-24 Drew Adams <drew.adams@oracle.com>
20128
20129 * thingatpt.el: Support `defun'.
20130
def71b5e
LL
201312011-03-23 Leo Liu <sdl.web@gmail.com>
20132
cb5af48e
LL
20133 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20134
def71b5e
LL
20135 * help-mode.el (help-mode-finish): Tweak regexp.
20136
927c53e7
GM
201372011-03-23 Glenn Morris <rgm@gnu.org>
20138
18d05bed
GM
20139 * eshell/esh-opt.el (eshell-eval-using-options):
20140 Do not bind unused local variable `eshell-option-stub'.
20141
927c53e7
GM
20142 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20143
9d0da923
JB
201442011-03-22 Juanma Barranquero <lekktu@gmail.com>
20145
20146 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20147 keymap variable in `with-no-warnings' to avoid a warning when the
20148 keymap has been already `defconst'ed.
20149
4b978a67
LL
201502011-03-22 Leo Liu <sdl.web@gmail.com>
20151
20152 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20153 encode all chars in abbrevs; otherwise use emacs-mule or
20154 utf-8-emacs. (Bug#8308)
20155
5fd62452
JB
201562011-03-22 Juanma Barranquero <lekktu@gmail.com>
20157
0b1596c6
JB
20158 * simple.el (backward-delete-char-untabify):
20159 Avoid warning about using `delete-backward-char'.
20160
5fd62452
JB
20161 * image.el (image-type-file-name-regexps): Make it variable.
20162 `imagemagick-register-types' modifies it, and the user may want
20163 to add new extensions for known image types.
20164 (imagemagick-register-types): Throw error if not using ImageMagick.
20165
0b4e93f1
LL
201662011-03-22 Leo Liu <sdl.web@gmail.com>
20167
20168 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20169 located before rcirc-prompt-end-marker.
20170 (rcirc-complete): Error if point is not after rcirc prompt.
20171 Handle the case when table is nil.
9882e214 20172 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20173
fccee4ab
CY
201742011-03-22 Chong Yidong <cyd@stupidchicken.com>
20175
20176 * custom.el (custom--inhibit-theme-enable): Make it affect only
20177 custom-theme-set-variables and custom-theme-set-faces.
20178 (provide-theme): Ignore custom--inhibit-theme-enable.
20179 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20180 (custom-enabling-themes): Delete variable.
d86d2721
SM
20181 (enable-theme): Accept only loaded themes as arguments.
20182 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20183 (custom-enabled-themes): Forbid themes from setting this.
20184 Eliminate use of custom-enabling-themes.
20185 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20186
af896da6
LL
201872011-03-21 Leo Liu <sdl.web@gmail.com>
20188
20189 * ido.el (ido-read-internal): Add ido-selected to history instead
20190 of user input.
20191
78f64af0
SM
201922011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20193
20194 * subr.el (deferred-action-list, deferred-action-function):
20195 Mark obsolete.
20196
b16ac1ec
LL
201972011-03-21 Leo Liu <sdl.web@gmail.com>
20198
810f7698
LL
20199 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20200 change on 2011-02-13 (bug#8309).
20201
b16ac1ec
LL
20202 * minibuffer.el (read-file-name-function): Change default value.
20203 (read-file-name--defaults): Rename from read-file-name-defaults.
20204 (read-file-name-default): Rename from read-file-name.
20205 (read-file-name): Call read-file-name-function.
20206
4e05e67e
GM
202072011-03-21 Glenn Morris <rgm@gnu.org>
20208
20209 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20210 Doc fixes.
20211
4359915b
CY
202122011-03-21 Chong Yidong <cyd@stupidchicken.com>
20213
20214 * cus-theme.el: Add missing provide statement.
20215 (customize-create-theme): Extract theme value correctly.
20216 (custom-theme-visit-theme): Autoload.
20217 (customize-create-theme): Prompt before inserting default faces.
20218
1fe275ee
JB
202192011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20220
20221 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20222 units and musical notes.
20223
cd394be1 202242011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20225
20226 * ido.el (ido-read-internal): Use completing-read-default.
20227 (ido-completing-read): Fix compatibility with completing-read.
20228
7d476bde
CO
202292011-03-20 Christian Ohler <ohler@gnu.org>
20230
20231 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20232 (ert-delete-all-tests): Use `called-interactively-p' rather than
20233 `interactive-p'.
20234 (ert--make-xrefs-region): Respect END.
20235
fe0fb33e
CY
202362011-03-19 Chong Yidong <cyd@stupidchicken.com>
20237
ff854b0b
CY
20238 * dired-aux.el (dired-create-directory): Signal an error if the
20239 directory already exists (Bug#8246).
20240
fe0fb33e
CY
20241 * facemenu.el (list-colors-display): Call list-faces-display
20242 inside with-help-window.
20243 (list-colors-print): Use display property to align the final
20244 column, instead of checking window-width.
20245
576bce32
EZ
202462011-03-19 Eli Zaretskii <eliz@gnu.org>
20247
4d61f28d 20248 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20249 windows-nt systems.
20250 (emerge-protect-metachars): Quote correctly for ms-dos and
20251 windows-nt systems.
20252
89c41d68 202532011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20254
20255 * info.el (info-initialize): Replace all uses of `:' with
20256 path-separator for compatibility with non-Unix systems.
20257 Cache quoting of path-separator. (Bug#8258)
20258
b14e3e21 202592011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20260
20261 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20262 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20263 (mouse-avoidance-mode): Fix typos in docstrings.
20264
4525ce3e
CY
202652011-03-19 Chong Yidong <cyd@stupidchicken.com>
20266
20267 * startup.el (package-subdirectory-regexp): Move from package.el.
20268 Omit \\` and \\', and let callers add them.
20269
20270 * emacs-lisp/package.el (package-strip-version)
20271 (package-load-all-descriptors): Add \\` and \\' to
20272 package-subdirectory-regexp before using it.
20273 (package-untar-buffer): New arg DIR; ensure that file untars only
20274 into this expected directory. Remove superfluous delete-region.
20275 (package-unpack): Caller changed.
20276 (package-tar-file-info): Use package-subdirectory-regexp.
20277
a904a09a 202782011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20279
a904a09a
SM
20280 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20281 diff-mode-shared-map (bug#8284).
20282 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20283
202842011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20285
20286 * calendar/time-date.el (format-seconds): Use assoc instead of
20287 assoc-string, since assoc-string doesn't exist in XEmacs.
20288
171fc304
JB
202892011-03-17 Juanma Barranquero <lekktu@gmail.com>
20290
20291 * custom.el (custom-known-themes): Reflow docstring.
20292 (custom-theme-load-path): Fix typo in docstring.
20293 (load-theme): Fix typo in error message.
20294 (custom-available-themes, custom-variable-theme-value):
20295 Use `let', not `let*'.
20296
d71990a1
JB
202972011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20298
20299 * calc/README: Mention inclusion of musical notes.
20300
20301 * calc/calc-units.el (calc-lu-quant): Rename from
20302 `calc-logunits-quantity'.
20303 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20304 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20305 (calc-db): Rename from `calc-dblevel'.
20306 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20307 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20308 (calc-np): Rename from `calc-nplevel'.
20309 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20310 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20311 (calc-lu-plus): Rename from `calc-logunits-add'.
20312 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20313 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20314 (calc-lu-minus): Rename from `calc-logunits-sub'.
20315 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20316 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20317 (calc-lu-times): Rename from `calc-logunits-mul'.
20318 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20319 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20320 (calc-lu-divide): Rename from `calc-logunits-div'.
20321 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20322 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20323
20324 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20325 functions being autoloaded.
20326
20327 * calc/calc.el (calc-lu-power-reference): Rename from
20328 `calc-logunits-power-reference'.
20329 (calc-lu-field-reference): Rename from
20330 `calc-logunits-field-reference'.
20331
7a71b18d
GM
20332 * calc/calc-help.el (calc-l-prefix-help):
20333 Mention musical note functions.
d71990a1 20334
40c2934b
SM
203352011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20336
20337 * minibuffer.el (completion-all-sorted-completions):
20338 Use :completion-cycle-penalty text property if present.
20339
b0911414
KM
203402011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20341
20342 * allout.el (allout-yank-processing): Adjust for new rebulleting
20343 regime so bullet being yanked is used without prompting the user
20344 for a choice.
20345
8a05b668
JB
203462011-03-16 Juanma Barranquero <lekktu@gmail.com>
20347
20348 * startup.el (command-line): Warn the user that _emacs is deprecated.
20349
5ba5fb81
JB
203502011-03-16 Juanma Barranquero <lekktu@gmail.com>
20351
20352 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20353 (delphi-verbose, delphi-comment-face, delphi-string-face)
20354 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20355 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20356 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20357 (delphi-new-comment-line, delphi-font-lock-defaults)
20358 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20359 Fix typos in docstrings.
20360
2dab465b
KM
203612011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20362
5ba5fb81 20363 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20364 Invert the roles of character and string values for INSTEAD, so a
20365 string is used for the more common case of a defaulting prompt.
20366
0adf5618
SM
203672011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20368
20369 * progmodes/ruby-mode.el (ruby-backward-sexp):
20370 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20371 * play/gamegrid.el (gamegrid-make-face):
20372 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20373 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20374 * notifications.el (notifications-notify):
20375 * net/xesam.el (xesam-search-engines):
20376 * net/quickurl.el (quickurl-list-insert):
20377 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20378
d72700e5
CY
203792011-03-15 Chong Yidong <cyd@stupidchicken.com>
20380
20381 * startup.el (command-line): Update package subdirectory regexp.
20382
49c5410a
SM
203832011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20384
c6eee9aa
SM
20385 * allout.el (allout-abbreviate-flattened-numbering)
20386 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20387
49c5410a
SM
20388 * subr.el (read-char-choice): Only show the cursor after the prompt,
20389 not after the answer.
20390
047b2bb9
KR
203912011-03-15 Kevin Ryde <user42@zip.com.au>
20392
20393 * help-fns.el (variable-at-point): Skip leading quotes, if any
20394 (bug#8253).
20395
0a57d256
SM
203962011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20397
20398 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20399 warning message.
20400
77c992bc
MA
204012011-03-14 Michael Albinus <michael.albinus@gmx.de>
20402
20403 * shell.el (shell): When called interactively, offer to change the
20404 shell file name on remote hosts.
20405
eebc475d
TZ
204062011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20407
20408 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20409 integration for LDAP parameters. The host, base, user or binddn,
20410 and secret tokens can be specified in a netrc file, for instance.
20411 This is optional because an `auth-source' parameter must be
20412 specified in the search attributes.
20413
9d05d1ba
JB
204142011-03-13 Juanma Barranquero <lekktu@gmail.com>
20415
20416 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20417
09d9db2c
GM
204182011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20419
20420 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20421 into declaration. Remove redundant and harmful binding.
20422
204232011-03-12 Eli Zaretskii <eliz@gnu.org>
20424
20425 * files.el (file-ownership-preserved-p): Pass `integer' as an
20426 explicit 2nd argument to `file-attributes'. If the file's owner
20427 is the Administrators group on Windows, and the current user is
20428 Administrator, consider that a match.
20429
20430 * server.el (server-ensure-safe-dir): Consider server directory
20431 safe on MS-Windows if its owner is the Administrators group while
20432 the current Emacs user is Administrator. Use `=' to compare
20433 numerical UIDs, since they could be integers or floats.
20434
219bd536
JB
204352011-03-12 Juanma Barranquero <lekktu@gmail.com>
20436
20437 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20438
f3afd36b
MA
204392011-03-12 Michael Albinus <michael.albinus@gmx.de>
20440
20441 Sync with Tramp 2.2.1.
20442
20443 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20444
20445 * net/trampver.el: Update release number.
20446
3aaaa6f1
SM
204472011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20448
94642599
SM
20449 * progmodes/compile.el (compilation--previous-directory): Fix up
20450 various nil/dead-marker mismatches (bug#8014).
20451 (compilation-directory-properties, compilation-error-properties):
20452 Don't call it at a position past the one we're about to change.
20453
3aaaa6f1
SM
20454 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20455 Disable obsolescence warnings in the file that declares it.
20456
14239447
KM
204572011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20458
099c39a4
JB
20459 * allout-widgets.el (allout-widgets-tally):
20460 Initialize allout-widgets-tally as a hash table rather than nil to
20461 prevent mode-line redisplay warnings. Also, clarify the module
20462 description and fix a comment typo.
14239447 20463
135e287c
JB
204642011-03-11 Juanma Barranquero <lekktu@gmail.com>
20465
20466 * help-fns.el (describe-variable): Don't complete keywords.
20467 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20468
ffbf300e
CY
204692011-03-10 Chong Yidong <cyd@stupidchicken.com>
20470
ba08b241
CY
20471 * emacs-lisp/package.el (package-version-join): Impose a standard
20472 string representation for pre/alpha/beta version lists.
20473 (package-unpack-single): Standardize the directory name by passing
20474 it through package-version-join.
20475 (package-strip-rcs-id): Accept any version string that does not
20476 signal an error in version-to-list.
ffbf300e 20477
f346fd6b
MA
204782011-03-10 Michael Albinus <michael.albinus@gmx.de>
20479
20480 * simple.el (delete-trailing-whitespace): Return nil for the
20481 benefit of `write-file-functions'.
20482
ccb55d27
GM
204832011-03-10 Glenn Morris <rgm@gnu.org>
20484
5ceaac0c
GM
20485 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20486
02da65ff
GM
20487 * vc/vc-git.el (vc-git-program): New option.
20488 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20489 (vc-git--call): Use it.
20490
b2f603cc
GM
20491 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20492
5772caab
GM
20493 * cus-edit.el (Custom-newline): If no button at point, look
20494 for a subgroup button at start-of-line. (Bug#2298)
20495
ccb55d27
GM
20496 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20497
ec6ecaed
JD
204982011-03-10 Julien Danjou <julien@danjou.info>
20499
20500 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20501 `cursor-type' is nil.
20502
9d5aa01d
JB
205032011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20504
20505 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20506
b6a5875b
KM
205072011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20508
7a71b18d 20509 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20510 preserves the existing header prefix, rebulleting it if necessary,
20511 rather than replacing it. This is necessary for proper operation
20512 of cooperative addons like allout-widgets.
1154d12e
JB
20513 (allout-make-topic-prefix, allout-rebullet-heading):
20514 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20515 value as alternate bullet to be used, instead of prompting the user
20516 for a bullet character.
b6a5875b 20517
ee545c35
MA
205182011-03-09 Michael Albinus <michael.albinus@gmx.de>
20519
d86d2721
SM
20520 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20521 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20522 `tramp-default-port'.
20523
c47971d7
DD
205242011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20525
20526 * net/rcirc.el (rcirc-handler-001): Remove useless
20527 with-rcirc-process-buffer.
20528 (rcirc-check-auth-status): Swap arguments to string-match.
20529
13522cb4
GM
205302011-03-09 Glenn Morris <rgm@gnu.org>
20531
0be6f4f1
GM
20532 * shell.el (shell-mode):
20533 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20534
13522cb4
GM
20535 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20536 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20537
515de2e3
CY
205382011-03-08 Chong Yidong <cyd@stupidchicken.com>
20539
20540 * emacs-lisp/package.el (package-refresh-contents)
20541 (package-menu-execute): Use condition-case-no-debug.
20542
b511b994
MA
205432011-03-08 Michael Albinus <michael.albinus@gmx.de>
20544
20545 * simple.el (shell-command-to-string): Use `process-file'.
20546
20547 * emacs-lisp/package.el (package-tar-file-info): Handle also
20548 remote files.
20549
d86d2721
SM
20550 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20551 Use `equal' for upload base check.
b511b994 20552
25bbfb31
AM
205532011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20554
20555 * textmodes/texinfo.el (texinfo-environments):
20556 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
20557
be996521
GM
205582011-03-08 Glenn Morris <rgm@gnu.org>
20559
e9c8529f
GM
20560 * cus-start.el (cursor-in-non-selected-windows):
20561 Fix :set quoting oddness. (Bug#8192)
20562
be996521
GM
20563 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20564 in some setf expressions. (Bug#2159)
20565
2bb5649e
CY
205662011-03-08 Chong Yidong <cyd@stupidchicken.com>
20567
20568 * custom.el (custom-available-themes): Return themes in
20569 alphabetical order.
20570
33383987 20571See ChangeLog.15 for earlier changes.
e3d51b27
MR
20572
20573;; Local Variables:
20574;; coding: utf-8
e3d51b27
MR
20575;; End:
20576
acaf905b 20577 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
20578
20579 This file is part of GNU Emacs.
20580
20581 GNU Emacs is free software: you can redistribute it and/or modify
20582 it under the terms of the GNU General Public License as published by
20583 the Free Software Foundation, either version 3 of the License, or
20584 (at your option) any later version.
20585
20586 GNU Emacs is distributed in the hope that it will be useful,
20587 but WITHOUT ANY WARRANTY; without even the implied warranty of
20588 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20589 GNU General Public License for more details.
20590
20591 You should have received a copy of the GNU General Public License
20592 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.